Pull request #1509 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4dc98cffdfbdd7973e37f94507035e01af69aa7b+88f03503c07c02c451459ab8c2d5aba4061d83b0 (6e5762c4f1ef936546d126b5a57596b958023a02) 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-ssh4751810733523390295.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh14862631061859347472.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-1509/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-1509/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3224783287699893774.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-1509/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6969714416847799584.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > 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-ssh7187337832269810793.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-1509/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-1509/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6080442637565994827.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-5861 in /w/workspace/gexfoundry_device-sdk-go_PR-1509 [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-1509 # 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/1509/head:refs/remotes/origin/PR-1509 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 88f03503c07c02c451459ab8c2d5aba4061d83b0 into PR head commit 4dc98cffdfbdd7973e37f94507035e01af69aa7b Merge succeeded, producing 4dc98cffdfbdd7973e37f94507035e01af69aa7b Checking out Revision 4dc98cffdfbdd7973e37f94507035e01af69aa7b (PR-1509) 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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 4dc98cffdfbdd7973e37f94507035e01af69aa7b # 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 88f03503c07c02c451459ab8c2d5aba4061d83b0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4dc98cffdfbdd7973e37f94507035e01af69aa7b # timeout=10 [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-12T04:07:10.749Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-12T04:07:10.938Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-12T04:07:11.026Z] ========================================================= [2023-09-12T04:07:11.026Z] EdgeX Global Pipelines Version Info [2023-09-12T04:07:11.026Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-12T04:07:11.783Z] ------------------- [2023-09-12T04:07:11.783Z] stable info: [2023-09-12T04:07:11.783Z] ------------------- [2023-09-12T04:07:11.783Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-12T04:07:11.783Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-09-12T04:07:11.783Z] Message: update stable to v1.0.253 [2023-09-12T04:07:12.357Z] ------------------- [2023-09-12T04:07:12.357Z] experimental info: [2023-09-12T04:07:12.357Z] ------------------- [2023-09-12T04:07:12.357Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-12T04:07:12.357Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-09-12T04:07:12.357Z] Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-12T04:07:12.647Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-09-12T04:07:12.692Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-09-12T04:07:12.730Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-12T04:07:12.770Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-12T04:07:12.808Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-12T04:07:12.845Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-09-12T04:07:12.882Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-12T04:07:12.919Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-09-12T04:07:12.956Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-12T04:07:12.996Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-12T04:07:13.039Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-12T04:07:13.076Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-09-12T04:07:13.117Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-12T04:07:13.151Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-12T04:07:13.187Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-12T04:07:13.223Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-09-12T04:07:13.260Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-12T04:07:13.297Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-12T04:07:13.333Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-12T04:07:13.372Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-12T04:07:13.408Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-09-12T04:07:13.444Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-09-12T04:07:13.482Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-12T04:07:13.521Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-12T04:07:13.561Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-12T04:07:13.604Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-12T04:07:13.647Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-12T04:07:13.687Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1509 [Pipeline] echo [2023-09-12T04:07:13.725Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1509 [Pipeline] echo [2023-09-12T04:07:13.764Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1509 [Pipeline] echo [2023-09-12T04:07:13.808Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4dc98cffdfbdd7973e37f94507035e01af69aa7b [Pipeline] echo [2023-09-12T04:07:13.847Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4dc98cf [Pipeline] echo [2023-09-12T04:07:13.896Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-12T04:07:14.014Z] provisioning config files... [2023-09-12T04:07:14.030Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1509@tmp/config11879331358484882423tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T04:07:14.373Z] ---> docker-login.sh [2023-09-12T04:07:14.373Z] nexus3.edgexfoundry.org:10001 [2023-09-12T04:07:14.633Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T04:07:14.633Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T04:07:14.633Z] Configure a credential helper to remove this warning. See [2023-09-12T04:07:14.633Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T04:07:14.633Z] [2023-09-12T04:07:14.633Z] Login Succeeded [2023-09-12T04:07:14.633Z] nexus3.edgexfoundry.org:10002 [2023-09-12T04:07:14.894Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T04:07:14.894Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T04:07:14.894Z] Configure a credential helper to remove this warning. See [2023-09-12T04:07:14.894Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T04:07:14.894Z] [2023-09-12T04:07:14.894Z] Login Succeeded [2023-09-12T04:07:14.894Z] nexus3.edgexfoundry.org:10003 [2023-09-12T04:07:14.894Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T04:07:14.894Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T04:07:14.894Z] Configure a credential helper to remove this warning. See [2023-09-12T04:07:14.894Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T04:07:14.894Z] [2023-09-12T04:07:14.894Z] Login Succeeded [2023-09-12T04:07:14.894Z] nexus3.edgexfoundry.org:10004 [2023-09-12T04:07:14.894Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T04:07:15.154Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T04:07:15.154Z] Configure a credential helper to remove this warning. See [2023-09-12T04:07:15.154Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T04:07:15.154Z] [2023-09-12T04:07:15.154Z] Login Succeeded [2023-09-12T04:07:15.154Z] docker.io [2023-09-12T04:07:15.154Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T04:07:15.416Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T04:07:15.416Z] Configure a credential helper to remove this warning. See [2023-09-12T04:07:15.416Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T04:07:15.416Z] [2023-09-12T04:07:15.416Z] Login Succeeded [2023-09-12T04:07:15.416Z] ---> docker-login.sh ends [Pipeline] } [2023-09-12T04:07:15.449Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-12T04:07:16.071Z] + git rev-list -1 --merges 4dc98cffdfbdd7973e37f94507035e01af69aa7b~1..4dc98cffdfbdd7973e37f94507035e01af69aa7b [Pipeline] echo [2023-09-12T04:07:16.138Z] -----------> git rev-list -1 --merges 4dc98cffdfbdd7973e37f94507035e01af69aa7b~1..4dc98cffdfbdd7973e37f94507035e01af69aa7b 4dc98cffdfbdd7973e37f94507035e01af69aa7b [false] [Pipeline] sh [2023-09-12T04:07:16.457Z] + git log --format=format:%s -1 4dc98cffdfbdd7973e37f94507035e01af69aa7b [Pipeline] echo [2023-09-12T04:07:16.493Z] ========================================================= [2023-09-12T04:07:16.493Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-12T04:07:16.493Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-12T04:07:16.942Z] + git log --format=format:%s -1 4dc98cffdfbdd7973e37f94507035e01af69aa7b [Pipeline] echo [2023-09-12T04:07:16.983Z] [semverPrep] GIT_COMMIT: 4dc98cffdfbdd7973e37f94507035e01af69aa7b, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2023-09-12T04:07:17.013Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-12T04:07:17.407Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-12T04:07:17.407Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-12T04:07:17.407Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-12T04:07:17.407Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-12T04:07:17.407Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-12T04:07:17.407Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-12T04:07:17.407Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T04:07:17.906Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-12T04:07:17.907Z] [2023-09-12T04:07:17.907Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T04:07:18.293Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-12T04:07:18.294Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-12T04:07:18.294Z] b85a868b505f: Pulling fs layer [2023-09-12T04:07:18.294Z] e2be974225ed: Pulling fs layer [2023-09-12T04:07:18.294Z] 339a4e72a1f5: Pulling fs layer [2023-09-12T04:07:18.294Z] 988bab9f4d93: Pulling fs layer [2023-09-12T04:07:18.294Z] 1469e6f7b9e6: Pulling fs layer [2023-09-12T04:07:18.294Z] eaf3925da568: Pulling fs layer [2023-09-12T04:07:18.294Z] bab4dde63d76: Pulling fs layer [2023-09-12T04:07:18.294Z] bde34c3a00c8: Pulling fs layer [2023-09-12T04:07:18.294Z] b352a97aabf1: Pulling fs layer [2023-09-12T04:07:18.294Z] 988bab9f4d93: Waiting [2023-09-12T04:07:18.294Z] 1469e6f7b9e6: Waiting [2023-09-12T04:07:18.294Z] eaf3925da568: Waiting [2023-09-12T04:07:18.294Z] bab4dde63d76: Waiting [2023-09-12T04:07:18.294Z] bde34c3a00c8: Waiting [2023-09-12T04:07:18.294Z] b352a97aabf1: Waiting [2023-09-12T04:07:18.294Z] 4872d77fe225: Pulling fs layer [2023-09-12T04:07:18.294Z] 5851b861e8e6: Pulling fs layer [2023-09-12T04:07:18.294Z] 5851b861e8e6: Waiting [2023-09-12T04:07:18.294Z] 4872d77fe225: Waiting [2023-09-12T04:07:18.294Z] e2be974225ed: Verifying Checksum [2023-09-12T04:07:18.294Z] e2be974225ed: Download complete [2023-09-12T04:07:18.294Z] 988bab9f4d93: Download complete [2023-09-12T04:07:18.553Z] 1469e6f7b9e6: Verifying Checksum [2023-09-12T04:07:18.553Z] 1469e6f7b9e6: Download complete [2023-09-12T04:07:18.553Z] eaf3925da568: Verifying Checksum [2023-09-12T04:07:18.553Z] eaf3925da568: Download complete [2023-09-12T04:07:18.553Z] 339a4e72a1f5: Verifying Checksum [2023-09-12T04:07:18.553Z] 339a4e72a1f5: Download complete [2023-09-12T04:07:18.553Z] bde34c3a00c8: Verifying Checksum [2023-09-12T04:07:18.553Z] bde34c3a00c8: Download complete [2023-09-12T04:07:18.553Z] b352a97aabf1: Verifying Checksum [2023-09-12T04:07:18.553Z] b352a97aabf1: Download complete [2023-09-12T04:07:18.553Z] 4872d77fe225: Verifying Checksum [2023-09-12T04:07:18.553Z] 4872d77fe225: Download complete [2023-09-12T04:07:18.553Z] 5851b861e8e6: Verifying Checksum [2023-09-12T04:07:18.553Z] 5851b861e8e6: Download complete [2023-09-12T04:07:18.553Z] b85a868b505f: Verifying Checksum [2023-09-12T04:07:18.553Z] b85a868b505f: Download complete [2023-09-12T04:07:18.815Z] bab4dde63d76: Verifying Checksum [2023-09-12T04:07:18.815Z] bab4dde63d76: Download complete [2023-09-12T04:07:20.193Z] b85a868b505f: Pull complete [2023-09-12T04:07:20.193Z] e2be974225ed: Pull complete [2023-09-12T04:07:20.788Z] 339a4e72a1f5: Pull complete [2023-09-12T04:07:20.788Z] 988bab9f4d93: Pull complete [2023-09-12T04:07:21.049Z] 1469e6f7b9e6: Pull complete [2023-09-12T04:07:21.049Z] eaf3925da568: Pull complete [2023-09-12T04:07:22.955Z] bab4dde63d76: Pull complete [2023-09-12T04:07:23.215Z] bde34c3a00c8: Pull complete [2023-09-12T04:07:23.215Z] b352a97aabf1: Pull complete [2023-09-12T04:07:23.215Z] 4872d77fe225: Pull complete [2023-09-12T04:07:23.475Z] 5851b861e8e6: Pull complete [2023-09-12T04:07:23.475Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-12T04:07:23.475Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-12T04:07:23.475Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T04:07:23.723Z] prd-ubuntu20.04-docker-8c-8g-5861 does not seem to be running inside a container [2023-09-12T04:07:23.754Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1509 -v /w/workspace/gexfoundry_device-sdk-go_PR-1509:/w/workspace/gexfoundry_device-sdk-go_PR-1509:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1509@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1509@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-12T04:07:26.528Z] $ docker top 4826734adb0f71f78751b3deeb0592f94cb17de2e5abf04edee3b6dadc506546 -eo pid,comm [2023-09-12T04:07:26.586Z] 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-09-12T04:07:26.586Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-12T04:07:26.707Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-12T04:07:26.707Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-12T04:07:26.821Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-12T04:07:26.823Z] $ docker exec 4826734adb0f71f78751b3deeb0592f94cb17de2e5abf04edee3b6dadc506546 ssh-agent [2023-09-12T04:07:26.936Z] SSH_AUTH_SOCK=/tmp/ssh-peHExjD6Brzn/agent.31 [2023-09-12T04:07:26.936Z] SSH_AGENT_PID=37 [2023-09-12T04:07:26.944Z] Running ssh-add (command line suppressed) [2023-09-12T04:07:27.047Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1509@tmp/private_key_2469912210764425062.key (/w/workspace/gexfoundry_device-sdk-go_PR-1509@tmp/private_key_2469912210764425062.key) [2023-09-12T04:07:27.063Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-12T04:07:27.391Z] + git tag --points-at HEAD [Pipeline] } [2023-09-12T04:07:27.419Z] $ docker exec --env ******** --env ******** 4826734adb0f71f78751b3deeb0592f94cb17de2e5abf04edee3b6dadc506546 ssh-agent -k [2023-09-12T04:07:27.536Z] unset SSH_AUTH_SOCK; [2023-09-12T04:07:27.536Z] unset SSH_AGENT_PID; [2023-09-12T04:07:27.536Z] echo Agent pid 37 killed; [2023-09-12T04:07:27.546Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-12T04:07:27.629Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-12T04:07:27.629Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-12T04:07:27.738Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-12T04:07:27.741Z] $ docker exec 4826734adb0f71f78751b3deeb0592f94cb17de2e5abf04edee3b6dadc506546 ssh-agent [2023-09-12T04:07:27.866Z] SSH_AUTH_SOCK=/tmp/ssh-GU9d70IWzt3w/agent.70 [2023-09-12T04:07:27.866Z] SSH_AGENT_PID=76 [2023-09-12T04:07:27.871Z] Running ssh-add (command line suppressed) [2023-09-12T04:07:27.976Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1509@tmp/private_key_17281208067138790502.key (/w/workspace/gexfoundry_device-sdk-go_PR-1509@tmp/private_key_17281208067138790502.key) [2023-09-12T04:07:27.993Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-12T04:07:28.319Z] + git semver init [2023-09-12T04:07:28.579Z] 2023-09-12 04:07:28,506 [run_init] DEBUG init version:0.0.0 force:False [2023-09-12T04:07:28.579Z] 2023-09-12 04:07:28,507 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1509/.semver [2023-09-12T04:07:28.579Z] 2023-09-12 04:07:28,507 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1509/.semver [2023-09-12T04:07:28.579Z] 2023-09-12 04:07:28,508 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1509/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1509, universal_newlines=False, shell=None, istream=None) [2023-09-12T04:07:29.516Z] 2023-09-12 04:07:29,425 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1509/.git/info/exclude [2023-09-12T04:07:29.516Z] 2023-09-12 04:07:29,426 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1509/.semver/PR-1509 with force:False [2023-09-12T04:07:29.516Z] 2023-09-12 04:07:29,426 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1509/.semver/PR-1509 [2023-09-12T04:07:29.516Z] 2023-09-12 04:07:29,430 [execute] INFO git cat-file --batch-check [2023-09-12T04:07:29.516Z] 2023-09-12 04:07:29,430 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1509/.semver, universal_newlines=False, shell=None, istream=) [2023-09-12T04:07:29.516Z] 2023-09-12 04:07:29,438 [execute] INFO git cat-file --batch [2023-09-12T04:07:29.516Z] 2023-09-12 04:07:29,438 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1509/.semver, universal_newlines=False, shell=None, istream=) [2023-09-12T04:07:29.516Z] 2023-09-12 04:07:29,443 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1509/.semver/PR-1509 [2023-09-12T04:07:29.516Z] 0.0.0 [Pipeline] } [2023-09-12T04:07:29.543Z] $ docker exec --env ******** --env ******** 4826734adb0f71f78751b3deeb0592f94cb17de2e5abf04edee3b6dadc506546 ssh-agent -k [2023-09-12T04:07:29.634Z] unset SSH_AUTH_SOCK; [2023-09-12T04:07:29.634Z] unset SSH_AGENT_PID; [2023-09-12T04:07:29.635Z] echo Agent pid 76 killed; [2023-09-12T04:07:29.645Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-12T04:07:30.075Z] + git semver [Pipeline] } [2023-09-12T04:07:30.358Z] $ docker stop --time=1 4826734adb0f71f78751b3deeb0592f94cb17de2e5abf04edee3b6dadc506546 [2023-09-12T04:07:31.701Z] $ docker rm -f --volumes 4826734adb0f71f78751b3deeb0592f94cb17de2e5abf04edee3b6dadc506546 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-12T04:07:32.119Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-12T04:07:32.391Z] Stashed 1 file(s) [Pipeline] echo [2023-09-12T04:07:32.408Z] [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-09-12T04:07:33.023Z] provisioning config files... [2023-09-12T04:07:33.033Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1509@tmp/config6460277437348695639tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T04:07:33.382Z] ---> docker-login.sh [2023-09-12T04:07:33.382Z] nexus3.edgexfoundry.org:10001 [2023-09-12T04:07:33.382Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T04:07:33.382Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T04:07:33.382Z] Configure a credential helper to remove this warning. See [2023-09-12T04:07:33.382Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T04:07:33.382Z] [2023-09-12T04:07:33.382Z] Login Succeeded [2023-09-12T04:07:33.382Z] nexus3.edgexfoundry.org:10002 [2023-09-12T04:07:33.382Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T04:07:33.382Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T04:07:33.382Z] Configure a credential helper to remove this warning. See [2023-09-12T04:07:33.382Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T04:07:33.382Z] [2023-09-12T04:07:33.382Z] Login Succeeded [2023-09-12T04:07:33.382Z] nexus3.edgexfoundry.org:10003 [2023-09-12T04:07:33.641Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T04:07:33.641Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T04:07:33.641Z] Configure a credential helper to remove this warning. See [2023-09-12T04:07:33.641Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T04:07:33.641Z] [2023-09-12T04:07:33.641Z] Login Succeeded [2023-09-12T04:07:33.641Z] nexus3.edgexfoundry.org:10004 [2023-09-12T04:07:33.641Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T04:07:33.641Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T04:07:33.641Z] Configure a credential helper to remove this warning. See [2023-09-12T04:07:33.641Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T04:07:33.641Z] [2023-09-12T04:07:33.641Z] Login Succeeded [2023-09-12T04:07:33.641Z] docker.io [2023-09-12T04:07:33.900Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T04:07:33.900Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T04:07:33.900Z] Configure a credential helper to remove this warning. See [2023-09-12T04:07:33.900Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T04:07:33.900Z] [2023-09-12T04:07:33.900Z] Login Succeeded [2023-09-12T04:07:33.900Z] ---> docker-login.sh ends [Pipeline] } [2023-09-12T04:07:33.948Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-12T04:07:34.154Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-12T04:07:34.191Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-12T04:07:34.225Z] ========================================================= [2023-09-12T04:07:34.225Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-09-12T04:07:34.225Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T04:07:34.696Z] + 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.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-12T04:07:34.696Z] Sending build context to Docker daemon 11.12MB [2023-09-12T04:07:34.696Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-09-12T04:07:34.696Z] Step 2/10 : FROM ${BASE} AS builder [2023-09-12T04:07:34.696Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-12T04:07:34.696Z] 4db1b89c0bd1: Pulling fs layer [2023-09-12T04:07:34.696Z] 6911f1a30b25: Pulling fs layer [2023-09-12T04:07:34.696Z] e194b8c5c2a9: Pulling fs layer [2023-09-12T04:07:34.696Z] 6863d3e3a2b1: Pulling fs layer [2023-09-12T04:07:34.696Z] ec0bb842ea78: Pulling fs layer [2023-09-12T04:07:34.696Z] 40a00589a448: Pulling fs layer [2023-09-12T04:07:34.696Z] 6c08303d61cc: Pulling fs layer [2023-09-12T04:07:34.696Z] 798269fcf238: Pulling fs layer [2023-09-12T04:07:34.696Z] 40a00589a448: Waiting [2023-09-12T04:07:34.696Z] ec0bb842ea78: Waiting [2023-09-12T04:07:34.696Z] 6c08303d61cc: Waiting [2023-09-12T04:07:34.696Z] 6863d3e3a2b1: Waiting [2023-09-12T04:07:34.696Z] 798269fcf238: Waiting [2023-09-12T04:07:34.963Z] 6911f1a30b25: Verifying Checksum [2023-09-12T04:07:34.963Z] 6911f1a30b25: Download complete [2023-09-12T04:07:34.963Z] 6863d3e3a2b1: Verifying Checksum [2023-09-12T04:07:34.963Z] 6863d3e3a2b1: Download complete [2023-09-12T04:07:34.963Z] ec0bb842ea78: Verifying Checksum [2023-09-12T04:07:34.963Z] ec0bb842ea78: Download complete [2023-09-12T04:07:34.963Z] 4db1b89c0bd1: Download complete [2023-09-12T04:07:34.963Z] 40a00589a448: Verifying Checksum [2023-09-12T04:07:34.963Z] 40a00589a448: Download complete [2023-09-12T04:07:34.963Z] 4db1b89c0bd1: Pull complete [2023-09-12T04:07:35.225Z] 6911f1a30b25: Pull complete [2023-09-12T04:07:35.486Z] 798269fcf238: Verifying Checksum [2023-09-12T04:07:35.486Z] 798269fcf238: Download complete [2023-09-12T04:07:35.745Z] e194b8c5c2a9: Verifying Checksum [2023-09-12T04:07:35.745Z] e194b8c5c2a9: Download complete [2023-09-12T04:07:35.745Z] 6c08303d61cc: Verifying Checksum [2023-09-12T04:07:35.745Z] 6c08303d61cc: Download complete [2023-09-12T04:07:39.936Z] e194b8c5c2a9: Pull complete [2023-09-12T04:07:39.936Z] 6863d3e3a2b1: Pull complete [2023-09-12T04:07:39.936Z] ec0bb842ea78: Pull complete [2023-09-12T04:07:39.936Z] 40a00589a448: Pull complete [2023-09-12T04:07:42.470Z] 6c08303d61cc: Pull complete [2023-09-12T04:07:43.405Z] 798269fcf238: Pull complete [2023-09-12T04:07:43.406Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-09-12T04:07:43.406Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-09-12T04:07:43.406Z] ---> ec979cd7f677 [2023-09-12T04:07:43.406Z] Step 3/10 : ARG MAKE=make build [2023-09-12T04:07:47.834Z] Still waiting to schedule task [2023-09-12T04:07:47.835Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-09-12T04:07:51.539Z] ---> Running in 4e890a79a07e [2023-09-12T04:07:51.539Z] Removing intermediate container 4e890a79a07e [2023-09-12T04:07:51.539Z] ---> 5e2f2cee4a80 [2023-09-12T04:07:51.539Z] Step 4/10 : WORKDIR /device-sdk-go [2023-09-12T04:07:51.539Z] ---> Running in 0a770b926d84 [2023-09-12T04:07:51.539Z] Removing intermediate container 0a770b926d84 [2023-09-12T04:07:51.539Z] ---> 6a3534c07175 [2023-09-12T04:07:51.539Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-12T04:07:51.539Z] ---> Running in 08952a7da8cc [2023-09-12T04:07:51.539Z] Removing intermediate container 08952a7da8cc [2023-09-12T04:07:51.539Z] ---> 9d360e175a30 [2023-09-12T04:07:51.539Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-09-12T04:07:51.539Z] ---> Running in 592720df3d0f [2023-09-12T04:07:51.799Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-09-12T04:07:51.799Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-09-12T04:07:52.367Z] OK: 265 MiB in 53 packages [2023-09-12T04:07:52.625Z] Removing intermediate container 592720df3d0f [2023-09-12T04:07:52.625Z] ---> 595e031e013e [2023-09-12T04:07:52.625Z] Step 7/10 : COPY go.mod vendor* ./ [2023-09-12T04:07:52.625Z] ---> bc3661505b26 [2023-09-12T04:07:52.625Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-12T04:07:52.625Z] ---> Running in 2a8a478df855 [2023-09-12T04:08:39.398Z] Removing intermediate container 2a8a478df855 [2023-09-12T04:08:39.398Z] ---> 9bc2cc0f092f [2023-09-12T04:08:39.398Z] Step 9/10 : COPY . . [2023-09-12T04:08:39.398Z] ---> a29f6d33e01e [2023-09-12T04:08:39.398Z] Step 10/10 : RUN ${MAKE} [2023-09-12T04:08:39.398Z] ---> Running in 9ea02cdb9749 [2023-09-12T04:08:39.398Z] noop [2023-09-12T04:08:39.398Z] Removing intermediate container 9ea02cdb9749 [2023-09-12T04:08:39.398Z] ---> bf675f1be16f [2023-09-12T04:08:39.398Z] Successfully built bf675f1be16f [2023-09-12T04:08:39.398Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T04:08:39.842Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-12T04:08:39.842Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T04:08:39.993Z] prd-ubuntu20.04-docker-8c-8g-5861 does not seem to be running inside a container [2023-09-12T04:08:40.024Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1509 -v /w/workspace/gexfoundry_device-sdk-go_PR-1509:/w/workspace/gexfoundry_device-sdk-go_PR-1509:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1509@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1509@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-12T04:08:41.148Z] $ docker top b0132f5075b8f651b99104422c5f34439fb682ca35ed029dea9a7035ea84f1fb -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T04:08:41.543Z] + go version [2023-09-12T04:08:41.543Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-09-12T04:08:41.575Z] $ docker stop --time=1 b0132f5075b8f651b99104422c5f34439fb682ca35ed029dea9a7035ea84f1fb [2023-09-12T04:08:43.232Z] $ docker rm -f --volumes b0132f5075b8f651b99104422c5f34439fb682ca35ed029dea9a7035ea84f1fb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T04:08:43.993Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-12T04:08:43.993Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T04:08:44.150Z] prd-ubuntu20.04-docker-8c-8g-5861 does not seem to be running inside a container [2023-09-12T04:08:44.176Z] $ 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-1509 -v /w/workspace/gexfoundry_device-sdk-go_PR-1509:/w/workspace/gexfoundry_device-sdk-go_PR-1509:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1509@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1509@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-12T04:08:45.063Z] $ docker top 7f95b4a2961f46d93b6d6aa5a2111d8304e272fe9f23b056b10cc91645c0c1a1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T04:08:45.457Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1509 [Pipeline] fileExists [Pipeline] sh [2023-09-12T04:08:45.811Z] + make test [2023-09-12T04:08:45.811Z] go test -race -coverprofile=coverage.out ./... [2023-09-12T04:08:53.927Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-09-12T04:09:08.799Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-09-12T04:09:08.799Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-09-12T04:09:08.799Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-09-12T04:09:08.799Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-09-12T04:09:08.799Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-09-12T04:09:09.056Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.061s coverage: 27.6% of statements [2023-09-12T04:09:09.314Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.071s coverage: 80.2% of statements [2023-09-12T04:09:09.314Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-09-12T04:09:09.314Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-09-12T04:09:09.314Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.074s coverage: 86.0% of statements [2023-09-12T04:09:10.777Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-09-12T04:09:10.777Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.103s coverage: 71.8% of statements [2023-09-12T04:09:10.777Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-09-12T04:09:10.777Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-09-12T04:09:12.230Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-09-12T04:09:13.609Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.097s coverage: 14.1% of statements [2023-09-12T04:09:13.609Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 1.810s coverage: 44.2% of statements [2023-09-12T04:09:13.609Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.097s coverage: 68.5% of statements [2023-09-12T04:09:13.609Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.148s coverage: 89.2% of statements [2023-09-12T04:09:13.609Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.059s coverage: 5.5% of statements [2023-09-12T04:09:15.275Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5862 in /w/workspace/gexfoundry_device-sdk-go_PR-1509 [Pipeline] { [Pipeline] ws [2023-09-12T04:09:15.335Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-09-12T04:09:15.418Z] The recommended git tool is: git [2023-09-12T04:09:20.284Z] using credential edgex-jenkins-ssh [2023-09-12T04:09:20.299Z] Cloning the remote Git repository [2023-09-12T04:09:20.365Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-09-12T04:09:20.465Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-09-12T04:09:20.597Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-09-12T04:09:20.598Z] > git --version # timeout=10 [2023-09-12T04:09:20.620Z] > git --version # 'git version 2.25.1' [2023-09-12T04:09:20.622Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-12T04:09:20.776Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-12T04:09:22.276Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-09-12T04:09:22.304Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-12T04:09:23.671Z] Merging remotes/origin/main commit 88f03503c07c02c451459ab8c2d5aba4061d83b0 into PR head commit 4dc98cffdfbdd7973e37f94507035e01af69aa7b [2023-09-12T04:09:23.945Z] Merge succeeded, producing 4dc98cffdfbdd7973e37f94507035e01af69aa7b [2023-09-12T04:09:23.946Z] Checking out Revision 4dc98cffdfbdd7973e37f94507035e01af69aa7b (PR-1509) [2023-09-12T04:09:23.130Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-09-12T04:09:23.168Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-09-12T04:09:23.169Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-12T04:09:23.184Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1509/head:refs/remotes/origin/PR-1509 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-09-12T04:09:23.691Z] > git config core.sparsecheckout # timeout=10 [2023-09-12T04:09:23.757Z] > git checkout -f 4dc98cffdfbdd7973e37f94507035e01af69aa7b # timeout=10 [2023-09-12T04:09:23.854Z] > git remote # timeout=10 [2023-09-12T04:09:23.871Z] > git config --get remote.origin.url # timeout=10 [2023-09-12T04:09:23.892Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-12T04:09:23.904Z] > git merge 88f03503c07c02c451459ab8c2d5aba4061d83b0 # timeout=10 [2023-09-12T04:09:23.931Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-09-12T04:09:23.953Z] > git config core.sparsecheckout # timeout=10 [2023-09-12T04:09:23.965Z] > git checkout -f 4dc98cffdfbdd7973e37f94507035e01af69aa7b # timeout=10 [2023-09-12T04:09:24.458Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2023-09-12T04:09:24.516Z] > git --version # timeout=10 [2023-09-12T04:09:24.534Z] > git --version # 'git version 2.25.1' [2023-09-12T04:09:24.551Z] fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-12T04:09:25.688Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-12T04:09:25.688Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-12T04:09:25.688Z] Dload Upload Total Spent Left Speed [2023-09-12T04:09:25.688Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 87335 0 --:--:-- --:--:-- --:--:-- 87335 [Pipeline] sh [2023-09-12T04:09:26.246Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-12T04:09:26.596Z] + + sudo jqsudo . += {"seccomp-profile": "/etc/docker/seccomp.json"} tee /etc/docker/daemon.json /etc/docker/daemon.new [2023-09-12T04:09:26.596Z] [2023-09-12T04:09:26.596Z] { [2023-09-12T04:09:26.596Z] "registry-mirrors": [ [2023-09-12T04:09:26.596Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-12T04:09:26.596Z] ], [2023-09-12T04:09:26.596Z] "bip": "10.250.0.254/24", [2023-09-12T04:09:26.596Z] "hosts": [ [2023-09-12T04:09:26.596Z] "tcp://0.0.0.0:5555", [2023-09-12T04:09:26.596Z] "unix:///var/run/docker.sock" [2023-09-12T04:09:26.596Z] ], [2023-09-12T04:09:26.597Z] "mtu": 1458, [2023-09-12T04:09:26.597Z] "selinux-enabled": true, [2023-09-12T04:09:26.597Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-12T04:09:26.597Z] } [Pipeline] sh [2023-09-12T04:09:26.941Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-12T04:09:27.311Z] + sudo service docker restart [2023-09-12T04:09:40.154Z] GO111MODULE=on go vet ./... [2023-09-12T04:09:41.531Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-12T04:09:41.531Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-12T04:09:41.531Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-12T04:09:41.821Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-12T04:09:41.851Z] $ docker stop --time=1 7f95b4a2961f46d93b6d6aa5a2111d8304e272fe9f23b056b10cc91645c0c1a1 [2023-09-12T04:09:45.915Z] $ docker rm -f --volumes 7f95b4a2961f46d93b6d6aa5a2111d8304e272fe9f23b056b10cc91645c0c1a1 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-12T04:09:46.401Z] provisioning config files... [2023-09-12T04:09:46.427Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config15955884398153281273tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T04:09:46.575Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-12T04:09:46.673Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [2023-09-12T04:09:46.810Z] ---> docker-login.sh [2023-09-12T04:09:46.810Z] nexus3.edgexfoundry.org:10001 [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-12T04:09:47.084Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T04:09:47.345Z] + sudo chown -R jenkins:jenkins . [2023-09-12T04:09:47.352Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T04:09:47.352Z] Configure a credential helper to remove this warning. See [2023-09-12T04:09:47.352Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T04:09:47.352Z] [2023-09-12T04:09:47.352Z] Login Succeeded [Pipeline] sh [2023-09-12T04:09:47.622Z] nexus3.edgexfoundry.org:10002 [2023-09-12T04:09:47.622Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T04:09:47.673Z] + ls -al . [2023-09-12T04:09:47.673Z] total 304 [2023-09-12T04:09:47.673Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 12 04:08 . [2023-09-12T04:09:47.673Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 04:07 .. [2023-09-12T04:09:47.673Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 12 04:07 .dockerignore [2023-09-12T04:09:47.673Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 04:07 .git [2023-09-12T04:09:47.673Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 04:07 .github [2023-09-12T04:09:47.673Z] -rw-rw-r-- 1 jenkins jenkins 137 Sep 12 04:07 .gitignore [2023-09-12T04:09:47.673Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 12 04:07 .golangci.yml [2023-09-12T04:09:47.673Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 12 04:07 .semver [2023-09-12T04:09:47.673Z] -rw-rw-r-- 1 jenkins jenkins 44878 Sep 12 04:07 CHANGELOG.md [2023-09-12T04:09:47.673Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 12 04:07 GOVERNANCE.md [2023-09-12T04:09:47.673Z] -rw-rw-r-- 1 jenkins jenkins 885 Sep 12 04:07 Jenkinsfile [2023-09-12T04:09:47.673Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 12 04:07 LICENSE [2023-09-12T04:09:47.673Z] -rw-rw-r-- 1 jenkins jenkins 1842 Sep 12 04:07 Makefile [2023-09-12T04:09:47.673Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 12 04:07 OWNERS.md [2023-09-12T04:09:47.673Z] -rw-rw-r-- 1 jenkins jenkins 4933 Sep 12 04:07 README.md [2023-09-12T04:09:47.673Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 12 04:07 VERSION [2023-09-12T04:09:47.673Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 04:07 bin [2023-09-12T04:09:47.673Z] -rw-r--r-- 1 jenkins jenkins 120470 Sep 12 04:09 coverage.out [2023-09-12T04:09:47.673Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 12 04:07 example [2023-09-12T04:09:47.673Z] -rw-rw-r-- 1 jenkins jenkins 3721 Sep 12 04:07 go.mod [2023-09-12T04:09:47.673Z] -rw-rw-r-- 1 jenkins jenkins 33545 Sep 12 04:07 go.sum [2023-09-12T04:09:47.673Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 12 04:07 internal [2023-09-12T04:09:47.673Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 04:07 openapi [2023-09-12T04:09:47.673Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 12 04:07 pkg [2023-09-12T04:09:47.673Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 04:07 snap [2023-09-12T04:09:47.673Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 12 04:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T04:09:47.892Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T04:09:47.892Z] Configure a credential helper to remove this warning. See [2023-09-12T04:09:47.892Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T04:09:47.892Z] [2023-09-12T04:09:47.892Z] Login Succeeded [2023-09-12T04:09:47.892Z] nexus3.edgexfoundry.org:10003 [2023-09-12T04:09:48.067Z] + 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=4dc98cffdfbdd7973e37f94507035e01af69aa7b --label arch=amd64 --label version=0.0.0 . [2023-09-12T04:09:48.067Z] Sending build context to Docker daemon 11.24MB [2023-09-12T04:09:48.067Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-09-12T04:09:48.067Z] Step 2/23 : FROM ${BASE} AS builder [2023-09-12T04:09:48.067Z] ---> bf675f1be16f [2023-09-12T04:09:48.067Z] Step 3/23 : ARG MAKE=make build [2023-09-12T04:09:48.162Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T04:09:48.162Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T04:09:48.162Z] Configure a credential helper to remove this warning. See [2023-09-12T04:09:48.162Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T04:09:48.162Z] [2023-09-12T04:09:48.162Z] Login Succeeded [2023-09-12T04:09:48.162Z] nexus3.edgexfoundry.org:10004 [2023-09-12T04:09:48.327Z] ---> Running in aa19cdce5247 [2023-09-12T04:09:48.327Z] Removing intermediate container aa19cdce5247 [2023-09-12T04:09:48.327Z] ---> 8efc6d53bce8 [2023-09-12T04:09:48.327Z] Step 4/23 : WORKDIR /device-sdk-go [2023-09-12T04:09:48.327Z] ---> Running in 0e6a8056f9c9 [2023-09-12T04:09:48.433Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T04:09:48.433Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T04:09:48.433Z] Configure a credential helper to remove this warning. See [2023-09-12T04:09:48.433Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T04:09:48.433Z] [2023-09-12T04:09:48.433Z] Login Succeeded [2023-09-12T04:09:48.433Z] docker.io [2023-09-12T04:09:48.586Z] Removing intermediate container 0e6a8056f9c9 [2023-09-12T04:09:48.586Z] ---> 54d0752566ec [2023-09-12T04:09:48.586Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-12T04:09:48.586Z] ---> Running in d8027adc7ebb [2023-09-12T04:09:48.586Z] Removing intermediate container d8027adc7ebb [2023-09-12T04:09:48.586Z] ---> 1a0330df86b9 [2023-09-12T04:09:48.586Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-09-12T04:09:48.586Z] ---> Running in c732862a3b67 [2023-09-12T04:09:48.702Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T04:09:48.971Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T04:09:48.971Z] Configure a credential helper to remove this warning. See [2023-09-12T04:09:48.971Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T04:09:48.971Z] [2023-09-12T04:09:48.971Z] Login Succeeded [2023-09-12T04:09:48.971Z] ---> docker-login.sh ends [Pipeline] } [2023-09-12T04:09:49.001Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [2023-09-12T04:09:49.153Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-09-12T04:09:49.153Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [Pipeline] unstash [Pipeline] echo [2023-09-12T04:09:49.380Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [2023-09-12T04:09:49.412Z] OK: 265 MiB in 53 packages [Pipeline] echo [2023-09-12T04:09:49.418Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-12T04:09:49.479Z] ========================================================= [2023-09-12T04:09:49.479Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-09-12T04:09:49.479Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T04:09:49.979Z] + 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.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-12T04:09:49.982Z] Removing intermediate container c732862a3b67 [2023-09-12T04:09:49.982Z] ---> 6d2ae4fe5f2d [2023-09-12T04:09:49.982Z] Step 7/23 : COPY go.mod vendor* ./ [2023-09-12T04:09:49.982Z] ---> 3538dcb772b2 [2023-09-12T04:09:49.982Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-12T04:09:49.982Z] ---> Running in 5d8316dd0541 [2023-09-12T04:09:50.247Z] Sending build context to Docker daemon 5.939MB [2023-09-12T04:09:50.248Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-09-12T04:09:50.248Z] Step 2/10 : FROM ${BASE} AS builder [2023-09-12T04:09:50.517Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-12T04:09:50.517Z] edb6bdbacee9: Pulling fs layer [2023-09-12T04:09:50.517Z] 5f9638ab2659: Pulling fs layer [2023-09-12T04:09:50.517Z] 8d51d6327a98: Pulling fs layer [2023-09-12T04:09:50.517Z] 8b374f2dd631: Pulling fs layer [2023-09-12T04:09:50.517Z] ec14aa9079de: Pulling fs layer [2023-09-12T04:09:50.517Z] 2f466654f4bb: Pulling fs layer [2023-09-12T04:09:50.517Z] 554e91adad29: Pulling fs layer [2023-09-12T04:09:50.517Z] 8b374f2dd631: Waiting [2023-09-12T04:09:50.517Z] ec14aa9079de: Waiting [2023-09-12T04:09:50.517Z] 2f466654f4bb: Waiting [2023-09-12T04:09:50.517Z] 554e91adad29: Waiting [2023-09-12T04:09:50.517Z] 5f9638ab2659: Verifying Checksum [2023-09-12T04:09:50.517Z] 5f9638ab2659: Download complete [2023-09-12T04:09:50.517Z] 8b374f2dd631: Download complete [2023-09-12T04:09:50.517Z] ec14aa9079de: Verifying Checksum [2023-09-12T04:09:50.517Z] ec14aa9079de: Download complete [2023-09-12T04:09:50.517Z] edb6bdbacee9: Verifying Checksum [2023-09-12T04:09:50.517Z] edb6bdbacee9: Download complete [2023-09-12T04:09:50.560Z] Removing intermediate container 5d8316dd0541 [2023-09-12T04:09:50.560Z] ---> 9a143f1c7af3 [2023-09-12T04:09:50.560Z] Step 9/23 : COPY . . [2023-09-12T04:09:51.487Z] edb6bdbacee9: Pull complete [2023-09-12T04:09:51.506Z] ---> 123256e84988 [2023-09-12T04:09:51.506Z] Step 10/23 : RUN ${MAKE} [2023-09-12T04:09:51.506Z] ---> Running in 72934b98042c [2023-09-12T04:09:51.506Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-09-12T04:09:51.761Z] 554e91adad29: Verifying Checksum [2023-09-12T04:09:51.761Z] 554e91adad29: Download complete [2023-09-12T04:09:53.300Z] 2f466654f4bb: Verifying Checksum [2023-09-12T04:09:53.300Z] 2f466654f4bb: Download complete [2023-09-12T04:09:53.300Z] 8d51d6327a98: Verifying Checksum [2023-09-12T04:09:53.300Z] 8d51d6327a98: Download complete [2023-09-12T04:09:53.889Z] 5f9638ab2659: Pull complete [2023-09-12T04:10:08.891Z] 8d51d6327a98: Pull complete [2023-09-12T04:10:08.891Z] 8b374f2dd631: Pull complete [2023-09-12T04:10:08.891Z] ec14aa9079de: Pull complete [2023-09-12T04:10:14.262Z] 2f466654f4bb: Pull complete [2023-09-12T04:10:16.218Z] 554e91adad29: Pull complete [2023-09-12T04:10:16.218Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-09-12T04:10:16.218Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-09-12T04:10:16.218Z] ---> 1e15ea492957 [2023-09-12T04:10:16.218Z] Step 3/10 : ARG MAKE=make build [2023-09-12T04:10:18.115Z] Removing intermediate container 72934b98042c [2023-09-12T04:10:18.115Z] ---> b970ff392437 [2023-09-12T04:10:18.115Z] Step 11/23 : FROM alpine:3.17 [2023-09-12T04:10:18.115Z] 3.17: Pulling from library/alpine [2023-09-12T04:10:18.115Z] 9398808236ff: Pulling fs layer [2023-09-12T04:10:18.115Z] 9398808236ff: Download complete [2023-09-12T04:10:18.115Z] 9398808236ff: Pull complete [2023-09-12T04:10:18.115Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-09-12T04:10:18.115Z] Status: Downloaded newer image for alpine:3.17 [2023-09-12T04:10:18.115Z] ---> 1e0b8b5322fc [2023-09-12T04:10:18.115Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-09-12T04:10:18.115Z] ---> Running in 921952d03501 [2023-09-12T04:10:18.115Z] Removing intermediate container 921952d03501 [2023-09-12T04:10:18.115Z] ---> b8aaa4ccdda0 [2023-09-12T04:10:18.115Z] Step 13/23 : RUN apk add --update --no-cache [2023-09-12T04:10:18.115Z] ---> Running in cf2a9e42d1f2 [2023-09-12T04:10:18.167Z] ---> Running in b72d400c4f40 [2023-09-12T04:10:18.167Z] Removing intermediate container b72d400c4f40 [2023-09-12T04:10:18.167Z] ---> 948480a64c1d [2023-09-12T04:10:18.167Z] Step 4/10 : WORKDIR /device-sdk-go [2023-09-12T04:10:18.375Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-09-12T04:10:18.434Z] ---> Running in e37b71d6193b [2023-09-12T04:10:18.635Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-09-12T04:10:18.701Z] Removing intermediate container e37b71d6193b [2023-09-12T04:10:18.701Z] ---> fab53247843a [2023-09-12T04:10:18.701Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-12T04:10:18.701Z] ---> Running in 6f31ffad614b [2023-09-12T04:10:18.898Z] OK: 7 MiB in 15 packages [2023-09-12T04:10:18.967Z] Removing intermediate container 6f31ffad614b [2023-09-12T04:10:18.967Z] ---> f5f6a266816d [2023-09-12T04:10:18.967Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-09-12T04:10:18.967Z] ---> Running in 52aa1008226e [2023-09-12T04:10:19.158Z] Removing intermediate container cf2a9e42d1f2 [2023-09-12T04:10:19.158Z] ---> 6daeda6e83b2 [2023-09-12T04:10:19.158Z] Step 14/23 : WORKDIR / [2023-09-12T04:10:19.444Z] ---> Running in abde26ed7b61 [2023-09-12T04:10:19.444Z] Removing intermediate container abde26ed7b61 [2023-09-12T04:10:19.444Z] ---> 18119f24a599 [2023-09-12T04:10:19.444Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-09-12T04:10:20.378Z] ---> c85480463d72 [2023-09-12T04:10:20.378Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-09-12T04:10:20.378Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-09-12T04:10:20.642Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-09-12T04:10:21.342Z] ---> 686a23867949 [2023-09-12T04:10:21.342Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-09-12T04:10:21.599Z] OK: 263 MiB in 53 packages [2023-09-12T04:10:21.602Z] ---> 6c4aeb99bfcb [2023-09-12T04:10:21.602Z] Step 18/23 : EXPOSE 59999 [2023-09-12T04:10:21.602Z] ---> Running in 0b42dd5b4e67 [2023-09-12T04:10:21.879Z] Removing intermediate container 0b42dd5b4e67 [2023-09-12T04:10:21.879Z] ---> 1c1afc9ee8aa [2023-09-12T04:10:21.879Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-09-12T04:10:21.879Z] ---> Running in 2c8625a1e9b6 [2023-09-12T04:10:21.879Z] Removing intermediate container 2c8625a1e9b6 [2023-09-12T04:10:21.879Z] ---> 8bf6a018c80f [2023-09-12T04:10:21.879Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-12T04:10:21.879Z] ---> Running in fc6096893541 [2023-09-12T04:10:22.138Z] Removing intermediate container fc6096893541 [2023-09-12T04:10:22.138Z] ---> c90d7b01564e [2023-09-12T04:10:22.138Z] Step 21/23 : LABEL arch=amd64 [2023-09-12T04:10:22.138Z] ---> Running in ab6199187094 [2023-09-12T04:10:22.138Z] Removing intermediate container ab6199187094 [2023-09-12T04:10:22.138Z] ---> b5389ebac4b1 [2023-09-12T04:10:22.138Z] Step 22/23 : LABEL git_sha=4dc98cffdfbdd7973e37f94507035e01af69aa7b [2023-09-12T04:10:22.138Z] ---> Running in ef7fedced816 [2023-09-12T04:10:22.398Z] Removing intermediate container ef7fedced816 [2023-09-12T04:10:22.399Z] ---> 9507bbce01d5 [2023-09-12T04:10:22.399Z] Step 23/23 : LABEL version=0.0.0 [2023-09-12T04:10:22.399Z] ---> Running in f9ace4bcd683 [2023-09-12T04:10:22.399Z] Removing intermediate container f9ace4bcd683 [2023-09-12T04:10:22.399Z] ---> 2d78521febff [2023-09-12T04:10:22.399Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-12T04:10:22.399Z] Successfully built 2d78521febff [2023-09-12T04:10:22.399Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [2023-09-12T04:10:22.558Z] Removing intermediate container 52aa1008226e [2023-09-12T04:10:22.558Z] ---> d08c3134ff99 [2023-09-12T04:10:22.558Z] Step 7/10 : COPY go.mod vendor* ./ [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 [2023-09-12T04:10:22.827Z] ---> fba5cf48c375 [2023-09-12T04:10:22.827Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T04:10:23.101Z] ---> Running in ef00fc4bcb22 [2023-09-12T04:10:23.338Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-12T04:10:23.338Z] [2023-09-12T04:10:23.338Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T04:10:23.722Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-12T04:10:23.723Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-12T04:10:23.723Z] 5eb5b503b376: Pulling fs layer [2023-09-12T04:10:23.723Z] 5c69ac0246d0: Pulling fs layer [2023-09-12T04:10:23.723Z] ec43610c2a17: Pulling fs layer [2023-09-12T04:10:23.723Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-12T04:10:23.723Z] 33b1e0a273af: Pulling fs layer [2023-09-12T04:10:23.723Z] 5d3b04190fa2: Pulling fs layer [2023-09-12T04:10:23.723Z] 2f39f015ded8: Pulling fs layer [2023-09-12T04:10:23.723Z] 33b1e0a273af: Waiting [2023-09-12T04:10:23.723Z] 2f39f015ded8: Waiting [2023-09-12T04:10:23.723Z] 5d3b04190fa2: Waiting [2023-09-12T04:10:23.723Z] 3a2ae6a8a46f: Waiting [2023-09-12T04:10:23.723Z] 5c69ac0246d0: Verifying Checksum [2023-09-12T04:10:23.723Z] 5c69ac0246d0: Download complete [2023-09-12T04:10:23.723Z] 3a2ae6a8a46f: Download complete [2023-09-12T04:10:23.983Z] 33b1e0a273af: Verifying Checksum [2023-09-12T04:10:23.983Z] 33b1e0a273af: Download complete [2023-09-12T04:10:23.983Z] 5d3b04190fa2: Download complete [2023-09-12T04:10:23.983Z] ec43610c2a17: Verifying Checksum [2023-09-12T04:10:23.983Z] ec43610c2a17: Download complete [2023-09-12T04:10:23.983Z] 5eb5b503b376: Verifying Checksum [2023-09-12T04:10:23.983Z] 5eb5b503b376: Download complete [2023-09-12T04:10:24.918Z] 2f39f015ded8: Download complete [2023-09-12T04:10:25.487Z] 5eb5b503b376: Pull complete [2023-09-12T04:10:26.060Z] 5c69ac0246d0: Pull complete [2023-09-12T04:10:26.996Z] ec43610c2a17: Pull complete [2023-09-12T04:10:26.996Z] 3a2ae6a8a46f: Pull complete [2023-09-12T04:10:27.563Z] 33b1e0a273af: Pull complete [2023-09-12T04:10:27.822Z] 5d3b04190fa2: Pull complete [2023-09-12T04:10:33.101Z] 2f39f015ded8: Pull complete [2023-09-12T04:10:33.360Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-12T04:10:33.619Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-12T04:10:33.620Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T04:10:33.857Z] prd-ubuntu20.04-docker-8c-8g-5861 does not seem to be running inside a container [2023-09-12T04:10:33.890Z] $ 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-1509 -v /w/workspace/gexfoundry_device-sdk-go_PR-1509:/w/workspace/gexfoundry_device-sdk-go_PR-1509:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1509@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1509@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-09-12T04:10:43.541Z] $ docker top c135707a1e880c0aafc2f537b763469561a5880a1e67bedaf9648d42f30c7e19 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T04:10:44.013Z] ---> job-cost.sh [2023-09-12T04:10:44.013Z] lf-activate-venv: SKIPPING [2023-09-12T04:10:44.013Z] INFO: No Stack... [2023-09-12T04:10:44.272Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-12T04:10:44.533Z] INFO: Archiving Costs [Pipeline] sh [2023-09-12T04:10:44.855Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1509/archives/cost.csv [2023-09-12T04:10:44.855Z] + cut -d, -f6 [Pipeline] lock [2023-09-12T04:10:44.895Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1509-1-stack-cost] [2023-09-12T04:10:44.900Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1509-1-stack-cost] did not exist. Created. [2023-09-12T04:10:44.901Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1509-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-12T04:10:45.308Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-12T04:10:45.365Z] Stashed 1 file(s) [Pipeline] } [2023-09-12T04:10:45.389Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1509-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-12T04:10:45.461Z] $ docker stop --time=1 c135707a1e880c0aafc2f537b763469561a5880a1e67bedaf9648d42f30c7e19 [2023-09-12T04:10:47.414Z] $ docker rm -f --volumes c135707a1e880c0aafc2f537b763469561a5880a1e67bedaf9648d42f30c7e19 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-12T04:11:30.964Z] Removing intermediate container ef00fc4bcb22 [2023-09-12T04:11:30.964Z] ---> a9c3545284f8 [2023-09-12T04:11:30.964Z] Step 9/10 : COPY . . [2023-09-12T04:11:30.964Z] ---> d02ffa030bd5 [2023-09-12T04:11:30.964Z] Step 10/10 : RUN ${MAKE} [2023-09-12T04:11:30.964Z] ---> Running in 7983241622fa [2023-09-12T04:11:30.964Z] noop [2023-09-12T04:11:30.964Z] Removing intermediate container 7983241622fa [2023-09-12T04:11:30.964Z] ---> 74816ea5fddb [2023-09-12T04:11:30.964Z] Successfully built 74816ea5fddb [2023-09-12T04:11:30.964Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T04:11:31.444Z] + docker inspect -f . ci-base-image-arm64 [2023-09-12T04:11:31.444Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T04:11:31.715Z] prd-ubuntu20.04-docker-arm64-4c-16g-5862 does not seem to be running inside a container [2023-09-12T04:11:31.776Z] $ 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 ******** ci-base-image-arm64 cat [2023-09-12T04:11:32.943Z] $ docker top 8b5d7637641b0ecff3a54b6ae70646e58ae3786d3a41d02aad6984a1f2a2f85f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T04:11:33.802Z] + go version [2023-09-12T04:11:33.802Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-09-12T04:11:33.841Z] $ docker stop --time=1 8b5d7637641b0ecff3a54b6ae70646e58ae3786d3a41d02aad6984a1f2a2f85f [2023-09-12T04:11:35.396Z] $ docker rm -f --volumes 8b5d7637641b0ecff3a54b6ae70646e58ae3786d3a41d02aad6984a1f2a2f85f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T04:11:36.264Z] + docker inspect -f . ci-base-image-arm64 [2023-09-12T04:11:36.264Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T04:11:36.520Z] prd-ubuntu20.04-docker-arm64-4c-16g-5862 does not seem to be running inside a container [2023-09-12T04:11:36.586Z] $ 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 ******** ci-base-image-arm64 cat [2023-09-12T04:11:37.727Z] $ docker top 6f98a6e47a442a3793c41e6883f2c595fe9eeefc169e3ca1aa5fcf42417ac68a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T04:11:38.263Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-09-12T04:11:38.645Z] + make test [2023-09-12T04:11:38.646Z] go test -race -coverprofile=coverage.out ./... [2023-09-12T04:12:17.504Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-09-12T04:14:24.183Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-09-12T04:14:24.183Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-09-12T04:14:24.183Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-09-12T04:14:24.183Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-09-12T04:14:24.183Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-09-12T04:14:28.428Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.224s coverage: 27.6% of statements [2023-09-12T04:14:29.829Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.270s coverage: 80.2% of statements [2023-09-12T04:14:39.886Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-09-12T04:14:39.886Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-09-12T04:14:39.886Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.365s coverage: 86.0% of statements [2023-09-12T04:14:44.160Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-09-12T04:14:44.741Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.534s coverage: 71.8% of statements [2023-09-12T04:14:48.091Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.319s coverage: 14.1% of statements [2023-09-12T04:14:48.091Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.706s coverage: 44.2% of statements [2023-09-12T04:14:50.028Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-09-12T04:14:50.028Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-09-12T04:14:50.612Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.461s coverage: 68.5% of statements [2023-09-12T04:14:52.021Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.443s coverage: 89.2% of statements [2023-09-12T04:14:55.357Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-09-12T04:14:55.357Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.260s coverage: 5.5% of statements [2023-09-12T04:14:56.315Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-12T04:14:56.315Z] GO111MODULE=on go vet ./... [2023-09-12T04:17:18.003Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-12T04:17:18.003Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-12T04:17:18.003Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-12T04:17:18.052Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-12T04:17:18.086Z] $ docker stop --time=1 6f98a6e47a442a3793c41e6883f2c595fe9eeefc169e3ca1aa5fcf42417ac68a [2023-09-12T04:17:19.928Z] $ docker rm -f --volumes 6f98a6e47a442a3793c41e6883f2c595fe9eeefc169e3ca1aa5fcf42417ac68a [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-12T04:17:21.565Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-12T04:17:21.602Z] Warning: overwriting stash ‘coverage-report’ [2023-09-12T04:17:22.121Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-12T04:17:22.734Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-12T04:17:23.068Z] + ls -al . [2023-09-12T04:17:23.068Z] total 300 [2023-09-12T04:17:23.068Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 12 04:11 . [2023-09-12T04:17:23.068Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 04:09 .. [2023-09-12T04:17:23.068Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 12 04:09 .dockerignore [2023-09-12T04:17:23.068Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 04:09 .git [2023-09-12T04:17:23.068Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 04:09 .github [2023-09-12T04:17:23.068Z] -rw-rw-r-- 1 jenkins jenkins 137 Sep 12 04:09 .gitignore [2023-09-12T04:17:23.068Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 12 04:09 .golangci.yml [2023-09-12T04:17:23.068Z] -rw-rw-r-- 1 jenkins jenkins 44878 Sep 12 04:09 CHANGELOG.md [2023-09-12T04:17:23.068Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 12 04:09 GOVERNANCE.md [2023-09-12T04:17:23.068Z] -rw-rw-r-- 1 jenkins jenkins 885 Sep 12 04:09 Jenkinsfile [2023-09-12T04:17:23.068Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 12 04:09 LICENSE [2023-09-12T04:17:23.068Z] -rw-rw-r-- 1 jenkins jenkins 1842 Sep 12 04:09 Makefile [2023-09-12T04:17:23.068Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 12 04:09 OWNERS.md [2023-09-12T04:17:23.068Z] -rw-rw-r-- 1 jenkins jenkins 4933 Sep 12 04:09 README.md [2023-09-12T04:17:23.068Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 12 04:07 VERSION [2023-09-12T04:17:23.068Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 04:09 bin [2023-09-12T04:17:23.068Z] -rw-r--r-- 1 jenkins jenkins 120468 Sep 12 04:14 coverage.out [2023-09-12T04:17:23.068Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 12 04:09 example [2023-09-12T04:17:23.068Z] -rw-rw-r-- 1 jenkins jenkins 3721 Sep 12 04:09 go.mod [2023-09-12T04:17:23.068Z] -rw-rw-r-- 1 jenkins jenkins 33545 Sep 12 04:09 go.sum [2023-09-12T04:17:23.068Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 12 04:09 internal [2023-09-12T04:17:23.068Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 04:09 openapi [2023-09-12T04:17:23.068Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 12 04:09 pkg [2023-09-12T04:17:23.068Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 04:09 snap [2023-09-12T04:17:23.068Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 12 04:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T04:17:23.483Z] + 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=4dc98cffdfbdd7973e37f94507035e01af69aa7b --label arch=arm64 --label version=0.0.0 . [2023-09-12T04:17:23.750Z] Sending build context to Docker daemon 6.06MB [2023-09-12T04:17:23.750Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-09-12T04:17:23.750Z] Step 2/23 : FROM ${BASE} AS builder [2023-09-12T04:17:23.750Z] ---> 74816ea5fddb [2023-09-12T04:17:23.750Z] Step 3/23 : ARG MAKE=make build [2023-09-12T04:17:24.017Z] ---> Running in 5a1c797dcd7f [2023-09-12T04:17:24.282Z] Removing intermediate container 5a1c797dcd7f [2023-09-12T04:17:24.282Z] ---> e19d534462ba [2023-09-12T04:17:24.282Z] Step 4/23 : WORKDIR /device-sdk-go [2023-09-12T04:17:24.282Z] ---> Running in e1b112273699 [2023-09-12T04:17:24.548Z] Removing intermediate container e1b112273699 [2023-09-12T04:17:24.548Z] ---> a7d581780172 [2023-09-12T04:17:24.548Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-12T04:17:24.815Z] ---> Running in 79dcddda1c4d [2023-09-12T04:17:24.815Z] Removing intermediate container 79dcddda1c4d [2023-09-12T04:17:24.815Z] ---> 8fde0842e7ae [2023-09-12T04:17:24.815Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-09-12T04:17:25.085Z] ---> Running in eda4a362057f [2023-09-12T04:17:26.041Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-09-12T04:17:26.620Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-09-12T04:17:27.669Z] OK: 263 MiB in 53 packages [2023-09-12T04:17:29.649Z] Removing intermediate container eda4a362057f [2023-09-12T04:17:29.649Z] ---> 8bec7b4d8f16 [2023-09-12T04:17:29.649Z] Step 7/23 : COPY go.mod vendor* ./ [2023-09-12T04:17:29.915Z] ---> 01ebf3e621e1 [2023-09-12T04:17:29.915Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-12T04:17:29.915Z] ---> Running in 7910120c2279 [2023-09-12T04:17:31.852Z] Removing intermediate container 7910120c2279 [2023-09-12T04:17:31.852Z] ---> fa5d024ad49f [2023-09-12T04:17:31.852Z] Step 9/23 : COPY . . [2023-09-12T04:17:33.260Z] ---> 053ce639e04f [2023-09-12T04:17:33.260Z] Step 10/23 : RUN ${MAKE} [2023-09-12T04:17:33.260Z] ---> Running in 335df92ee9db [2023-09-12T04:17:33.938Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-09-12T04:19:40.659Z] Removing intermediate container 335df92ee9db [2023-09-12T04:19:40.659Z] ---> 0d01098f9839 [2023-09-12T04:19:40.659Z] Step 11/23 : FROM alpine:3.17 [2023-09-12T04:19:40.659Z] 3.17: Pulling from library/alpine [2023-09-12T04:19:40.659Z] 4060ece20d7a: Pulling fs layer [2023-09-12T04:19:40.927Z] 4060ece20d7a: Verifying Checksum [2023-09-12T04:19:40.927Z] 4060ece20d7a: Download complete [2023-09-12T04:19:41.885Z] 4060ece20d7a: Pull complete [2023-09-12T04:19:41.885Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-09-12T04:19:41.885Z] Status: Downloaded newer image for alpine:3.17 [2023-09-12T04:19:41.885Z] ---> 8650cd65339b [2023-09-12T04:19:41.885Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-09-12T04:19:42.156Z] ---> Running in 867dc6ee1d47 [2023-09-12T04:19:42.423Z] Removing intermediate container 867dc6ee1d47 [2023-09-12T04:19:42.423Z] ---> 3edb321768fa [2023-09-12T04:19:42.423Z] Step 13/23 : RUN apk add --update --no-cache [2023-09-12T04:19:42.423Z] ---> Running in c508c24f4e61 [2023-09-12T04:19:43.381Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-09-12T04:19:43.961Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-09-12T04:19:44.918Z] OK: 7 MiB in 15 packages [2023-09-12T04:19:45.504Z] Removing intermediate container c508c24f4e61 [2023-09-12T04:19:45.504Z] ---> 3ddf836b02ce [2023-09-12T04:19:45.504Z] Step 14/23 : WORKDIR / [2023-09-12T04:19:45.776Z] ---> Running in 6c2b2c9a8e04 [2023-09-12T04:19:46.043Z] Removing intermediate container 6c2b2c9a8e04 [2023-09-12T04:19:46.043Z] ---> 17d94f9bb525 [2023-09-12T04:19:46.043Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-09-12T04:19:46.309Z] ---> 0693f67651fd [2023-09-12T04:19:46.309Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-09-12T04:19:48.249Z] ---> 983e8de7ab3d [2023-09-12T04:19:48.249Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-09-12T04:19:48.517Z] ---> 67d1ac22e1f6 [2023-09-12T04:19:48.517Z] Step 18/23 : EXPOSE 59999 [2023-09-12T04:19:48.517Z] ---> Running in 17e1866b0bf6 [2023-09-12T04:19:48.786Z] Removing intermediate container 17e1866b0bf6 [2023-09-12T04:19:48.786Z] ---> 8a0746d82666 [2023-09-12T04:19:48.786Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-09-12T04:19:48.786Z] ---> Running in c046bf47d9c5 [2023-09-12T04:19:49.054Z] Removing intermediate container c046bf47d9c5 [2023-09-12T04:19:49.054Z] ---> fcd0ba414dcf [2023-09-12T04:19:49.054Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-12T04:19:49.054Z] ---> Running in a5d96afc89e4 [2023-09-12T04:19:49.321Z] Removing intermediate container a5d96afc89e4 [2023-09-12T04:19:49.321Z] ---> a50258ac8533 [2023-09-12T04:19:49.321Z] Step 21/23 : LABEL arch=arm64 [2023-09-12T04:19:49.597Z] ---> Running in b4074f179f1d [2023-09-12T04:19:49.597Z] Removing intermediate container b4074f179f1d [2023-09-12T04:19:49.597Z] ---> dc99a241297c [2023-09-12T04:19:49.597Z] Step 22/23 : LABEL git_sha=4dc98cffdfbdd7973e37f94507035e01af69aa7b [2023-09-12T04:19:49.867Z] ---> Running in 10ca57bdb890 [2023-09-12T04:19:50.134Z] Removing intermediate container 10ca57bdb890 [2023-09-12T04:19:50.134Z] ---> ca5d504e8bf3 [2023-09-12T04:19:50.134Z] Step 23/23 : LABEL version=0.0.0 [2023-09-12T04:19:50.134Z] ---> Running in 9beab2da9a16 [2023-09-12T04:19:50.400Z] Removing intermediate container 9beab2da9a16 [2023-09-12T04:19:50.400Z] ---> a357d440a570 [2023-09-12T04:19:50.400Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-12T04:19:50.400Z] Successfully built a357d440a570 [2023-09-12T04:19:50.400Z] 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-09-12T04:19:51.218Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-12T04:19:51.218Z] [2023-09-12T04:19:51.218Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T04:19:51.624Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-12T04:19:51.624Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-12T04:19:51.624Z] 8998bd30e6a1: Pulling fs layer [2023-09-12T04:19:51.624Z] 04944245beec: Pulling fs layer [2023-09-12T04:19:51.624Z] 699f458cf7ca: Pulling fs layer [2023-09-12T04:19:51.624Z] 765212b225bb: Pulling fs layer [2023-09-12T04:19:51.624Z] f23df028b6ca: Pulling fs layer [2023-09-12T04:19:51.624Z] d65c8cfc05b1: Pulling fs layer [2023-09-12T04:19:51.624Z] 2437ff75d9bd: Pulling fs layer [2023-09-12T04:19:51.624Z] 765212b225bb: Waiting [2023-09-12T04:19:51.624Z] f23df028b6ca: Waiting [2023-09-12T04:19:51.624Z] d65c8cfc05b1: Waiting [2023-09-12T04:19:51.624Z] 2437ff75d9bd: Waiting [2023-09-12T04:19:51.892Z] 04944245beec: Verifying Checksum [2023-09-12T04:19:51.892Z] 04944245beec: Download complete [2023-09-12T04:19:51.892Z] 765212b225bb: Verifying Checksum [2023-09-12T04:19:51.892Z] 765212b225bb: Download complete [2023-09-12T04:19:51.892Z] f23df028b6ca: Verifying Checksum [2023-09-12T04:19:51.892Z] f23df028b6ca: Download complete [2023-09-12T04:19:51.892Z] d65c8cfc05b1: Download complete [2023-09-12T04:19:51.892Z] 699f458cf7ca: Verifying Checksum [2023-09-12T04:19:51.892Z] 699f458cf7ca: Download complete [2023-09-12T04:19:52.475Z] 8998bd30e6a1: Verifying Checksum [2023-09-12T04:19:52.475Z] 8998bd30e6a1: Download complete [2023-09-12T04:19:54.419Z] 2437ff75d9bd: Verifying Checksum [2023-09-12T04:19:54.419Z] 2437ff75d9bd: Download complete [2023-09-12T04:19:56.363Z] 8998bd30e6a1: Pull complete [2023-09-12T04:19:56.630Z] 04944245beec: Pull complete [2023-09-12T04:19:58.046Z] 699f458cf7ca: Pull complete [2023-09-12T04:19:58.312Z] 765212b225bb: Pull complete [2023-09-12T04:19:58.898Z] f23df028b6ca: Pull complete [2023-09-12T04:19:59.164Z] d65c8cfc05b1: Pull complete [2023-09-12T04:20:14.148Z] 2437ff75d9bd: Pull complete [2023-09-12T04:20:14.148Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-12T04:20:14.148Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-12T04:20:14.148Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T04:20:14.457Z] prd-ubuntu20.04-docker-arm64-4c-16g-5862 does not seem to be running inside a container [2023-09-12T04:20:14.519Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-09-12T04:20:16.849Z] $ docker top 68289b825c7de203e81598356758d227a3914784216e7c5ccda47c2f144e4477 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T04:20:17.397Z] ---> job-cost.sh [2023-09-12T04:20:17.661Z] lf-activate-venv: SKIPPING [2023-09-12T04:20:17.661Z] INFO: No Stack... [2023-09-12T04:20:18.238Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-12T04:20:18.815Z] INFO: Archiving Costs [Pipeline] sh [2023-09-12T04:20:19.148Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2023-09-12T04:20:19.148Z] + cut -d, -f6 [Pipeline] lock [2023-09-12T04:20:19.220Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1509-1-stack-cost] [2023-09-12T04:20:19.224Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1509-1-stack-cost] did not exist. Created. [2023-09-12T04:20:19.224Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1509-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-12T04:20:19.626Z] /w/workspace/device-sdk-go/1@tmp/durable-fcb8bcfa/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-12T04:20:19.966Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-12T04:20:20.001Z] Warning: overwriting stash ‘stack-cost’ [2023-09-12T04:20:20.072Z] Stashed 1 file(s) [Pipeline] } [2023-09-12T04:20:20.087Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1509-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-12T04:20:20.170Z] $ docker stop --time=1 68289b825c7de203e81598356758d227a3914784216e7c5ccda47c2f144e4477 [2023-09-12T04:20:21.645Z] $ docker rm -f --volumes 68289b825c7de203e81598356758d227a3914784216e7c5ccda47c2f144e4477 [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-09-12T04:20:22.655Z] provisioning config files... [2023-09-12T04:20:22.663Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1509@tmp/config784825697277076037tmp [Pipeline] { [Pipeline] sh [2023-09-12T04:20:23.004Z] + set +x [2023-09-12T04:20:23.004Z] + bash -s -- [2023-09-12T04:20:23.004Z] + curl -s https://codecov.io/bash [2023-09-12T04:20:23.263Z] [2023-09-12T04:20:23.263Z] _____ _ [2023-09-12T04:20:23.263Z] / ____| | | [2023-09-12T04:20:23.263Z] | | ___ __| | ___ ___ _____ __ [2023-09-12T04:20:23.263Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-12T04:20:23.263Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-12T04:20:23.263Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-12T04:20:23.263Z] Bash-1.0.6 [2023-09-12T04:20:23.263Z] [2023-09-12T04:20:23.263Z] [2023-09-12T04:20:23.263Z] ==> git version 2.25.1 found [2023-09-12T04:20:23.263Z] ==> 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-09-12T04:20:23.263Z] Release-Date: 2020-01-08 [2023-09-12T04:20:23.263Z] 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-09-12T04:20:23.263Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-12T04:20:23.263Z] ==> Jenkins CI detected. [2023-09-12T04:20:23.263Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1509 [2023-09-12T04:20:23.263Z] project root: . [2023-09-12T04:20:23.263Z] --> token set from env [2023-09-12T04:20:23.263Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-12T04:20:23.263Z] ==> Running gcov in . (disable via -X gcov) [2023-09-12T04:20:23.263Z] ==> Python coveragepy not found [2023-09-12T04:20:23.263Z] ==> Searching for coverage reports in: [2023-09-12T04:20:23.263Z] + . [2023-09-12T04:20:23.263Z] -> Found 1 reports [2023-09-12T04:20:23.263Z] ==> Detecting git/mercurial file structure [2023-09-12T04:20:23.263Z] ==> Reading reports [2023-09-12T04:20:23.263Z] + ./coverage.out bytes=120468 [2023-09-12T04:20:23.263Z] ==> Appending adjustments [2023-09-12T04:20:23.263Z] https://docs.codecov.io/docs/fixing-reports [2023-09-12T04:20:23.832Z] + Found adjustments [2023-09-12T04:20:23.832Z] ==> Gzipping contents [2023-09-12T04:20:23.832Z] 20K /tmp/codecov.ZPZUmU.gz [2023-09-12T04:20:23.832Z] ==> Uploading reports [2023-09-12T04:20:23.832Z] url: https://codecov.io [2023-09-12T04:20:23.832Z] query: branch=PR-1509&commit=4dc98cffdfbdd7973e37f94507035e01af69aa7b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1509%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1509&job=&cmd_args= [2023-09-12T04:20:23.832Z] -> Pinging Codecov [2023-09-12T04:20:23.832Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1509&commit=4dc98cffdfbdd7973e37f94507035e01af69aa7b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1509%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1509&job=&cmd_args= [2023-09-12T04:20:23.832Z] -> Uploading to [2023-09-12T04:20:23.832Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-12/7E55EF52A471D76F132DFD9A03CDDE97/4dc98cffdfbdd7973e37f94507035e01af69aa7b/b3229f1a-0bc9-4060-bb33-3ee00a6ece0a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230912%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230912T042023Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=349b8717a2b37a187033cf4f8eeb183f715d09415eb01b4566f9519557994bf5 [2023-09-12T04:20:23.832Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-12T04:20:23.832Z] Dload Upload Total Spent Left Speed [2023-09-12T04:20:24.095Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16420 0 0 100 16420 0 71391 --:--:-- --:--:-- --:--:-- 71391 [2023-09-12T04:20:24.095Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/4dc98cffdfbdd7973e37f94507035e01af69aa7b [Pipeline] } [2023-09-12T04:20:24.125Z] 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-09-12T04:20:25.965Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1509/archives ] [2023-09-12T04:20:25.965Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1509/archives [2023-09-12T04:20:25.965Z] total 16 [2023-09-12T04:20:25.965Z] drwxr-xr-x 3 root root 4096 Sep 12 04:10 . [2023-09-12T04:20:25.965Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 12 04:10 .. [2023-09-12T04:20:25.965Z] drwxr-xr-x 2 root root 4096 Sep 12 04:10 cost [2023-09-12T04:20:25.965Z] -rw-r--r-- 1 root root 86 Sep 12 04:10 cost.csv [2023-09-12T04:20:25.965Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1509/archives [2023-09-12T04:20:25.965Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1509/archives [2023-09-12T04:20:25.965Z] total 16 [2023-09-12T04:20:25.965Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 12 04:10 . [2023-09-12T04:20:25.965Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 12 04:10 .. [2023-09-12T04:20:25.965Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 12 04:10 cost [2023-09-12T04:20:25.965Z] -rw-r--r-- 1 jenkins jenkins 86 Sep 12 04:10 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-12T04:20:26.290Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T04:20:27.193Z] ---> package-listing.sh [2023-09-12T04:20:27.193Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-12T04:20:27.193Z] ++ facter osfamily [2023-09-12T04:20:27.456Z] + OS_FAMILY=debian [2023-09-12T04:20:27.456Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1509 [2023-09-12T04:20:27.456Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-12T04:20:27.456Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-12T04:20:27.456Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-12T04:20:27.456Z] + PACKAGES=/tmp/packages_start.txt [2023-09-12T04:20:27.456Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1509 ']' [2023-09-12T04:20:27.456Z] + PACKAGES=/tmp/packages_end.txt [2023-09-12T04:20:27.456Z] + case "${OS_FAMILY}" in [2023-09-12T04:20:27.456Z] + dpkg -l [2023-09-12T04:20:27.456Z] + grep '^ii' [2023-09-12T04:20:27.456Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-12T04:20:27.456Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-12T04:20:27.456Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-12T04:20:27.456Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1509 ']' [2023-09-12T04:20:27.456Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1509/archives/ [2023-09-12T04:20:27.456Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1509/archives/ [Pipeline] echo [2023-09-12T04:20:27.486Z] 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-1509/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-09-12T04:20:27.776Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T04:20:28.395Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-12T04:20:28.395Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T04:20:28.537Z] prd-ubuntu20.04-docker-8c-8g-5861 does not seem to be running inside a container [2023-09-12T04:20:28.557Z] $ 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-1509/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-1509 -v /w/workspace/gexfoundry_device-sdk-go_PR-1509:/w/workspace/gexfoundry_device-sdk-go_PR-1509:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1509@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1509@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-12T04:20:28.791Z] $ docker top 76ddf6b496edf521d7ac401a7637d449be38ba275d09ebeb9641699e955fab63 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T04:20:29.194Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-12T04:20:29.503Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-12T04:20:29.813Z] + ls /var/log/sa-host [2023-09-12T04:20:29.813Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-12T04:20:30.038Z] provisioning config files... [2023-09-12T04:20:30.050Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1509@tmp/config12782241746809507447tmp [Pipeline] { [Pipeline] echo [2023-09-12T04:20:30.109Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T04:20:30.425Z] ---> create-netrc.sh [Pipeline] } [2023-09-12T04:20:30.456Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-12T04:20:30.892Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-12T04:20:30.920Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T04:20:31.234Z] ---> sudo-logs.sh [2023-09-12T04:20:31.234Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-12T04:20:31.318Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T04:20:31.635Z] ---> job-cost.sh [2023-09-12T04:20:31.635Z] lf-activate-venv: SKIPPING [2023-09-12T04:20:31.635Z] DEBUG: total: 0.2199999988079071 [2023-09-12T04:20:31.635Z] INFO: Retrieving Stack Cost... [2023-09-12T04:20:31.896Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-12T04:20:32.465Z] INFO: Archiving Costs [Pipeline] echo [2023-09-12T04:20:32.501Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T04:20:32.817Z] ---> logs-deploy.sh [2023-09-12T04:20:32.817Z] lf-activate-venv: SKIPPING [2023-09-12T04:20:32.817Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1509/1 [2023-09-12T04:20:32.817Z] INFO: archiving workspace using pattern(s): [2023-09-12T04:20:33.761Z] Archives upload complete. [2023-09-12T04:20:33.761Z] INFO: archiving logs to Nexus