Pull request #1303 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jinlinGuan for edgexfoundry/device-sdk-go Loading trusted files from base branch main at 1acc2ef1c1fa5446d2eac6cbaedb918f3ccab223 rather than 73fb48faf2bae20740fd473665d27f5e6eced9ca Obtained Jenkinsfile from 1acc2ef1c1fa5446d2eac6cbaedb918f3ccab223 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-ssh18364422877899230777.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-ssh7835103065127963401.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-1303/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-1303/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15775620704777924800.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-1303/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6194311470188767932.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh16459279532566186736.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-1303/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-1303/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17412134432742983924.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 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-4612’ Running on prd-ubuntu20.04-docker-8c-8g-4618 in /w/workspace/gexfoundry_device-sdk-go_PR-1303 [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-1303 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1303/head:refs/remotes/origin/PR-1303 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 1acc2ef1c1fa5446d2eac6cbaedb918f3ccab223 into PR head commit 73fb48faf2bae20740fd473665d27f5e6eced9ca Merge succeeded, producing 73fb48faf2bae20740fd473665d27f5e6eced9ca Checking out Revision 73fb48faf2bae20740fd473665d27f5e6eced9ca (PR-1303) > git config core.sparsecheckout # timeout=10 > git checkout -f 73fb48faf2bae20740fd473665d27f5e6eced9ca # 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 1acc2ef1c1fa5446d2eac6cbaedb918f3ccab223 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 73fb48faf2bae20740fd473665d27f5e6eced9ca # timeout=10 Commit message: "refactor!: Update config for message bus topic wild cards" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-06T04:02:54.284Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-06T04:02:54.472Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-06T04:02:54.576Z] ========================================================= [2023-02-06T04:02:54.576Z] EdgeX Global Pipelines Version Info [2023-02-06T04:02:54.576Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-06T04:02:55.329Z] ------------------- [2023-02-06T04:02:55.329Z] stable info: [2023-02-06T04:02:55.329Z] ------------------- [2023-02-06T04:02:55.329Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-06T04:02:55.329Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-06T04:02:55.329Z] Message: update stable to v1.0.244 [2023-02-06T04:02:55.901Z] ------------------- [2023-02-06T04:02:55.901Z] experimental info: [2023-02-06T04:02:55.901Z] ------------------- [2023-02-06T04:02:55.901Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-06T04:02:55.901Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-06T04:02:55.901Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-06T04:02:56.251Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-02-06T04:02:56.294Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-02-06T04:02:56.334Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-06T04:02:56.433Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-06T04:02:56.471Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-06T04:02:56.506Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-06T04:02:56.542Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-06T04:02:56.586Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-02-06T04:02:56.626Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-06T04:02:56.664Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-06T04:02:56.703Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-06T04:02:56.742Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-02-06T04:02:56.783Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-06T04:02:56.819Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-06T04:02:56.862Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-06T04:02:56.901Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-02-06T04:02:56.946Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-06T04:02:56.989Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-06T04:02:57.028Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-06T04:02:57.068Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-06T04:02:57.114Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-02-06T04:02:57.152Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-02-06T04:02:57.190Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-06T04:02:57.230Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-06T04:02:57.269Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-06T04:02:57.306Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-06T04:02:57.346Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-06T04:02:57.387Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1303 [Pipeline] echo [2023-02-06T04:02:57.425Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1303 [Pipeline] echo [2023-02-06T04:02:57.467Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1303 [Pipeline] echo [2023-02-06T04:02:57.509Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 73fb48faf2bae20740fd473665d27f5e6eced9ca [Pipeline] echo [2023-02-06T04:02:57.547Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 73fb48f [Pipeline] echo [2023-02-06T04:02:57.587Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-06T04:02:57.692Z] provisioning config files... [2023-02-06T04:02:57.713Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1303@tmp/config10807173572621017645tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-06T04:02:58.071Z] ---> docker-login.sh [2023-02-06T04:02:58.071Z] nexus3.edgexfoundry.org:10001 [2023-02-06T04:02:58.644Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T04:02:58.644Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T04:02:58.644Z] Configure a credential helper to remove this warning. See [2023-02-06T04:02:58.644Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T04:02:58.644Z] [2023-02-06T04:02:58.644Z] Login Succeeded [2023-02-06T04:02:58.644Z] nexus3.edgexfoundry.org:10002 [2023-02-06T04:02:58.644Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T04:02:58.905Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T04:02:58.905Z] Configure a credential helper to remove this warning. See [2023-02-06T04:02:58.905Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T04:02:58.905Z] [2023-02-06T04:02:58.905Z] Login Succeeded [2023-02-06T04:02:58.905Z] nexus3.edgexfoundry.org:10003 [2023-02-06T04:02:58.905Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T04:02:58.905Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T04:02:58.905Z] Configure a credential helper to remove this warning. See [2023-02-06T04:02:58.905Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T04:02:58.905Z] [2023-02-06T04:02:58.905Z] Login Succeeded [2023-02-06T04:02:58.905Z] nexus3.edgexfoundry.org:10004 [2023-02-06T04:02:58.905Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T04:02:59.165Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T04:02:59.165Z] Configure a credential helper to remove this warning. See [2023-02-06T04:02:59.165Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T04:02:59.165Z] [2023-02-06T04:02:59.165Z] Login Succeeded [2023-02-06T04:02:59.165Z] docker.io [2023-02-06T04:02:59.165Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T04:02:59.425Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T04:02:59.425Z] Configure a credential helper to remove this warning. See [2023-02-06T04:02:59.425Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T04:02:59.425Z] [2023-02-06T04:02:59.425Z] Login Succeeded [2023-02-06T04:02:59.425Z] ---> docker-login.sh ends [Pipeline] } [2023-02-06T04:02:59.451Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-06T04:03:00.082Z] + git rev-list -1 --merges 73fb48faf2bae20740fd473665d27f5e6eced9ca~1..73fb48faf2bae20740fd473665d27f5e6eced9ca [Pipeline] echo [2023-02-06T04:03:00.145Z] -----------> git rev-list -1 --merges 73fb48faf2bae20740fd473665d27f5e6eced9ca~1..73fb48faf2bae20740fd473665d27f5e6eced9ca 73fb48faf2bae20740fd473665d27f5e6eced9ca [false] [Pipeline] sh [2023-02-06T04:03:00.453Z] + git log --format=format:%s -1 73fb48faf2bae20740fd473665d27f5e6eced9ca [Pipeline] echo [2023-02-06T04:03:00.484Z] ========================================================= [2023-02-06T04:03:00.484Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-06T04:03:00.484Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-06T04:03:00.923Z] + git log --format=format:%s -1 73fb48faf2bae20740fd473665d27f5e6eced9ca [Pipeline] echo [2023-02-06T04:03:00.959Z] [semverPrep] GIT_COMMIT: 73fb48faf2bae20740fd473665d27f5e6eced9ca, Commit Message: refactor!: Update config for message bus topic wild cards [Pipeline] echo [2023-02-06T04:03:00.991Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-06T04:03:01.368Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-06T04:03:01.368Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-06T04:03:01.368Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-06T04:03:01.368Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-06T04:03:01.368Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-06T04:03:01.368Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-06T04:03:01.368Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T04:03:01.784Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-06T04:03:01.784Z] [2023-02-06T04:03:01.784Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T04:03:02.200Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-06T04:03:02.200Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-06T04:03:02.200Z] b85a868b505f: Pulling fs layer [2023-02-06T04:03:02.200Z] e2be974225ed: Pulling fs layer [2023-02-06T04:03:02.200Z] 339a4e72a1f5: Pulling fs layer [2023-02-06T04:03:02.200Z] 988bab9f4d93: Pulling fs layer [2023-02-06T04:03:02.200Z] 1469e6f7b9e6: Pulling fs layer [2023-02-06T04:03:02.200Z] eaf3925da568: Pulling fs layer [2023-02-06T04:03:02.200Z] bab4dde63d76: Pulling fs layer [2023-02-06T04:03:02.200Z] bde34c3a00c8: Pulling fs layer [2023-02-06T04:03:02.200Z] b352a97aabf1: Pulling fs layer [2023-02-06T04:03:02.200Z] 4872d77fe225: Pulling fs layer [2023-02-06T04:03:02.200Z] 5851b861e8e6: Pulling fs layer [2023-02-06T04:03:02.200Z] 1469e6f7b9e6: Waiting [2023-02-06T04:03:02.200Z] eaf3925da568: Waiting [2023-02-06T04:03:02.200Z] bab4dde63d76: Waiting [2023-02-06T04:03:02.200Z] 4872d77fe225: Waiting [2023-02-06T04:03:02.200Z] bde34c3a00c8: Waiting [2023-02-06T04:03:02.200Z] b352a97aabf1: Waiting [2023-02-06T04:03:02.200Z] 988bab9f4d93: Waiting [2023-02-06T04:03:02.200Z] 5851b861e8e6: Waiting [2023-02-06T04:03:02.200Z] e2be974225ed: Download complete [2023-02-06T04:03:02.200Z] 988bab9f4d93: Download complete [2023-02-06T04:03:02.465Z] 1469e6f7b9e6: Verifying Checksum [2023-02-06T04:03:02.465Z] 1469e6f7b9e6: Download complete [2023-02-06T04:03:02.465Z] 339a4e72a1f5: Verifying Checksum [2023-02-06T04:03:02.465Z] 339a4e72a1f5: Download complete [2023-02-06T04:03:02.465Z] eaf3925da568: Verifying Checksum [2023-02-06T04:03:02.465Z] eaf3925da568: Download complete [2023-02-06T04:03:02.465Z] bde34c3a00c8: Verifying Checksum [2023-02-06T04:03:02.465Z] bde34c3a00c8: Download complete [2023-02-06T04:03:02.724Z] b352a97aabf1: Download complete [2023-02-06T04:03:02.724Z] 4872d77fe225: Verifying Checksum [2023-02-06T04:03:02.724Z] 4872d77fe225: Download complete [2023-02-06T04:03:02.724Z] 5851b861e8e6: Verifying Checksum [2023-02-06T04:03:02.724Z] 5851b861e8e6: Download complete [2023-02-06T04:03:02.724Z] b85a868b505f: Verifying Checksum [2023-02-06T04:03:02.724Z] b85a868b505f: Download complete [2023-02-06T04:03:02.983Z] bab4dde63d76: Verifying Checksum [2023-02-06T04:03:02.983Z] bab4dde63d76: Download complete [2023-02-06T04:03:03.917Z] b85a868b505f: Pull complete [2023-02-06T04:03:04.176Z] e2be974225ed: Pull complete [2023-02-06T04:03:04.742Z] 339a4e72a1f5: Pull complete [2023-02-06T04:03:04.742Z] 988bab9f4d93: Pull complete [2023-02-06T04:03:05.001Z] 1469e6f7b9e6: Pull complete [2023-02-06T04:03:05.001Z] eaf3925da568: Pull complete [2023-02-06T04:03:06.918Z] bab4dde63d76: Pull complete [2023-02-06T04:03:06.918Z] bde34c3a00c8: Pull complete [2023-02-06T04:03:07.183Z] b352a97aabf1: Pull complete [2023-02-06T04:03:07.183Z] 4872d77fe225: Pull complete [2023-02-06T04:03:07.183Z] 5851b861e8e6: Pull complete [2023-02-06T04:03:07.183Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-06T04:03:07.183Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-06T04:03:07.183Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-06T04:03:07.410Z] prd-ubuntu20.04-docker-8c-8g-4618 does not seem to be running inside a container [2023-02-06T04:03:07.441Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1303 -v /w/workspace/gexfoundry_device-sdk-go_PR-1303:/w/workspace/gexfoundry_device-sdk-go_PR-1303:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1303@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1303@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-devops/py-git-semver:0.1.4 cat [2023-02-06T04:03:08.994Z] $ docker top 703dce51e70e03803bdab77914845e988bee8c0ec59c518fede03341fa503d2f -eo pid,comm [2023-02-06T04:03:09.047Z] 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-02-06T04:03:09.047Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-06T04:03:09.169Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-06T04:03:09.169Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-06T04:03:09.288Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-06T04:03:09.295Z] $ docker exec 703dce51e70e03803bdab77914845e988bee8c0ec59c518fede03341fa503d2f ssh-agent [2023-02-06T04:03:09.408Z] SSH_AUTH_SOCK=/tmp/ssh-ZqlOb62TbJAY/agent.32 [2023-02-06T04:03:09.408Z] SSH_AGENT_PID=38 [2023-02-06T04:03:09.414Z] Running ssh-add (command line suppressed) [2023-02-06T04:03:09.523Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1303@tmp/private_key_16209719949411772984.key (/w/workspace/gexfoundry_device-sdk-go_PR-1303@tmp/private_key_16209719949411772984.key) [2023-02-06T04:03:09.537Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-06T04:03:09.864Z] + git tag --points-at HEAD [Pipeline] } [2023-02-06T04:03:09.897Z] $ docker exec --env ******** --env ******** 703dce51e70e03803bdab77914845e988bee8c0ec59c518fede03341fa503d2f ssh-agent -k [2023-02-06T04:03:10.004Z] unset SSH_AUTH_SOCK; [2023-02-06T04:03:10.005Z] unset SSH_AGENT_PID; [2023-02-06T04:03:10.005Z] echo Agent pid 38 killed; [2023-02-06T04:03:10.011Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-06T04:03:10.098Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-06T04:03:10.098Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-06T04:03:10.213Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-06T04:03:10.220Z] $ docker exec 703dce51e70e03803bdab77914845e988bee8c0ec59c518fede03341fa503d2f ssh-agent [2023-02-06T04:03:10.314Z] SSH_AUTH_SOCK=/tmp/ssh-WBOPeu7yp0HF/agent.71 [2023-02-06T04:03:10.314Z] SSH_AGENT_PID=77 [2023-02-06T04:03:10.317Z] Running ssh-add (command line suppressed) [2023-02-06T04:03:10.425Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1303@tmp/private_key_14222183833001313159.key (/w/workspace/gexfoundry_device-sdk-go_PR-1303@tmp/private_key_14222183833001313159.key) [2023-02-06T04:03:10.437Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-06T04:03:10.766Z] + git semver init [2023-02-06T04:03:11.025Z] 2023-02-06 04:03:10,984 [run_init] DEBUG init version:0.0.0 force:False [2023-02-06T04:03:11.025Z] 2023-02-06 04:03:10,985 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1303/.semver [2023-02-06T04:03:11.025Z] 2023-02-06 04:03:10,985 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1303/.semver [2023-02-06T04:03:11.025Z] 2023-02-06 04:03:10,985 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1303/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1303, universal_newlines=False, shell=None, istream=None) [2023-02-06T04:03:12.405Z] 2023-02-06 04:03:12,188 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1303/.git/info/exclude [2023-02-06T04:03:12.405Z] 2023-02-06 04:03:12,189 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1303/.semver/PR-1303 with force:False [2023-02-06T04:03:12.405Z] 2023-02-06 04:03:12,189 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1303/.semver/PR-1303 [2023-02-06T04:03:12.405Z] 2023-02-06 04:03:12,193 [execute] INFO git cat-file --batch-check [2023-02-06T04:03:12.405Z] 2023-02-06 04:03:12,193 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1303/.semver, universal_newlines=False, shell=None, istream=) [2023-02-06T04:03:12.405Z] 2023-02-06 04:03:12,199 [execute] INFO git cat-file --batch [2023-02-06T04:03:12.405Z] 2023-02-06 04:03:12,200 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1303/.semver, universal_newlines=False, shell=None, istream=) [2023-02-06T04:03:12.405Z] 2023-02-06 04:03:12,204 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1303/.semver/PR-1303 [2023-02-06T04:03:12.405Z] 0.0.0 [Pipeline] } [2023-02-06T04:03:12.436Z] $ docker exec --env ******** --env ******** 703dce51e70e03803bdab77914845e988bee8c0ec59c518fede03341fa503d2f ssh-agent -k [2023-02-06T04:03:12.541Z] unset SSH_AUTH_SOCK; [2023-02-06T04:03:12.542Z] unset SSH_AGENT_PID; [2023-02-06T04:03:12.542Z] echo Agent pid 77 killed; [2023-02-06T04:03:12.549Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-06T04:03:12.973Z] + git semver [Pipeline] } [2023-02-06T04:03:13.261Z] $ docker stop --time=1 703dce51e70e03803bdab77914845e988bee8c0ec59c518fede03341fa503d2f [2023-02-06T04:03:14.589Z] $ docker rm -f --volumes 703dce51e70e03803bdab77914845e988bee8c0ec59c518fede03341fa503d2f [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-06T04:03:15.050Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-06T04:03:15.333Z] Stashed 1 file(s) [Pipeline] echo [2023-02-06T04:03:15.350Z] [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-02-06T04:03:15.949Z] provisioning config files... [2023-02-06T04:03:15.960Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1303@tmp/config1503845006443896174tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-06T04:03:16.308Z] ---> docker-login.sh [2023-02-06T04:03:16.308Z] nexus3.edgexfoundry.org:10001 [2023-02-06T04:03:16.308Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T04:03:16.308Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T04:03:16.308Z] Configure a credential helper to remove this warning. See [2023-02-06T04:03:16.308Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T04:03:16.308Z] [2023-02-06T04:03:16.308Z] Login Succeeded [2023-02-06T04:03:16.308Z] nexus3.edgexfoundry.org:10002 [2023-02-06T04:03:16.308Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T04:03:16.308Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T04:03:16.308Z] Configure a credential helper to remove this warning. See [2023-02-06T04:03:16.308Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T04:03:16.308Z] [2023-02-06T04:03:16.308Z] Login Succeeded [2023-02-06T04:03:16.568Z] nexus3.edgexfoundry.org:10003 [2023-02-06T04:03:16.568Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T04:03:16.568Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T04:03:16.568Z] Configure a credential helper to remove this warning. See [2023-02-06T04:03:16.568Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T04:03:16.568Z] [2023-02-06T04:03:16.568Z] Login Succeeded [2023-02-06T04:03:16.568Z] nexus3.edgexfoundry.org:10004 [2023-02-06T04:03:16.568Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T04:03:16.568Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T04:03:16.568Z] Configure a credential helper to remove this warning. See [2023-02-06T04:03:16.568Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T04:03:16.568Z] [2023-02-06T04:03:16.568Z] Login Succeeded [2023-02-06T04:03:16.828Z] docker.io [2023-02-06T04:03:16.828Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T04:03:17.092Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T04:03:17.092Z] Configure a credential helper to remove this warning. See [2023-02-06T04:03:17.092Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T04:03:17.092Z] [2023-02-06T04:03:17.092Z] Login Succeeded [2023-02-06T04:03:17.092Z] ---> docker-login.sh ends [Pipeline] } [2023-02-06T04:03:17.122Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-06T04:03:17.323Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-06T04:03:17.364Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-06T04:03:17.396Z] ========================================================= [2023-02-06T04:03:17.396Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-06T04:03:17.396Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T04:03:17.876Z] + 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-02-06T04:03:17.876Z] Sending build context to Docker daemon 10.51MB [2023-02-06T04:03:17.876Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-06T04:03:17.876Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-06T04:03:17.876Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-06T04:03:17.876Z] 213ec9aee27d: Pulling fs layer [2023-02-06T04:03:17.876Z] 4583459ba037: Pulling fs layer [2023-02-06T04:03:17.876Z] 93c1e223e6f2: Pulling fs layer [2023-02-06T04:03:17.876Z] 53926ce57604: Pulling fs layer [2023-02-06T04:03:17.876Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-06T04:03:17.876Z] 22ff95d597cd: Pulling fs layer [2023-02-06T04:03:17.876Z] 12d6caf4c0d1: Pulling fs layer [2023-02-06T04:03:17.876Z] 96b7cbca73a9: Pulling fs layer [2023-02-06T04:03:17.876Z] a7acece74701: Pulling fs layer [2023-02-06T04:03:17.876Z] 53926ce57604: Waiting [2023-02-06T04:03:17.876Z] 21b2b0c7a3f4: Waiting [2023-02-06T04:03:17.876Z] 96b7cbca73a9: Waiting [2023-02-06T04:03:17.876Z] 22ff95d597cd: Waiting [2023-02-06T04:03:17.876Z] a7acece74701: Waiting [2023-02-06T04:03:17.876Z] 12d6caf4c0d1: Waiting [2023-02-06T04:03:17.876Z] 93c1e223e6f2: Verifying Checksum [2023-02-06T04:03:17.876Z] 93c1e223e6f2: Download complete [2023-02-06T04:03:18.144Z] 4583459ba037: Verifying Checksum [2023-02-06T04:03:18.144Z] 4583459ba037: Download complete [2023-02-06T04:03:18.144Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-06T04:03:18.144Z] 21b2b0c7a3f4: Download complete [2023-02-06T04:03:18.144Z] 22ff95d597cd: Verifying Checksum [2023-02-06T04:03:18.144Z] 22ff95d597cd: Download complete [2023-02-06T04:03:18.144Z] 213ec9aee27d: Verifying Checksum [2023-02-06T04:03:18.144Z] 213ec9aee27d: Download complete [2023-02-06T04:03:18.144Z] 12d6caf4c0d1: Download complete [2023-02-06T04:03:18.408Z] 213ec9aee27d: Pull complete [2023-02-06T04:03:18.408Z] 4583459ba037: Pull complete [2023-02-06T04:03:18.696Z] 93c1e223e6f2: Pull complete [2023-02-06T04:03:19.387Z] a7acece74701: Download complete [2023-02-06T04:03:20.521Z] 53926ce57604: Verifying Checksum [2023-02-06T04:03:20.521Z] 53926ce57604: Download complete [2023-02-06T04:03:20.521Z] 96b7cbca73a9: Verifying Checksum [2023-02-06T04:03:20.521Z] 96b7cbca73a9: Download complete [2023-02-06T04:03:24.795Z] 53926ce57604: Pull complete [2023-02-06T04:03:24.795Z] 21b2b0c7a3f4: Pull complete [2023-02-06T04:03:24.795Z] 22ff95d597cd: Pull complete [2023-02-06T04:03:24.795Z] 12d6caf4c0d1: Pull complete [2023-02-06T04:03:30.127Z] 96b7cbca73a9: Pull complete [2023-02-06T04:03:30.731Z] a7acece74701: Pull complete [2023-02-06T04:03:30.731Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-06T04:03:30.731Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-06T04:03:30.731Z] ---> db6d94c90886 [2023-02-06T04:03:30.731Z] Step 3/10 : ARG MAKE=make build [2023-02-06T04:03:30.766Z] Still waiting to schedule task [2023-02-06T04:03:30.766Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-4615’ [2023-02-06T04:03:33.295Z] ---> Running in 9ef5c9453097 [2023-02-06T04:03:33.295Z] Removing intermediate container 9ef5c9453097 [2023-02-06T04:03:33.295Z] ---> 4dcb7ee25250 [2023-02-06T04:03:33.295Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-06T04:03:33.295Z] ---> Running in 26b67ac0d0b7 [2023-02-06T04:03:33.295Z] Removing intermediate container 26b67ac0d0b7 [2023-02-06T04:03:33.295Z] ---> 51c970d4e72d [2023-02-06T04:03:33.295Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-06T04:03:33.295Z] ---> Running in 662c726d3970 [2023-02-06T04:03:33.295Z] Removing intermediate container 662c726d3970 [2023-02-06T04:03:33.295Z] ---> d118bafbb211 [2023-02-06T04:03:33.295Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-06T04:03:33.296Z] ---> Running in c7fc165c2bf5 [2023-02-06T04:03:33.569Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-06T04:03:33.835Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-06T04:03:34.100Z] OK: 211 MiB in 51 packages [2023-02-06T04:03:34.363Z] Removing intermediate container c7fc165c2bf5 [2023-02-06T04:03:34.363Z] ---> 88749bba0dc4 [2023-02-06T04:03:34.363Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-06T04:03:34.639Z] ---> d02004167c06 [2023-02-06T04:03:34.639Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-06T04:03:34.639Z] ---> Running in 95d508080848 [2023-02-06T04:04:06.909Z] Removing intermediate container 95d508080848 [2023-02-06T04:04:06.909Z] ---> e18013570008 [2023-02-06T04:04:06.909Z] Step 9/10 : COPY . . [2023-02-06T04:04:06.909Z] ---> 50a041393c07 [2023-02-06T04:04:06.909Z] Step 10/10 : RUN ${MAKE} [2023-02-06T04:04:06.909Z] ---> Running in a83cfdf292ea [2023-02-06T04:04:06.909Z] noop [2023-02-06T04:04:06.909Z] Removing intermediate container a83cfdf292ea [2023-02-06T04:04:06.909Z] ---> 9fd83acff103 [2023-02-06T04:04:06.909Z] Successfully built 9fd83acff103 [2023-02-06T04:04:06.909Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T04:04:07.349Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-06T04:04:07.349Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-06T04:04:07.503Z] prd-ubuntu20.04-docker-8c-8g-4618 does not seem to be running inside a container [2023-02-06T04:04:07.537Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1303 -v /w/workspace/gexfoundry_device-sdk-go_PR-1303:/w/workspace/gexfoundry_device-sdk-go_PR-1303:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1303@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1303@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-06T04:04:07.989Z] $ docker top 46cbae942e13e6b6eb4f309e722f3bb2a0540ca9957df292ea47cb71d9a60f5a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-06T04:04:08.392Z] + go version [2023-02-06T04:04:08.392Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-06T04:04:08.429Z] $ docker stop --time=1 46cbae942e13e6b6eb4f309e722f3bb2a0540ca9957df292ea47cb71d9a60f5a [2023-02-06T04:04:09.795Z] $ docker rm -f --volumes 46cbae942e13e6b6eb4f309e722f3bb2a0540ca9957df292ea47cb71d9a60f5a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T04:04:10.495Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-06T04:04:10.495Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-06T04:04:10.648Z] prd-ubuntu20.04-docker-8c-8g-4618 does not seem to be running inside a container [2023-02-06T04:04:10.681Z] $ 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-1303 -v /w/workspace/gexfoundry_device-sdk-go_PR-1303:/w/workspace/gexfoundry_device-sdk-go_PR-1303:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1303@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1303@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-06T04:04:11.058Z] $ docker top 10743ac52fe4273ff42c2a984f5d0e38637865c5aea37d4042b99be2a3170cad -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-06T04:04:11.442Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1303 [Pipeline] fileExists [Pipeline] sh [2023-02-06T04:04:11.803Z] + make test [2023-02-06T04:04:11.803Z] go test -race -coverprofile=coverage.out ./... [2023-02-06T04:04:18.388Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-06T04:04:30.610Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-06T04:04:30.610Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-06T04:04:30.610Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-06T04:04:30.610Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-06T04:04:30.610Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-06T04:04:30.610Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.056s coverage: 27.6% of statements [2023-02-06T04:04:30.610Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.072s coverage: 78.9% of statements [2023-02-06T04:04:30.610Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-06T04:04:30.610Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.101s coverage: 70.2% of statements [2023-02-06T04:04:30.610Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-06T04:04:30.610Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-06T04:04:30.868Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.118s coverage: 59.8% of statements [2023-02-06T04:04:30.868Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-06T04:04:30.868Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-02-06T04:04:30.868Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-06T04:04:30.868Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.098s coverage: 65.1% of statements [2023-02-06T04:04:30.868Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-06T04:04:30.868Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-06T04:04:30.868Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.768s coverage: 89.2% of statements [2023-02-06T04:04:30.868Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-06T04:04:31.125Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.065s coverage: 4.7% of statements [2023-02-06T04:04:31.125Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-06T04:04:49.208Z] 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-02-06T04:04:49.208Z] GO111MODULE=on go vet ./... [2023-02-06T04:04:49.773Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-06T04:04:49.773Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-06T04:04:49.773Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-06T04:04:50.058Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-06T04:04:50.088Z] $ docker stop --time=1 10743ac52fe4273ff42c2a984f5d0e38637865c5aea37d4042b99be2a3170cad [2023-02-06T04:04:52.501Z] $ docker rm -f --volumes 10743ac52fe4273ff42c2a984f5d0e38637865c5aea37d4042b99be2a3170cad [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-06T04:04:53.106Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-06T04:04:53.188Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-06T04:04:53.788Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-06T04:04:54.094Z] + ls -al . [2023-02-06T04:04:54.094Z] total 272 [2023-02-06T04:04:54.094Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 6 04:04 . [2023-02-06T04:04:54.094Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 6 04:02 .. [2023-02-06T04:04:54.095Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 6 04:02 .dockerignore [2023-02-06T04:04:54.095Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 6 04:04 .git [2023-02-06T04:04:54.095Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 6 04:02 .github [2023-02-06T04:04:54.095Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 6 04:02 .gitignore [2023-02-06T04:04:54.095Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 6 04:02 .golangci.yml [2023-02-06T04:04:54.095Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 6 04:03 .semver [2023-02-06T04:04:54.095Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 6 04:02 CHANGELOG.md [2023-02-06T04:04:54.095Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 6 04:02 GOVERNANCE.md [2023-02-06T04:04:54.095Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 6 04:02 Jenkinsfile [2023-02-06T04:04:54.095Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 6 04:02 LICENSE [2023-02-06T04:04:54.095Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 6 04:02 Makefile [2023-02-06T04:04:54.095Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 6 04:02 OWNERS.md [2023-02-06T04:04:54.095Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 6 04:02 README.md [2023-02-06T04:04:54.095Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 6 04:03 VERSION [2023-02-06T04:04:54.095Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 6 04:02 bin [2023-02-06T04:04:54.095Z] -rw-r--r-- 1 jenkins jenkins 99762 Feb 6 04:04 coverage.out [2023-02-06T04:04:54.095Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 6 04:02 example [2023-02-06T04:04:54.095Z] -rw-rw-r-- 1 jenkins jenkins 3264 Feb 6 04:02 go.mod [2023-02-06T04:04:54.095Z] -rw-rw-r-- 1 jenkins jenkins 32817 Feb 6 04:02 go.sum [2023-02-06T04:04:54.095Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 6 04:02 internal [2023-02-06T04:04:54.095Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 6 04:02 openapi [2023-02-06T04:04:54.095Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 6 04:02 pkg [2023-02-06T04:04:54.095Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 6 04:02 snap [2023-02-06T04:04:54.095Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 6 04:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T04:04:54.482Z] + 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=73fb48faf2bae20740fd473665d27f5e6eced9ca --label arch=amd64 --label version=0.0.0 . [2023-02-06T04:04:54.482Z] Sending build context to Docker daemon 10.61MB [2023-02-06T04:04:54.482Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-06T04:04:54.482Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-06T04:04:54.482Z] ---> 9fd83acff103 [2023-02-06T04:04:54.482Z] Step 3/23 : ARG MAKE=make build [2023-02-06T04:04:54.740Z] ---> Running in 5269c01c385f [2023-02-06T04:04:54.741Z] Removing intermediate container 5269c01c385f [2023-02-06T04:04:54.741Z] ---> 4c44f0c97c7c [2023-02-06T04:04:54.741Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-06T04:04:54.741Z] ---> Running in cb7367b25cae [2023-02-06T04:04:54.741Z] Removing intermediate container cb7367b25cae [2023-02-06T04:04:54.741Z] ---> bc5fc3a98a88 [2023-02-06T04:04:54.741Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-06T04:04:55.001Z] ---> Running in 0c0d020306f7 [2023-02-06T04:04:55.001Z] Removing intermediate container 0c0d020306f7 [2023-02-06T04:04:55.001Z] ---> 24e2898f76d5 [2023-02-06T04:04:55.001Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-06T04:04:55.001Z] ---> Running in 34f78e378a1c [2023-02-06T04:04:55.260Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-06T04:04:55.520Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-06T04:04:55.779Z] OK: 211 MiB in 51 packages [2023-02-06T04:04:56.037Z] Removing intermediate container 34f78e378a1c [2023-02-06T04:04:56.037Z] ---> fdeb16c31794 [2023-02-06T04:04:56.037Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-06T04:04:56.295Z] ---> 712cf6569143 [2023-02-06T04:04:56.295Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-06T04:04:56.295Z] ---> Running in 25d1006f9d34 [2023-02-06T04:04:57.228Z] Removing intermediate container 25d1006f9d34 [2023-02-06T04:04:57.228Z] ---> 77fdfc39c142 [2023-02-06T04:04:57.228Z] Step 9/23 : COPY . . [2023-02-06T04:04:57.795Z] ---> 3cc80894e92f [2023-02-06T04:04:57.795Z] Step 10/23 : RUN ${MAKE} [2023-02-06T04:04:57.795Z] ---> Running in 2780dc01e6ce [2023-02-06T04:04:58.053Z] 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-02-06T04:05:19.972Z] Removing intermediate container 2780dc01e6ce [2023-02-06T04:05:19.972Z] ---> a90f73a423e4 [2023-02-06T04:05:19.972Z] Step 11/23 : FROM alpine:3.16 [2023-02-06T04:05:19.972Z] 3.16: Pulling from library/alpine [2023-02-06T04:05:19.972Z] ca7dd9ec2225: Pulling fs layer [2023-02-06T04:05:19.972Z] ca7dd9ec2225: Verifying Checksum [2023-02-06T04:05:19.972Z] ca7dd9ec2225: Download complete [2023-02-06T04:05:19.972Z] ca7dd9ec2225: Pull complete [2023-02-06T04:05:19.972Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-02-06T04:05:19.972Z] Status: Downloaded newer image for alpine:3.16 [2023-02-06T04:05:19.972Z] ---> bfe296a52501 [2023-02-06T04:05:19.972Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-06T04:05:19.972Z] ---> Running in d2ed36bde34a [2023-02-06T04:05:19.972Z] Removing intermediate container d2ed36bde34a [2023-02-06T04:05:19.972Z] ---> 61bffd7dd8a5 [2023-02-06T04:05:19.972Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-06T04:05:19.972Z] ---> Running in 2629569ad0b2 [2023-02-06T04:05:19.972Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-06T04:05:19.972Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-06T04:05:19.972Z] OK: 6 MiB in 14 packages [2023-02-06T04:05:19.972Z] Removing intermediate container 2629569ad0b2 [2023-02-06T04:05:19.972Z] ---> bf72ebf045ef [2023-02-06T04:05:19.972Z] Step 14/23 : WORKDIR / [2023-02-06T04:05:19.972Z] ---> Running in e9eb7acc02a9 [2023-02-06T04:05:19.972Z] Removing intermediate container e9eb7acc02a9 [2023-02-06T04:05:19.972Z] ---> 40c0f3e4bd95 [2023-02-06T04:05:19.972Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-06T04:05:19.972Z] ---> 79290931201c [2023-02-06T04:05:19.972Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-06T04:05:19.972Z] ---> 34570ba61dfd [2023-02-06T04:05:19.972Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-06T04:05:19.972Z] ---> a01ae1799d47 [2023-02-06T04:05:19.972Z] Step 18/23 : EXPOSE 59999 [2023-02-06T04:05:19.972Z] ---> Running in a1c9e38fed9e [2023-02-06T04:05:19.972Z] Removing intermediate container a1c9e38fed9e [2023-02-06T04:05:19.972Z] ---> 58775c94ea0d [2023-02-06T04:05:19.972Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-06T04:05:19.972Z] ---> Running in b2b282cc44a7 [2023-02-06T04:05:19.972Z] Removing intermediate container b2b282cc44a7 [2023-02-06T04:05:19.972Z] ---> 51a91c267b3c [2023-02-06T04:05:19.972Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-06T04:05:20.231Z] ---> Running in 0edaa6d1039d [2023-02-06T04:05:20.231Z] Removing intermediate container 0edaa6d1039d [2023-02-06T04:05:20.231Z] ---> 8fa695640a88 [2023-02-06T04:05:20.231Z] Step 21/23 : LABEL arch=amd64 [2023-02-06T04:05:20.231Z] ---> Running in 7271bf0e7919 [2023-02-06T04:05:20.231Z] Removing intermediate container 7271bf0e7919 [2023-02-06T04:05:20.231Z] ---> 5b766796434f [2023-02-06T04:05:20.231Z] Step 22/23 : LABEL git_sha=73fb48faf2bae20740fd473665d27f5e6eced9ca [2023-02-06T04:05:20.231Z] ---> Running in 092f419fd048 [2023-02-06T04:05:20.492Z] Removing intermediate container 092f419fd048 [2023-02-06T04:05:20.492Z] ---> 527850639be9 [2023-02-06T04:05:20.492Z] Step 23/23 : LABEL version=0.0.0 [2023-02-06T04:05:20.492Z] ---> Running in 898adc93a55a [2023-02-06T04:05:20.492Z] Removing intermediate container 898adc93a55a [2023-02-06T04:05:20.492Z] ---> 82c2f0d0b133 [2023-02-06T04:05:20.492Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-06T04:05:20.492Z] Successfully built 82c2f0d0b133 [2023-02-06T04:05:20.492Z] 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-02-06T04:05:21.386Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-06T04:05:21.386Z] [2023-02-06T04:05:21.386Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T04:05:21.767Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-06T04:05:21.767Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-06T04:05:21.767Z] 5eb5b503b376: Pulling fs layer [2023-02-06T04:05:21.767Z] 5c69ac0246d0: Pulling fs layer [2023-02-06T04:05:21.767Z] ec43610c2a17: Pulling fs layer [2023-02-06T04:05:21.767Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-06T04:05:21.767Z] 33b1e0a273af: Pulling fs layer [2023-02-06T04:05:21.767Z] 3a2ae6a8a46f: Waiting [2023-02-06T04:05:21.767Z] 5d3b04190fa2: Pulling fs layer [2023-02-06T04:05:21.768Z] 2f39f015ded8: Pulling fs layer [2023-02-06T04:05:21.768Z] 5d3b04190fa2: Waiting [2023-02-06T04:05:21.768Z] 2f39f015ded8: Waiting [2023-02-06T04:05:21.768Z] 5c69ac0246d0: Verifying Checksum [2023-02-06T04:05:21.768Z] 5c69ac0246d0: Download complete [2023-02-06T04:05:21.768Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-06T04:05:21.768Z] 3a2ae6a8a46f: Download complete [2023-02-06T04:05:22.032Z] 33b1e0a273af: Verifying Checksum [2023-02-06T04:05:22.032Z] 33b1e0a273af: Download complete [2023-02-06T04:05:22.032Z] 5d3b04190fa2: Verifying Checksum [2023-02-06T04:05:22.032Z] 5d3b04190fa2: Download complete [2023-02-06T04:05:22.032Z] ec43610c2a17: Verifying Checksum [2023-02-06T04:05:22.032Z] ec43610c2a17: Download complete [2023-02-06T04:05:22.292Z] 5eb5b503b376: Verifying Checksum [2023-02-06T04:05:22.292Z] 5eb5b503b376: Download complete [2023-02-06T04:05:23.273Z] 2f39f015ded8: Download complete [2023-02-06T04:05:23.533Z] 5eb5b503b376: Pull complete [2023-02-06T04:05:23.533Z] 5c69ac0246d0: Pull complete [2023-02-06T04:05:24.116Z] ec43610c2a17: Pull complete [2023-02-06T04:05:24.116Z] 3a2ae6a8a46f: Pull complete [2023-02-06T04:05:24.375Z] 33b1e0a273af: Pull complete [2023-02-06T04:05:24.375Z] 5d3b04190fa2: Pull complete [2023-02-06T04:05:28.560Z] 2f39f015ded8: Pull complete [2023-02-06T04:05:28.560Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-06T04:05:28.560Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-06T04:05:28.560Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-06T04:05:28.778Z] prd-ubuntu20.04-docker-8c-8g-4618 does not seem to be running inside a container [2023-02-06T04:05:28.812Z] $ 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-1303 -v /w/workspace/gexfoundry_device-sdk-go_PR-1303:/w/workspace/gexfoundry_device-sdk-go_PR-1303:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1303@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1303@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-06T04:05:30.554Z] $ docker top dccf85a2472f6bc66c24cbb27e5cd5de2c097c26196da17d23054c883645649b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-06T04:05:30.982Z] ---> job-cost.sh [2023-02-06T04:05:30.982Z] lf-activate-venv: SKIPPING [2023-02-06T04:05:30.982Z] INFO: No Stack... [2023-02-06T04:05:31.547Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-06T04:05:31.805Z] INFO: Archiving Costs [Pipeline] sh [2023-02-06T04:05:32.126Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1303/archives/cost.csv [2023-02-06T04:05:32.126Z] + cut -d, -f6 [Pipeline] lock [2023-02-06T04:05:32.164Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1303-2-stack-cost] [2023-02-06T04:05:32.168Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1303-2-stack-cost] did not exist. Created. [2023-02-06T04:05:32.168Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1303-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-06T04:05:32.557Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-06T04:05:32.609Z] Stashed 1 file(s) [Pipeline] } [2023-02-06T04:05:32.633Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1303-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-06T04:05:32.718Z] $ docker stop --time=1 dccf85a2472f6bc66c24cbb27e5cd5de2c097c26196da17d23054c883645649b [2023-02-06T04:05:33.874Z] $ docker rm -f --volumes dccf85a2472f6bc66c24cbb27e5cd5de2c097c26196da17d23054c883645649b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-06T04:06:27.612Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4622 in /w/workspace/gexfoundry_device-sdk-go_PR-1303 [Pipeline] { [Pipeline] ws [2023-02-06T04:06:27.665Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2023-02-06T04:06:27.772Z] The recommended git tool is: git [2023-02-06T04:06:33.736Z] using credential edgex-jenkins-ssh [2023-02-06T04:06:33.755Z] Cloning the remote Git repository [2023-02-06T04:06:33.807Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-02-06T04:06:33.894Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2023-02-06T04:06:34.069Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-06T04:06:34.070Z] > git --version # timeout=10 [2023-02-06T04:06:34.091Z] > git --version # 'git version 2.25.1' [2023-02-06T04:06:34.094Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-06T04:06:34.162Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-06T04:06:35.865Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-06T04:06:35.884Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-06T04:06:37.662Z] Merging remotes/origin/main commit 1acc2ef1c1fa5446d2eac6cbaedb918f3ccab223 into PR head commit 73fb48faf2bae20740fd473665d27f5e6eced9ca [2023-02-06T04:06:36.842Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-06T04:06:36.891Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-06T04:06:36.892Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-06T04:06:36.912Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1303/head:refs/remotes/origin/PR-1303 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-06T04:06:37.685Z] > git config core.sparsecheckout # timeout=10 [2023-02-06T04:06:37.704Z] > git checkout -f 73fb48faf2bae20740fd473665d27f5e6eced9ca # timeout=10 [2023-02-06T04:06:37.824Z] > git remote # timeout=10 [2023-02-06T04:06:37.844Z] > git config --get remote.origin.url # timeout=10 [2023-02-06T04:06:37.869Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-06T04:06:37.886Z] > git merge 1acc2ef1c1fa5446d2eac6cbaedb918f3ccab223 # timeout=10 [2023-02-06T04:06:37.916Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-06T04:06:37.936Z] Merge succeeded, producing 73fb48faf2bae20740fd473665d27f5e6eced9ca [2023-02-06T04:06:37.937Z] Checking out Revision 73fb48faf2bae20740fd473665d27f5e6eced9ca (PR-1303) [2023-02-06T04:06:37.947Z] > git config core.sparsecheckout # timeout=10 [2023-02-06T04:06:37.970Z] > git checkout -f 73fb48faf2bae20740fd473665d27f5e6eced9ca # timeout=10 [2023-02-06T04:06:41.607Z] Commit message: "refactor!: Update config for message bus topic wild cards" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-06T04:06:42.608Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-06T04:06:42.608Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-06T04:06:42.608Z] Dload Upload Total Spent Left Speed [2023-02-06T04:06:42.608Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 226k 0 --:--:-- --:--:-- --:--:-- 226k [Pipeline] sh [2023-02-06T04:06:43.388Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-06T04:06:43.754Z] + sudo tee /etc/docker/daemon.new [2023-02-06T04:06:43.754Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-06T04:06:43.754Z] { [2023-02-06T04:06:43.754Z] "registry-mirrors": [ [2023-02-06T04:06:43.754Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-06T04:06:43.754Z] ], [2023-02-06T04:06:43.754Z] "bip": "10.250.0.254/24", [2023-02-06T04:06:43.754Z] "hosts": [ [2023-02-06T04:06:43.754Z] "tcp://0.0.0.0:5555", [2023-02-06T04:06:43.754Z] "unix:///var/run/docker.sock" [2023-02-06T04:06:43.754Z] ], [2023-02-06T04:06:43.754Z] "mtu": 1458, [2023-02-06T04:06:43.754Z] "selinux-enabled": true, [2023-02-06T04:06:43.754Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-06T04:06:43.754Z] } [Pipeline] sh [2023-02-06T04:06:44.111Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-06T04:06:44.470Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-06T04:07:02.826Z] provisioning config files... [2023-02-06T04:07:02.859Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config2874764110154532378tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-06T04:07:03.266Z] ---> docker-login.sh [2023-02-06T04:07:03.266Z] nexus3.edgexfoundry.org:10001 [2023-02-06T04:07:03.855Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T04:07:04.126Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T04:07:04.126Z] Configure a credential helper to remove this warning. See [2023-02-06T04:07:04.126Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T04:07:04.126Z] [2023-02-06T04:07:04.126Z] Login Succeeded [2023-02-06T04:07:04.126Z] nexus3.edgexfoundry.org:10002 [2023-02-06T04:07:04.411Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T04:07:04.411Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T04:07:04.411Z] Configure a credential helper to remove this warning. See [2023-02-06T04:07:04.411Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T04:07:04.411Z] [2023-02-06T04:07:04.411Z] Login Succeeded [2023-02-06T04:07:04.411Z] nexus3.edgexfoundry.org:10003 [2023-02-06T04:07:04.682Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T04:07:04.952Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T04:07:04.952Z] Configure a credential helper to remove this warning. See [2023-02-06T04:07:04.952Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T04:07:04.952Z] [2023-02-06T04:07:04.952Z] Login Succeeded [2023-02-06T04:07:04.952Z] nexus3.edgexfoundry.org:10004 [2023-02-06T04:07:05.224Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T04:07:05.224Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T04:07:05.224Z] Configure a credential helper to remove this warning. See [2023-02-06T04:07:05.224Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T04:07:05.224Z] [2023-02-06T04:07:05.224Z] Login Succeeded [2023-02-06T04:07:05.224Z] docker.io [2023-02-06T04:07:05.494Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T04:07:05.765Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T04:07:05.765Z] Configure a credential helper to remove this warning. See [2023-02-06T04:07:05.765Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T04:07:05.765Z] [2023-02-06T04:07:05.765Z] Login Succeeded [2023-02-06T04:07:05.765Z] ---> docker-login.sh ends [Pipeline] } [2023-02-06T04:07:05.795Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-06T04:07:06.214Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-06T04:07:06.246Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-06T04:07:06.280Z] ========================================================= [2023-02-06T04:07:06.280Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-06T04:07:06.280Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T04:07:06.787Z] + 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-02-06T04:07:07.382Z] Sending build context to Docker daemon 5.647MB [2023-02-06T04:07:07.382Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-06T04:07:07.382Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-06T04:07:07.382Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-06T04:07:07.382Z] 9b18e9b68314: Pulling fs layer [2023-02-06T04:07:07.382Z] 35d82f9e3411: Pulling fs layer [2023-02-06T04:07:07.382Z] e16973657156: Pulling fs layer [2023-02-06T04:07:07.382Z] fc693d55d65f: Pulling fs layer [2023-02-06T04:07:07.382Z] 7e9fc2657dce: Pulling fs layer [2023-02-06T04:07:07.382Z] dda99020689f: Pulling fs layer [2023-02-06T04:07:07.382Z] db1c61fa0a46: Pulling fs layer [2023-02-06T04:07:07.382Z] 891c053d2c06: Pulling fs layer [2023-02-06T04:07:07.382Z] fc693d55d65f: Waiting [2023-02-06T04:07:07.382Z] 7e9fc2657dce: Waiting [2023-02-06T04:07:07.382Z] dda99020689f: Waiting [2023-02-06T04:07:07.382Z] db1c61fa0a46: Waiting [2023-02-06T04:07:07.382Z] 891c053d2c06: Waiting [2023-02-06T04:07:07.382Z] e16973657156: Download complete [2023-02-06T04:07:07.382Z] 35d82f9e3411: Verifying Checksum [2023-02-06T04:07:07.382Z] 35d82f9e3411: Download complete [2023-02-06T04:07:07.661Z] 7e9fc2657dce: Verifying Checksum [2023-02-06T04:07:07.661Z] 7e9fc2657dce: Download complete [2023-02-06T04:07:07.661Z] dda99020689f: Verifying Checksum [2023-02-06T04:07:07.661Z] dda99020689f: Download complete [2023-02-06T04:07:07.661Z] 9b18e9b68314: Verifying Checksum [2023-02-06T04:07:08.654Z] 9b18e9b68314: Pull complete [2023-02-06T04:07:08.654Z] 891c053d2c06: Verifying Checksum [2023-02-06T04:07:08.654Z] 891c053d2c06: Download complete [2023-02-06T04:07:09.253Z] 35d82f9e3411: Pull complete [2023-02-06T04:07:09.253Z] e16973657156: Pull complete [2023-02-06T04:07:09.850Z] db1c61fa0a46: Verifying Checksum [2023-02-06T04:07:09.850Z] db1c61fa0a46: Download complete [2023-02-06T04:07:10.459Z] fc693d55d65f: Verifying Checksum [2023-02-06T04:07:10.459Z] fc693d55d65f: Download complete [2023-02-06T04:07:22.786Z] fc693d55d65f: Pull complete [2023-02-06T04:07:22.786Z] 7e9fc2657dce: Pull complete [2023-02-06T04:07:22.786Z] dda99020689f: Pull complete [2023-02-06T04:07:28.145Z] db1c61fa0a46: Pull complete [2023-02-06T04:07:30.751Z] 891c053d2c06: Pull complete [2023-02-06T04:07:30.751Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-06T04:07:31.024Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-06T04:07:31.024Z] ---> f96f9c87975a [2023-02-06T04:07:31.024Z] Step 3/10 : ARG MAKE=make build [2023-02-06T04:07:33.638Z] ---> Running in 57eb59a382b3 [2023-02-06T04:07:33.638Z] Removing intermediate container 57eb59a382b3 [2023-02-06T04:07:33.638Z] ---> f97594a7e263 [2023-02-06T04:07:33.638Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-06T04:07:33.907Z] ---> Running in af08329ff4b5 [2023-02-06T04:07:34.497Z] Removing intermediate container af08329ff4b5 [2023-02-06T04:07:34.497Z] ---> 49a87d8e89ed [2023-02-06T04:07:34.497Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-06T04:07:34.497Z] ---> Running in 1784faef06ab [2023-02-06T04:07:34.771Z] Removing intermediate container 1784faef06ab [2023-02-06T04:07:34.771Z] ---> 50b8ec0f0250 [2023-02-06T04:07:34.771Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-06T04:07:35.040Z] ---> Running in 680549d2e6d2 [2023-02-06T04:07:36.004Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-06T04:07:36.589Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-06T04:07:37.552Z] OK: 221 MiB in 51 packages [2023-02-06T04:07:38.517Z] Removing intermediate container 680549d2e6d2 [2023-02-06T04:07:38.517Z] ---> 8b9b3dde249a [2023-02-06T04:07:38.517Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-06T04:07:38.789Z] ---> 31ad1bd1eecc [2023-02-06T04:07:38.789Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-06T04:07:39.057Z] ---> Running in 5d25cd863976 [2023-02-06T04:08:46.946Z] Removing intermediate container 5d25cd863976 [2023-02-06T04:08:46.946Z] ---> 8471fc4a5014 [2023-02-06T04:08:46.946Z] Step 9/10 : COPY . . [2023-02-06T04:08:46.946Z] ---> 3b156ff6e2b2 [2023-02-06T04:08:46.946Z] Step 10/10 : RUN ${MAKE} [2023-02-06T04:08:46.946Z] ---> Running in 9b2578d74874 [2023-02-06T04:08:46.946Z] noop [2023-02-06T04:08:46.946Z] Removing intermediate container 9b2578d74874 [2023-02-06T04:08:46.946Z] ---> 5da4a727edbb [2023-02-06T04:08:46.946Z] Successfully built 5da4a727edbb [2023-02-06T04:08:46.946Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T04:08:47.432Z] + docker inspect -f . ci-base-image-arm64 [2023-02-06T04:08:47.432Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-06T04:08:47.720Z] prd-ubuntu20.04-docker-arm64-4c-16g-4622 does not seem to be running inside a container [2023-02-06T04:08:47.798Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-06T04:08:49.073Z] $ docker top 5aa08d1884bcc5bcd94d1a4e5d271b63e1594b44af68c07585297058c7c6747c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-06T04:08:49.958Z] + go version [2023-02-06T04:08:49.958Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-06T04:08:49.993Z] $ docker stop --time=1 5aa08d1884bcc5bcd94d1a4e5d271b63e1594b44af68c07585297058c7c6747c [2023-02-06T04:08:51.622Z] $ docker rm -f --volumes 5aa08d1884bcc5bcd94d1a4e5d271b63e1594b44af68c07585297058c7c6747c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T04:08:52.475Z] + docker inspect -f . ci-base-image-arm64 [2023-02-06T04:08:52.476Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-06T04:08:52.728Z] prd-ubuntu20.04-docker-arm64-4c-16g-4622 does not seem to be running inside a container [2023-02-06T04:08:52.797Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-06T04:08:54.041Z] $ docker top c275e9c7043cd87cd545d23d058ddee0e33dd7af27921cc9f1988b4be727cc6b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-06T04:08:54.961Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh [2023-02-06T04:08:55.668Z] + make test [2023-02-06T04:08:55.668Z] go test -race -coverprofile=coverage.out ./... [2023-02-06T04:09:34.595Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-06T04:11:57.874Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-06T04:11:57.874Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-06T04:11:57.874Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-06T04:11:57.874Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-06T04:11:57.874Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-06T04:12:00.470Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.560s coverage: 27.6% of statements [2023-02-06T04:12:03.063Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.484s coverage: 78.9% of statements [2023-02-06T04:12:03.063Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-06T04:12:03.063Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.701s coverage: 70.2% of statements [2023-02-06T04:12:03.063Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-06T04:12:03.063Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-06T04:12:12.804Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.502s coverage: 59.8% of statements [2023-02-06T04:12:12.804Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-06T04:12:12.804Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-02-06T04:12:12.804Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-06T04:12:12.804Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.429s coverage: 65.1% of statements [2023-02-06T04:12:12.804Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-06T04:12:12.804Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-06T04:12:12.804Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.441s coverage: 89.2% of statements [2023-02-06T04:12:12.804Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-06T04:12:12.804Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.352s coverage: 4.7% of statements [2023-02-06T04:12:12.804Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-06T04:12:13.071Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-06T04:12:13.071Z] GO111MODULE=on go vet ./... [2023-02-06T04:13:49.747Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-06T04:13:49.747Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-06T04:13:49.747Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-06T04:13:49.792Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-06T04:13:49.823Z] $ docker stop --time=1 c275e9c7043cd87cd545d23d058ddee0e33dd7af27921cc9f1988b4be727cc6b [2023-02-06T04:13:51.654Z] $ docker rm -f --volumes c275e9c7043cd87cd545d23d058ddee0e33dd7af27921cc9f1988b4be727cc6b [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-06T04:13:53.108Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-06T04:13:53.149Z] Warning: overwriting stash ‘coverage-report’ [2023-02-06T04:13:53.769Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-06T04:13:54.457Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-06T04:13:54.813Z] + ls -al . [2023-02-06T04:13:54.813Z] total 268 [2023-02-06T04:13:54.813Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 6 04:08 . [2023-02-06T04:13:54.813Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 6 04:06 .. [2023-02-06T04:13:54.813Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 6 04:06 .dockerignore [2023-02-06T04:13:54.813Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 6 04:06 .git [2023-02-06T04:13:54.813Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 6 04:06 .github [2023-02-06T04:13:54.813Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 6 04:06 .gitignore [2023-02-06T04:13:54.813Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 6 04:06 .golangci.yml [2023-02-06T04:13:54.813Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 6 04:06 CHANGELOG.md [2023-02-06T04:13:54.813Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 6 04:06 GOVERNANCE.md [2023-02-06T04:13:54.813Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 6 04:06 Jenkinsfile [2023-02-06T04:13:54.813Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 6 04:06 LICENSE [2023-02-06T04:13:54.813Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 6 04:06 Makefile [2023-02-06T04:13:54.813Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 6 04:06 OWNERS.md [2023-02-06T04:13:54.813Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 6 04:06 README.md [2023-02-06T04:13:54.813Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 6 04:03 VERSION [2023-02-06T04:13:54.813Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 6 04:06 bin [2023-02-06T04:13:54.813Z] -rw-r--r-- 1 jenkins jenkins 99762 Feb 6 04:12 coverage.out [2023-02-06T04:13:54.813Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 6 04:06 example [2023-02-06T04:13:54.813Z] -rw-rw-r-- 1 jenkins jenkins 3264 Feb 6 04:06 go.mod [2023-02-06T04:13:54.813Z] -rw-rw-r-- 1 jenkins jenkins 32817 Feb 6 04:06 go.sum [2023-02-06T04:13:54.813Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 6 04:06 internal [2023-02-06T04:13:54.813Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 6 04:06 openapi [2023-02-06T04:13:54.813Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 6 04:06 pkg [2023-02-06T04:13:54.813Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 6 04:06 snap [2023-02-06T04:13:54.813Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 6 04:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T04:13:55.258Z] + 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=73fb48faf2bae20740fd473665d27f5e6eced9ca --label arch=arm64 --label version=0.0.0 . [2023-02-06T04:13:55.538Z] Sending build context to Docker daemon 5.748MB [2023-02-06T04:13:55.809Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-06T04:13:55.809Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-06T04:13:55.809Z] ---> 5da4a727edbb [2023-02-06T04:13:55.809Z] Step 3/23 : ARG MAKE=make build [2023-02-06T04:13:55.809Z] ---> Running in e194ccc66656 [2023-02-06T04:13:56.144Z] Removing intermediate container e194ccc66656 [2023-02-06T04:13:56.144Z] ---> 99a1ce110d79 [2023-02-06T04:13:56.144Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-06T04:13:56.144Z] ---> Running in 38669b7918db [2023-02-06T04:13:56.432Z] Removing intermediate container 38669b7918db [2023-02-06T04:13:56.432Z] ---> 12559be69740 [2023-02-06T04:13:56.432Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-06T04:13:56.714Z] ---> Running in e002c67451e5 [2023-02-06T04:13:56.982Z] Removing intermediate container e002c67451e5 [2023-02-06T04:13:56.982Z] ---> 273871662902 [2023-02-06T04:13:56.982Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-06T04:13:56.982Z] ---> Running in 5f242cbde8d5 [2023-02-06T04:13:57.947Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-06T04:13:58.215Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-06T04:13:59.621Z] OK: 221 MiB in 51 packages [2023-02-06T04:14:00.202Z] Removing intermediate container 5f242cbde8d5 [2023-02-06T04:14:00.202Z] ---> eb1a61ed8d48 [2023-02-06T04:14:00.202Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-06T04:14:00.469Z] ---> d61417135633 [2023-02-06T04:14:00.469Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-06T04:14:00.734Z] ---> Running in 5469ea602f66 [2023-02-06T04:14:03.305Z] Removing intermediate container 5469ea602f66 [2023-02-06T04:14:03.305Z] ---> e8ff58d83bde [2023-02-06T04:14:03.305Z] Step 9/23 : COPY . . [2023-02-06T04:14:04.264Z] ---> f8fab920cdfa [2023-02-06T04:14:04.264Z] Step 10/23 : RUN ${MAKE} [2023-02-06T04:14:04.264Z] ---> Running in 752587e58a0b [2023-02-06T04:14:05.230Z] 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-02-06T04:16:12.576Z] Removing intermediate container 752587e58a0b [2023-02-06T04:16:12.576Z] ---> 9bef96586db3 [2023-02-06T04:16:12.576Z] Step 11/23 : FROM alpine:3.16 [2023-02-06T04:16:12.576Z] 3.16: Pulling from library/alpine [2023-02-06T04:16:12.576Z] 6875df1f5354: Pulling fs layer [2023-02-06T04:16:12.576Z] 6875df1f5354: Verifying Checksum [2023-02-06T04:16:12.576Z] 6875df1f5354: Pull complete [2023-02-06T04:16:12.576Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-02-06T04:16:12.576Z] Status: Downloaded newer image for alpine:3.16 [2023-02-06T04:16:12.576Z] ---> 2b4661558fb8 [2023-02-06T04:16:12.576Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-06T04:16:12.576Z] ---> Running in 48cec9920a68 [2023-02-06T04:16:12.576Z] Removing intermediate container 48cec9920a68 [2023-02-06T04:16:12.576Z] ---> af2a131cdd72 [2023-02-06T04:16:12.576Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-06T04:16:12.576Z] ---> Running in e2498b54ce34 [2023-02-06T04:16:12.576Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-06T04:16:12.576Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-06T04:16:12.576Z] OK: 5 MiB in 14 packages [2023-02-06T04:16:13.163Z] Removing intermediate container e2498b54ce34 [2023-02-06T04:16:13.163Z] ---> 4b722e4694f0 [2023-02-06T04:16:13.163Z] Step 14/23 : WORKDIR / [2023-02-06T04:16:13.163Z] ---> Running in 829cc72244b0 [2023-02-06T04:16:13.431Z] Removing intermediate container 829cc72244b0 [2023-02-06T04:16:13.431Z] ---> d1ed05a2b15d [2023-02-06T04:16:13.431Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-06T04:16:14.014Z] ---> 4b5cdf4c7f5b [2023-02-06T04:16:14.014Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-06T04:16:15.424Z] ---> 715acd9599a8 [2023-02-06T04:16:15.424Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-06T04:16:16.007Z] ---> f891ebbc0d46 [2023-02-06T04:16:16.007Z] Step 18/23 : EXPOSE 59999 [2023-02-06T04:16:16.007Z] ---> Running in 7997b084ac16 [2023-02-06T04:16:16.276Z] Removing intermediate container 7997b084ac16 [2023-02-06T04:16:16.276Z] ---> 27ad84d32a94 [2023-02-06T04:16:16.276Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-06T04:16:16.276Z] ---> Running in a5df78c9b5e2 [2023-02-06T04:16:16.545Z] Removing intermediate container a5df78c9b5e2 [2023-02-06T04:16:16.545Z] ---> deb2905c981a [2023-02-06T04:16:16.545Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-06T04:16:16.545Z] ---> Running in bea1f34648a0 [2023-02-06T04:16:16.819Z] Removing intermediate container bea1f34648a0 [2023-02-06T04:16:16.819Z] ---> 12ad3169d8d9 [2023-02-06T04:16:16.819Z] Step 21/23 : LABEL arch=arm64 [2023-02-06T04:16:17.094Z] ---> Running in 606a1084a811 [2023-02-06T04:16:17.362Z] Removing intermediate container 606a1084a811 [2023-02-06T04:16:17.362Z] ---> deb36f9dbe2c [2023-02-06T04:16:17.362Z] Step 22/23 : LABEL git_sha=73fb48faf2bae20740fd473665d27f5e6eced9ca [2023-02-06T04:16:17.362Z] ---> Running in e4798bb76971 [2023-02-06T04:16:17.627Z] Removing intermediate container e4798bb76971 [2023-02-06T04:16:17.627Z] ---> 807fb3b5506f [2023-02-06T04:16:17.627Z] Step 23/23 : LABEL version=0.0.0 [2023-02-06T04:16:17.627Z] ---> Running in 9b43fa81896e [2023-02-06T04:16:17.894Z] Removing intermediate container 9b43fa81896e [2023-02-06T04:16:17.894Z] ---> 6709e7396e00 [2023-02-06T04:16:17.894Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-06T04:16:18.160Z] Successfully built 6709e7396e00 [2023-02-06T04:16:18.160Z] 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-02-06T04:16:18.937Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-06T04:16:18.938Z] [2023-02-06T04:16:18.938Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T04:16:19.351Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-06T04:16:19.351Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-06T04:16:19.351Z] 8998bd30e6a1: Pulling fs layer [2023-02-06T04:16:19.351Z] 04944245beec: Pulling fs layer [2023-02-06T04:16:19.351Z] 699f458cf7ca: Pulling fs layer [2023-02-06T04:16:19.351Z] 765212b225bb: Pulling fs layer [2023-02-06T04:16:19.351Z] f23df028b6ca: Pulling fs layer [2023-02-06T04:16:19.351Z] d65c8cfc05b1: Pulling fs layer [2023-02-06T04:16:19.351Z] 2437ff75d9bd: Pulling fs layer [2023-02-06T04:16:19.351Z] f23df028b6ca: Waiting [2023-02-06T04:16:19.351Z] d65c8cfc05b1: Waiting [2023-02-06T04:16:19.351Z] 2437ff75d9bd: Waiting [2023-02-06T04:16:19.351Z] 765212b225bb: Waiting [2023-02-06T04:16:19.621Z] 04944245beec: Verifying Checksum [2023-02-06T04:16:19.621Z] 04944245beec: Download complete [2023-02-06T04:16:19.621Z] 765212b225bb: Verifying Checksum [2023-02-06T04:16:19.621Z] 765212b225bb: Download complete [2023-02-06T04:16:19.621Z] f23df028b6ca: Verifying Checksum [2023-02-06T04:16:19.621Z] f23df028b6ca: Download complete [2023-02-06T04:16:19.889Z] d65c8cfc05b1: Verifying Checksum [2023-02-06T04:16:19.889Z] d65c8cfc05b1: Download complete [2023-02-06T04:16:19.889Z] 699f458cf7ca: Verifying Checksum [2023-02-06T04:16:19.889Z] 699f458cf7ca: Download complete [2023-02-06T04:16:20.157Z] 8998bd30e6a1: Verifying Checksum [2023-02-06T04:16:20.157Z] 8998bd30e6a1: Download complete [2023-02-06T04:16:22.744Z] 2437ff75d9bd: Verifying Checksum [2023-02-06T04:16:22.745Z] 2437ff75d9bd: Download complete [2023-02-06T04:16:24.153Z] 8998bd30e6a1: Pull complete [2023-02-06T04:16:24.422Z] 04944245beec: Pull complete [2023-02-06T04:16:25.837Z] 699f458cf7ca: Pull complete [2023-02-06T04:16:26.105Z] 765212b225bb: Pull complete [2023-02-06T04:16:26.690Z] f23df028b6ca: Pull complete [2023-02-06T04:16:26.964Z] d65c8cfc05b1: Pull complete [2023-02-06T04:16:41.955Z] 2437ff75d9bd: Pull complete [2023-02-06T04:16:41.955Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-06T04:16:41.955Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-06T04:16:41.955Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-06T04:16:42.270Z] prd-ubuntu20.04-docker-arm64-4c-16g-4622 does not seem to be running inside a container [2023-02-06T04:16:42.329Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-06T04:16:44.897Z] $ docker top 31b14bb5d1ecebe4752e69bf79ca5b8b3923a8869ca9026412d1ca1c35cf68fe -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-06T04:16:45.838Z] ---> job-cost.sh [2023-02-06T04:16:45.838Z] lf-activate-venv: SKIPPING [2023-02-06T04:16:45.838Z] INFO: No Stack... [2023-02-06T04:16:46.424Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-06T04:16:47.385Z] INFO: Archiving Costs [Pipeline] sh [2023-02-06T04:16:48.050Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv+ cut -d, -f6 [2023-02-06T04:16:48.050Z] [Pipeline] lock [2023-02-06T04:16:48.141Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1303-2-stack-cost] [2023-02-06T04:16:48.146Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1303-2-stack-cost] did not exist. Created. [2023-02-06T04:16:48.146Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1303-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-06T04:16:48.877Z] /w/workspace/device-sdk-go/2@tmp/durable-3cbd8702/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-06T04:16:49.561Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-06T04:16:49.598Z] Warning: overwriting stash ‘stack-cost’ [2023-02-06T04:16:49.668Z] Stashed 1 file(s) [Pipeline] } [2023-02-06T04:16:49.683Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1303-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-06T04:16:49.750Z] $ docker stop --time=1 31b14bb5d1ecebe4752e69bf79ca5b8b3923a8869ca9026412d1ca1c35cf68fe [2023-02-06T04:16:51.248Z] $ docker rm -f --volumes 31b14bb5d1ecebe4752e69bf79ca5b8b3923a8869ca9026412d1ca1c35cf68fe [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-02-06T04:16:52.171Z] provisioning config files... [2023-02-06T04:16:52.178Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1303@tmp/config6687996797253489277tmp [Pipeline] { [Pipeline] sh [2023-02-06T04:16:52.506Z] + set +x [2023-02-06T04:16:52.506Z] + bash -s -- [2023-02-06T04:16:52.506Z] + curl -s https://codecov.io/bash [2023-02-06T04:16:52.506Z] [2023-02-06T04:16:52.506Z] _____ _ [2023-02-06T04:16:52.506Z] / ____| | | [2023-02-06T04:16:52.506Z] | | ___ __| | ___ ___ _____ __ [2023-02-06T04:16:52.506Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-06T04:16:52.506Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-06T04:16:52.506Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-06T04:16:52.506Z] Bash-1.0.6 [2023-02-06T04:16:52.506Z] [2023-02-06T04:16:52.506Z] [2023-02-06T04:16:52.506Z] ==> git version 2.25.1 found [2023-02-06T04:16:52.506Z] ==> 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-02-06T04:16:52.506Z] Release-Date: 2020-01-08 [2023-02-06T04:16:52.506Z] 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-02-06T04:16:52.506Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-06T04:16:52.506Z] ==> Jenkins CI detected. [2023-02-06T04:16:52.506Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1303 [2023-02-06T04:16:52.506Z] project root: . [2023-02-06T04:16:52.506Z] --> token set from env [2023-02-06T04:16:52.506Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-06T04:16:52.506Z] ==> Running gcov in . (disable via -X gcov) [2023-02-06T04:16:52.506Z] ==> Python coveragepy not found [2023-02-06T04:16:52.507Z] ==> Searching for coverage reports in: [2023-02-06T04:16:52.507Z] + . [2023-02-06T04:16:52.507Z] -> Found 1 reports [2023-02-06T04:16:52.507Z] ==> Detecting git/mercurial file structure [2023-02-06T04:16:52.507Z] ==> Reading reports [2023-02-06T04:16:52.507Z] + ./coverage.out bytes=99762 [2023-02-06T04:16:52.507Z] ==> Appending adjustments [2023-02-06T04:16:52.507Z] https://docs.codecov.io/docs/fixing-reports [2023-02-06T04:16:52.764Z] + Found adjustments [2023-02-06T04:16:52.764Z] ==> Gzipping contents [2023-02-06T04:16:53.023Z] 16K /tmp/codecov.CXXGCE.gz [2023-02-06T04:16:53.023Z] ==> Uploading reports [2023-02-06T04:16:53.023Z] url: https://codecov.io [2023-02-06T04:16:53.023Z] query: branch=PR-1303&commit=73fb48faf2bae20740fd473665d27f5e6eced9ca&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1303%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1303&job=&cmd_args= [2023-02-06T04:16:53.023Z] -> Pinging Codecov [2023-02-06T04:16:53.023Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1303&commit=73fb48faf2bae20740fd473665d27f5e6eced9ca&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1303%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1303&job=&cmd_args= [2023-02-06T04:16:53.283Z] -> Uploading to [2023-02-06T04:16:53.283Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-06/7E55EF52A471D76F132DFD9A03CDDE97/73fb48faf2bae20740fd473665d27f5e6eced9ca/1fe5cf08-f221-4987-871f-9414b0b1f647.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230206%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230206T041653Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0d4608c449cf7d2e15cfe29a3050398336d11858ff64b4bd3e63a67d50a233c4 [2023-02-06T04:16:53.283Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-06T04:16:53.283Z] Dload Upload Total Spent Left Speed [2023-02-06T04:16:53.543Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14394 0 0 100 14394 0 47504 --:--:-- --:--:-- --:--:-- 47348 [2023-02-06T04:16:53.543Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/73fb48faf2bae20740fd473665d27f5e6eced9ca [Pipeline] } [2023-02-06T04:16:53.567Z] 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-02-06T04:16:55.292Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1303/archives ] [2023-02-06T04:16:55.292Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1303/archives [2023-02-06T04:16:55.292Z] total 16 [2023-02-06T04:16:55.292Z] drwxr-xr-x 3 root root 4096 Feb 6 04:05 . [2023-02-06T04:16:55.292Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 6 04:05 .. [2023-02-06T04:16:55.292Z] drwxr-xr-x 2 root root 4096 Feb 6 04:05 cost [2023-02-06T04:16:55.292Z] -rw-r--r-- 1 root root 86 Feb 6 04:05 cost.csv [2023-02-06T04:16:55.292Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1303/archives [2023-02-06T04:16:55.292Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1303/archives [2023-02-06T04:16:55.292Z] total 16 [2023-02-06T04:16:55.292Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 6 04:05 . [2023-02-06T04:16:55.292Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 6 04:05 .. [2023-02-06T04:16:55.292Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 6 04:05 cost [2023-02-06T04:16:55.292Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 6 04:05 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-06T04:16:55.618Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-06T04:16:56.506Z] ---> package-listing.sh [2023-02-06T04:16:56.506Z] ++ facter osfamily [2023-02-06T04:16:56.506Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-06T04:16:56.765Z] + OS_FAMILY=debian [2023-02-06T04:16:56.765Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1303 [2023-02-06T04:16:56.765Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-06T04:16:56.765Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-06T04:16:56.765Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-06T04:16:56.765Z] + PACKAGES=/tmp/packages_start.txt [2023-02-06T04:16:56.765Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1303 ']' [2023-02-06T04:16:56.765Z] + PACKAGES=/tmp/packages_end.txt [2023-02-06T04:16:56.765Z] + case "${OS_FAMILY}" in [2023-02-06T04:16:56.765Z] + dpkg -l [2023-02-06T04:16:56.765Z] + grep '^ii' [2023-02-06T04:16:56.765Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-06T04:16:56.765Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-06T04:16:56.765Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-06T04:16:56.765Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1303 ']' [2023-02-06T04:16:56.765Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1303/archives/ [2023-02-06T04:16:56.765Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1303/archives/ [Pipeline] echo [2023-02-06T04:16:56.798Z] 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-1303/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-06T04:16:57.087Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T04:16:57.765Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-06T04:16:57.765Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-06T04:16:57.930Z] prd-ubuntu20.04-docker-8c-8g-4618 does not seem to be running inside a container [2023-02-06T04:16:57.973Z] $ 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-1303/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-1303 -v /w/workspace/gexfoundry_device-sdk-go_PR-1303:/w/workspace/gexfoundry_device-sdk-go_PR-1303:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1303@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1303@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-06T04:16:58.306Z] $ docker top 3180862ff3e42200a8d0431d0d4660e085ac04adf60f0be29812d73b51251adb -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-06T04:16:58.695Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-06T04:16:59.011Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-06T04:16:59.326Z] + ls /var/log/sa-host [2023-02-06T04:16:59.326Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-06T04:16:59.455Z] provisioning config files... [2023-02-06T04:16:59.462Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1303@tmp/config16120030425166628451tmp [Pipeline] { [Pipeline] echo [2023-02-06T04:16:59.512Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-06T04:16:59.820Z] ---> create-netrc.sh [Pipeline] } [2023-02-06T04:16:59.848Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-06T04:17:00.233Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-06T04:17:00.266Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-06T04:17:00.584Z] ---> sudo-logs.sh [2023-02-06T04:17:00.584Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-06T04:17:00.661Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-06T04:17:00.968Z] ---> job-cost.sh [2023-02-06T04:17:00.968Z] lf-activate-venv: SKIPPING [2023-02-06T04:17:00.968Z] DEBUG: total: 0.2199999988079071 [2023-02-06T04:17:00.968Z] INFO: Retrieving Stack Cost... [2023-02-06T04:17:01.545Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-06T04:17:01.803Z] INFO: Archiving Costs [Pipeline] echo [2023-02-06T04:17:01.838Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-06T04:17:02.147Z] ---> logs-deploy.sh [2023-02-06T04:17:02.147Z] lf-activate-venv: SKIPPING [2023-02-06T04:17:02.147Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1303/2 [2023-02-06T04:17:02.147Z] INFO: archiving workspace using pattern(s): [2023-02-06T04:17:03.080Z] Archives upload complete. [2023-02-06T04:17:03.081Z] INFO: archiving logs to Nexus