Pull request #1353 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6699488bfca19abc9d8ffc2ac42e4aba0e001b62+6c52867c974148776ead9b5ce3090ce3cf294dda (a8dd40e12f4a6c819a0b1b3bd1ca57ac5f25b3a8) 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-ssh2685165560223042561.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh13863312500078451153.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1353/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-1353/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14982096013845652519.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-1353/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16665332303853265047.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2871232997128903014.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1353/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-1353/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1716766387219849572.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7889 in /w/workspace/gexfoundry_device-sdk-go_PR-1353 [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-1353 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 6c52867c974148776ead9b5ce3090ce3cf294dda into PR head commit 6699488bfca19abc9d8ffc2ac42e4aba0e001b62 Merge succeeded, producing 6699488bfca19abc9d8ffc2ac42e4aba0e001b62 Checking out Revision 6699488bfca19abc9d8ffc2ac42e4aba0e001b62 (PR-1353) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 > 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/1353/head:refs/remotes/origin/PR-1353 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6699488bfca19abc9d8ffc2ac42e4aba0e001b62 # 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 6c52867c974148776ead9b5ce3090ce3cf294dda # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6699488bfca19abc9d8ffc2ac42e4aba0e001b62 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-01T05:00:55.704Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-01T05:00:55.886Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-01T05:00:55.981Z] ========================================================= [2023-03-01T05:00:55.981Z] EdgeX Global Pipelines Version Info [2023-03-01T05:00:55.981Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-01T05:00:56.724Z] ------------------- [2023-03-01T05:00:56.724Z] stable info: [2023-03-01T05:00:56.724Z] ------------------- [2023-03-01T05:00:56.724Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-01T05:00:56.724Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-01T05:00:56.724Z] Message: update stable to v1.0.244 [2023-03-01T05:01:08.946Z] ------------------- [2023-03-01T05:01:08.946Z] experimental info: [2023-03-01T05:01:08.946Z] ------------------- [2023-03-01T05:01:08.947Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-01T05:01:08.947Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-01T05:01:08.947Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-01T05:01:09.233Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-03-01T05:01:09.273Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-03-01T05:01:09.314Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-01T05:01:09.349Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-01T05:01:09.386Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-01T05:01:09.424Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-03-01T05:01:09.524Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-01T05:01:09.564Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-03-01T05:01:09.609Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-01T05:01:09.652Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-01T05:01:09.699Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-01T05:01:09.736Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-03-01T05:01:09.786Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-01T05:01:09.826Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-01T05:01:09.864Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-01T05:01:09.903Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-03-01T05:01:09.941Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-01T05:01:09.985Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-01T05:01:10.028Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-01T05:01:10.068Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-01T05:01:10.105Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-01T05:01:10.145Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-03-01T05:01:10.187Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-01T05:01:10.236Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-01T05:01:10.280Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-01T05:01:10.313Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-01T05:01:10.356Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-01T05:01:10.401Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1353 [Pipeline] echo [2023-03-01T05:01:10.442Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1353 [Pipeline] echo [2023-03-01T05:01:10.485Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1353 [Pipeline] echo [2023-03-01T05:01:10.523Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6699488bfca19abc9d8ffc2ac42e4aba0e001b62 [Pipeline] echo [2023-03-01T05:01:10.562Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6699488 [Pipeline] echo [2023-03-01T05:01:10.598Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-01T05:01:10.727Z] provisioning config files... [2023-03-01T05:01:10.742Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1353@tmp/config5240794069359358390tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-01T05:01:11.092Z] ---> docker-login.sh [2023-03-01T05:01:11.092Z] nexus3.edgexfoundry.org:10001 [2023-03-01T05:01:11.374Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T05:01:11.374Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T05:01:11.374Z] Configure a credential helper to remove this warning. See [2023-03-01T05:01:11.374Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T05:01:11.374Z] [2023-03-01T05:01:11.374Z] Login Succeeded [2023-03-01T05:01:11.374Z] nexus3.edgexfoundry.org:10002 [2023-03-01T05:01:11.637Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T05:01:11.637Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T05:01:11.637Z] Configure a credential helper to remove this warning. See [2023-03-01T05:01:11.637Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T05:01:11.637Z] [2023-03-01T05:01:11.637Z] Login Succeeded [2023-03-01T05:01:11.637Z] nexus3.edgexfoundry.org:10003 [2023-03-01T05:01:11.637Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T05:01:11.637Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T05:01:11.637Z] Configure a credential helper to remove this warning. See [2023-03-01T05:01:11.637Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T05:01:11.637Z] [2023-03-01T05:01:11.637Z] Login Succeeded [2023-03-01T05:01:11.637Z] nexus3.edgexfoundry.org:10004 [2023-03-01T05:01:11.637Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T05:01:11.897Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T05:01:11.897Z] Configure a credential helper to remove this warning. See [2023-03-01T05:01:11.897Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T05:01:11.897Z] [2023-03-01T05:01:11.897Z] Login Succeeded [2023-03-01T05:01:11.897Z] docker.io [2023-03-01T05:01:11.897Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T05:01:12.161Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T05:01:12.161Z] Configure a credential helper to remove this warning. See [2023-03-01T05:01:12.161Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T05:01:12.161Z] [2023-03-01T05:01:12.161Z] Login Succeeded [2023-03-01T05:01:12.161Z] ---> docker-login.sh ends [Pipeline] } [2023-03-01T05:01:12.185Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-01T05:01:12.800Z] + git rev-list -1 --merges 6699488bfca19abc9d8ffc2ac42e4aba0e001b62~1..6699488bfca19abc9d8ffc2ac42e4aba0e001b62 [Pipeline] echo [2023-03-01T05:01:12.869Z] -----------> git rev-list -1 --merges 6699488bfca19abc9d8ffc2ac42e4aba0e001b62~1..6699488bfca19abc9d8ffc2ac42e4aba0e001b62 6699488bfca19abc9d8ffc2ac42e4aba0e001b62 [false] [Pipeline] sh [2023-03-01T05:01:13.190Z] + git log --format=format:%s -1 6699488bfca19abc9d8ffc2ac42e4aba0e001b62 [Pipeline] echo [2023-03-01T05:01:13.259Z] ========================================================= [2023-03-01T05:01:13.260Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-01T05:01:13.260Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-01T05:01:13.690Z] + git log --format=format:%s -1 6699488bfca19abc9d8ffc2ac42e4aba0e001b62 [Pipeline] echo [2023-03-01T05:01:13.719Z] [semverPrep] GIT_COMMIT: 6699488bfca19abc9d8ffc2ac42e4aba0e001b62, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2023-03-01T05:01:13.746Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-01T05:01:14.118Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-01T05:01:14.118Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-01T05:01:14.118Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-01T05:01:14.118Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-01T05:01:14.118Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-01T05:01:14.118Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-01T05:01:14.118Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T05:01:14.547Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-01T05:01:14.547Z] [2023-03-01T05:01:14.547Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T05:01:14.926Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-01T05:01:14.926Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-01T05:01:14.926Z] b85a868b505f: Pulling fs layer [2023-03-01T05:01:14.926Z] e2be974225ed: Pulling fs layer [2023-03-01T05:01:14.926Z] 339a4e72a1f5: Pulling fs layer [2023-03-01T05:01:14.926Z] 988bab9f4d93: Pulling fs layer [2023-03-01T05:01:14.926Z] 1469e6f7b9e6: Pulling fs layer [2023-03-01T05:01:14.926Z] eaf3925da568: Pulling fs layer [2023-03-01T05:01:14.926Z] bab4dde63d76: Pulling fs layer [2023-03-01T05:01:14.926Z] bde34c3a00c8: Pulling fs layer [2023-03-01T05:01:14.926Z] b352a97aabf1: Pulling fs layer [2023-03-01T05:01:14.926Z] 4872d77fe225: Pulling fs layer [2023-03-01T05:01:14.926Z] 5851b861e8e6: Pulling fs layer [2023-03-01T05:01:14.926Z] eaf3925da568: Waiting [2023-03-01T05:01:14.926Z] bab4dde63d76: Waiting [2023-03-01T05:01:14.926Z] bde34c3a00c8: Waiting [2023-03-01T05:01:14.926Z] b352a97aabf1: Waiting [2023-03-01T05:01:14.926Z] 4872d77fe225: Waiting [2023-03-01T05:01:14.926Z] 5851b861e8e6: Waiting [2023-03-01T05:01:14.926Z] 988bab9f4d93: Waiting [2023-03-01T05:01:14.926Z] 1469e6f7b9e6: Waiting [2023-03-01T05:01:14.926Z] e2be974225ed: Verifying Checksum [2023-03-01T05:01:14.926Z] e2be974225ed: Download complete [2023-03-01T05:01:14.926Z] 988bab9f4d93: Verifying Checksum [2023-03-01T05:01:14.926Z] 988bab9f4d93: Download complete [2023-03-01T05:01:15.185Z] 1469e6f7b9e6: Verifying Checksum [2023-03-01T05:01:15.185Z] 1469e6f7b9e6: Download complete [2023-03-01T05:01:15.185Z] eaf3925da568: Verifying Checksum [2023-03-01T05:01:15.185Z] eaf3925da568: Download complete [2023-03-01T05:01:15.185Z] 339a4e72a1f5: Verifying Checksum [2023-03-01T05:01:15.185Z] 339a4e72a1f5: Download complete [2023-03-01T05:01:15.185Z] bde34c3a00c8: Verifying Checksum [2023-03-01T05:01:15.185Z] bde34c3a00c8: Download complete [2023-03-01T05:01:15.185Z] b352a97aabf1: Download complete [2023-03-01T05:01:15.185Z] 4872d77fe225: Verifying Checksum [2023-03-01T05:01:15.185Z] 4872d77fe225: Download complete [2023-03-01T05:01:15.185Z] b85a868b505f: Verifying Checksum [2023-03-01T05:01:15.185Z] b85a868b505f: Download complete [2023-03-01T05:01:15.185Z] 5851b861e8e6: Download complete [2023-03-01T05:01:15.751Z] bab4dde63d76: Verifying Checksum [2023-03-01T05:01:15.751Z] bab4dde63d76: Download complete [2023-03-01T05:01:16.688Z] b85a868b505f: Pull complete [2023-03-01T05:01:16.688Z] e2be974225ed: Pull complete [2023-03-01T05:01:17.255Z] 339a4e72a1f5: Pull complete [2023-03-01T05:01:17.255Z] 988bab9f4d93: Pull complete [2023-03-01T05:01:17.513Z] 1469e6f7b9e6: Pull complete [2023-03-01T05:01:17.513Z] eaf3925da568: Pull complete [2023-03-01T05:01:19.419Z] bab4dde63d76: Pull complete [2023-03-01T05:01:19.419Z] bde34c3a00c8: Pull complete [2023-03-01T05:01:19.419Z] b352a97aabf1: Pull complete [2023-03-01T05:01:19.680Z] 4872d77fe225: Pull complete [2023-03-01T05:01:19.680Z] 5851b861e8e6: Pull complete [2023-03-01T05:01:19.680Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-01T05:01:19.680Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-01T05:01:19.680Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-01T05:01:19.934Z] prd-ubuntu20.04-docker-8c-8g-7889 does not seem to be running inside a container [2023-03-01T05:01:19.971Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1353 -v /w/workspace/gexfoundry_device-sdk-go_PR-1353:/w/workspace/gexfoundry_device-sdk-go_PR-1353:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1353@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1353@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-01T05:01:22.518Z] $ docker top 98c28e002beb8e7894912a4dd743fcd238d231739a6b7c244ca6a39f9a7ced4f -eo pid,comm [2023-03-01T05:01:22.565Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-03-01T05:01:22.565Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-01T05:01:22.692Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-01T05:01:22.692Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-01T05:01:22.802Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-01T05:01:22.809Z] $ docker exec 98c28e002beb8e7894912a4dd743fcd238d231739a6b7c244ca6a39f9a7ced4f ssh-agent [2023-03-01T05:01:22.906Z] SSH_AUTH_SOCK=/tmp/ssh-xfpuVINCqqKL/agent.33 [2023-03-01T05:01:22.906Z] SSH_AGENT_PID=39 [2023-03-01T05:01:22.911Z] Running ssh-add (command line suppressed) [2023-03-01T05:01:23.015Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1353@tmp/private_key_5089630312624730778.key (/w/workspace/gexfoundry_device-sdk-go_PR-1353@tmp/private_key_5089630312624730778.key) [2023-03-01T05:01:23.022Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-01T05:01:23.354Z] + git tag --points-at HEAD [Pipeline] } [2023-03-01T05:01:23.384Z] $ docker exec --env ******** --env ******** 98c28e002beb8e7894912a4dd743fcd238d231739a6b7c244ca6a39f9a7ced4f ssh-agent -k [2023-03-01T05:01:23.486Z] unset SSH_AUTH_SOCK; [2023-03-01T05:01:23.487Z] unset SSH_AGENT_PID; [2023-03-01T05:01:23.487Z] echo Agent pid 39 killed; [2023-03-01T05:01:23.492Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-01T05:01:23.588Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-01T05:01:23.588Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-01T05:01:23.708Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-01T05:01:23.715Z] $ docker exec 98c28e002beb8e7894912a4dd743fcd238d231739a6b7c244ca6a39f9a7ced4f ssh-agent [2023-03-01T05:01:23.815Z] SSH_AUTH_SOCK=/tmp/ssh-2636Q4FavY1d/agent.70 [2023-03-01T05:01:23.815Z] SSH_AGENT_PID=76 [2023-03-01T05:01:23.821Z] Running ssh-add (command line suppressed) [2023-03-01T05:01:23.926Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1353@tmp/private_key_14708956364223278098.key (/w/workspace/gexfoundry_device-sdk-go_PR-1353@tmp/private_key_14708956364223278098.key) [2023-03-01T05:01:23.936Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-01T05:01:24.268Z] + git semver init [2023-03-01T05:01:24.528Z] 2023-03-01 05:01:24,441 [run_init] DEBUG init version:0.0.0 force:False [2023-03-01T05:01:24.528Z] 2023-03-01 05:01:24,442 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1353/.semver [2023-03-01T05:01:24.528Z] 2023-03-01 05:01:24,442 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1353/.semver [2023-03-01T05:01:24.528Z] 2023-03-01 05:01:24,443 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1353/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1353, universal_newlines=False, shell=None, istream=None) [2023-03-01T05:01:25.905Z] 2023-03-01 05:01:25,482 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1353/.git/info/exclude [2023-03-01T05:01:25.905Z] 2023-03-01 05:01:25,483 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1353/.semver/PR-1353 with force:False [2023-03-01T05:01:25.905Z] 2023-03-01 05:01:25,483 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1353/.semver/PR-1353 [2023-03-01T05:01:25.905Z] 2023-03-01 05:01:25,488 [execute] INFO git cat-file --batch-check [2023-03-01T05:01:25.905Z] 2023-03-01 05:01:25,489 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1353/.semver, universal_newlines=False, shell=None, istream=) [2023-03-01T05:01:25.905Z] 2023-03-01 05:01:25,496 [execute] INFO git cat-file --batch [2023-03-01T05:01:25.905Z] 2023-03-01 05:01:25,496 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1353/.semver, universal_newlines=False, shell=None, istream=) [2023-03-01T05:01:25.905Z] 2023-03-01 05:01:25,502 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1353/.semver/PR-1353 [2023-03-01T05:01:25.905Z] 0.0.0 [Pipeline] } [2023-03-01T05:01:25.932Z] $ docker exec --env ******** --env ******** 98c28e002beb8e7894912a4dd743fcd238d231739a6b7c244ca6a39f9a7ced4f ssh-agent -k [2023-03-01T05:01:26.059Z] unset SSH_AUTH_SOCK; [2023-03-01T05:01:26.059Z] unset SSH_AGENT_PID; [2023-03-01T05:01:26.060Z] echo Agent pid 76 killed; [2023-03-01T05:01:26.065Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-01T05:01:26.476Z] + git semver [Pipeline] } [2023-03-01T05:01:26.766Z] $ docker stop --time=1 98c28e002beb8e7894912a4dd743fcd238d231739a6b7c244ca6a39f9a7ced4f [2023-03-01T05:01:28.077Z] $ docker rm -f --volumes 98c28e002beb8e7894912a4dd743fcd238d231739a6b7c244ca6a39f9a7ced4f [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-01T05:01:28.479Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-01T05:01:28.740Z] Stashed 1 file(s) [Pipeline] echo [2023-03-01T05:01:28.757Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-01T05:01:29.374Z] provisioning config files... [2023-03-01T05:01:29.385Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1353@tmp/config12023065351429644063tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-01T05:01:29.723Z] ---> docker-login.sh [2023-03-01T05:01:29.723Z] nexus3.edgexfoundry.org:10001 [2023-03-01T05:01:29.723Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T05:01:29.723Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T05:01:29.723Z] Configure a credential helper to remove this warning. See [2023-03-01T05:01:29.723Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T05:01:29.723Z] [2023-03-01T05:01:29.723Z] Login Succeeded [2023-03-01T05:01:29.723Z] nexus3.edgexfoundry.org:10002 [2023-03-01T05:01:29.723Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T05:01:29.723Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T05:01:29.723Z] Configure a credential helper to remove this warning. See [2023-03-01T05:01:29.723Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T05:01:29.723Z] [2023-03-01T05:01:29.723Z] Login Succeeded [2023-03-01T05:01:29.723Z] nexus3.edgexfoundry.org:10003 [2023-03-01T05:01:29.983Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T05:01:29.983Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T05:01:29.983Z] Configure a credential helper to remove this warning. See [2023-03-01T05:01:29.983Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T05:01:29.983Z] [2023-03-01T05:01:29.983Z] Login Succeeded [2023-03-01T05:01:29.983Z] nexus3.edgexfoundry.org:10004 [2023-03-01T05:01:29.983Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T05:01:29.983Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T05:01:29.983Z] Configure a credential helper to remove this warning. See [2023-03-01T05:01:29.983Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T05:01:29.983Z] [2023-03-01T05:01:29.983Z] Login Succeeded [2023-03-01T05:01:29.983Z] docker.io [2023-03-01T05:01:29.983Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T05:01:30.241Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T05:01:30.241Z] Configure a credential helper to remove this warning. See [2023-03-01T05:01:30.241Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T05:01:30.241Z] [2023-03-01T05:01:30.241Z] Login Succeeded [2023-03-01T05:01:30.241Z] ---> docker-login.sh ends [Pipeline] } [2023-03-01T05:01:30.268Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-01T05:01:30.531Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-01T05:01:30.571Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-01T05:01:30.604Z] ========================================================= [2023-03-01T05:01:30.604Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-03-01T05:01:30.604Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T05:01:31.065Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-01T05:01:31.065Z] Sending build context to Docker daemon 10.61MB [2023-03-01T05:01:31.065Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-03-01T05:01:31.065Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-01T05:01:31.327Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-01T05:01:31.327Z] 213ec9aee27d: Pulling fs layer [2023-03-01T05:01:31.327Z] 4583459ba037: Pulling fs layer [2023-03-01T05:01:31.327Z] 93c1e223e6f2: Pulling fs layer [2023-03-01T05:01:31.327Z] 53926ce57604: Pulling fs layer [2023-03-01T05:01:31.327Z] 21b2b0c7a3f4: Pulling fs layer [2023-03-01T05:01:31.327Z] 22ff95d597cd: Pulling fs layer [2023-03-01T05:01:31.327Z] 12d6caf4c0d1: Pulling fs layer [2023-03-01T05:01:31.327Z] 96b7cbca73a9: Pulling fs layer [2023-03-01T05:01:31.327Z] a7acece74701: Pulling fs layer [2023-03-01T05:01:31.327Z] 21b2b0c7a3f4: Waiting [2023-03-01T05:01:31.327Z] 22ff95d597cd: Waiting [2023-03-01T05:01:31.327Z] a7acece74701: Waiting [2023-03-01T05:01:31.327Z] 12d6caf4c0d1: Waiting [2023-03-01T05:01:31.327Z] 53926ce57604: Waiting [2023-03-01T05:01:31.327Z] 96b7cbca73a9: Waiting [2023-03-01T05:01:31.327Z] 93c1e223e6f2: Verifying Checksum [2023-03-01T05:01:31.327Z] 93c1e223e6f2: Download complete [2023-03-01T05:01:31.327Z] 4583459ba037: Verifying Checksum [2023-03-01T05:01:31.327Z] 4583459ba037: Download complete [2023-03-01T05:01:31.327Z] 21b2b0c7a3f4: Download complete [2023-03-01T05:01:31.327Z] 22ff95d597cd: Verifying Checksum [2023-03-01T05:01:31.327Z] 22ff95d597cd: Download complete [2023-03-01T05:01:31.327Z] 213ec9aee27d: Verifying Checksum [2023-03-01T05:01:31.327Z] 12d6caf4c0d1: Verifying Checksum [2023-03-01T05:01:31.327Z] 12d6caf4c0d1: Download complete [2023-03-01T05:01:31.327Z] 213ec9aee27d: Pull complete [2023-03-01T05:01:31.595Z] 4583459ba037: Pull complete [2023-03-01T05:01:31.595Z] 93c1e223e6f2: Pull complete [2023-03-01T05:01:31.859Z] a7acece74701: Verifying Checksum [2023-03-01T05:01:31.859Z] a7acece74701: Download complete [2023-03-01T05:01:32.120Z] 96b7cbca73a9: Verifying Checksum [2023-03-01T05:01:32.120Z] 96b7cbca73a9: Download complete [2023-03-01T05:01:32.120Z] 53926ce57604: Verifying Checksum [2023-03-01T05:01:32.120Z] 53926ce57604: Download complete [2023-03-01T05:01:37.384Z] 53926ce57604: Pull complete [2023-03-01T05:01:37.384Z] 21b2b0c7a3f4: Pull complete [2023-03-01T05:01:37.384Z] 22ff95d597cd: Pull complete [2023-03-01T05:01:37.643Z] 12d6caf4c0d1: Pull complete [2023-03-01T05:01:39.550Z] 96b7cbca73a9: Pull complete [2023-03-01T05:01:40.487Z] a7acece74701: Pull complete [2023-03-01T05:01:40.487Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-03-01T05:01:40.745Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-01T05:01:40.745Z] ---> db6d94c90886 [2023-03-01T05:01:40.745Z] Step 3/10 : ARG MAKE=make build [2023-03-01T05:01:44.178Z] Still waiting to schedule task [2023-03-01T05:01:44.179Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-7892’ is offline [2023-03-01T05:01:46.017Z] ---> Running in c9dba546b498 [2023-03-01T05:01:46.017Z] Removing intermediate container c9dba546b498 [2023-03-01T05:01:46.017Z] ---> 052e20b48a66 [2023-03-01T05:01:46.017Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-01T05:01:46.017Z] ---> Running in 517aa47292df [2023-03-01T05:01:46.017Z] Removing intermediate container 517aa47292df [2023-03-01T05:01:46.017Z] ---> 7e305cd85ada [2023-03-01T05:01:46.017Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-01T05:01:46.017Z] ---> Running in 705b26f38486 [2023-03-01T05:01:46.017Z] Removing intermediate container 705b26f38486 [2023-03-01T05:01:46.017Z] ---> c8937e70cbca [2023-03-01T05:01:46.017Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-01T05:01:46.017Z] ---> Running in ee3befa150be [2023-03-01T05:01:46.276Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-01T05:01:46.276Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-01T05:01:46.535Z] OK: 211 MiB in 51 packages [2023-03-01T05:01:46.794Z] Removing intermediate container ee3befa150be [2023-03-01T05:01:46.794Z] ---> 7a8e63ea6ac2 [2023-03-01T05:01:46.794Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-01T05:01:47.052Z] ---> 4cc80f3d556d [2023-03-01T05:01:47.052Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-01T05:01:47.052Z] ---> Running in f6bf25016283 [2023-03-01T05:02:34.493Z] Removing intermediate container f6bf25016283 [2023-03-01T05:02:34.493Z] ---> a12efde9ba60 [2023-03-01T05:02:34.493Z] Step 9/10 : COPY . . [2023-03-01T05:02:34.493Z] ---> 258e96183394 [2023-03-01T05:02:34.493Z] Step 10/10 : RUN ${MAKE} [2023-03-01T05:02:34.493Z] ---> Running in 3cf97cf26e3d [2023-03-01T05:02:34.493Z] noop [2023-03-01T05:02:34.493Z] Removing intermediate container 3cf97cf26e3d [2023-03-01T05:02:34.493Z] ---> 5330b36da32d [2023-03-01T05:02:34.493Z] Successfully built 5330b36da32d [2023-03-01T05:02:34.493Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T05:02:34.932Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-01T05:02:34.932Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-01T05:02:35.081Z] prd-ubuntu20.04-docker-8c-8g-7889 does not seem to be running inside a container [2023-03-01T05:02:35.114Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1353 -v /w/workspace/gexfoundry_device-sdk-go_PR-1353:/w/workspace/gexfoundry_device-sdk-go_PR-1353:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1353@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1353@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 ******** ci-base-image-x86_64 cat [2023-03-01T05:02:35.481Z] $ docker top c27b7eb4c9b6f9c93921b840fe6614317cbf8a5ddb4490879c62077037e4232d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-01T05:02:35.857Z] + go version [2023-03-01T05:02:35.857Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-03-01T05:02:35.897Z] $ docker stop --time=1 c27b7eb4c9b6f9c93921b840fe6614317cbf8a5ddb4490879c62077037e4232d [2023-03-01T05:02:37.177Z] $ docker rm -f --volumes c27b7eb4c9b6f9c93921b840fe6614317cbf8a5ddb4490879c62077037e4232d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T05:02:38.255Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-01T05:02:38.255Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-01T05:02:38.399Z] prd-ubuntu20.04-docker-8c-8g-7889 does not seem to be running inside a container [2023-03-01T05:02:38.433Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-sdk-go_PR-1353 -v /w/workspace/gexfoundry_device-sdk-go_PR-1353:/w/workspace/gexfoundry_device-sdk-go_PR-1353:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1353@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1353@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 ******** ci-base-image-x86_64 cat [2023-03-01T05:02:38.777Z] $ docker top 2396ee806357699a07cf90135bebdbfb845e8087a1fba2061f534e31eebd2534 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-01T05:02:39.166Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1353 [Pipeline] fileExists [Pipeline] sh [2023-03-01T05:02:39.527Z] + make test [2023-03-01T05:02:39.527Z] go test -race -coverprofile=coverage.out ./... [2023-03-01T05:02:46.086Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-01T05:02:58.288Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-01T05:02:58.288Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-01T05:02:58.288Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-01T05:02:58.288Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-01T05:02:58.288Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-01T05:02:58.288Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.053s coverage: 27.6% of statements [2023-03-01T05:02:58.288Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.060s coverage: 78.9% of statements [2023-03-01T05:02:58.288Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-03-01T05:02:58.288Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.101s coverage: 86.0% of statements [2023-03-01T05:02:58.288Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-01T05:02:58.288Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-01T05:02:58.288Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.095s coverage: 75.0% of statements [2023-03-01T05:02:58.288Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-01T05:03:00.896Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.069s coverage: 15.3% of statements [2023-03-01T05:03:00.896Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-01T05:03:00.896Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.098s coverage: 65.2% of statements [2023-03-01T05:03:00.896Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-01T05:03:00.896Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-01T05:03:00.896Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.717s coverage: 89.2% of statements [2023-03-01T05:03:00.896Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-03-01T05:03:00.896Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.055s coverage: 4.6% of statements [2023-03-01T05:03:00.896Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-01T05:03:17.221Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-03-01T05:03:17.221Z] GO111MODULE=on go vet ./... [2023-03-01T05:03:19.117Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-01T05:03:19.117Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-01T05:03:19.117Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-01T05:03:19.209Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-01T05:03:19.238Z] $ docker stop --time=1 2396ee806357699a07cf90135bebdbfb845e8087a1fba2061f534e31eebd2534 [2023-03-01T05:03:22.468Z] $ docker rm -f --volumes 2396ee806357699a07cf90135bebdbfb845e8087a1fba2061f534e31eebd2534 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-01T05:03:23.037Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-01T05:03:23.123Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-01T05:03:23.699Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-01T05:03:24.010Z] + ls -al . [2023-03-01T05:03:24.010Z] total 280 [2023-03-01T05:03:24.010Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 1 05:02 . [2023-03-01T05:03:24.010Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 1 05:00 .. [2023-03-01T05:03:24.010Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 1 05:00 .dockerignore [2023-03-01T05:03:24.010Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 1 05:03 .git [2023-03-01T05:03:24.010Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 1 05:00 .github [2023-03-01T05:03:24.010Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 1 05:00 .gitignore [2023-03-01T05:03:24.010Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 1 05:00 .golangci.yml [2023-03-01T05:03:24.010Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 1 05:01 .semver [2023-03-01T05:03:24.010Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 1 05:00 CHANGELOG.md [2023-03-01T05:03:24.010Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 1 05:00 GOVERNANCE.md [2023-03-01T05:03:24.010Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 1 05:00 Jenkinsfile [2023-03-01T05:03:24.011Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 1 05:00 LICENSE [2023-03-01T05:03:24.011Z] -rw-rw-r-- 1 jenkins jenkins 1679 Mar 1 05:00 Makefile [2023-03-01T05:03:24.011Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 1 05:00 OWNERS.md [2023-03-01T05:03:24.011Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 1 05:00 README.md [2023-03-01T05:03:24.011Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 1 05:01 VERSION [2023-03-01T05:03:24.011Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 1 05:00 bin [2023-03-01T05:03:24.011Z] -rw-r--r-- 1 jenkins jenkins 111244 Mar 1 05:03 coverage.out [2023-03-01T05:03:24.011Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 1 05:00 example [2023-03-01T05:03:24.011Z] -rw-rw-r-- 1 jenkins jenkins 3266 Mar 1 05:00 go.mod [2023-03-01T05:03:24.011Z] -rw-rw-r-- 1 jenkins jenkins 30840 Mar 1 05:00 go.sum [2023-03-01T05:03:24.011Z] drwxrwxr-x 13 jenkins jenkins 4096 Mar 1 05:00 internal [2023-03-01T05:03:24.011Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 1 05:00 openapi [2023-03-01T05:03:24.011Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 1 05:00 pkg [2023-03-01T05:03:24.011Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 1 05:00 snap [2023-03-01T05:03:24.011Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 1 05:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T05:03:24.397Z] + 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=6699488bfca19abc9d8ffc2ac42e4aba0e001b62 --label arch=amd64 --label version=0.0.0 . [2023-03-01T05:03:24.397Z] Sending build context to Docker daemon 10.72MB [2023-03-01T05:03:24.397Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-03-01T05:03:24.397Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-01T05:03:24.397Z] ---> 5330b36da32d [2023-03-01T05:03:24.397Z] Step 3/23 : ARG MAKE=make build [2023-03-01T05:03:24.657Z] ---> Running in c196810786e7 [2023-03-01T05:03:24.657Z] Removing intermediate container c196810786e7 [2023-03-01T05:03:24.657Z] ---> 2024f9f2ac73 [2023-03-01T05:03:24.657Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-01T05:03:24.657Z] ---> Running in eccb20cd2ff1 [2023-03-01T05:03:24.657Z] Removing intermediate container eccb20cd2ff1 [2023-03-01T05:03:24.657Z] ---> 9dffd64669a2 [2023-03-01T05:03:24.657Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-01T05:03:24.915Z] ---> Running in 01e2e218f510 [2023-03-01T05:03:24.915Z] Removing intermediate container 01e2e218f510 [2023-03-01T05:03:24.915Z] ---> a6266ca73f70 [2023-03-01T05:03:24.915Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-01T05:03:24.915Z] ---> Running in 11b021fa9c72 [2023-03-01T05:03:25.173Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-01T05:03:25.173Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-01T05:03:25.432Z] OK: 211 MiB in 51 packages [2023-03-01T05:03:25.690Z] Removing intermediate container 11b021fa9c72 [2023-03-01T05:03:25.690Z] ---> 9c64c47ef49d [2023-03-01T05:03:25.690Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-01T05:03:25.948Z] ---> f13d13deefd4 [2023-03-01T05:03:25.948Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-01T05:03:25.948Z] ---> Running in 9ccb0870dc0a [2023-03-01T05:03:26.881Z] Removing intermediate container 9ccb0870dc0a [2023-03-01T05:03:26.881Z] ---> ed60e87f5f91 [2023-03-01T05:03:26.881Z] Step 9/23 : COPY . . [2023-03-01T05:03:27.451Z] ---> 5b4f31c966eb [2023-03-01T05:03:27.451Z] Step 10/23 : RUN ${MAKE} [2023-03-01T05:03:27.451Z] ---> Running in 2be5074d8118 [2023-03-01T05:03:27.710Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-03-01T05:03:50.217Z] Removing intermediate container 2be5074d8118 [2023-03-01T05:03:50.217Z] ---> ee2abddba64f [2023-03-01T05:03:50.217Z] Step 11/23 : FROM alpine:3.16 [2023-03-01T05:03:50.475Z] 3.16: Pulling from library/alpine [2023-03-01T05:03:50.475Z] ef5531b6e74e: Pulling fs layer [2023-03-01T05:03:51.042Z] ef5531b6e74e: Verifying Checksum [2023-03-01T05:03:51.042Z] ef5531b6e74e: Download complete [2023-03-01T05:03:51.301Z] ef5531b6e74e: Pull complete [2023-03-01T05:03:51.302Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-01T05:03:51.302Z] Status: Downloaded newer image for alpine:3.16 [2023-03-01T05:03:51.302Z] ---> dfd21b5a31f5 [2023-03-01T05:03:51.302Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-01T05:03:51.302Z] ---> Running in 39d3fbb365f9 [2023-03-01T05:03:51.302Z] Removing intermediate container 39d3fbb365f9 [2023-03-01T05:03:51.302Z] ---> 83d68e9e1121 [2023-03-01T05:03:51.302Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-01T05:03:51.302Z] ---> Running in 7fd8f272b03c [2023-03-01T05:03:51.564Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-01T05:03:51.823Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-01T05:03:52.084Z] OK: 6 MiB in 14 packages [2023-03-01T05:03:52.343Z] Removing intermediate container 7fd8f272b03c [2023-03-01T05:03:52.343Z] ---> 03d16f226558 [2023-03-01T05:03:52.343Z] Step 14/23 : WORKDIR / [2023-03-01T05:03:52.343Z] ---> Running in a5dd8eb6c08e [2023-03-01T05:03:52.602Z] Removing intermediate container a5dd8eb6c08e [2023-03-01T05:03:52.602Z] ---> 791ba8f9409f [2023-03-01T05:03:52.602Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-01T05:03:52.602Z] ---> 977834ad5111 [2023-03-01T05:03:52.602Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-01T05:03:53.536Z] ---> 14d6def60628 [2023-03-01T05:03:53.536Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-01T05:03:53.536Z] ---> 3cfaa972ee02 [2023-03-01T05:03:53.536Z] Step 18/23 : EXPOSE 59999 [2023-03-01T05:03:53.536Z] ---> Running in f27163fd3e63 [2023-03-01T05:03:53.536Z] Removing intermediate container f27163fd3e63 [2023-03-01T05:03:53.536Z] ---> dd0a05215e8f [2023-03-01T05:03:53.536Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-01T05:03:53.796Z] ---> Running in 9aa9126ed882 [2023-03-01T05:03:53.796Z] Removing intermediate container 9aa9126ed882 [2023-03-01T05:03:53.796Z] ---> da1d9b0e3018 [2023-03-01T05:03:53.796Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-01T05:03:53.796Z] ---> Running in 8d3b320f6334 [2023-03-01T05:03:53.796Z] Removing intermediate container 8d3b320f6334 [2023-03-01T05:03:53.796Z] ---> 215e1e5c5472 [2023-03-01T05:03:53.796Z] Step 21/23 : LABEL arch=amd64 [2023-03-01T05:03:53.796Z] ---> Running in 8ee48e99f664 [2023-03-01T05:03:54.054Z] Removing intermediate container 8ee48e99f664 [2023-03-01T05:03:54.054Z] ---> a0c805f73f65 [2023-03-01T05:03:54.054Z] Step 22/23 : LABEL git_sha=6699488bfca19abc9d8ffc2ac42e4aba0e001b62 [2023-03-01T05:03:54.054Z] ---> Running in 0d67963af66b [2023-03-01T05:03:54.054Z] Removing intermediate container 0d67963af66b [2023-03-01T05:03:54.054Z] ---> affcfa7579fe [2023-03-01T05:03:54.054Z] Step 23/23 : LABEL version=0.0.0 [2023-03-01T05:03:54.054Z] ---> Running in 858d01b2c4ec [2023-03-01T05:03:54.054Z] Removing intermediate container 858d01b2c4ec [2023-03-01T05:03:54.054Z] ---> 9348a800d2c7 [2023-03-01T05:03:54.054Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-01T05:03:54.054Z] Successfully built 9348a800d2c7 [2023-03-01T05:03:54.054Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T05:03:55.112Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-01T05:03:55.112Z] [2023-03-01T05:03:55.112Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T05:03:55.490Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-01T05:03:55.490Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-01T05:03:55.490Z] 5eb5b503b376: Pulling fs layer [2023-03-01T05:03:55.490Z] 5c69ac0246d0: Pulling fs layer [2023-03-01T05:03:55.490Z] ec43610c2a17: Pulling fs layer [2023-03-01T05:03:55.490Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-01T05:03:55.490Z] 33b1e0a273af: Pulling fs layer [2023-03-01T05:03:55.490Z] 5d3b04190fa2: Pulling fs layer [2023-03-01T05:03:55.490Z] 2f39f015ded8: Pulling fs layer [2023-03-01T05:03:55.490Z] 33b1e0a273af: Waiting [2023-03-01T05:03:55.490Z] 5d3b04190fa2: Waiting [2023-03-01T05:03:55.490Z] 2f39f015ded8: Waiting [2023-03-01T05:03:55.490Z] 5c69ac0246d0: Verifying Checksum [2023-03-01T05:03:55.490Z] 5c69ac0246d0: Download complete [2023-03-01T05:03:55.490Z] 3a2ae6a8a46f: Download complete [2023-03-01T05:03:55.749Z] 33b1e0a273af: Verifying Checksum [2023-03-01T05:03:55.749Z] 33b1e0a273af: Download complete [2023-03-01T05:03:55.749Z] 5d3b04190fa2: Verifying Checksum [2023-03-01T05:03:55.749Z] 5d3b04190fa2: Download complete [2023-03-01T05:03:55.749Z] ec43610c2a17: Verifying Checksum [2023-03-01T05:03:55.749Z] ec43610c2a17: Download complete [2023-03-01T05:03:55.749Z] 5eb5b503b376: Verifying Checksum [2023-03-01T05:03:55.749Z] 5eb5b503b376: Download complete [2023-03-01T05:03:56.314Z] 2f39f015ded8: Download complete [2023-03-01T05:03:57.247Z] 5eb5b503b376: Pull complete [2023-03-01T05:03:57.247Z] 5c69ac0246d0: Pull complete [2023-03-01T05:03:57.509Z] ec43610c2a17: Pull complete [2023-03-01T05:03:57.767Z] 3a2ae6a8a46f: Pull complete [2023-03-01T05:03:57.767Z] 33b1e0a273af: Pull complete [2023-03-01T05:03:58.033Z] 5d3b04190fa2: Pull complete [2023-03-01T05:04:04.587Z] 2f39f015ded8: Pull complete [2023-03-01T05:04:04.587Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-01T05:04:04.587Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-01T05:04:04.587Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-01T05:04:04.806Z] prd-ubuntu20.04-docker-8c-8g-7889 does not seem to be running inside a container [2023-03-01T05:04:04.836Z] $ 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-1353 -v /w/workspace/gexfoundry_device-sdk-go_PR-1353:/w/workspace/gexfoundry_device-sdk-go_PR-1353:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1353@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1353@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-01T05:04:08.554Z] $ docker top fc0d54d41abf1fbf2fe8aa842a9ff81a53e52a3a9578b7a566cf45d6fa811337 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-01T05:04:08.996Z] ---> job-cost.sh [2023-03-01T05:04:08.996Z] lf-activate-venv: SKIPPING [2023-03-01T05:04:08.996Z] INFO: No Stack... [2023-03-01T05:04:09.255Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-01T05:04:09.513Z] INFO: Archiving Costs [Pipeline] sh [2023-03-01T05:04:09.840Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1353/archives/cost.csv [2023-03-01T05:04:09.840Z] + cut -d, -f6 [Pipeline] lock [2023-03-01T05:04:09.880Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1353-1-stack-cost] [2023-03-01T05:04:09.885Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1353-1-stack-cost] did not exist. Created. [2023-03-01T05:04:09.885Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1353-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-01T05:04:10.273Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-01T05:04:10.325Z] Stashed 1 file(s) [Pipeline] } [2023-03-01T05:04:10.350Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1353-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-01T05:04:10.422Z] $ docker stop --time=1 fc0d54d41abf1fbf2fe8aa842a9ff81a53e52a3a9578b7a566cf45d6fa811337 [2023-03-01T05:04:11.573Z] $ docker rm -f --volumes fc0d54d41abf1fbf2fe8aa842a9ff81a53e52a3a9578b7a566cf45d6fa811337 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-01T05:04:26.801Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7897 in /w/workspace/gexfoundry_device-sdk-go_PR-1353 [Pipeline] { [Pipeline] ws [2023-03-01T05:04:26.856Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-03-01T05:04:26.936Z] The recommended git tool is: git [2023-03-01T05:04:34.015Z] using credential edgex-jenkins-ssh [2023-03-01T05:04:34.032Z] Cloning the remote Git repository [2023-03-01T05:04:34.098Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-03-01T05:04:34.198Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-03-01T05:04:34.401Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-01T05:04:34.403Z] > git --version # timeout=10 [2023-03-01T05:04:34.427Z] > git --version # 'git version 2.25.1' [2023-03-01T05:04:34.430Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-01T05:04:34.515Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-01T05:04:38.376Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-01T05:04:38.408Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-01T05:04:39.582Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-01T05:04:39.634Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-01T05:04:39.635Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-01T05:04:39.658Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1353/head:refs/remotes/origin/PR-1353 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-01T05:04:40.302Z] Merging remotes/origin/main commit 6c52867c974148776ead9b5ce3090ce3cf294dda into PR head commit 6699488bfca19abc9d8ffc2ac42e4aba0e001b62 [2023-03-01T05:04:40.607Z] Merge succeeded, producing 6699488bfca19abc9d8ffc2ac42e4aba0e001b62 [2023-03-01T05:04:40.607Z] Checking out Revision 6699488bfca19abc9d8ffc2ac42e4aba0e001b62 (PR-1353) [2023-03-01T05:04:41.306Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2023-03-01T05:04:41.367Z] > git --version # timeout=10 [2023-03-01T05:04:41.381Z] > git --version # 'git version 2.25.1' [2023-03-01T05:04:41.396Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [2023-03-01T05:04:40.327Z] > git config core.sparsecheckout # timeout=10 [2023-03-01T05:04:40.350Z] > git checkout -f 6699488bfca19abc9d8ffc2ac42e4aba0e001b62 # timeout=10 [2023-03-01T05:04:40.479Z] > git remote # timeout=10 [2023-03-01T05:04:40.501Z] > git config --get remote.origin.url # timeout=10 [2023-03-01T05:04:40.538Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-01T05:04:40.556Z] > git merge 6c52867c974148776ead9b5ce3090ce3cf294dda # timeout=10 [2023-03-01T05:04:40.587Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-01T05:04:40.615Z] > git config core.sparsecheckout # timeout=10 [2023-03-01T05:04:40.643Z] > git checkout -f 6699488bfca19abc9d8ffc2ac42e4aba0e001b62 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-01T05:04:42.581Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-01T05:04:42.581Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-01T05:04:42.581Z] Dload Upload Total Spent Left Speed [2023-03-01T05:04:42.581Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 177k 0 --:--:-- --:--:-- --:--:-- 177k [Pipeline] sh [2023-03-01T05:04:43.270Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-01T05:04:43.660Z] + sudo+ jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.jsonsudo [2023-03-01T05:04:43.660Z] tee /etc/docker/daemon.new [2023-03-01T05:04:43.660Z] { [2023-03-01T05:04:43.660Z] "registry-mirrors": [ [2023-03-01T05:04:43.660Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-01T05:04:43.660Z] ], [2023-03-01T05:04:43.660Z] "bip": "10.250.0.254/24", [2023-03-01T05:04:43.660Z] "hosts": [ [2023-03-01T05:04:43.660Z] "tcp://0.0.0.0:5555", [2023-03-01T05:04:43.660Z] "unix:///var/run/docker.sock" [2023-03-01T05:04:43.660Z] ], [2023-03-01T05:04:43.660Z] "mtu": 1458, [2023-03-01T05:04:43.660Z] "selinux-enabled": true, [2023-03-01T05:04:43.660Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-01T05:04:43.660Z] } [Pipeline] sh [2023-03-01T05:04:44.029Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-01T05:04:44.408Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-01T05:05:02.804Z] provisioning config files... [2023-03-01T05:05:02.838Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config4599383977776600141tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-01T05:05:03.247Z] ---> docker-login.sh [2023-03-01T05:05:03.247Z] nexus3.edgexfoundry.org:10001 [2023-03-01T05:05:03.845Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T05:05:03.845Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T05:05:03.845Z] Configure a credential helper to remove this warning. See [2023-03-01T05:05:03.845Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T05:05:03.845Z] [2023-03-01T05:05:03.845Z] Login Succeeded [2023-03-01T05:05:03.845Z] nexus3.edgexfoundry.org:10002 [2023-03-01T05:05:04.438Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T05:05:04.438Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T05:05:04.438Z] Configure a credential helper to remove this warning. See [2023-03-01T05:05:04.438Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T05:05:04.438Z] [2023-03-01T05:05:04.438Z] Login Succeeded [2023-03-01T05:05:04.438Z] nexus3.edgexfoundry.org:10003 [2023-03-01T05:05:04.712Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T05:05:04.712Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T05:05:04.712Z] Configure a credential helper to remove this warning. See [2023-03-01T05:05:04.712Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T05:05:04.712Z] [2023-03-01T05:05:04.712Z] Login Succeeded [2023-03-01T05:05:04.712Z] nexus3.edgexfoundry.org:10004 [2023-03-01T05:05:04.998Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T05:05:05.287Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T05:05:05.287Z] Configure a credential helper to remove this warning. See [2023-03-01T05:05:05.287Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T05:05:05.287Z] [2023-03-01T05:05:05.287Z] Login Succeeded [2023-03-01T05:05:05.287Z] docker.io [2023-03-01T05:05:05.558Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T05:05:05.831Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T05:05:05.831Z] Configure a credential helper to remove this warning. See [2023-03-01T05:05:05.831Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T05:05:05.831Z] [2023-03-01T05:05:05.831Z] Login Succeeded [2023-03-01T05:05:05.831Z] ---> docker-login.sh ends [Pipeline] } [2023-03-01T05:05:05.858Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-01T05:05:06.294Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-01T05:05:06.330Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-01T05:05:06.361Z] ========================================================= [2023-03-01T05:05:06.361Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-03-01T05:05:06.361Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T05:05:06.883Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-01T05:05:07.481Z] Sending build context to Docker daemon 5.698MB [2023-03-01T05:05:07.481Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-03-01T05:05:07.481Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-01T05:05:07.755Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-01T05:05:07.755Z] 9b18e9b68314: Pulling fs layer [2023-03-01T05:05:07.755Z] 35d82f9e3411: Pulling fs layer [2023-03-01T05:05:07.755Z] e16973657156: Pulling fs layer [2023-03-01T05:05:07.755Z] fc693d55d65f: Pulling fs layer [2023-03-01T05:05:07.755Z] 7e9fc2657dce: Pulling fs layer [2023-03-01T05:05:07.755Z] dda99020689f: Pulling fs layer [2023-03-01T05:05:07.755Z] db1c61fa0a46: Pulling fs layer [2023-03-01T05:05:07.755Z] 891c053d2c06: Pulling fs layer [2023-03-01T05:05:07.755Z] fc693d55d65f: Waiting [2023-03-01T05:05:07.755Z] 7e9fc2657dce: Waiting [2023-03-01T05:05:07.755Z] dda99020689f: Waiting [2023-03-01T05:05:07.755Z] db1c61fa0a46: Waiting [2023-03-01T05:05:07.755Z] 891c053d2c06: Waiting [2023-03-01T05:05:07.755Z] e16973657156: Verifying Checksum [2023-03-01T05:05:07.755Z] e16973657156: Download complete [2023-03-01T05:05:07.755Z] 35d82f9e3411: Verifying Checksum [2023-03-01T05:05:07.755Z] 35d82f9e3411: Download complete [2023-03-01T05:05:07.755Z] 7e9fc2657dce: Download complete [2023-03-01T05:05:07.755Z] dda99020689f: Verifying Checksum [2023-03-01T05:05:07.755Z] dda99020689f: Download complete [2023-03-01T05:05:07.755Z] 9b18e9b68314: Verifying Checksum [2023-03-01T05:05:07.755Z] 9b18e9b68314: Download complete [2023-03-01T05:05:08.739Z] 9b18e9b68314: Pull complete [2023-03-01T05:05:09.012Z] 891c053d2c06: Verifying Checksum [2023-03-01T05:05:09.012Z] 891c053d2c06: Download complete [2023-03-01T05:05:09.618Z] 35d82f9e3411: Pull complete [2023-03-01T05:05:09.892Z] e16973657156: Pull complete [2023-03-01T05:05:10.490Z] db1c61fa0a46: Verifying Checksum [2023-03-01T05:05:10.490Z] db1c61fa0a46: Download complete [2023-03-01T05:05:11.082Z] fc693d55d65f: Download complete [2023-03-01T05:05:23.521Z] fc693d55d65f: Pull complete [2023-03-01T05:05:23.521Z] 7e9fc2657dce: Pull complete [2023-03-01T05:05:23.521Z] dda99020689f: Pull complete [2023-03-01T05:05:30.253Z] db1c61fa0a46: Pull complete [2023-03-01T05:05:31.229Z] 891c053d2c06: Pull complete [2023-03-01T05:05:31.229Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-03-01T05:05:31.500Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-01T05:05:31.500Z] ---> f96f9c87975a [2023-03-01T05:05:31.500Z] Step 3/10 : ARG MAKE=make build [2023-03-01T05:05:33.486Z] ---> Running in 935e6a6c0244 [2023-03-01T05:05:33.762Z] Removing intermediate container 935e6a6c0244 [2023-03-01T05:05:33.762Z] ---> 60d6dc38cf5f [2023-03-01T05:05:33.762Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-01T05:05:33.762Z] ---> Running in 956f704ff4a5 [2023-03-01T05:05:34.357Z] Removing intermediate container 956f704ff4a5 [2023-03-01T05:05:34.357Z] ---> e5d0f09e9a6f [2023-03-01T05:05:34.357Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-01T05:05:34.357Z] ---> Running in 5480047ef7e7 [2023-03-01T05:05:34.627Z] Removing intermediate container 5480047ef7e7 [2023-03-01T05:05:34.627Z] ---> a18703652481 [2023-03-01T05:05:34.627Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-01T05:05:34.898Z] ---> Running in f9e32bf160b8 [2023-03-01T05:05:36.317Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-01T05:05:36.317Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-01T05:05:37.736Z] OK: 221 MiB in 51 packages [2023-03-01T05:05:38.709Z] Removing intermediate container f9e32bf160b8 [2023-03-01T05:05:38.709Z] ---> 4f82f43c2f2c [2023-03-01T05:05:38.709Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-01T05:05:39.300Z] ---> a7eb3aec330e [2023-03-01T05:05:39.300Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-01T05:05:39.300Z] ---> Running in 4202c8083f36 [2023-03-01T05:06:48.244Z] Removing intermediate container 4202c8083f36 [2023-03-01T05:06:48.244Z] ---> 432e4b87b547 [2023-03-01T05:06:48.244Z] Step 9/10 : COPY . . [2023-03-01T05:06:48.244Z] ---> 81e8262e48fa [2023-03-01T05:06:48.244Z] Step 10/10 : RUN ${MAKE} [2023-03-01T05:06:48.244Z] ---> Running in 346c06fbac06 [2023-03-01T05:06:48.244Z] noop [2023-03-01T05:06:48.836Z] Removing intermediate container 346c06fbac06 [2023-03-01T05:06:48.836Z] ---> 05a3a16213f2 [2023-03-01T05:06:48.836Z] Successfully built 05a3a16213f2 [2023-03-01T05:06:48.836Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T05:06:49.330Z] + docker inspect -f . ci-base-image-arm64 [2023-03-01T05:06:49.330Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-01T05:06:49.606Z] prd-ubuntu20.04-docker-arm64-4c-16g-7897 does not seem to be running inside a container [2023-03-01T05:06:49.679Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-arm64 cat [2023-03-01T05:06:51.075Z] $ docker top b32f177a98e51811d9f044c1fbd9fbe706f992aa3f747dfc4c9af4eb3b33de65 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-01T05:06:52.007Z] + go version [2023-03-01T05:06:52.007Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-03-01T05:06:52.051Z] $ docker stop --time=1 b32f177a98e51811d9f044c1fbd9fbe706f992aa3f747dfc4c9af4eb3b33de65 [2023-03-01T05:06:53.766Z] $ docker rm -f --volumes b32f177a98e51811d9f044c1fbd9fbe706f992aa3f747dfc4c9af4eb3b33de65 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T05:06:54.654Z] + docker inspect -f . ci-base-image-arm64 [2023-03-01T05:06:54.654Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-01T05:06:54.920Z] prd-ubuntu20.04-docker-arm64-4c-16g-7897 does not seem to be running inside a container [2023-03-01T05:06:54.994Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-arm64 cat [2023-03-01T05:06:56.279Z] $ docker top 8826dad6683dde0f3fabf7c37918b27c2bb90d196b7dec78cd31e79d8f915262 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-01T05:06:57.182Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-03-01T05:06:57.577Z] + make test [2023-03-01T05:06:57.846Z] go test -race -coverprofile=coverage.out ./... [2023-03-01T05:07:36.741Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-01T05:10:13.540Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-01T05:10:13.540Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-01T05:10:13.540Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-01T05:10:13.540Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-01T05:10:13.540Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-01T05:10:14.151Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.327s coverage: 27.6% of statements [2023-03-01T05:10:15.571Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.317s coverage: 78.9% of statements [2023-03-01T05:10:15.571Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-03-01T05:10:22.253Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.468s coverage: 86.0% of statements [2023-03-01T05:10:22.253Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-01T05:10:22.253Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-01T05:10:23.667Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.537s coverage: 75.0% of statements [2023-03-01T05:10:23.667Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-01T05:10:23.667Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.451s coverage: 15.3% of statements [2023-03-01T05:10:23.667Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-01T05:10:26.271Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.496s coverage: 65.2% of statements [2023-03-01T05:10:26.271Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-01T05:10:26.271Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-01T05:10:27.693Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.541s coverage: 89.2% of statements [2023-03-01T05:10:27.693Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-03-01T05:10:27.693Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.289s coverage: 4.6% of statements [2023-03-01T05:10:27.693Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-01T05:10:28.659Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-01T05:10:28.659Z] GO111MODULE=on go vet ./... [2023-03-01T05:12:20.419Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-01T05:12:20.419Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-01T05:12:20.419Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-01T05:12:20.463Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-01T05:12:20.491Z] $ docker stop --time=1 8826dad6683dde0f3fabf7c37918b27c2bb90d196b7dec78cd31e79d8f915262 [2023-03-01T05:12:22.479Z] $ docker rm -f --volumes 8826dad6683dde0f3fabf7c37918b27c2bb90d196b7dec78cd31e79d8f915262 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-01T05:12:24.116Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-01T05:12:24.154Z] Warning: overwriting stash ‘coverage-report’ [2023-03-01T05:12:24.933Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-01T05:12:25.524Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-01T05:12:25.882Z] + ls -al . [2023-03-01T05:12:25.882Z] total 276 [2023-03-01T05:12:25.882Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 1 05:06 . [2023-03-01T05:12:25.882Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 1 05:04 .. [2023-03-01T05:12:25.882Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 1 05:04 .dockerignore [2023-03-01T05:12:25.882Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 1 05:04 .git [2023-03-01T05:12:25.882Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 1 05:04 .github [2023-03-01T05:12:25.882Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 1 05:04 .gitignore [2023-03-01T05:12:25.882Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 1 05:04 .golangci.yml [2023-03-01T05:12:25.882Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 1 05:04 CHANGELOG.md [2023-03-01T05:12:25.882Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 1 05:04 GOVERNANCE.md [2023-03-01T05:12:25.882Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 1 05:04 Jenkinsfile [2023-03-01T05:12:25.882Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 1 05:04 LICENSE [2023-03-01T05:12:25.882Z] -rw-rw-r-- 1 jenkins jenkins 1679 Mar 1 05:04 Makefile [2023-03-01T05:12:25.882Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 1 05:04 OWNERS.md [2023-03-01T05:12:25.882Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 1 05:04 README.md [2023-03-01T05:12:25.882Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 1 05:01 VERSION [2023-03-01T05:12:25.882Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 1 05:04 bin [2023-03-01T05:12:25.882Z] -rw-r--r-- 1 jenkins jenkins 111244 Mar 1 05:10 coverage.out [2023-03-01T05:12:25.882Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 1 05:04 example [2023-03-01T05:12:25.882Z] -rw-rw-r-- 1 jenkins jenkins 3266 Mar 1 05:04 go.mod [2023-03-01T05:12:25.882Z] -rw-rw-r-- 1 jenkins jenkins 30840 Mar 1 05:04 go.sum [2023-03-01T05:12:25.882Z] drwxrwxr-x 13 jenkins jenkins 4096 Mar 1 05:04 internal [2023-03-01T05:12:25.882Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 1 05:04 openapi [2023-03-01T05:12:25.882Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 1 05:04 pkg [2023-03-01T05:12:25.882Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 1 05:04 snap [2023-03-01T05:12:25.882Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 1 05:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T05:12:26.312Z] + 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=6699488bfca19abc9d8ffc2ac42e4aba0e001b62 --label arch=arm64 --label version=0.0.0 . [2023-03-01T05:12:26.905Z] Sending build context to Docker daemon 5.81MB [2023-03-01T05:12:26.905Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-03-01T05:12:26.905Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-01T05:12:26.905Z] ---> 05a3a16213f2 [2023-03-01T05:12:26.905Z] Step 3/23 : ARG MAKE=make build [2023-03-01T05:12:26.905Z] ---> Running in f03b908eb359 [2023-03-01T05:12:27.495Z] Removing intermediate container f03b908eb359 [2023-03-01T05:12:27.495Z] ---> c7f39a95faee [2023-03-01T05:12:27.495Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-01T05:12:27.495Z] ---> Running in ecff03e3f561 [2023-03-01T05:12:27.766Z] Removing intermediate container ecff03e3f561 [2023-03-01T05:12:27.766Z] ---> 39e76976faeb [2023-03-01T05:12:27.766Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-01T05:12:27.766Z] ---> Running in 6263ed5478f9 [2023-03-01T05:12:28.039Z] Removing intermediate container 6263ed5478f9 [2023-03-01T05:12:28.039Z] ---> d9b7abd69cbb [2023-03-01T05:12:28.039Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-01T05:12:28.316Z] ---> Running in 6954e61e8d52 [2023-03-01T05:12:29.284Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-01T05:12:29.878Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-01T05:12:31.326Z] OK: 221 MiB in 51 packages [2023-03-01T05:12:31.926Z] Removing intermediate container 6954e61e8d52 [2023-03-01T05:12:31.926Z] ---> 44b80a06dea8 [2023-03-01T05:12:31.926Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-01T05:12:32.518Z] ---> 8553ebb9fe97 [2023-03-01T05:12:32.518Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-01T05:12:32.790Z] ---> Running in dcb20c10d839 [2023-03-01T05:12:35.407Z] Removing intermediate container dcb20c10d839 [2023-03-01T05:12:35.407Z] ---> 05a9db7f32fd [2023-03-01T05:12:35.407Z] Step 9/23 : COPY . . [2023-03-01T05:12:36.831Z] ---> f0d6358e3d5a [2023-03-01T05:12:36.831Z] Step 10/23 : RUN ${MAKE} [2023-03-01T05:12:37.102Z] ---> Running in 02ac6405c37c [2023-03-01T05:12:38.071Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-03-01T05:14:59.824Z] Removing intermediate container 02ac6405c37c [2023-03-01T05:14:59.824Z] ---> b83e0ae323d2 [2023-03-01T05:14:59.824Z] Step 11/23 : FROM alpine:3.16 [2023-03-01T05:14:59.824Z] 3.16: Pulling from library/alpine [2023-03-01T05:14:59.824Z] 3760b48202b3: Pulling fs layer [2023-03-01T05:14:59.824Z] 3760b48202b3: Verifying Checksum [2023-03-01T05:14:59.824Z] 3760b48202b3: Download complete [2023-03-01T05:14:59.824Z] 3760b48202b3: Pull complete [2023-03-01T05:14:59.824Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-01T05:15:00.110Z] Status: Downloaded newer image for alpine:3.16 [2023-03-01T05:15:00.110Z] ---> 4c81e5bf8899 [2023-03-01T05:15:00.110Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-01T05:15:00.484Z] ---> Running in 0a85ff5e9250 [2023-03-01T05:15:00.776Z] Removing intermediate container 0a85ff5e9250 [2023-03-01T05:15:00.777Z] ---> fa2531c37ef4 [2023-03-01T05:15:00.777Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-01T05:15:00.777Z] ---> Running in 69ca76ac61f8 [2023-03-01T05:15:01.757Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-01T05:15:02.025Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-01T05:15:03.452Z] OK: 5 MiB in 14 packages [2023-03-01T05:15:04.036Z] Removing intermediate container 69ca76ac61f8 [2023-03-01T05:15:04.036Z] ---> ed8a22dcc7e6 [2023-03-01T05:15:04.036Z] Step 14/23 : WORKDIR / [2023-03-01T05:15:04.304Z] ---> Running in c8e221ecc479 [2023-03-01T05:15:04.574Z] Removing intermediate container c8e221ecc479 [2023-03-01T05:15:04.574Z] ---> fc257f991991 [2023-03-01T05:15:04.574Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-01T05:15:05.160Z] ---> f8bdc69b0c16 [2023-03-01T05:15:05.160Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-01T05:15:06.575Z] ---> 83925b5807f8 [2023-03-01T05:15:06.576Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-01T05:15:06.846Z] ---> 68d90782337d [2023-03-01T05:15:06.847Z] Step 18/23 : EXPOSE 59999 [2023-03-01T05:15:07.115Z] ---> Running in 4c4f272219dd [2023-03-01T05:15:07.384Z] Removing intermediate container 4c4f272219dd [2023-03-01T05:15:07.384Z] ---> fe76b49ff2e2 [2023-03-01T05:15:07.384Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-01T05:15:07.384Z] ---> Running in b7833f3dd557 [2023-03-01T05:15:07.654Z] Removing intermediate container b7833f3dd557 [2023-03-01T05:15:07.654Z] ---> 898a674ef4c7 [2023-03-01T05:15:07.654Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-01T05:15:07.936Z] ---> Running in 2b705ee3b308 [2023-03-01T05:15:08.205Z] Removing intermediate container 2b705ee3b308 [2023-03-01T05:15:08.205Z] ---> 741dab32ab77 [2023-03-01T05:15:08.205Z] Step 21/23 : LABEL arch=arm64 [2023-03-01T05:15:08.205Z] ---> Running in c72e9b55adee [2023-03-01T05:15:08.477Z] Removing intermediate container c72e9b55adee [2023-03-01T05:15:08.477Z] ---> f3d03ab316d4 [2023-03-01T05:15:08.477Z] Step 22/23 : LABEL git_sha=6699488bfca19abc9d8ffc2ac42e4aba0e001b62 [2023-03-01T05:15:08.746Z] ---> Running in 592747724d31 [2023-03-01T05:15:09.025Z] Removing intermediate container 592747724d31 [2023-03-01T05:15:09.025Z] ---> d8c7546d42df [2023-03-01T05:15:09.025Z] Step 23/23 : LABEL version=0.0.0 [2023-03-01T05:15:09.025Z] ---> Running in 9f1f3bbf4bbf [2023-03-01T05:15:09.294Z] Removing intermediate container 9f1f3bbf4bbf [2023-03-01T05:15:09.294Z] ---> 085e468bfd5d [2023-03-01T05:15:09.294Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-01T05:15:09.294Z] Successfully built 085e468bfd5d [2023-03-01T05:15:09.294Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T05:15:10.098Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-01T05:15:10.098Z] [2023-03-01T05:15:10.098Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T05:15:10.502Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-01T05:15:10.781Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-01T05:15:10.781Z] 8998bd30e6a1: Pulling fs layer [2023-03-01T05:15:10.781Z] 04944245beec: Pulling fs layer [2023-03-01T05:15:10.781Z] 699f458cf7ca: Pulling fs layer [2023-03-01T05:15:10.781Z] 765212b225bb: Pulling fs layer [2023-03-01T05:15:10.781Z] f23df028b6ca: Pulling fs layer [2023-03-01T05:15:10.781Z] d65c8cfc05b1: Pulling fs layer [2023-03-01T05:15:10.781Z] 2437ff75d9bd: Pulling fs layer [2023-03-01T05:15:10.781Z] f23df028b6ca: Waiting [2023-03-01T05:15:10.781Z] 765212b225bb: Waiting [2023-03-01T05:15:10.781Z] d65c8cfc05b1: Waiting [2023-03-01T05:15:10.781Z] 04944245beec: Verifying Checksum [2023-03-01T05:15:10.781Z] 04944245beec: Download complete [2023-03-01T05:15:10.781Z] 765212b225bb: Verifying Checksum [2023-03-01T05:15:10.781Z] 765212b225bb: Download complete [2023-03-01T05:15:10.781Z] f23df028b6ca: Verifying Checksum [2023-03-01T05:15:10.781Z] f23df028b6ca: Download complete [2023-03-01T05:15:10.781Z] d65c8cfc05b1: Verifying Checksum [2023-03-01T05:15:10.781Z] d65c8cfc05b1: Download complete [2023-03-01T05:15:11.051Z] 699f458cf7ca: Verifying Checksum [2023-03-01T05:15:11.051Z] 699f458cf7ca: Download complete [2023-03-01T05:15:11.322Z] 8998bd30e6a1: Verifying Checksum [2023-03-01T05:15:11.322Z] 8998bd30e6a1: Download complete [2023-03-01T05:15:13.915Z] 2437ff75d9bd: Verifying Checksum [2023-03-01T05:15:13.915Z] 2437ff75d9bd: Download complete [2023-03-01T05:15:15.328Z] 8998bd30e6a1: Pull complete [2023-03-01T05:15:15.598Z] 04944245beec: Pull complete [2023-03-01T05:15:17.030Z] 699f458cf7ca: Pull complete [2023-03-01T05:15:17.297Z] 765212b225bb: Pull complete [2023-03-01T05:15:18.256Z] f23df028b6ca: Pull complete [2023-03-01T05:15:18.256Z] d65c8cfc05b1: Pull complete [2023-03-01T05:15:33.314Z] 2437ff75d9bd: Pull complete [2023-03-01T05:15:33.314Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-01T05:15:33.314Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-01T05:15:33.314Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-01T05:15:33.622Z] prd-ubuntu20.04-docker-arm64-4c-16g-7897 does not seem to be running inside a container [2023-03-01T05:15:33.687Z] $ 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/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-01T05:15:36.526Z] $ docker top 2df1d2c26a3063e97888e5229075f1c80ff6092aa3daddcc4e2d4e4734510359 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-01T05:15:37.509Z] ---> job-cost.sh [2023-03-01T05:15:37.509Z] lf-activate-venv: SKIPPING [2023-03-01T05:15:37.509Z] INFO: No Stack... [2023-03-01T05:15:37.776Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-01T05:15:38.738Z] INFO: Archiving Costs [Pipeline] sh [2023-03-01T05:15:39.091Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2023-03-01T05:15:39.091Z] + cut -d, -f6 [Pipeline] lock [2023-03-01T05:15:39.447Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1353-1-stack-cost] [2023-03-01T05:15:39.452Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1353-1-stack-cost] did not exist. Created. [2023-03-01T05:15:39.452Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1353-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-01T05:15:39.865Z] /w/workspace/device-sdk-go/1@tmp/durable-5e3f32a5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-01T05:15:40.537Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-01T05:15:40.572Z] Warning: overwriting stash ‘stack-cost’ [2023-03-01T05:15:40.646Z] Stashed 1 file(s) [Pipeline] } [2023-03-01T05:15:40.660Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1353-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-01T05:15:40.729Z] $ docker stop --time=1 2df1d2c26a3063e97888e5229075f1c80ff6092aa3daddcc4e2d4e4734510359 [2023-03-01T05:15:42.214Z] $ docker rm -f --volumes 2df1d2c26a3063e97888e5229075f1c80ff6092aa3daddcc4e2d4e4734510359 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-03-01T05:15:43.189Z] provisioning config files... [2023-03-01T05:15:43.196Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1353@tmp/config6811265995084003557tmp [Pipeline] { [Pipeline] sh [2023-03-01T05:15:43.527Z] + set +x [2023-03-01T05:15:43.527Z] + + curl -sbash https://codecov.io/bash -s [2023-03-01T05:15:43.527Z] -- [2023-03-01T05:15:43.527Z] [2023-03-01T05:15:43.527Z] _____ _ [2023-03-01T05:15:43.527Z] / ____| | | [2023-03-01T05:15:43.527Z] | | ___ __| | ___ ___ _____ __ [2023-03-01T05:15:43.527Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-01T05:15:43.527Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-01T05:15:43.527Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-01T05:15:43.527Z] Bash-1.0.6 [2023-03-01T05:15:43.527Z] [2023-03-01T05:15:43.527Z] [2023-03-01T05:15:43.527Z] ==> git version 2.25.1 found [2023-03-01T05:15:43.527Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-03-01T05:15:43.527Z] Release-Date: 2020-01-08 [2023-03-01T05:15:43.527Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-03-01T05:15:43.527Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-01T05:15:43.527Z] ==> Jenkins CI detected. [2023-03-01T05:15:43.527Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1353 [2023-03-01T05:15:43.527Z] project root: . [2023-03-01T05:15:43.527Z] --> token set from env [2023-03-01T05:15:43.527Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-01T05:15:43.527Z] ==> Running gcov in . (disable via -X gcov) [2023-03-01T05:15:43.527Z] ==> Python coveragepy not found [2023-03-01T05:15:43.527Z] ==> Searching for coverage reports in: [2023-03-01T05:15:43.527Z] + . [2023-03-01T05:15:43.527Z] -> Found 1 reports [2023-03-01T05:15:43.527Z] ==> Detecting git/mercurial file structure [2023-03-01T05:15:43.527Z] ==> Reading reports [2023-03-01T05:15:43.527Z] + ./coverage.out bytes=111244 [2023-03-01T05:15:43.527Z] ==> Appending adjustments [2023-03-01T05:15:43.527Z] https://docs.codecov.io/docs/fixing-reports [2023-03-01T05:15:43.787Z] + Found adjustments [2023-03-01T05:15:43.787Z] ==> Gzipping contents [2023-03-01T05:15:43.787Z] 16K /tmp/codecov.B1LjfH.gz [2023-03-01T05:15:44.047Z] ==> Uploading reports [2023-03-01T05:15:44.047Z] url: https://codecov.io [2023-03-01T05:15:44.047Z] query: branch=PR-1353&commit=6699488bfca19abc9d8ffc2ac42e4aba0e001b62&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1353%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1353&job=&cmd_args= [2023-03-01T05:15:44.047Z] -> Pinging Codecov [2023-03-01T05:15:44.047Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1353&commit=6699488bfca19abc9d8ffc2ac42e4aba0e001b62&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1353%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1353&job=&cmd_args= [2023-03-01T05:15:44.047Z] -> Uploading to [2023-03-01T05:15:44.047Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-01/7E55EF52A471D76F132DFD9A03CDDE97/6699488bfca19abc9d8ffc2ac42e4aba0e001b62/b9f78dd0-1205-4ac3-b5a2-f919bccaa249.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230301%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230301T051543Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3ce3dcc3a6046de0100318a143aa0d0025861704352776eb77e7427e0e3c5935 [2023-03-01T05:15:44.047Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-01T05:15:44.047Z] Dload Upload Total Spent Left Speed [2023-03-01T05:15:44.307Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15422 0 0 100 15422 0 62437 --:--:-- --:--:-- --:--:-- 62437 [2023-03-01T05:15:44.307Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/6699488bfca19abc9d8ffc2ac42e4aba0e001b62 [Pipeline] } [2023-03-01T05:15:44.336Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-03-01T05:15:46.077Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1353/archives ] [2023-03-01T05:15:46.077Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1353/archives [2023-03-01T05:15:46.077Z] total 16 [2023-03-01T05:15:46.077Z] drwxr-xr-x 3 root root 4096 Mar 1 05:04 . [2023-03-01T05:15:46.078Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 1 05:04 .. [2023-03-01T05:15:46.078Z] drwxr-xr-x 2 root root 4096 Mar 1 05:04 cost [2023-03-01T05:15:46.078Z] -rw-r--r-- 1 root root 86 Mar 1 05:04 cost.csv [2023-03-01T05:15:46.078Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1353/archives [2023-03-01T05:15:46.078Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1353/archives [2023-03-01T05:15:46.078Z] total 16 [2023-03-01T05:15:46.078Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 1 05:04 . [2023-03-01T05:15:46.078Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 1 05:04 .. [2023-03-01T05:15:46.078Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 1 05:04 cost [2023-03-01T05:15:46.078Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 1 05:04 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-01T05:15:46.403Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-01T05:15:47.299Z] ---> package-listing.sh [2023-03-01T05:15:47.299Z] ++ facter osfamily [2023-03-01T05:15:47.299Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-01T05:15:47.299Z] + OS_FAMILY=debian [2023-03-01T05:15:47.299Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1353 [2023-03-01T05:15:47.299Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-01T05:15:47.299Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-01T05:15:47.299Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-01T05:15:47.299Z] + PACKAGES=/tmp/packages_start.txt [2023-03-01T05:15:47.299Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1353 ']' [2023-03-01T05:15:47.299Z] + PACKAGES=/tmp/packages_end.txt [2023-03-01T05:15:47.299Z] + case "${OS_FAMILY}" in [2023-03-01T05:15:47.299Z] + dpkg -l [2023-03-01T05:15:47.299Z] + grep '^ii' [2023-03-01T05:15:47.558Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-01T05:15:47.558Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-01T05:15:47.558Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-01T05:15:47.558Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1353 ']' [2023-03-01T05:15:47.558Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1353/archives/ [2023-03-01T05:15:47.558Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1353/archives/ [Pipeline] echo [2023-03-01T05:15:47.593Z] 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-1353/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-01T05:15:47.892Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T05:15:48.515Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-01T05:15:48.516Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-01T05:15:48.648Z] prd-ubuntu20.04-docker-8c-8g-7889 does not seem to be running inside a container [2023-03-01T05:15:48.644Z] $ 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-1353/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-1353 -v /w/workspace/gexfoundry_device-sdk-go_PR-1353:/w/workspace/gexfoundry_device-sdk-go_PR-1353:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1353@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1353@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-01T05:15:48.884Z] $ docker top 2770099720df851b6aeb67238b70721ee346b85ff1e5aa4ef39d7053186e5d4d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-01T05:15:49.299Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-01T05:15:49.610Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-01T05:15:49.919Z] + ls /var/log/sa-host [2023-03-01T05:15:49.919Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-01T05:15:50.057Z] provisioning config files... [2023-03-01T05:15:50.065Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1353@tmp/config9059557673634961262tmp [Pipeline] { [Pipeline] echo [2023-03-01T05:15:50.109Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-01T05:15:50.420Z] ---> create-netrc.sh [Pipeline] } [2023-03-01T05:15:50.445Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-01T05:15:50.837Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-01T05:15:50.869Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-01T05:15:51.181Z] ---> sudo-logs.sh [2023-03-01T05:15:51.181Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-01T05:15:51.266Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-01T05:15:51.573Z] ---> job-cost.sh [2023-03-01T05:15:51.573Z] lf-activate-venv: SKIPPING [2023-03-01T05:15:51.573Z] DEBUG: total: 0.2199999988079071 [2023-03-01T05:15:51.573Z] INFO: Retrieving Stack Cost... [2023-03-01T05:15:51.833Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-01T05:15:52.400Z] INFO: Archiving Costs [Pipeline] echo [2023-03-01T05:15:52.433Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-01T05:15:52.741Z] ---> logs-deploy.sh [2023-03-01T05:15:52.741Z] lf-activate-venv: SKIPPING [2023-03-01T05:15:52.741Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1353/1 [2023-03-01T05:15:52.741Z] INFO: archiving workspace using pattern(s): [2023-03-01T05:15:53.675Z] Archives upload complete. [2023-03-01T05:15:53.675Z] INFO: archiving logs to Nexus