Pull request #1289 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ce7f28fb10d260c08a85354fc4cf1ca1d3faa484+75769cbb60d148b1a5e0cc7835b599c46228d755 (3fd0bf52f3e2d637fac1bae33994d4cb1b67e109) 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-ssh4377581150005708809.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-ssh10719381624393371658.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-1289/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-1289/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8611602018416627755.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-1289/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13773022874724398766.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2607706276306120582.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-1289/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-1289/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1913737787975405660.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-3491 in /w/workspace/gexfoundry_device-sdk-go_PR-1289 [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-1289 # 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/1289/head:refs/remotes/origin/PR-1289 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 75769cbb60d148b1a5e0cc7835b599c46228d755 into PR head commit ce7f28fb10d260c08a85354fc4cf1ca1d3faa484 Merge succeeded, producing ce7f28fb10d260c08a85354fc4cf1ca1d3faa484 Checking out Revision ce7f28fb10d260c08a85354fc4cf1ca1d3faa484 (PR-1289) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-24T04:03:57.738Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git config core.sparsecheckout # timeout=10 > git checkout -f ce7f28fb10d260c08a85354fc4cf1ca1d3faa484 # 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 75769cbb60d148b1a5e0cc7835b599c46228d755 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ce7f28fb10d260c08a85354fc4cf1ca1d3faa484 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-24T04:03:57.923Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-24T04:03:58.017Z] ========================================================= [2023-01-24T04:03:58.017Z] EdgeX Global Pipelines Version Info [2023-01-24T04:03:58.017Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-24T04:03:58.441Z] jq: error (at :4): Cannot index string with string "ref" [2023-01-24T04:03:58.701Z] ------------------- [2023-01-24T04:03:58.701Z] stable info: [2023-01-24T04:03:58.701Z] ------------------- [2023-01-24T04:03:58.701Z] Commited By: [2023-01-24T04:03:58.701Z] Commit SHA: null [2023-01-24T04:03:58.701Z] Message: You have exceeded a secondary rate limit. Please wait a few minutes before you try again. [2023-01-24T04:03:58.701Z] jq: error (at :4): Cannot index string with string "ref" [2023-01-24T04:03:58.962Z] ------------------- [2023-01-24T04:03:58.962Z] experimental info: [2023-01-24T04:03:58.962Z] ------------------- [2023-01-24T04:03:58.962Z] Commited By: [2023-01-24T04:03:58.962Z] Commit SHA: null [2023-01-24T04:03:58.962Z] Message: You have exceeded a secondary rate limit. Please wait a few minutes before you try again. [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-24T04:03:59.262Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-01-24T04:03:59.307Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-01-24T04:03:59.357Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-24T04:03:59.390Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-24T04:03:59.428Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-24T04:03:59.463Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-24T04:03:59.498Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-24T04:03:59.535Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-01-24T04:03:59.573Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-24T04:03:59.620Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-24T04:03:59.656Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-24T04:03:59.694Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-01-24T04:03:59.750Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-24T04:03:59.840Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-24T04:03:59.885Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-24T04:03:59.926Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-01-24T04:03:59.970Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-24T04:04:00.017Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-24T04:04:00.066Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-24T04:04:00.150Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-24T04:04:00.193Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-01-24T04:04:00.229Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2023-01-24T04:04:00.270Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-24T04:04:00.308Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-24T04:04:00.345Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-24T04:04:00.381Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-24T04:04:00.424Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-24T04:04:00.458Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1289 [Pipeline] echo [2023-01-24T04:04:00.493Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1289 [Pipeline] echo [2023-01-24T04:04:00.531Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1289 [Pipeline] echo [2023-01-24T04:04:00.565Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ce7f28fb10d260c08a85354fc4cf1ca1d3faa484 [Pipeline] echo [2023-01-24T04:04:00.603Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ce7f28f [Pipeline] echo [2023-01-24T04:04:00.637Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-24T04:04:00.740Z] provisioning config files... [2023-01-24T04:04:00.757Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1289@tmp/config1392169367356488401tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-24T04:04:01.095Z] ---> docker-login.sh [2023-01-24T04:04:01.095Z] nexus3.edgexfoundry.org:10001 [2023-01-24T04:04:01.355Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-24T04:04:01.355Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-24T04:04:01.355Z] Configure a credential helper to remove this warning. See [2023-01-24T04:04:01.355Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-24T04:04:01.355Z] [2023-01-24T04:04:01.355Z] Login Succeeded [2023-01-24T04:04:01.355Z] nexus3.edgexfoundry.org:10002 [2023-01-24T04:04:01.355Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-24T04:04:01.355Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-24T04:04:01.355Z] Configure a credential helper to remove this warning. See [2023-01-24T04:04:01.355Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-24T04:04:01.355Z] [2023-01-24T04:04:01.355Z] Login Succeeded [2023-01-24T04:04:01.355Z] nexus3.edgexfoundry.org:10003 [2023-01-24T04:04:01.615Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-24T04:04:01.615Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-24T04:04:01.615Z] Configure a credential helper to remove this warning. See [2023-01-24T04:04:01.615Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-24T04:04:01.615Z] [2023-01-24T04:04:01.615Z] Login Succeeded [2023-01-24T04:04:01.615Z] nexus3.edgexfoundry.org:10004 [2023-01-24T04:04:01.615Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-24T04:04:01.615Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-24T04:04:01.615Z] Configure a credential helper to remove this warning. See [2023-01-24T04:04:01.615Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-24T04:04:01.615Z] [2023-01-24T04:04:01.615Z] Login Succeeded [2023-01-24T04:04:01.615Z] docker.io [2023-01-24T04:04:01.876Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-24T04:04:02.135Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-24T04:04:02.135Z] Configure a credential helper to remove this warning. See [2023-01-24T04:04:02.135Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-24T04:04:02.135Z] [2023-01-24T04:04:02.135Z] Login Succeeded [2023-01-24T04:04:02.135Z] ---> docker-login.sh ends [Pipeline] } [2023-01-24T04:04:02.163Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-24T04:04:02.774Z] + git rev-list -1 --merges ce7f28fb10d260c08a85354fc4cf1ca1d3faa484~1..ce7f28fb10d260c08a85354fc4cf1ca1d3faa484 [Pipeline] echo [2023-01-24T04:04:02.952Z] -----------> git rev-list -1 --merges ce7f28fb10d260c08a85354fc4cf1ca1d3faa484~1..ce7f28fb10d260c08a85354fc4cf1ca1d3faa484 ce7f28fb10d260c08a85354fc4cf1ca1d3faa484 [false] [Pipeline] sh [2023-01-24T04:04:03.265Z] + git log --format=format:%s -1 ce7f28fb10d260c08a85354fc4cf1ca1d3faa484 [Pipeline] echo [2023-01-24T04:04:03.303Z] ========================================================= [2023-01-24T04:04:03.303Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-24T04:04:03.303Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-24T04:04:03.746Z] + git log --format=format:%s -1 ce7f28fb10d260c08a85354fc4cf1ca1d3faa484 [Pipeline] echo [2023-01-24T04:04:03.779Z] [semverPrep] GIT_COMMIT: ce7f28fb10d260c08a85354fc4cf1ca1d3faa484, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2023-01-24T04:04:03.904Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-24T04:04:04.284Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-24T04:04:04.284Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-24T04:04:04.284Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-24T04:04:04.284Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-24T04:04:04.284Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-24T04:04:04.284Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-24T04:04:04.284Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-24T04:04:04.717Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-24T04:04:04.717Z] [2023-01-24T04:04:04.717Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-24T04:04:05.091Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-24T04:04:05.091Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-24T04:04:05.091Z] b85a868b505f: Pulling fs layer [2023-01-24T04:04:05.091Z] e2be974225ed: Pulling fs layer [2023-01-24T04:04:05.091Z] 339a4e72a1f5: Pulling fs layer [2023-01-24T04:04:05.091Z] 988bab9f4d93: Pulling fs layer [2023-01-24T04:04:05.091Z] 1469e6f7b9e6: Pulling fs layer [2023-01-24T04:04:05.091Z] eaf3925da568: Pulling fs layer [2023-01-24T04:04:05.091Z] bab4dde63d76: Pulling fs layer [2023-01-24T04:04:05.091Z] bde34c3a00c8: Pulling fs layer [2023-01-24T04:04:05.091Z] b352a97aabf1: Pulling fs layer [2023-01-24T04:04:05.091Z] 4872d77fe225: Pulling fs layer [2023-01-24T04:04:05.091Z] 5851b861e8e6: Pulling fs layer [2023-01-24T04:04:05.091Z] bde34c3a00c8: Waiting [2023-01-24T04:04:05.091Z] 988bab9f4d93: Waiting [2023-01-24T04:04:05.091Z] 1469e6f7b9e6: Waiting [2023-01-24T04:04:05.091Z] 4872d77fe225: Waiting [2023-01-24T04:04:05.091Z] b352a97aabf1: Waiting [2023-01-24T04:04:05.091Z] eaf3925da568: Waiting [2023-01-24T04:04:05.091Z] bab4dde63d76: Waiting [2023-01-24T04:04:05.091Z] 5851b861e8e6: Waiting [2023-01-24T04:04:05.091Z] e2be974225ed: Download complete [2023-01-24T04:04:05.091Z] 988bab9f4d93: Verifying Checksum [2023-01-24T04:04:05.091Z] 988bab9f4d93: Download complete [2023-01-24T04:04:05.355Z] 1469e6f7b9e6: Verifying Checksum [2023-01-24T04:04:05.355Z] 1469e6f7b9e6: Download complete [2023-01-24T04:04:05.355Z] 339a4e72a1f5: Verifying Checksum [2023-01-24T04:04:05.355Z] 339a4e72a1f5: Download complete [2023-01-24T04:04:05.355Z] eaf3925da568: Verifying Checksum [2023-01-24T04:04:05.355Z] eaf3925da568: Download complete [2023-01-24T04:04:05.355Z] bde34c3a00c8: Verifying Checksum [2023-01-24T04:04:05.355Z] bde34c3a00c8: Download complete [2023-01-24T04:04:05.355Z] b352a97aabf1: Download complete [2023-01-24T04:04:05.355Z] 4872d77fe225: Verifying Checksum [2023-01-24T04:04:05.355Z] 4872d77fe225: Download complete [2023-01-24T04:04:05.355Z] 5851b861e8e6: Verifying Checksum [2023-01-24T04:04:05.355Z] 5851b861e8e6: Download complete [2023-01-24T04:04:05.617Z] b85a868b505f: Verifying Checksum [2023-01-24T04:04:05.618Z] b85a868b505f: Download complete [2023-01-24T04:04:05.876Z] bab4dde63d76: Verifying Checksum [2023-01-24T04:04:05.876Z] bab4dde63d76: Download complete [2023-01-24T04:04:06.811Z] b85a868b505f: Pull complete [2023-01-24T04:04:07.072Z] e2be974225ed: Pull complete [2023-01-24T04:04:07.644Z] 339a4e72a1f5: Pull complete [2023-01-24T04:04:07.644Z] 988bab9f4d93: Pull complete [2023-01-24T04:04:08.212Z] 1469e6f7b9e6: Pull complete [2023-01-24T04:04:08.212Z] eaf3925da568: Pull complete [2023-01-24T04:04:10.123Z] bab4dde63d76: Pull complete [2023-01-24T04:04:10.123Z] bde34c3a00c8: Pull complete [2023-01-24T04:04:10.123Z] b352a97aabf1: Pull complete [2023-01-24T04:04:10.385Z] 4872d77fe225: Pull complete [2023-01-24T04:04:10.385Z] 5851b861e8e6: Pull complete [2023-01-24T04:04:10.385Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-24T04:04:10.385Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-24T04:04:10.385Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-24T04:04:10.611Z] prd-ubuntu20.04-docker-8c-8g-3491 does not seem to be running inside a container [2023-01-24T04:04:10.643Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1289 -v /w/workspace/gexfoundry_device-sdk-go_PR-1289:/w/workspace/gexfoundry_device-sdk-go_PR-1289:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1289@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1289@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-24T04:04:13.665Z] $ docker top 8f88b894616b5ad77a3eecd21aae62e8a0b62d788b13b9cfaf6a92842240091e -eo pid,comm [2023-01-24T04:04:13.718Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-01-24T04:04:13.718Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-24T04:04:13.842Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-24T04:04:13.842Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-24T04:04:13.959Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-24T04:04:13.965Z] $ docker exec 8f88b894616b5ad77a3eecd21aae62e8a0b62d788b13b9cfaf6a92842240091e ssh-agent [2023-01-24T04:04:14.068Z] SSH_AUTH_SOCK=/tmp/ssh-hd2N77mitopG/agent.31 [2023-01-24T04:04:14.068Z] SSH_AGENT_PID=37 [2023-01-24T04:04:14.075Z] Running ssh-add (command line suppressed) [2023-01-24T04:04:14.183Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1289@tmp/private_key_6631299772143502319.key (/w/workspace/gexfoundry_device-sdk-go_PR-1289@tmp/private_key_6631299772143502319.key) [2023-01-24T04:04:14.196Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-24T04:04:14.523Z] + git tag --points-at HEAD [Pipeline] } [2023-01-24T04:04:14.546Z] $ docker exec --env ******** --env ******** 8f88b894616b5ad77a3eecd21aae62e8a0b62d788b13b9cfaf6a92842240091e ssh-agent -k [2023-01-24T04:04:14.643Z] unset SSH_AUTH_SOCK; [2023-01-24T04:04:14.644Z] unset SSH_AGENT_PID; [2023-01-24T04:04:14.644Z] echo Agent pid 37 killed; [2023-01-24T04:04:14.652Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-24T04:04:14.735Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-24T04:04:14.735Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-24T04:04:14.851Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-24T04:04:14.857Z] $ docker exec 8f88b894616b5ad77a3eecd21aae62e8a0b62d788b13b9cfaf6a92842240091e ssh-agent [2023-01-24T04:04:14.975Z] SSH_AUTH_SOCK=/tmp/ssh-nqGrZcjBqeGn/agent.69 [2023-01-24T04:04:14.975Z] SSH_AGENT_PID=75 [2023-01-24T04:04:14.979Z] Running ssh-add (command line suppressed) [2023-01-24T04:04:15.086Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1289@tmp/private_key_17898231116497237152.key (/w/workspace/gexfoundry_device-sdk-go_PR-1289@tmp/private_key_17898231116497237152.key) [2023-01-24T04:04:15.097Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-24T04:04:15.431Z] + git semver init [2023-01-24T04:04:15.694Z] 2023-01-24 04:04:15,620 [run_init] DEBUG init version:0.0.0 force:False [2023-01-24T04:04:15.694Z] 2023-01-24 04:04:15,620 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1289/.semver [2023-01-24T04:04:15.694Z] 2023-01-24 04:04:15,621 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1289/.semver [2023-01-24T04:04:15.694Z] 2023-01-24 04:04:15,621 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1289/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1289, universal_newlines=False, shell=None, istream=None) [2023-01-24T04:04:17.075Z] 2023-01-24 04:04:16,653 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1289/.git/info/exclude [2023-01-24T04:04:17.075Z] 2023-01-24 04:04:16,654 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1289/.semver/PR-1289 with force:False [2023-01-24T04:04:17.075Z] 2023-01-24 04:04:16,654 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1289/.semver/PR-1289 [2023-01-24T04:04:17.075Z] 2023-01-24 04:04:16,659 [execute] INFO git cat-file --batch-check [2023-01-24T04:04:17.075Z] 2023-01-24 04:04:16,659 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1289/.semver, universal_newlines=False, shell=None, istream=) [2023-01-24T04:04:17.075Z] 2023-01-24 04:04:16,667 [execute] INFO git cat-file --batch [2023-01-24T04:04:17.075Z] 2023-01-24 04:04:16,667 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1289/.semver, universal_newlines=False, shell=None, istream=) [2023-01-24T04:04:17.075Z] 2023-01-24 04:04:16,673 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1289/.semver/PR-1289 [2023-01-24T04:04:17.075Z] 0.0.0 [Pipeline] } [2023-01-24T04:04:17.104Z] $ docker exec --env ******** --env ******** 8f88b894616b5ad77a3eecd21aae62e8a0b62d788b13b9cfaf6a92842240091e ssh-agent -k [2023-01-24T04:04:17.193Z] unset SSH_AUTH_SOCK; [2023-01-24T04:04:17.193Z] unset SSH_AGENT_PID; [2023-01-24T04:04:17.193Z] echo Agent pid 75 killed; [2023-01-24T04:04:17.201Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-24T04:04:17.632Z] + git semver [Pipeline] } [2023-01-24T04:04:17.920Z] $ docker stop --time=1 8f88b894616b5ad77a3eecd21aae62e8a0b62d788b13b9cfaf6a92842240091e [2023-01-24T04:04:19.215Z] $ docker rm -f --volumes 8f88b894616b5ad77a3eecd21aae62e8a0b62d788b13b9cfaf6a92842240091e [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-24T04:04:19.620Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-24T04:04:19.909Z] Stashed 1 file(s) [Pipeline] echo [2023-01-24T04:04:19.929Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-24T04:04:20.517Z] provisioning config files... [2023-01-24T04:04:20.527Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1289@tmp/config15102107144275549645tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-24T04:04:20.875Z] ---> docker-login.sh [2023-01-24T04:04:20.875Z] nexus3.edgexfoundry.org:10001 [2023-01-24T04:04:20.875Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-24T04:04:20.875Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-24T04:04:20.875Z] Configure a credential helper to remove this warning. See [2023-01-24T04:04:20.875Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-24T04:04:20.875Z] [2023-01-24T04:04:20.875Z] Login Succeeded [2023-01-24T04:04:20.875Z] nexus3.edgexfoundry.org:10002 [2023-01-24T04:04:20.875Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-24T04:04:20.875Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-24T04:04:20.875Z] Configure a credential helper to remove this warning. See [2023-01-24T04:04:20.875Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-24T04:04:20.875Z] [2023-01-24T04:04:20.876Z] Login Succeeded [2023-01-24T04:04:20.876Z] nexus3.edgexfoundry.org:10003 [2023-01-24T04:04:21.135Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-24T04:04:21.136Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-24T04:04:21.136Z] Configure a credential helper to remove this warning. See [2023-01-24T04:04:21.136Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-24T04:04:21.136Z] [2023-01-24T04:04:21.136Z] Login Succeeded [2023-01-24T04:04:21.136Z] nexus3.edgexfoundry.org:10004 [2023-01-24T04:04:21.136Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-24T04:04:21.136Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-24T04:04:21.136Z] Configure a credential helper to remove this warning. See [2023-01-24T04:04:21.136Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-24T04:04:21.136Z] [2023-01-24T04:04:21.136Z] Login Succeeded [2023-01-24T04:04:21.136Z] docker.io [2023-01-24T04:04:21.395Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-24T04:04:21.655Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-24T04:04:21.655Z] Configure a credential helper to remove this warning. See [2023-01-24T04:04:21.655Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-24T04:04:21.655Z] [2023-01-24T04:04:21.655Z] Login Succeeded [2023-01-24T04:04:21.655Z] ---> docker-login.sh ends [Pipeline] } [2023-01-24T04:04:21.684Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-24T04:04:21.882Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-24T04:04:21.925Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-24T04:04:21.957Z] ========================================================= [2023-01-24T04:04:21.957Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-24T04:04:21.957Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-24T04:04:22.429Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-24T04:04:22.429Z] Sending build context to Docker daemon 10.53MB [2023-01-24T04:04:22.429Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-01-24T04:04:22.429Z] Step 2/10 : FROM ${BASE} AS builder [2023-01-24T04:04:22.690Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-24T04:04:22.691Z] 213ec9aee27d: Pulling fs layer [2023-01-24T04:04:22.691Z] 4583459ba037: Pulling fs layer [2023-01-24T04:04:22.691Z] 93c1e223e6f2: Pulling fs layer [2023-01-24T04:04:22.691Z] 53926ce57604: Pulling fs layer [2023-01-24T04:04:22.691Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-24T04:04:22.691Z] 22ff95d597cd: Pulling fs layer [2023-01-24T04:04:22.691Z] 12d6caf4c0d1: Pulling fs layer [2023-01-24T04:04:22.691Z] 96b7cbca73a9: Pulling fs layer [2023-01-24T04:04:22.691Z] a7acece74701: Pulling fs layer [2023-01-24T04:04:22.691Z] 12d6caf4c0d1: Waiting [2023-01-24T04:04:22.691Z] 21b2b0c7a3f4: Waiting [2023-01-24T04:04:22.691Z] a7acece74701: Waiting [2023-01-24T04:04:22.691Z] 53926ce57604: Waiting [2023-01-24T04:04:22.691Z] 22ff95d597cd: Waiting [2023-01-24T04:04:22.691Z] 93c1e223e6f2: Download complete [2023-01-24T04:04:22.691Z] 4583459ba037: Download complete [2023-01-24T04:04:22.691Z] 21b2b0c7a3f4: Download complete [2023-01-24T04:04:22.691Z] 22ff95d597cd: Verifying Checksum [2023-01-24T04:04:22.691Z] 22ff95d597cd: Download complete [2023-01-24T04:04:22.950Z] 213ec9aee27d: Verifying Checksum [2023-01-24T04:04:22.950Z] 12d6caf4c0d1: Download complete [2023-01-24T04:04:23.215Z] 213ec9aee27d: Pull complete [2023-01-24T04:04:23.215Z] 4583459ba037: Pull complete [2023-01-24T04:04:23.497Z] 93c1e223e6f2: Pull complete [2023-01-24T04:04:23.778Z] a7acece74701: Verifying Checksum [2023-01-24T04:04:23.778Z] a7acece74701: Download complete [2023-01-24T04:04:24.042Z] 96b7cbca73a9: Verifying Checksum [2023-01-24T04:04:24.042Z] 96b7cbca73a9: Download complete [2023-01-24T04:04:24.302Z] 53926ce57604: Verifying Checksum [2023-01-24T04:04:24.302Z] 53926ce57604: Download complete [2023-01-24T04:04:28.485Z] 53926ce57604: Pull complete [2023-01-24T04:04:28.485Z] 21b2b0c7a3f4: Pull complete [2023-01-24T04:04:28.485Z] 22ff95d597cd: Pull complete [2023-01-24T04:04:28.485Z] 12d6caf4c0d1: Pull complete [2023-01-24T04:04:30.385Z] 96b7cbca73a9: Pull complete [2023-01-24T04:04:31.316Z] a7acece74701: Pull complete [2023-01-24T04:04:31.316Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-24T04:04:31.316Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-24T04:04:31.316Z] ---> db6d94c90886 [2023-01-24T04:04:31.316Z] Step 3/10 : ARG MAKE=make build [2023-01-24T04:04:35.328Z] Still waiting to schedule task [2023-01-24T04:04:35.328Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-3494’ is offline [2023-01-24T04:04:35.513Z] ---> Running in 2a94feaaf599 [2023-01-24T04:04:35.513Z] Removing intermediate container 2a94feaaf599 [2023-01-24T04:04:35.513Z] ---> 5e297a5c497d [2023-01-24T04:04:35.513Z] Step 4/10 : WORKDIR /device-sdk-go [2023-01-24T04:04:35.513Z] ---> Running in 7a9205431025 [2023-01-24T04:04:35.513Z] Removing intermediate container 7a9205431025 [2023-01-24T04:04:35.513Z] ---> 42c025cb8482 [2023-01-24T04:04:35.513Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-24T04:04:35.513Z] ---> Running in 938259fac736 [2023-01-24T04:04:35.772Z] Removing intermediate container 938259fac736 [2023-01-24T04:04:35.772Z] ---> 7c5987895a87 [2023-01-24T04:04:35.772Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-01-24T04:04:35.772Z] ---> Running in c7f63c4a84ea [2023-01-24T04:04:36.030Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-24T04:04:36.030Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-24T04:04:36.598Z] OK: 211 MiB in 51 packages [2023-01-24T04:04:36.856Z] Removing intermediate container c7f63c4a84ea [2023-01-24T04:04:36.856Z] ---> cf62b81c7372 [2023-01-24T04:04:36.856Z] Step 7/10 : COPY go.mod vendor* ./ [2023-01-24T04:04:37.114Z] ---> 3c8cf3f10e20 [2023-01-24T04:04:37.114Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-24T04:04:37.114Z] ---> Running in 991f2d31d241 [2023-01-24T04:05:09.185Z] Removing intermediate container 991f2d31d241 [2023-01-24T04:05:09.185Z] ---> 7b964e5dfd92 [2023-01-24T04:05:09.185Z] Step 9/10 : COPY . . [2023-01-24T04:05:09.185Z] ---> 82a8c7926ea4 [2023-01-24T04:05:09.185Z] Step 10/10 : RUN ${MAKE} [2023-01-24T04:05:09.185Z] ---> Running in 9e8520d6300c [2023-01-24T04:05:09.185Z] noop [2023-01-24T04:05:09.185Z] Removing intermediate container 9e8520d6300c [2023-01-24T04:05:09.185Z] ---> 293954dff79b [2023-01-24T04:05:09.185Z] Successfully built 293954dff79b [2023-01-24T04:05:09.185Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-24T04:05:09.615Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-24T04:05:09.615Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-24T04:05:09.767Z] prd-ubuntu20.04-docker-8c-8g-3491 does not seem to be running inside a container [2023-01-24T04:05:09.796Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1289 -v /w/workspace/gexfoundry_device-sdk-go_PR-1289:/w/workspace/gexfoundry_device-sdk-go_PR-1289:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1289@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1289@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-24T04:05:10.110Z] $ docker top 487d5f545d814a74d93c00a13d840d230600f32477d6dcaae7dbd35bd605719a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-24T04:05:10.494Z] + go version [2023-01-24T04:05:10.494Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-24T04:05:10.586Z] $ docker stop --time=1 487d5f545d814a74d93c00a13d840d230600f32477d6dcaae7dbd35bd605719a [2023-01-24T04:05:11.823Z] $ docker rm -f --volumes 487d5f545d814a74d93c00a13d840d230600f32477d6dcaae7dbd35bd605719a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-24T04:05:12.526Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-24T04:05:12.526Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-24T04:05:12.675Z] prd-ubuntu20.04-docker-8c-8g-3491 does not seem to be running inside a container [2023-01-24T04:05:12.706Z] $ 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-1289 -v /w/workspace/gexfoundry_device-sdk-go_PR-1289:/w/workspace/gexfoundry_device-sdk-go_PR-1289:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1289@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1289@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-24T04:05:13.085Z] $ docker top fe3694928ebc0ab8242c05c52f3f9d7b06bf1a257bbbfce83ce97ecdb6d73439 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-24T04:05:13.472Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1289 [Pipeline] fileExists [Pipeline] sh [2023-01-24T04:05:13.830Z] + make test [2023-01-24T04:05:13.830Z] go test -race -coverprofile=coverage.out ./... [2023-01-24T04:05:20.389Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-01-24T04:05:35.255Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-01-24T04:05:35.255Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-01-24T04:05:35.255Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-01-24T04:05:35.255Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-01-24T04:05:35.255Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-01-24T04:05:35.255Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.049s coverage: 27.6% of statements [2023-01-24T04:05:35.255Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.088s coverage: 78.9% of statements [2023-01-24T04:05:35.255Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-01-24T04:05:35.255Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.117s coverage: 73.6% of statements [2023-01-24T04:05:35.255Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-01-24T04:05:35.255Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-01-24T04:05:35.255Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.120s coverage: 60.6% of statements [2023-01-24T04:05:35.255Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-01-24T04:05:35.255Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-01-24T04:05:35.255Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-01-24T04:05:35.255Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/telemetry [no test files] [2023-01-24T04:05:35.255Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.101s coverage: 65.1% of statements [2023-01-24T04:05:35.255Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-01-24T04:05:35.255Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-01-24T04:05:35.255Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.748s coverage: 89.2% of statements [2023-01-24T04:05:35.255Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-01-24T04:05:35.255Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.066s coverage: 4.6% of statements [2023-01-24T04:05:35.255Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-01-24T04:05:53.321Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-01-24T04:05:53.321Z] GO111MODULE=on go vet ./... [2023-01-24T04:05:54.692Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-24T04:05:54.692Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-24T04:05:54.692Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-24T04:05:54.733Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-24T04:05:54.764Z] $ docker stop --time=1 fe3694928ebc0ab8242c05c52f3f9d7b06bf1a257bbbfce83ce97ecdb6d73439 [2023-01-24T04:05:58.219Z] $ docker rm -f --volumes fe3694928ebc0ab8242c05c52f3f9d7b06bf1a257bbbfce83ce97ecdb6d73439 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-24T04:05:58.800Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-24T04:05:58.880Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-24T04:05:59.491Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-24T04:05:59.801Z] + ls -al . [2023-01-24T04:05:59.801Z] total 272 [2023-01-24T04:05:59.801Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 24 04:05 . [2023-01-24T04:05:59.801Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 24 04:03 .. [2023-01-24T04:05:59.801Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 24 04:03 .dockerignore [2023-01-24T04:05:59.801Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 24 04:05 .git [2023-01-24T04:05:59.801Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 24 04:03 .github [2023-01-24T04:05:59.801Z] -rw-rw-r-- 1 jenkins jenkins 131 Jan 24 04:03 .gitignore [2023-01-24T04:05:59.801Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 24 04:03 .golangci.yml [2023-01-24T04:05:59.801Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 24 04:04 .semver [2023-01-24T04:05:59.801Z] -rw-rw-r-- 1 jenkins jenkins 31677 Jan 24 04:03 CHANGELOG.md [2023-01-24T04:05:59.801Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 24 04:03 GOVERNANCE.md [2023-01-24T04:05:59.801Z] -rw-rw-r-- 1 jenkins jenkins 880 Jan 24 04:03 Jenkinsfile [2023-01-24T04:05:59.801Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 24 04:03 LICENSE [2023-01-24T04:05:59.801Z] -rw-rw-r-- 1 jenkins jenkins 1679 Jan 24 04:03 Makefile [2023-01-24T04:05:59.801Z] -rw-rw-r-- 1 jenkins jenkins 619 Jan 24 04:03 OWNERS.md [2023-01-24T04:05:59.801Z] -rw-rw-r-- 1 jenkins jenkins 4891 Jan 24 04:03 README.md [2023-01-24T04:05:59.801Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 24 04:04 VERSION [2023-01-24T04:05:59.801Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 24 04:03 bin [2023-01-24T04:05:59.801Z] -rw-r--r-- 1 jenkins jenkins 100832 Jan 24 04:05 coverage.out [2023-01-24T04:05:59.801Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 24 04:03 example [2023-01-24T04:05:59.801Z] -rw-rw-r-- 1 jenkins jenkins 3307 Jan 24 04:03 go.mod [2023-01-24T04:05:59.801Z] -rw-rw-r-- 1 jenkins jenkins 34396 Jan 24 04:03 go.sum [2023-01-24T04:05:59.801Z] drwxrwxr-x 14 jenkins jenkins 4096 Jan 24 04:03 internal [2023-01-24T04:05:59.801Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 24 04:03 openapi [2023-01-24T04:05:59.801Z] drwxrwxr-x 6 jenkins jenkins 4096 Jan 24 04:03 pkg [2023-01-24T04:05:59.801Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 24 04:03 snap [2023-01-24T04:05:59.801Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 24 04:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-24T04:06:00.191Z] + 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=ce7f28fb10d260c08a85354fc4cf1ca1d3faa484 --label arch=amd64 --label version=0.0.0 . [2023-01-24T04:06:00.191Z] Sending build context to Docker daemon 10.63MB [2023-01-24T04:06:00.191Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-01-24T04:06:00.191Z] Step 2/23 : FROM ${BASE} AS builder [2023-01-24T04:06:00.191Z] ---> 293954dff79b [2023-01-24T04:06:00.191Z] Step 3/23 : ARG MAKE=make build [2023-01-24T04:06:00.450Z] ---> Running in 3ae0eb12606a [2023-01-24T04:06:00.450Z] Removing intermediate container 3ae0eb12606a [2023-01-24T04:06:00.450Z] ---> 179d158d3a77 [2023-01-24T04:06:00.450Z] Step 4/23 : WORKDIR /device-sdk-go [2023-01-24T04:06:00.450Z] ---> Running in 7e8ba20b4c92 [2023-01-24T04:06:00.708Z] Removing intermediate container 7e8ba20b4c92 [2023-01-24T04:06:00.708Z] ---> 9768597d9ad1 [2023-01-24T04:06:00.708Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-24T04:06:00.708Z] ---> Running in c8cb6f713fba [2023-01-24T04:06:00.708Z] Removing intermediate container c8cb6f713fba [2023-01-24T04:06:00.708Z] ---> 6799cbb6d293 [2023-01-24T04:06:00.708Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-01-24T04:06:00.708Z] ---> Running in eb666e5202da [2023-01-24T04:06:00.966Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-24T04:06:01.226Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-24T04:06:01.485Z] OK: 211 MiB in 51 packages [2023-01-24T04:06:01.743Z] Removing intermediate container eb666e5202da [2023-01-24T04:06:01.743Z] ---> 4c1d188ac810 [2023-01-24T04:06:01.743Z] Step 7/23 : COPY go.mod vendor* ./ [2023-01-24T04:06:02.000Z] ---> 09d46f1ca68b [2023-01-24T04:06:02.000Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-24T04:06:02.000Z] ---> Running in 539d47a44a98 [2023-01-24T04:06:02.934Z] Removing intermediate container 539d47a44a98 [2023-01-24T04:06:02.934Z] ---> ec1a7dce5577 [2023-01-24T04:06:02.934Z] Step 9/23 : COPY . . [2023-01-24T04:06:03.192Z] ---> 3079868af2ee [2023-01-24T04:06:03.192Z] Step 10/23 : RUN ${MAKE} [2023-01-24T04:06:03.192Z] ---> Running in 1c605ca1e8df [2023-01-24T04:06:03.449Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-01-24T04:06:25.371Z] Removing intermediate container 1c605ca1e8df [2023-01-24T04:06:25.371Z] ---> 375447c3cf76 [2023-01-24T04:06:25.371Z] Step 11/23 : FROM alpine:3.16 [2023-01-24T04:06:25.371Z] 3.16: Pulling from library/alpine [2023-01-24T04:06:25.371Z] ca7dd9ec2225: Pulling fs layer [2023-01-24T04:06:25.371Z] ca7dd9ec2225: Verifying Checksum [2023-01-24T04:06:25.371Z] ca7dd9ec2225: Download complete [2023-01-24T04:06:25.371Z] ca7dd9ec2225: Pull complete [2023-01-24T04:06:25.371Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-24T04:06:25.371Z] Status: Downloaded newer image for alpine:3.16 [2023-01-24T04:06:25.371Z] ---> bfe296a52501 [2023-01-24T04:06:25.371Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-01-24T04:06:25.371Z] ---> Running in f5dfa0ca8df2 [2023-01-24T04:06:25.371Z] Removing intermediate container f5dfa0ca8df2 [2023-01-24T04:06:25.371Z] ---> 01691fa07223 [2023-01-24T04:06:25.371Z] Step 13/23 : RUN apk add --update --no-cache [2023-01-24T04:06:25.371Z] ---> Running in bd89a7242f1e [2023-01-24T04:06:25.371Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-24T04:06:25.371Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-24T04:06:25.630Z] OK: 6 MiB in 14 packages [2023-01-24T04:06:25.888Z] Removing intermediate container bd89a7242f1e [2023-01-24T04:06:25.888Z] ---> c9836df9536d [2023-01-24T04:06:25.888Z] Step 14/23 : WORKDIR / [2023-01-24T04:06:25.888Z] ---> Running in 0ef1c37f1a08 [2023-01-24T04:06:25.888Z] Removing intermediate container 0ef1c37f1a08 [2023-01-24T04:06:25.888Z] ---> 4d728ef1c594 [2023-01-24T04:06:25.888Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-01-24T04:06:26.146Z] ---> f3204ddacbf8 [2023-01-24T04:06:26.146Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-01-24T04:06:26.750Z] ---> 81da21e092d7 [2023-01-24T04:06:26.750Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-01-24T04:06:27.008Z] ---> dce1509562a7 [2023-01-24T04:06:27.008Z] Step 18/23 : EXPOSE 59999 [2023-01-24T04:06:27.008Z] ---> Running in 4dfae8627143 [2023-01-24T04:06:27.008Z] Removing intermediate container 4dfae8627143 [2023-01-24T04:06:27.008Z] ---> f3f1d7b91657 [2023-01-24T04:06:27.008Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-01-24T04:06:27.008Z] ---> Running in bf713c4d1ff0 [2023-01-24T04:06:27.008Z] Removing intermediate container bf713c4d1ff0 [2023-01-24T04:06:27.008Z] ---> 5fd7f9f9e210 [2023-01-24T04:06:27.008Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-24T04:06:27.270Z] ---> Running in 10e7025869fc [2023-01-24T04:06:27.270Z] Removing intermediate container 10e7025869fc [2023-01-24T04:06:27.270Z] ---> 33b30756283f [2023-01-24T04:06:27.270Z] Step 21/23 : LABEL arch=amd64 [2023-01-24T04:06:27.270Z] ---> Running in 6f95aea08acc [2023-01-24T04:06:27.270Z] Removing intermediate container 6f95aea08acc [2023-01-24T04:06:27.270Z] ---> c58515c4d320 [2023-01-24T04:06:27.270Z] Step 22/23 : LABEL git_sha=ce7f28fb10d260c08a85354fc4cf1ca1d3faa484 [2023-01-24T04:06:27.270Z] ---> Running in c898d92f6af8 [2023-01-24T04:06:27.530Z] Removing intermediate container c898d92f6af8 [2023-01-24T04:06:27.530Z] ---> 94c29c3ddb89 [2023-01-24T04:06:27.530Z] Step 23/23 : LABEL version=0.0.0 [2023-01-24T04:06:27.530Z] ---> Running in b75c61c206d3 [2023-01-24T04:06:27.530Z] Removing intermediate container b75c61c206d3 [2023-01-24T04:06:27.530Z] ---> 83a9f2f2c934 [2023-01-24T04:06:27.530Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-24T04:06:27.530Z] Successfully built 83a9f2f2c934 [2023-01-24T04:06:27.530Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-24T04:06:28.386Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-24T04:06:28.386Z] [2023-01-24T04:06:28.386Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-24T04:06:28.753Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-24T04:06:28.754Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-24T04:06:28.754Z] 5eb5b503b376: Pulling fs layer [2023-01-24T04:06:28.754Z] 5c69ac0246d0: Pulling fs layer [2023-01-24T04:06:28.754Z] ec43610c2a17: Pulling fs layer [2023-01-24T04:06:28.754Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-24T04:06:28.754Z] 33b1e0a273af: Pulling fs layer [2023-01-24T04:06:28.754Z] 5d3b04190fa2: Pulling fs layer [2023-01-24T04:06:28.754Z] 2f39f015ded8: Pulling fs layer [2023-01-24T04:06:28.754Z] 3a2ae6a8a46f: Waiting [2023-01-24T04:06:28.754Z] 33b1e0a273af: Waiting [2023-01-24T04:06:28.754Z] 5d3b04190fa2: Waiting [2023-01-24T04:06:28.754Z] 2f39f015ded8: Waiting [2023-01-24T04:06:28.754Z] 5c69ac0246d0: Download complete [2023-01-24T04:06:28.754Z] 3a2ae6a8a46f: Verifying Checksum [2023-01-24T04:06:28.754Z] 3a2ae6a8a46f: Download complete [2023-01-24T04:06:29.019Z] 33b1e0a273af: Verifying Checksum [2023-01-24T04:06:29.019Z] 33b1e0a273af: Download complete [2023-01-24T04:06:29.019Z] ec43610c2a17: Verifying Checksum [2023-01-24T04:06:29.019Z] ec43610c2a17: Download complete [2023-01-24T04:06:29.019Z] 5d3b04190fa2: Verifying Checksum [2023-01-24T04:06:29.019Z] 5d3b04190fa2: Download complete [2023-01-24T04:06:29.282Z] 5eb5b503b376: Verifying Checksum [2023-01-24T04:06:29.282Z] 5eb5b503b376: Download complete [2023-01-24T04:06:29.860Z] 2f39f015ded8: Verifying Checksum [2023-01-24T04:06:29.860Z] 2f39f015ded8: Download complete [2023-01-24T04:06:30.428Z] 5eb5b503b376: Pull complete [2023-01-24T04:06:30.686Z] 5c69ac0246d0: Pull complete [2023-01-24T04:06:31.252Z] ec43610c2a17: Pull complete [2023-01-24T04:06:31.252Z] 3a2ae6a8a46f: Pull complete [2023-01-24T04:06:31.510Z] 33b1e0a273af: Pull complete [2023-01-24T04:06:31.510Z] 5d3b04190fa2: Pull complete [2023-01-24T04:06:36.846Z] 2f39f015ded8: Pull complete [2023-01-24T04:06:36.846Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-24T04:06:36.846Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-24T04:06:36.846Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-24T04:06:37.051Z] prd-ubuntu20.04-docker-8c-8g-3491 does not seem to be running inside a container [2023-01-24T04:06:37.082Z] $ 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-1289 -v /w/workspace/gexfoundry_device-sdk-go_PR-1289:/w/workspace/gexfoundry_device-sdk-go_PR-1289:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1289@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1289@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-24T04:06:40.441Z] $ docker top 1accc2465b7300470cbd8ac79b50e5d4f769e94e506f43c01ece705386d61b58 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-24T04:06:40.885Z] ---> job-cost.sh [2023-01-24T04:06:40.885Z] lf-activate-venv: SKIPPING [2023-01-24T04:06:40.885Z] INFO: No Stack... [2023-01-24T04:06:41.142Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-24T04:06:41.400Z] INFO: Archiving Costs [Pipeline] sh [2023-01-24T04:06:41.719Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1289/archives/cost.csv [2023-01-24T04:06:41.719Z] + cut -d, -f6 [Pipeline] lock [2023-01-24T04:06:41.761Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1289-1-stack-cost] [2023-01-24T04:06:41.766Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1289-1-stack-cost] did not exist. Created. [2023-01-24T04:06:41.766Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1289-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-24T04:06:42.150Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-24T04:06:42.204Z] Stashed 1 file(s) [Pipeline] } [2023-01-24T04:06:42.226Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1289-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-24T04:06:42.305Z] $ docker stop --time=1 1accc2465b7300470cbd8ac79b50e5d4f769e94e506f43c01ece705386d61b58 [2023-01-24T04:06:43.463Z] $ docker rm -f --volumes 1accc2465b7300470cbd8ac79b50e5d4f769e94e506f43c01ece705386d61b58 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-24T04:06:44.326Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-3497 in /w/workspace/gexfoundry_device-sdk-go_PR-1289 [Pipeline] { [Pipeline] ws [2023-01-24T04:06:44.387Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-01-24T04:06:44.474Z] The recommended git tool is: git [2023-01-24T04:06:49.687Z] using credential edgex-jenkins-ssh [2023-01-24T04:06:49.705Z] Cloning the remote Git repository [2023-01-24T04:06:49.757Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-01-24T04:06:49.838Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-01-24T04:06:50.007Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-01-24T04:06:50.008Z] > git --version # timeout=10 [2023-01-24T04:06:50.030Z] > git --version # 'git version 2.25.1' [2023-01-24T04:06:50.033Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-24T04:06:50.093Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-24T04:06:51.743Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-01-24T04:06:51.766Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-24T04:06:52.759Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-01-24T04:06:52.807Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-01-24T04:06:52.809Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-24T04:06:52.827Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1289/head:refs/remotes/origin/PR-1289 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-24T04:06:53.394Z] Merging remotes/origin/main commit 75769cbb60d148b1a5e0cc7835b599c46228d755 into PR head commit ce7f28fb10d260c08a85354fc4cf1ca1d3faa484 [2023-01-24T04:06:53.665Z] Merge succeeded, producing ce7f28fb10d260c08a85354fc4cf1ca1d3faa484 [2023-01-24T04:06:53.665Z] Checking out Revision ce7f28fb10d260c08a85354fc4cf1ca1d3faa484 (PR-1289) [2023-01-24T04:06:54.326Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2023-01-24T04:06:54.387Z] > git --version # timeout=10 [2023-01-24T04:06:54.400Z] > git --version # 'git version 2.25.1' [2023-01-24T04:06:54.432Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-24T04:06:53.414Z] > git config core.sparsecheckout # timeout=10 [2023-01-24T04:06:53.440Z] > git checkout -f ce7f28fb10d260c08a85354fc4cf1ca1d3faa484 # timeout=10 [2023-01-24T04:06:53.556Z] > git remote # timeout=10 [2023-01-24T04:06:53.574Z] > git config --get remote.origin.url # timeout=10 [2023-01-24T04:06:53.596Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-24T04:06:53.611Z] > git merge 75769cbb60d148b1a5e0cc7835b599c46228d755 # timeout=10 [2023-01-24T04:06:53.648Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-24T04:06:53.675Z] > git config core.sparsecheckout # timeout=10 [2023-01-24T04:06:53.690Z] > git checkout -f ce7f28fb10d260c08a85354fc4cf1ca1d3faa484 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-24T04:06:55.468Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-24T04:06:55.468Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-24T04:06:55.468Z] Dload Upload Total Spent Left Speed [2023-01-24T04:06:55.468Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 185k 0 --:--:-- --:--:-- --:--:-- 185k [Pipeline] sh [2023-01-24T04:06:56.083Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-24T04:06:56.460Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-24T04:06:56.460Z] + sudo tee /etc/docker/daemon.new [2023-01-24T04:06:56.460Z] { [2023-01-24T04:06:56.460Z] "registry-mirrors": [ [2023-01-24T04:06:56.460Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-24T04:06:56.460Z] ], [2023-01-24T04:06:56.460Z] "bip": "10.250.0.254/24", [2023-01-24T04:06:56.460Z] "hosts": [ [2023-01-24T04:06:56.460Z] "tcp://0.0.0.0:5555", [2023-01-24T04:06:56.460Z] "unix:///var/run/docker.sock" [2023-01-24T04:06:56.460Z] ], [2023-01-24T04:06:56.460Z] "mtu": 1458, [2023-01-24T04:06:56.460Z] "selinux-enabled": true, [2023-01-24T04:06:56.460Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-24T04:06:56.460Z] } [Pipeline] sh [2023-01-24T04:06:56.836Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-24T04:06:57.235Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-24T04:07:15.599Z] provisioning config files... [2023-01-24T04:07:15.634Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config4677277439472836382tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-24T04:07:16.043Z] ---> docker-login.sh [2023-01-24T04:07:16.043Z] nexus3.edgexfoundry.org:10001 [2023-01-24T04:07:16.636Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-24T04:07:16.907Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-24T04:07:16.907Z] Configure a credential helper to remove this warning. See [2023-01-24T04:07:16.907Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-24T04:07:16.907Z] [2023-01-24T04:07:16.907Z] Login Succeeded [2023-01-24T04:07:16.907Z] nexus3.edgexfoundry.org:10002 [2023-01-24T04:07:17.178Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-24T04:07:17.178Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-24T04:07:17.178Z] Configure a credential helper to remove this warning. See [2023-01-24T04:07:17.178Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-24T04:07:17.178Z] [2023-01-24T04:07:17.178Z] Login Succeeded [2023-01-24T04:07:17.178Z] nexus3.edgexfoundry.org:10003 [2023-01-24T04:07:17.448Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-24T04:07:17.720Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-24T04:07:17.720Z] Configure a credential helper to remove this warning. See [2023-01-24T04:07:17.720Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-24T04:07:17.720Z] [2023-01-24T04:07:17.720Z] Login Succeeded [2023-01-24T04:07:17.720Z] nexus3.edgexfoundry.org:10004 [2023-01-24T04:07:17.991Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-24T04:07:17.991Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-24T04:07:17.991Z] Configure a credential helper to remove this warning. See [2023-01-24T04:07:17.991Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-24T04:07:17.991Z] [2023-01-24T04:07:17.991Z] Login Succeeded [2023-01-24T04:07:17.991Z] docker.io [2023-01-24T04:07:18.262Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-24T04:07:18.533Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-24T04:07:18.533Z] Configure a credential helper to remove this warning. See [2023-01-24T04:07:18.533Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-24T04:07:18.533Z] [2023-01-24T04:07:18.533Z] Login Succeeded [2023-01-24T04:07:18.533Z] ---> docker-login.sh ends [Pipeline] } [2023-01-24T04:07:18.563Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-24T04:07:18.971Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-24T04:07:19.013Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-24T04:07:19.044Z] ========================================================= [2023-01-24T04:07:19.044Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-24T04:07:19.044Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-24T04:07:19.591Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-24T04:07:20.188Z] Sending build context to Docker daemon 5.686MB [2023-01-24T04:07:20.188Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-01-24T04:07:20.188Z] Step 2/10 : FROM ${BASE} AS builder [2023-01-24T04:07:20.188Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-24T04:07:20.188Z] 9b18e9b68314: Pulling fs layer [2023-01-24T04:07:20.188Z] 35d82f9e3411: Pulling fs layer [2023-01-24T04:07:20.188Z] e16973657156: Pulling fs layer [2023-01-24T04:07:20.188Z] fc693d55d65f: Pulling fs layer [2023-01-24T04:07:20.188Z] 7e9fc2657dce: Pulling fs layer [2023-01-24T04:07:20.188Z] dda99020689f: Pulling fs layer [2023-01-24T04:07:20.188Z] db1c61fa0a46: Pulling fs layer [2023-01-24T04:07:20.188Z] 891c053d2c06: Pulling fs layer [2023-01-24T04:07:20.188Z] fc693d55d65f: Waiting [2023-01-24T04:07:20.188Z] 7e9fc2657dce: Waiting [2023-01-24T04:07:20.188Z] dda99020689f: Waiting [2023-01-24T04:07:20.188Z] db1c61fa0a46: Waiting [2023-01-24T04:07:20.188Z] 891c053d2c06: Waiting [2023-01-24T04:07:20.188Z] e16973657156: Verifying Checksum [2023-01-24T04:07:20.188Z] e16973657156: Download complete [2023-01-24T04:07:20.188Z] 35d82f9e3411: Verifying Checksum [2023-01-24T04:07:20.188Z] 35d82f9e3411: Download complete [2023-01-24T04:07:20.188Z] 7e9fc2657dce: Verifying Checksum [2023-01-24T04:07:20.188Z] 7e9fc2657dce: Download complete [2023-01-24T04:07:20.465Z] dda99020689f: Verifying Checksum [2023-01-24T04:07:20.465Z] dda99020689f: Download complete [2023-01-24T04:07:20.465Z] 9b18e9b68314: Download complete [2023-01-24T04:07:21.458Z] 9b18e9b68314: Pull complete [2023-01-24T04:07:21.735Z] 891c053d2c06: Verifying Checksum [2023-01-24T04:07:21.735Z] 891c053d2c06: Download complete [2023-01-24T04:07:22.004Z] 35d82f9e3411: Pull complete [2023-01-24T04:07:22.280Z] e16973657156: Pull complete [2023-01-24T04:07:22.882Z] db1c61fa0a46: Verifying Checksum [2023-01-24T04:07:22.882Z] db1c61fa0a46: Download complete [2023-01-24T04:07:23.474Z] fc693d55d65f: Verifying Checksum [2023-01-24T04:07:23.474Z] fc693d55d65f: Download complete [2023-01-24T04:07:35.817Z] fc693d55d65f: Pull complete [2023-01-24T04:07:35.817Z] 7e9fc2657dce: Pull complete [2023-01-24T04:07:35.817Z] dda99020689f: Pull complete [2023-01-24T04:07:42.505Z] db1c61fa0a46: Pull complete [2023-01-24T04:07:44.601Z] 891c053d2c06: Pull complete [2023-01-24T04:07:44.601Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-24T04:07:44.601Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-24T04:07:44.601Z] ---> f96f9c87975a [2023-01-24T04:07:44.601Z] Step 3/10 : ARG MAKE=make build [2023-01-24T04:07:46.562Z] ---> Running in dde6634ec939 [2023-01-24T04:07:46.830Z] Removing intermediate container dde6634ec939 [2023-01-24T04:07:46.831Z] ---> 5449bc358abb [2023-01-24T04:07:46.831Z] Step 4/10 : WORKDIR /device-sdk-go [2023-01-24T04:07:47.099Z] ---> Running in 34e0dc94dd31 [2023-01-24T04:07:47.370Z] Removing intermediate container 34e0dc94dd31 [2023-01-24T04:07:47.371Z] ---> 85d7ff77c2ce [2023-01-24T04:07:47.371Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-24T04:07:47.371Z] ---> Running in 97a76c03e5ab [2023-01-24T04:07:47.637Z] Removing intermediate container 97a76c03e5ab [2023-01-24T04:07:47.637Z] ---> ef0b0b9c1831 [2023-01-24T04:07:47.637Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-01-24T04:07:47.909Z] ---> Running in 29f62f7bb2d1 [2023-01-24T04:07:48.900Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-24T04:07:49.491Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-24T04:07:50.460Z] OK: 221 MiB in 51 packages [2023-01-24T04:07:51.063Z] Removing intermediate container 29f62f7bb2d1 [2023-01-24T04:07:51.063Z] ---> 157ae3a1e604 [2023-01-24T04:07:51.063Z] Step 7/10 : COPY go.mod vendor* ./ [2023-01-24T04:07:51.649Z] ---> 16df318254e5 [2023-01-24T04:07:51.649Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-24T04:07:51.649Z] ---> Running in 85f6ddbcd833 [2023-01-24T04:08:59.585Z] Removing intermediate container 85f6ddbcd833 [2023-01-24T04:08:59.585Z] ---> 592ba9f8e107 [2023-01-24T04:08:59.585Z] Step 9/10 : COPY . . [2023-01-24T04:08:59.585Z] ---> fcfd0695d360 [2023-01-24T04:08:59.585Z] Step 10/10 : RUN ${MAKE} [2023-01-24T04:08:59.585Z] ---> Running in 27f68b30cf24 [2023-01-24T04:08:59.857Z] noop [2023-01-24T04:09:00.827Z] Removing intermediate container 27f68b30cf24 [2023-01-24T04:09:00.827Z] ---> d5a842e7eded [2023-01-24T04:09:00.827Z] Successfully built d5a842e7eded [2023-01-24T04:09:00.827Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-24T04:09:01.322Z] + docker inspect -f . ci-base-image-arm64 [2023-01-24T04:09:01.322Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-24T04:09:01.610Z] prd-ubuntu20.04-docker-arm64-4c-16g-3497 does not seem to be running inside a container [2023-01-24T04:09:01.693Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-24T04:09:03.062Z] $ docker top 7db25fa654151dd96b5d65cad568fc530e9eb27af000a64a7819a9c9ad2b2cfd -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-24T04:09:03.976Z] + go version [2023-01-24T04:09:03.976Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-24T04:09:04.013Z] $ docker stop --time=1 7db25fa654151dd96b5d65cad568fc530e9eb27af000a64a7819a9c9ad2b2cfd [2023-01-24T04:09:05.737Z] $ docker rm -f --volumes 7db25fa654151dd96b5d65cad568fc530e9eb27af000a64a7819a9c9ad2b2cfd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-24T04:09:06.614Z] + docker inspect -f . ci-base-image-arm64 [2023-01-24T04:09:06.614Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-24T04:09:06.897Z] prd-ubuntu20.04-docker-arm64-4c-16g-3497 does not seem to be running inside a container [2023-01-24T04:09:06.972Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-24T04:09:08.269Z] $ docker top 1df6887225301677c784596f87a152e34e4ef26be8827063ae39e83758ce434f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-24T04:09:09.174Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-01-24T04:09:09.893Z] + make test [2023-01-24T04:09:09.893Z] go test -race -coverprofile=coverage.out ./... [2023-01-24T04:09:48.819Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-01-24T04:12:10.586Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-01-24T04:12:10.586Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-01-24T04:12:10.586Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-01-24T04:12:10.586Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-01-24T04:12:10.586Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-01-24T04:12:25.676Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.398s coverage: 27.6% of statements [2023-01-24T04:12:25.955Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.495s coverage: 78.9% of statements [2023-01-24T04:12:25.955Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-01-24T04:12:32.641Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.418s coverage: 73.6% of statements [2023-01-24T04:12:32.641Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-01-24T04:12:32.641Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-01-24T04:12:34.593Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.704s coverage: 60.6% of statements [2023-01-24T04:12:34.594Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-01-24T04:12:34.594Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-01-24T04:12:34.594Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-01-24T04:12:34.594Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/telemetry [no test files] [2023-01-24T04:12:34.863Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.465s coverage: 65.1% of statements [2023-01-24T04:12:34.863Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-01-24T04:12:34.863Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-01-24T04:12:35.830Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.405s coverage: 89.2% of statements [2023-01-24T04:12:35.830Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-01-24T04:12:35.830Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.292s coverage: 4.6% of statements [2023-01-24T04:12:35.830Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-01-24T04:12:36.416Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-24T04:12:36.416Z] GO111MODULE=on go vet ./... [2023-01-24T04:14:28.165Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-24T04:14:28.165Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-24T04:14:28.165Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-24T04:14:28.209Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-24T04:14:28.250Z] $ docker stop --time=1 1df6887225301677c784596f87a152e34e4ef26be8827063ae39e83758ce434f [2023-01-24T04:14:30.150Z] $ docker rm -f --volumes 1df6887225301677c784596f87a152e34e4ef26be8827063ae39e83758ce434f [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-24T04:14:31.654Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-24T04:14:31.690Z] Warning: overwriting stash ‘coverage-report’ [2023-01-24T04:14:32.393Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-24T04:14:32.987Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-24T04:14:33.337Z] + ls -al . [2023-01-24T04:14:33.337Z] total 268 [2023-01-24T04:14:33.337Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 24 04:09 . [2023-01-24T04:14:33.337Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 24 04:06 .. [2023-01-24T04:14:33.337Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 24 04:06 .dockerignore [2023-01-24T04:14:33.337Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 24 04:06 .git [2023-01-24T04:14:33.337Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 24 04:06 .github [2023-01-24T04:14:33.337Z] -rw-rw-r-- 1 jenkins jenkins 131 Jan 24 04:06 .gitignore [2023-01-24T04:14:33.337Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 24 04:06 .golangci.yml [2023-01-24T04:14:33.337Z] -rw-rw-r-- 1 jenkins jenkins 31677 Jan 24 04:06 CHANGELOG.md [2023-01-24T04:14:33.337Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 24 04:06 GOVERNANCE.md [2023-01-24T04:14:33.337Z] -rw-rw-r-- 1 jenkins jenkins 880 Jan 24 04:06 Jenkinsfile [2023-01-24T04:14:33.337Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 24 04:06 LICENSE [2023-01-24T04:14:33.337Z] -rw-rw-r-- 1 jenkins jenkins 1679 Jan 24 04:06 Makefile [2023-01-24T04:14:33.337Z] -rw-rw-r-- 1 jenkins jenkins 619 Jan 24 04:06 OWNERS.md [2023-01-24T04:14:33.337Z] -rw-rw-r-- 1 jenkins jenkins 4891 Jan 24 04:06 README.md [2023-01-24T04:14:33.337Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 24 04:04 VERSION [2023-01-24T04:14:33.337Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 24 04:06 bin [2023-01-24T04:14:33.337Z] -rw-r--r-- 1 jenkins jenkins 100833 Jan 24 04:12 coverage.out [2023-01-24T04:14:33.337Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 24 04:06 example [2023-01-24T04:14:33.337Z] -rw-rw-r-- 1 jenkins jenkins 3307 Jan 24 04:06 go.mod [2023-01-24T04:14:33.337Z] -rw-rw-r-- 1 jenkins jenkins 34396 Jan 24 04:06 go.sum [2023-01-24T04:14:33.337Z] drwxrwxr-x 14 jenkins jenkins 4096 Jan 24 04:06 internal [2023-01-24T04:14:33.337Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 24 04:06 openapi [2023-01-24T04:14:33.337Z] drwxrwxr-x 6 jenkins jenkins 4096 Jan 24 04:06 pkg [2023-01-24T04:14:33.337Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 24 04:06 snap [2023-01-24T04:14:33.337Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 24 04:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-24T04:14:33.755Z] + 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=ce7f28fb10d260c08a85354fc4cf1ca1d3faa484 --label arch=arm64 --label version=0.0.0 . [2023-01-24T04:14:34.351Z] Sending build context to Docker daemon 5.788MB [2023-01-24T04:14:34.351Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-01-24T04:14:34.351Z] Step 2/23 : FROM ${BASE} AS builder [2023-01-24T04:14:34.351Z] ---> d5a842e7eded [2023-01-24T04:14:34.351Z] Step 3/23 : ARG MAKE=make build [2023-01-24T04:14:34.351Z] ---> Running in 53513cfc266d [2023-01-24T04:14:34.624Z] Removing intermediate container 53513cfc266d [2023-01-24T04:14:34.624Z] ---> 2fc135588a0b [2023-01-24T04:14:34.624Z] Step 4/23 : WORKDIR /device-sdk-go [2023-01-24T04:14:34.895Z] ---> Running in 538ded04e402 [2023-01-24T04:14:35.165Z] Removing intermediate container 538ded04e402 [2023-01-24T04:14:35.165Z] ---> 81ae7b34c15a [2023-01-24T04:14:35.165Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-24T04:14:35.165Z] ---> Running in 0c7f9cc4226a [2023-01-24T04:14:35.438Z] Removing intermediate container 0c7f9cc4226a [2023-01-24T04:14:35.438Z] ---> 63a84a4f7471 [2023-01-24T04:14:35.438Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-01-24T04:14:35.707Z] ---> Running in 16e7f0ba09bc [2023-01-24T04:14:36.674Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-24T04:14:37.261Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-24T04:14:38.228Z] OK: 221 MiB in 51 packages [2023-01-24T04:14:39.195Z] Removing intermediate container 16e7f0ba09bc [2023-01-24T04:14:39.195Z] ---> 65d8ef8fd941 [2023-01-24T04:14:39.195Z] Step 7/23 : COPY go.mod vendor* ./ [2023-01-24T04:14:39.785Z] ---> df80224b65c2 [2023-01-24T04:14:39.785Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-24T04:14:40.058Z] ---> Running in 4fad5a89c1ed [2023-01-24T04:14:42.661Z] Removing intermediate container 4fad5a89c1ed [2023-01-24T04:14:42.661Z] ---> 69575394ed3d [2023-01-24T04:14:42.661Z] Step 9/23 : COPY . . [2023-01-24T04:14:44.076Z] ---> a115d9c142be [2023-01-24T04:14:44.076Z] Step 10/23 : RUN ${MAKE} [2023-01-24T04:14:44.076Z] ---> Running in ffaf6e8efc21 [2023-01-24T04:14:45.044Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-01-24T04:17:07.459Z] Removing intermediate container ffaf6e8efc21 [2023-01-24T04:17:07.459Z] ---> 0071a8300ae8 [2023-01-24T04:17:07.459Z] Step 11/23 : FROM alpine:3.16 [2023-01-24T04:17:07.459Z] 3.16: Pulling from library/alpine [2023-01-24T04:17:07.459Z] 6875df1f5354: Pulling fs layer [2023-01-24T04:17:07.459Z] 6875df1f5354: Verifying Checksum [2023-01-24T04:17:07.459Z] 6875df1f5354: Download complete [2023-01-24T04:17:07.459Z] 6875df1f5354: Pull complete [2023-01-24T04:17:07.459Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-24T04:17:07.459Z] Status: Downloaded newer image for alpine:3.16 [2023-01-24T04:17:07.459Z] ---> 2b4661558fb8 [2023-01-24T04:17:07.459Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-01-24T04:17:07.459Z] ---> Running in 87f0d95d352a [2023-01-24T04:17:07.459Z] Removing intermediate container 87f0d95d352a [2023-01-24T04:17:07.459Z] ---> 96afd29e6cd0 [2023-01-24T04:17:07.459Z] Step 13/23 : RUN apk add --update --no-cache [2023-01-24T04:17:07.459Z] ---> Running in ec6238d0ad61 [2023-01-24T04:17:07.459Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-24T04:17:07.459Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-24T04:17:07.459Z] OK: 5 MiB in 14 packages [2023-01-24T04:17:07.459Z] Removing intermediate container ec6238d0ad61 [2023-01-24T04:17:07.459Z] ---> 2858638bbc3e [2023-01-24T04:17:07.459Z] Step 14/23 : WORKDIR / [2023-01-24T04:17:07.459Z] ---> Running in b1fff7a3889b [2023-01-24T04:17:07.459Z] Removing intermediate container b1fff7a3889b [2023-01-24T04:17:07.459Z] ---> 3b1e51343f84 [2023-01-24T04:17:07.459Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-01-24T04:17:07.459Z] ---> 10cc0d7345a3 [2023-01-24T04:17:07.459Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-01-24T04:17:07.459Z] ---> cd9bc476a986 [2023-01-24T04:17:07.459Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-01-24T04:17:07.459Z] ---> 2d3d551c9f80 [2023-01-24T04:17:07.459Z] Step 18/23 : EXPOSE 59999 [2023-01-24T04:17:07.459Z] ---> Running in b9ae6e7cd1a1 [2023-01-24T04:17:07.459Z] Removing intermediate container b9ae6e7cd1a1 [2023-01-24T04:17:07.459Z] ---> a8fb89bff90f [2023-01-24T04:17:07.459Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-01-24T04:17:07.459Z] ---> Running in e9129e98f659 [2023-01-24T04:17:07.459Z] Removing intermediate container e9129e98f659 [2023-01-24T04:17:07.459Z] ---> 113af6c85b3d [2023-01-24T04:17:07.459Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-24T04:17:07.727Z] ---> Running in 2d7e64371491 [2023-01-24T04:17:07.994Z] Removing intermediate container 2d7e64371491 [2023-01-24T04:17:07.994Z] ---> fc502668f015 [2023-01-24T04:17:07.994Z] Step 21/23 : LABEL arch=arm64 [2023-01-24T04:17:07.994Z] ---> Running in 4009acff9584 [2023-01-24T04:17:08.337Z] Removing intermediate container 4009acff9584 [2023-01-24T04:17:08.337Z] ---> 87e0f82dbe1e [2023-01-24T04:17:08.337Z] Step 22/23 : LABEL git_sha=ce7f28fb10d260c08a85354fc4cf1ca1d3faa484 [2023-01-24T04:17:08.337Z] ---> Running in 0c5de0055d63 [2023-01-24T04:17:08.611Z] Removing intermediate container 0c5de0055d63 [2023-01-24T04:17:08.611Z] ---> c262b7e73f57 [2023-01-24T04:17:08.611Z] Step 23/23 : LABEL version=0.0.0 [2023-01-24T04:17:08.887Z] ---> Running in d83a450e9865 [2023-01-24T04:17:09.158Z] Removing intermediate container d83a450e9865 [2023-01-24T04:17:09.158Z] ---> e8e04b2aa86d [2023-01-24T04:17:09.158Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-24T04:17:09.158Z] Successfully built e8e04b2aa86d [2023-01-24T04:17:09.158Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-24T04:17:09.972Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-24T04:17:09.972Z] [2023-01-24T04:17:09.972Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-24T04:17:10.396Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-24T04:17:10.396Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-24T04:17:10.396Z] 8998bd30e6a1: Pulling fs layer [2023-01-24T04:17:10.396Z] 04944245beec: Pulling fs layer [2023-01-24T04:17:10.396Z] 699f458cf7ca: Pulling fs layer [2023-01-24T04:17:10.396Z] 765212b225bb: Pulling fs layer [2023-01-24T04:17:10.396Z] f23df028b6ca: Pulling fs layer [2023-01-24T04:17:10.396Z] d65c8cfc05b1: Pulling fs layer [2023-01-24T04:17:10.396Z] 2437ff75d9bd: Pulling fs layer [2023-01-24T04:17:10.396Z] f23df028b6ca: Waiting [2023-01-24T04:17:10.396Z] d65c8cfc05b1: Waiting [2023-01-24T04:17:10.396Z] 2437ff75d9bd: Waiting [2023-01-24T04:17:10.396Z] 765212b225bb: Waiting [2023-01-24T04:17:10.690Z] 04944245beec: Verifying Checksum [2023-01-24T04:17:10.690Z] 04944245beec: Download complete [2023-01-24T04:17:10.690Z] 765212b225bb: Verifying Checksum [2023-01-24T04:17:10.690Z] 765212b225bb: Download complete [2023-01-24T04:17:10.690Z] f23df028b6ca: Verifying Checksum [2023-01-24T04:17:10.690Z] f23df028b6ca: Download complete [2023-01-24T04:17:10.964Z] d65c8cfc05b1: Verifying Checksum [2023-01-24T04:17:10.964Z] d65c8cfc05b1: Download complete [2023-01-24T04:17:10.964Z] 699f458cf7ca: Verifying Checksum [2023-01-24T04:17:10.964Z] 699f458cf7ca: Download complete [2023-01-24T04:17:11.236Z] 8998bd30e6a1: Verifying Checksum [2023-01-24T04:17:11.236Z] 8998bd30e6a1: Download complete [2023-01-24T04:17:13.825Z] 2437ff75d9bd: Verifying Checksum [2023-01-24T04:17:13.825Z] 2437ff75d9bd: Download complete [2023-01-24T04:17:15.231Z] 8998bd30e6a1: Pull complete [2023-01-24T04:17:15.815Z] 04944245beec: Pull complete [2023-01-24T04:17:17.224Z] 699f458cf7ca: Pull complete [2023-01-24T04:17:17.224Z] 765212b225bb: Pull complete [2023-01-24T04:17:18.185Z] f23df028b6ca: Pull complete [2023-01-24T04:17:18.454Z] d65c8cfc05b1: Pull complete [2023-01-24T04:17:33.455Z] 2437ff75d9bd: Pull complete [2023-01-24T04:17:33.455Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-24T04:17:33.455Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-24T04:17:33.455Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-24T04:17:33.761Z] prd-ubuntu20.04-docker-arm64-4c-16g-3497 does not seem to be running inside a container [2023-01-24T04:17:33.829Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-01-24T04:17:36.672Z] $ docker top a8a1626b656f0cb7e10fffb4d75f22043bd63229a56dd7021b0733966735719e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-24T04:17:37.566Z] ---> job-cost.sh [2023-01-24T04:17:37.566Z] lf-activate-venv: SKIPPING [2023-01-24T04:17:37.566Z] INFO: No Stack... [2023-01-24T04:17:38.145Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-24T04:17:39.103Z] INFO: Archiving Costs [Pipeline] sh [2023-01-24T04:17:39.759Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2023-01-24T04:17:39.759Z] + cut -d, -f6 [Pipeline] lock [2023-01-24T04:17:39.850Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1289-1-stack-cost] [2023-01-24T04:17:39.855Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1289-1-stack-cost] did not exist. Created. [2023-01-24T04:17:39.855Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1289-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-24T04:17:40.272Z] /w/workspace/device-sdk-go/1@tmp/durable-107fd82b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-24T04:17:40.627Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-24T04:17:40.669Z] Warning: overwriting stash ‘stack-cost’ [2023-01-24T04:17:40.741Z] Stashed 1 file(s) [Pipeline] } [2023-01-24T04:17:40.806Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1289-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-24T04:17:40.895Z] $ docker stop --time=1 a8a1626b656f0cb7e10fffb4d75f22043bd63229a56dd7021b0733966735719e [2023-01-24T04:17:42.426Z] $ docker rm -f --volumes a8a1626b656f0cb7e10fffb4d75f22043bd63229a56dd7021b0733966735719e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-01-24T04:17:43.475Z] provisioning config files... [2023-01-24T04:17:43.487Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1289@tmp/config10882591193233269821tmp [Pipeline] { [Pipeline] sh [2023-01-24T04:17:43.824Z] + set +x [2023-01-24T04:17:43.824Z] + curl -s https://codecov.io/bash [2023-01-24T04:17:43.824Z] + bash -s -- [2023-01-24T04:17:43.824Z] [2023-01-24T04:17:43.824Z] _____ _ [2023-01-24T04:17:43.824Z] / ____| | | [2023-01-24T04:17:43.824Z] | | ___ __| | ___ ___ _____ __ [2023-01-24T04:17:43.824Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-24T04:17:43.824Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-24T04:17:43.824Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-24T04:17:43.824Z] Bash-1.0.6 [2023-01-24T04:17:43.824Z] [2023-01-24T04:17:43.824Z] [2023-01-24T04:17:43.824Z] ==> git version 2.25.1 found [2023-01-24T04:17:43.824Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-01-24T04:17:43.824Z] Release-Date: 2020-01-08 [2023-01-24T04:17:43.824Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-01-24T04:17:43.824Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-24T04:17:43.824Z] ==> Jenkins CI detected. [2023-01-24T04:17:43.824Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1289 [2023-01-24T04:17:43.824Z] project root: . [2023-01-24T04:17:43.824Z] --> token set from env [2023-01-24T04:17:43.824Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-24T04:17:43.824Z] ==> Running gcov in . (disable via -X gcov) [2023-01-24T04:17:43.824Z] ==> Python coveragepy not found [2023-01-24T04:17:43.824Z] ==> Searching for coverage reports in: [2023-01-24T04:17:43.824Z] + . [2023-01-24T04:17:43.824Z] -> Found 1 reports [2023-01-24T04:17:43.824Z] ==> Detecting git/mercurial file structure [2023-01-24T04:17:43.824Z] ==> Reading reports [2023-01-24T04:17:43.824Z] + ./coverage.out bytes=100833 [2023-01-24T04:17:43.824Z] ==> Appending adjustments [2023-01-24T04:17:43.824Z] https://docs.codecov.io/docs/fixing-reports [2023-01-24T04:17:44.084Z] + Found adjustments [2023-01-24T04:17:44.084Z] ==> Gzipping contents [2023-01-24T04:17:44.343Z] 16K /tmp/codecov.0SY2sp.gz [2023-01-24T04:17:44.343Z] ==> Uploading reports [2023-01-24T04:17:44.343Z] url: https://codecov.io [2023-01-24T04:17:44.343Z] query: branch=PR-1289&commit=ce7f28fb10d260c08a85354fc4cf1ca1d3faa484&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1289%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1289&job=&cmd_args= [2023-01-24T04:17:44.343Z] -> Pinging Codecov [2023-01-24T04:17:44.343Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1289&commit=ce7f28fb10d260c08a85354fc4cf1ca1d3faa484&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1289%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1289&job=&cmd_args= [2023-01-24T04:17:44.602Z] -> Uploading to [2023-01-24T04:17:44.602Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-24/7E55EF52A471D76F132DFD9A03CDDE97/ce7f28fb10d260c08a85354fc4cf1ca1d3faa484/973dffe6-016d-4bfd-adf4-f9862a0212b0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230124%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230124T041744Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=235ff0f3b31f8c86607ddd2813ff9fe3f6963c86f9917bf63eaf3bfa1be0b7fa [2023-01-24T04:17:44.602Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-24T04:17:44.602Z] Dload Upload Total Spent Left Speed [2023-01-24T04:17:44.861Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14727 0 0 100 14727 0 52596 --:--:-- --:--:-- --:--:-- 52596 [2023-01-24T04:17:45.121Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/ce7f28fb10d260c08a85354fc4cf1ca1d3faa484 [Pipeline] } [2023-01-24T04:17:45.146Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-01-24T04:17:46.977Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1289/archives ] [2023-01-24T04:17:46.977Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1289/archives [2023-01-24T04:17:46.977Z] total 16 [2023-01-24T04:17:46.977Z] drwxr-xr-x 3 root root 4096 Jan 24 04:06 . [2023-01-24T04:17:46.977Z] drwxrwxr-x 12 jenkins jenkins 4096 Jan 24 04:06 .. [2023-01-24T04:17:46.977Z] drwxr-xr-x 2 root root 4096 Jan 24 04:06 cost [2023-01-24T04:17:46.977Z] -rw-r--r-- 1 root root 86 Jan 24 04:06 cost.csv [2023-01-24T04:17:46.977Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1289/archives [2023-01-24T04:17:46.977Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1289/archives [2023-01-24T04:17:46.977Z] total 16 [2023-01-24T04:17:46.977Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 24 04:06 . [2023-01-24T04:17:46.977Z] drwxrwxr-x 12 jenkins jenkins 4096 Jan 24 04:06 .. [2023-01-24T04:17:46.977Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 24 04:06 cost [2023-01-24T04:17:46.977Z] -rw-r--r-- 1 jenkins jenkins 86 Jan 24 04:06 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-24T04:17:47.305Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-24T04:17:47.978Z] ---> package-listing.sh [2023-01-24T04:17:47.978Z] ++ facter osfamily [2023-01-24T04:17:47.978Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-24T04:17:48.243Z] + OS_FAMILY=debian [2023-01-24T04:17:48.243Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1289 [2023-01-24T04:17:48.243Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-24T04:17:48.243Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-24T04:17:48.243Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-24T04:17:48.243Z] + PACKAGES=/tmp/packages_start.txt [2023-01-24T04:17:48.243Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1289 ']' [2023-01-24T04:17:48.243Z] + PACKAGES=/tmp/packages_end.txt [2023-01-24T04:17:48.243Z] + case "${OS_FAMILY}" in [2023-01-24T04:17:48.243Z] + grep '^ii' [2023-01-24T04:17:48.243Z] + dpkg -l [2023-01-24T04:17:48.243Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-24T04:17:48.243Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-24T04:17:48.243Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-24T04:17:48.243Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1289 ']' [2023-01-24T04:17:48.243Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1289/archives/ [2023-01-24T04:17:48.243Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1289/archives/ [Pipeline] echo [2023-01-24T04:17:48.278Z] 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-1289/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-24T04:17:48.569Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-24T04:17:49.203Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-24T04:17:49.204Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-24T04:17:49.350Z] prd-ubuntu20.04-docker-8c-8g-3491 does not seem to be running inside a container [2023-01-24T04:17:49.382Z] $ 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-1289/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-1289 -v /w/workspace/gexfoundry_device-sdk-go_PR-1289:/w/workspace/gexfoundry_device-sdk-go_PR-1289:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1289@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1289@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-24T04:17:49.633Z] $ docker top 253fb3bd1f4abecfb2376ef1dc17c7f4a566bc6e95581cbb18ce95f2ddd6b3b0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-24T04:17:50.021Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-24T04:17:50.336Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-24T04:17:50.642Z] + ls /var/log/sa-host [2023-01-24T04:17:50.642Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-24T04:17:50.792Z] provisioning config files... [2023-01-24T04:17:50.805Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1289@tmp/config11276634286425511169tmp [Pipeline] { [Pipeline] echo [2023-01-24T04:17:50.854Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-24T04:17:51.166Z] ---> create-netrc.sh [Pipeline] } [2023-01-24T04:17:51.190Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-24T04:17:51.584Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-24T04:17:51.620Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-24T04:17:51.928Z] ---> sudo-logs.sh [2023-01-24T04:17:51.928Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-24T04:17:52.011Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-24T04:17:52.327Z] ---> job-cost.sh [2023-01-24T04:17:52.327Z] lf-activate-venv: SKIPPING [2023-01-24T04:17:52.327Z] DEBUG: total: 0.2199999988079071 [2023-01-24T04:17:52.327Z] INFO: Retrieving Stack Cost... [2023-01-24T04:17:52.898Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-24T04:17:53.160Z] INFO: Archiving Costs [Pipeline] echo [2023-01-24T04:17:53.198Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-24T04:17:53.509Z] ---> logs-deploy.sh [2023-01-24T04:17:53.509Z] lf-activate-venv: SKIPPING [2023-01-24T04:17:53.509Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1289/1 [2023-01-24T04:17:53.509Z] INFO: archiving workspace using pattern(s): [2023-01-24T04:17:54.449Z] Archives upload complete. [2023-01-24T04:17:54.449Z] INFO: archiving logs to Nexus