Pull request #1422 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 164f5e73a9288ec5d56b4327ea6c165948a812db+c527cc18e8dc5ba9098cf404cd39d1fac2754cd9 (335add2153ea5482b97ce0cfcbd2bcc35e5f805c) 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-ssh10140680460093274405.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh15936217929516906608.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-1422/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-1422/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13679734784522415294.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-1422/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1580836067507768939.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh13724362867591070597.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-1422/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-1422/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13149735297465803595.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-8685 in /w/workspace/gexfoundry_device-sdk-go_PR-1422 [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-1422 # 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/1422/head:refs/remotes/origin/PR-1422 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c527cc18e8dc5ba9098cf404cd39d1fac2754cd9 into PR head commit 164f5e73a9288ec5d56b4327ea6c165948a812db Merge succeeded, producing 164f5e73a9288ec5d56b4327ea6c165948a812db Checking out Revision 164f5e73a9288ec5d56b4327ea6c165948a812db (PR-1422) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-17T04:59:25.114Z] Timeout set to expire in 6 hr 0 min [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 164f5e73a9288ec5d56b4327ea6c165948a812db # 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 c527cc18e8dc5ba9098cf404cd39d1fac2754cd9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 164f5e73a9288ec5d56b4327ea6c165948a812db # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-17T04:59:25.304Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-17T04:59:25.402Z] ========================================================= [2023-04-17T04:59:25.403Z] EdgeX Global Pipelines Version Info [2023-04-17T04:59:25.403Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-17T04:59:26.162Z] ------------------- [2023-04-17T04:59:26.162Z] stable info: [2023-04-17T04:59:26.162Z] ------------------- [2023-04-17T04:59:26.162Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-04-17T04:59:26.162Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-17T04:59:26.162Z] Message: update stable to v1.0.248 [2023-04-17T04:59:26.733Z] ------------------- [2023-04-17T04:59:26.733Z] experimental info: [2023-04-17T04:59:26.733Z] ------------------- [2023-04-17T04:59:26.733Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-17T04:59:26.733Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-17T04:59:26.733Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-17T04:59:27.067Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-04-17T04:59:27.111Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-04-17T04:59:27.152Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-17T04:59:27.194Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-17T04:59:27.233Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-17T04:59:27.280Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-17T04:59:27.324Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-17T04:59:27.365Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-04-17T04:59:27.409Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-17T04:59:27.447Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-17T04:59:27.486Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-17T04:59:27.526Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-04-17T04:59:27.564Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-17T04:59:27.605Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-17T04:59:27.644Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-17T04:59:27.682Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-04-17T04:59:27.724Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-17T04:59:27.760Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-17T04:59:27.801Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-17T04:59:27.842Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-17T04:59:27.891Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-04-17T04:59:27.934Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-04-17T04:59:27.976Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-17T04:59:28.015Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-17T04:59:28.061Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-17T04:59:28.104Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-17T04:59:28.146Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-17T04:59:28.183Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1422 [Pipeline] echo [2023-04-17T04:59:28.221Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1422 [Pipeline] echo [2023-04-17T04:59:28.257Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1422 [Pipeline] echo [2023-04-17T04:59:28.299Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 164f5e73a9288ec5d56b4327ea6c165948a812db [Pipeline] echo [2023-04-17T04:59:28.338Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 164f5e7 [Pipeline] echo [2023-04-17T04:59:28.382Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-17T04:59:28.497Z] provisioning config files... [2023-04-17T04:59:28.533Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1422@tmp/config299237833312963902tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-17T04:59:28.875Z] ---> docker-login.sh [2023-04-17T04:59:28.875Z] nexus3.edgexfoundry.org:10001 [2023-04-17T04:59:29.136Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T04:59:29.136Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T04:59:29.136Z] Configure a credential helper to remove this warning. See [2023-04-17T04:59:29.136Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T04:59:29.136Z] [2023-04-17T04:59:29.136Z] Login Succeeded [2023-04-17T04:59:29.136Z] nexus3.edgexfoundry.org:10002 [2023-04-17T04:59:29.399Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T04:59:29.399Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T04:59:29.399Z] Configure a credential helper to remove this warning. See [2023-04-17T04:59:29.399Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T04:59:29.399Z] [2023-04-17T04:59:29.399Z] Login Succeeded [2023-04-17T04:59:29.399Z] nexus3.edgexfoundry.org:10003 [2023-04-17T04:59:29.399Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T04:59:29.399Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T04:59:29.399Z] Configure a credential helper to remove this warning. See [2023-04-17T04:59:29.399Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T04:59:29.399Z] [2023-04-17T04:59:29.399Z] Login Succeeded [2023-04-17T04:59:29.399Z] nexus3.edgexfoundry.org:10004 [2023-04-17T04:59:29.661Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T04:59:29.661Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T04:59:29.661Z] Configure a credential helper to remove this warning. See [2023-04-17T04:59:29.661Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T04:59:29.661Z] [2023-04-17T04:59:29.661Z] Login Succeeded [2023-04-17T04:59:29.661Z] docker.io [2023-04-17T04:59:29.661Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T04:59:29.921Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T04:59:29.921Z] Configure a credential helper to remove this warning. See [2023-04-17T04:59:29.921Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T04:59:29.921Z] [2023-04-17T04:59:29.921Z] Login Succeeded [2023-04-17T04:59:29.921Z] ---> docker-login.sh ends [Pipeline] } [2023-04-17T04:59:29.948Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-17T04:59:30.594Z] + git rev-list -1 --merges 164f5e73a9288ec5d56b4327ea6c165948a812db~1..164f5e73a9288ec5d56b4327ea6c165948a812db [Pipeline] echo [2023-04-17T04:59:30.658Z] -----------> git rev-list -1 --merges 164f5e73a9288ec5d56b4327ea6c165948a812db~1..164f5e73a9288ec5d56b4327ea6c165948a812db 164f5e73a9288ec5d56b4327ea6c165948a812db [false] [Pipeline] sh [2023-04-17T04:59:30.965Z] + git log --format=format:%s -1 164f5e73a9288ec5d56b4327ea6c165948a812db [Pipeline] echo [2023-04-17T04:59:30.997Z] ========================================================= [2023-04-17T04:59:30.997Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-17T04:59:30.997Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-17T04:59:31.413Z] + git log --format=format:%s -1 164f5e73a9288ec5d56b4327ea6c165948a812db [Pipeline] echo [2023-04-17T04:59:31.445Z] [semverPrep] GIT_COMMIT: 164f5e73a9288ec5d56b4327ea6c165948a812db, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v3 [Pipeline] echo [2023-04-17T04:59:31.474Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-17T04:59:31.861Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-17T04:59:31.861Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-17T04:59:31.861Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-17T04:59:31.861Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-17T04:59:31.861Z] + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee [2023-04-17T04:59:31.861Z] -a /etc/ssh/ssh_known_hosts [2023-04-17T04:59:31.861Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T04:59:32.360Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-17T04:59:32.360Z] [2023-04-17T04:59:32.360Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T04:59:32.787Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-17T04:59:32.788Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-17T04:59:32.788Z] b85a868b505f: Pulling fs layer [2023-04-17T04:59:32.788Z] e2be974225ed: Pulling fs layer [2023-04-17T04:59:32.788Z] 339a4e72a1f5: Pulling fs layer [2023-04-17T04:59:32.788Z] 988bab9f4d93: Pulling fs layer [2023-04-17T04:59:32.788Z] 1469e6f7b9e6: Pulling fs layer [2023-04-17T04:59:32.788Z] eaf3925da568: Pulling fs layer [2023-04-17T04:59:32.788Z] bab4dde63d76: Pulling fs layer [2023-04-17T04:59:32.788Z] bde34c3a00c8: Pulling fs layer [2023-04-17T04:59:32.788Z] b352a97aabf1: Pulling fs layer [2023-04-17T04:59:32.788Z] 4872d77fe225: Pulling fs layer [2023-04-17T04:59:32.788Z] 5851b861e8e6: Pulling fs layer [2023-04-17T04:59:32.788Z] 988bab9f4d93: Waiting [2023-04-17T04:59:32.788Z] 1469e6f7b9e6: Waiting [2023-04-17T04:59:32.788Z] eaf3925da568: Waiting [2023-04-17T04:59:32.788Z] bab4dde63d76: Waiting [2023-04-17T04:59:32.788Z] bde34c3a00c8: Waiting [2023-04-17T04:59:32.788Z] b352a97aabf1: Waiting [2023-04-17T04:59:32.788Z] 5851b861e8e6: Waiting [2023-04-17T04:59:32.788Z] 4872d77fe225: Waiting [2023-04-17T04:59:32.788Z] e2be974225ed: Verifying Checksum [2023-04-17T04:59:32.788Z] e2be974225ed: Download complete [2023-04-17T04:59:32.788Z] 988bab9f4d93: Verifying Checksum [2023-04-17T04:59:32.788Z] 988bab9f4d93: Download complete [2023-04-17T04:59:32.788Z] 1469e6f7b9e6: Verifying Checksum [2023-04-17T04:59:32.788Z] 1469e6f7b9e6: Download complete [2023-04-17T04:59:32.788Z] 339a4e72a1f5: Verifying Checksum [2023-04-17T04:59:32.788Z] 339a4e72a1f5: Download complete [2023-04-17T04:59:33.052Z] eaf3925da568: Verifying Checksum [2023-04-17T04:59:33.052Z] eaf3925da568: Download complete [2023-04-17T04:59:33.052Z] bde34c3a00c8: Download complete [2023-04-17T04:59:33.052Z] b352a97aabf1: Verifying Checksum [2023-04-17T04:59:33.052Z] b352a97aabf1: Download complete [2023-04-17T04:59:33.052Z] 4872d77fe225: Verifying Checksum [2023-04-17T04:59:33.052Z] 4872d77fe225: Download complete [2023-04-17T04:59:33.052Z] 5851b861e8e6: Download complete [2023-04-17T04:59:33.052Z] b85a868b505f: Verifying Checksum [2023-04-17T04:59:33.052Z] b85a868b505f: Download complete [2023-04-17T04:59:33.311Z] bab4dde63d76: Verifying Checksum [2023-04-17T04:59:33.311Z] bab4dde63d76: Download complete [2023-04-17T04:59:34.248Z] b85a868b505f: Pull complete [2023-04-17T04:59:34.248Z] e2be974225ed: Pull complete [2023-04-17T04:59:34.817Z] 339a4e72a1f5: Pull complete [2023-04-17T04:59:34.817Z] 988bab9f4d93: Pull complete [2023-04-17T04:59:35.076Z] 1469e6f7b9e6: Pull complete [2023-04-17T04:59:35.076Z] eaf3925da568: Pull complete [2023-04-17T04:59:36.978Z] bab4dde63d76: Pull complete [2023-04-17T04:59:36.979Z] bde34c3a00c8: Pull complete [2023-04-17T04:59:36.979Z] b352a97aabf1: Pull complete [2023-04-17T04:59:36.979Z] 4872d77fe225: Pull complete [2023-04-17T04:59:37.241Z] 5851b861e8e6: Pull complete [2023-04-17T04:59:37.241Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-17T04:59:37.241Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-17T04:59:37.241Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T04:59:37.459Z] prd-ubuntu20.04-docker-8c-8g-8685 does not seem to be running inside a container [2023-04-17T04:59:37.484Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1422 -v /w/workspace/gexfoundry_device-sdk-go_PR-1422:/w/workspace/gexfoundry_device-sdk-go_PR-1422:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1422@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1422@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-04-17T04:59:40.162Z] $ docker top 679c85d9e5b7769051468d8211e77b8e4df2651c6a52ec545af1f2af3b93cf46 -eo pid,comm [2023-04-17T04:59:40.216Z] 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-04-17T04:59:40.216Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-17T04:59:40.339Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-17T04:59:40.339Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-17T04:59:40.452Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-17T04:59:40.450Z] $ docker exec 679c85d9e5b7769051468d8211e77b8e4df2651c6a52ec545af1f2af3b93cf46 ssh-agent [2023-04-17T04:59:40.561Z] SSH_AUTH_SOCK=/tmp/ssh-L8ldYjBadqnA/agent.32 [2023-04-17T04:59:40.561Z] SSH_AGENT_PID=38 [2023-04-17T04:59:40.567Z] Running ssh-add (command line suppressed) [2023-04-17T04:59:40.673Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1422@tmp/private_key_17688285667625512216.key (/w/workspace/gexfoundry_device-sdk-go_PR-1422@tmp/private_key_17688285667625512216.key) [2023-04-17T04:59:40.690Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-17T04:59:41.019Z] + git tag --points-at HEAD [Pipeline] } [2023-04-17T04:59:41.040Z] $ docker exec --env ******** --env ******** 679c85d9e5b7769051468d8211e77b8e4df2651c6a52ec545af1f2af3b93cf46 ssh-agent -k [2023-04-17T04:59:41.148Z] unset SSH_AUTH_SOCK; [2023-04-17T04:59:41.149Z] unset SSH_AGENT_PID; [2023-04-17T04:59:41.149Z] echo Agent pid 38 killed; [2023-04-17T04:59:41.165Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-17T04:59:41.246Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-17T04:59:41.246Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-17T04:59:41.355Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-17T04:59:41.354Z] $ docker exec 679c85d9e5b7769051468d8211e77b8e4df2651c6a52ec545af1f2af3b93cf46 ssh-agent [2023-04-17T04:59:41.464Z] SSH_AUTH_SOCK=/tmp/ssh-MnsvNthWaTxR/agent.71 [2023-04-17T04:59:41.464Z] SSH_AGENT_PID=77 [2023-04-17T04:59:41.469Z] Running ssh-add (command line suppressed) [2023-04-17T04:59:41.567Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1422@tmp/private_key_10717730020998379986.key (/w/workspace/gexfoundry_device-sdk-go_PR-1422@tmp/private_key_10717730020998379986.key) [2023-04-17T04:59:41.588Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-17T04:59:41.919Z] + git semver init [2023-04-17T04:59:42.178Z] 2023-04-17 04:59:42,096 [run_init] DEBUG init version:0.0.0 force:False [2023-04-17T04:59:42.178Z] 2023-04-17 04:59:42,097 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1422/.semver [2023-04-17T04:59:42.178Z] 2023-04-17 04:59:42,097 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1422/.semver [2023-04-17T04:59:42.178Z] 2023-04-17 04:59:42,097 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1422/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1422, universal_newlines=False, shell=None, istream=None) [2023-04-17T04:59:43.116Z] 2023-04-17 04:59:42,977 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1422/.git/info/exclude [2023-04-17T04:59:43.116Z] 2023-04-17 04:59:42,978 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1422/.semver/PR-1422 with force:False [2023-04-17T04:59:43.116Z] 2023-04-17 04:59:42,978 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1422/.semver/PR-1422 [2023-04-17T04:59:43.116Z] 2023-04-17 04:59:42,982 [execute] INFO git cat-file --batch-check [2023-04-17T04:59:43.116Z] 2023-04-17 04:59:42,983 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1422/.semver, universal_newlines=False, shell=None, istream=) [2023-04-17T04:59:43.116Z] 2023-04-17 04:59:42,989 [execute] INFO git cat-file --batch [2023-04-17T04:59:43.116Z] 2023-04-17 04:59:42,989 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1422/.semver, universal_newlines=False, shell=None, istream=) [2023-04-17T04:59:43.116Z] 2023-04-17 04:59:42,995 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1422/.semver/PR-1422 [2023-04-17T04:59:43.116Z] 0.0.0 [Pipeline] } [2023-04-17T04:59:43.139Z] $ docker exec --env ******** --env ******** 679c85d9e5b7769051468d8211e77b8e4df2651c6a52ec545af1f2af3b93cf46 ssh-agent -k [2023-04-17T04:59:43.241Z] unset SSH_AUTH_SOCK; [2023-04-17T04:59:43.241Z] unset SSH_AGENT_PID; [2023-04-17T04:59:43.242Z] echo Agent pid 77 killed; [2023-04-17T04:59:43.255Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-17T04:59:43.678Z] + git semver [Pipeline] } [2023-04-17T04:59:43.958Z] $ docker stop --time=1 679c85d9e5b7769051468d8211e77b8e4df2651c6a52ec545af1f2af3b93cf46 [2023-04-17T04:59:45.262Z] $ docker rm -f --volumes 679c85d9e5b7769051468d8211e77b8e4df2651c6a52ec545af1f2af3b93cf46 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-17T04:59:45.669Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-17T04:59:45.938Z] Stashed 1 file(s) [Pipeline] echo [2023-04-17T04:59:45.953Z] [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-04-17T04:59:46.541Z] provisioning config files... [2023-04-17T04:59:46.551Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1422@tmp/config12826990910365867818tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-17T04:59:46.892Z] ---> docker-login.sh [2023-04-17T04:59:46.892Z] nexus3.edgexfoundry.org:10001 [2023-04-17T04:59:46.892Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T04:59:46.892Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T04:59:46.892Z] Configure a credential helper to remove this warning. See [2023-04-17T04:59:46.892Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T04:59:46.892Z] [2023-04-17T04:59:46.892Z] Login Succeeded [2023-04-17T04:59:46.892Z] nexus3.edgexfoundry.org:10002 [2023-04-17T04:59:46.892Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T04:59:46.892Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T04:59:46.892Z] Configure a credential helper to remove this warning. See [2023-04-17T04:59:46.892Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T04:59:46.892Z] [2023-04-17T04:59:46.892Z] Login Succeeded [2023-04-17T04:59:46.892Z] nexus3.edgexfoundry.org:10003 [2023-04-17T04:59:47.151Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T04:59:47.151Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T04:59:47.151Z] Configure a credential helper to remove this warning. See [2023-04-17T04:59:47.151Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T04:59:47.151Z] [2023-04-17T04:59:47.151Z] Login Succeeded [2023-04-17T04:59:47.151Z] nexus3.edgexfoundry.org:10004 [2023-04-17T04:59:47.151Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T04:59:47.151Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T04:59:47.151Z] Configure a credential helper to remove this warning. See [2023-04-17T04:59:47.151Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T04:59:47.151Z] [2023-04-17T04:59:47.151Z] Login Succeeded [2023-04-17T04:59:47.151Z] docker.io [2023-04-17T04:59:47.410Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T04:59:47.410Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T04:59:47.410Z] Configure a credential helper to remove this warning. See [2023-04-17T04:59:47.410Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T04:59:47.410Z] [2023-04-17T04:59:47.410Z] Login Succeeded [2023-04-17T04:59:47.410Z] ---> docker-login.sh ends [Pipeline] } [2023-04-17T04:59:47.441Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-17T04:59:47.746Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-17T04:59:47.779Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-17T04:59:47.813Z] ========================================================= [2023-04-17T04:59:47.813Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-17T04:59:47.813Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T04:59:48.290Z] + 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-04-17T04:59:48.290Z] Sending build context to Docker daemon 10.96MB [2023-04-17T04:59:48.290Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-04-17T04:59:48.290Z] Step 2/10 : FROM ${BASE} AS builder [2023-04-17T04:59:48.290Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-17T04:59:48.290Z] 63b65145d645: Pulling fs layer [2023-04-17T04:59:48.290Z] a2d21d5440eb: Pulling fs layer [2023-04-17T04:59:48.290Z] 935e6c44a52c: Pulling fs layer [2023-04-17T04:59:48.290Z] 94cc34f8dd06: Pulling fs layer [2023-04-17T04:59:48.290Z] 30dea6a524f1: Pulling fs layer [2023-04-17T04:59:48.290Z] a2aff8979fd8: Pulling fs layer [2023-04-17T04:59:48.290Z] 6808be2612f2: Pulling fs layer [2023-04-17T04:59:48.290Z] 94cc34f8dd06: Waiting [2023-04-17T04:59:48.290Z] f25807f1079a: Pulling fs layer [2023-04-17T04:59:48.290Z] 30dea6a524f1: Waiting [2023-04-17T04:59:48.290Z] a2aff8979fd8: Waiting [2023-04-17T04:59:48.290Z] 6808be2612f2: Waiting [2023-04-17T04:59:48.549Z] a2d21d5440eb: Verifying Checksum [2023-04-17T04:59:48.549Z] a2d21d5440eb: Download complete [2023-04-17T04:59:48.549Z] 94cc34f8dd06: Verifying Checksum [2023-04-17T04:59:48.549Z] 94cc34f8dd06: Download complete [2023-04-17T04:59:48.549Z] 30dea6a524f1: Verifying Checksum [2023-04-17T04:59:48.549Z] 30dea6a524f1: Download complete [2023-04-17T04:59:48.549Z] 63b65145d645: Verifying Checksum [2023-04-17T04:59:48.549Z] 63b65145d645: Download complete [2023-04-17T04:59:48.549Z] a2aff8979fd8: Download complete [2023-04-17T04:59:48.549Z] 63b65145d645: Pull complete [2023-04-17T04:59:48.810Z] a2d21d5440eb: Pull complete [2023-04-17T04:59:48.810Z] f25807f1079a: Verifying Checksum [2023-04-17T04:59:48.810Z] f25807f1079a: Download complete [2023-04-17T04:59:49.068Z] 935e6c44a52c: Download complete [2023-04-17T04:59:49.338Z] 6808be2612f2: Verifying Checksum [2023-04-17T04:59:49.338Z] 6808be2612f2: Download complete [2023-04-17T04:59:52.619Z] 935e6c44a52c: Pull complete [2023-04-17T04:59:52.878Z] 94cc34f8dd06: Pull complete [2023-04-17T04:59:52.878Z] 30dea6a524f1: Pull complete [2023-04-17T04:59:52.878Z] a2aff8979fd8: Pull complete [2023-04-17T04:59:55.416Z] 6808be2612f2: Pull complete [2023-04-17T04:59:56.351Z] f25807f1079a: Pull complete [2023-04-17T04:59:56.351Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-04-17T04:59:56.351Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-17T04:59:56.351Z] ---> 3b553350e43f [2023-04-17T04:59:56.351Z] Step 3/10 : ARG MAKE=make build [2023-04-17T05:00:01.361Z] Still waiting to schedule task [2023-04-17T05:00:01.362Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-04-17T05:00:01.710Z] ---> Running in df9e3e037669 [2023-04-17T05:00:01.710Z] Removing intermediate container df9e3e037669 [2023-04-17T05:00:01.710Z] ---> e2abdce059ff [2023-04-17T05:00:01.710Z] Step 4/10 : WORKDIR /device-sdk-go [2023-04-17T05:00:01.710Z] ---> Running in 49a42a4a8cd3 [2023-04-17T05:00:01.710Z] Removing intermediate container 49a42a4a8cd3 [2023-04-17T05:00:01.710Z] ---> 3d84d87b706e [2023-04-17T05:00:01.710Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-04-17T05:00:01.710Z] ---> Running in 151d5facc65b [2023-04-17T05:00:01.710Z] Removing intermediate container 151d5facc65b [2023-04-17T05:00:01.710Z] ---> df911213b24a [2023-04-17T05:00:01.710Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-04-17T05:00:01.710Z] ---> Running in b4f349a9938f [2023-04-17T05:00:01.971Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-17T05:00:02.236Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-17T05:00:02.501Z] OK: 265 MiB in 53 packages [2023-04-17T05:00:02.761Z] Removing intermediate container b4f349a9938f [2023-04-17T05:00:02.761Z] ---> 0cea1d57a246 [2023-04-17T05:00:02.761Z] Step 7/10 : COPY go.mod vendor* ./ [2023-04-17T05:00:03.020Z] ---> bc8de2099ec5 [2023-04-17T05:00:03.020Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-17T05:00:03.020Z] ---> Running in 8de3d5c2d603 [2023-04-17T05:00:59.279Z] Removing intermediate container 8de3d5c2d603 [2023-04-17T05:00:59.279Z] ---> eefdcfa90f66 [2023-04-17T05:00:59.279Z] Step 9/10 : COPY . . [2023-04-17T05:00:59.279Z] ---> 7172f03b761c [2023-04-17T05:00:59.279Z] Step 10/10 : RUN ${MAKE} [2023-04-17T05:00:59.279Z] ---> Running in 3eba74c769cc [2023-04-17T05:00:59.279Z] noop [2023-04-17T05:00:59.279Z] Removing intermediate container 3eba74c769cc [2023-04-17T05:00:59.279Z] ---> a876e4cd59c1 [2023-04-17T05:00:59.279Z] Successfully built a876e4cd59c1 [2023-04-17T05:00:59.279Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T05:00:59.706Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-17T05:00:59.706Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T05:00:59.857Z] prd-ubuntu20.04-docker-8c-8g-8685 does not seem to be running inside a container [2023-04-17T05:00:59.886Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1422 -v /w/workspace/gexfoundry_device-sdk-go_PR-1422:/w/workspace/gexfoundry_device-sdk-go_PR-1422:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1422@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1422@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-04-17T05:01:00.620Z] $ docker top 9994fb680511bffbfc6170a75e490af1c777ece3ee01cd18617e2330d7a3d572 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-17T05:01:01.009Z] + go version [2023-04-17T05:01:01.009Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-17T05:01:01.046Z] $ docker stop --time=1 9994fb680511bffbfc6170a75e490af1c777ece3ee01cd18617e2330d7a3d572 [2023-04-17T05:01:02.364Z] $ docker rm -f --volumes 9994fb680511bffbfc6170a75e490af1c777ece3ee01cd18617e2330d7a3d572 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T05:01:03.070Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-17T05:01:03.070Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T05:01:03.229Z] prd-ubuntu20.04-docker-8c-8g-8685 does not seem to be running inside a container [2023-04-17T05:01:03.263Z] $ 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-1422 -v /w/workspace/gexfoundry_device-sdk-go_PR-1422:/w/workspace/gexfoundry_device-sdk-go_PR-1422:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1422@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1422@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-04-17T05:01:03.573Z] $ docker top a4d74190696def6ca03d975e1667aac4655640fb901e232a1e226eccf3742fe1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-17T05:01:03.959Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1422 [Pipeline] fileExists [Pipeline] sh [2023-04-17T05:01:04.329Z] + make test [2023-04-17T05:01:04.329Z] go test -race -coverprofile=coverage.out ./... [2023-04-17T05:01:10.891Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-04-17T05:01:25.759Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-04-17T05:01:25.759Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-04-17T05:01:25.759Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-04-17T05:01:25.759Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-04-17T05:01:25.759Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-04-17T05:01:25.759Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.048s coverage: 27.6% of statements [2023-04-17T05:01:25.759Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-04-17T05:01:25.759Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-04-17T05:01:25.759Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.058s coverage: 79.9% of statements [2023-04-17T05:01:25.759Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.077s coverage: 86.0% of statements [2023-04-17T05:01:26.325Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-04-17T05:01:26.325Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-04-17T05:01:26.325Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.107s coverage: 77.5% of statements [2023-04-17T05:01:26.325Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-04-17T05:01:26.325Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-04-17T05:01:27.260Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-04-17T05:01:29.236Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.081s coverage: 14.6% of statements [2023-04-17T05:01:29.236Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.080s coverage: 68.5% of statements [2023-04-17T05:01:29.236Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.122s coverage: 89.2% of statements [2023-04-17T05:01:29.236Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.062s coverage: 5.5% of statements [2023-04-17T05:01:41.286Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8687 in /w/workspace/gexfoundry_device-sdk-go_PR-1422 [Pipeline] { [Pipeline] ws [2023-04-17T05:01:41.342Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-04-17T05:01:41.421Z] The recommended git tool is: git [2023-04-17T05:01:46.533Z] using credential edgex-jenkins-ssh [2023-04-17T05:01:46.548Z] Cloning the remote Git repository [2023-04-17T05:01:47.369Z] GO111MODULE=on go vet ./... [2023-04-17T05:01:46.587Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-04-17T05:01:46.679Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-04-17T05:01:46.836Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-04-17T05:01:46.837Z] > git --version # timeout=10 [2023-04-17T05:01:46.857Z] > git --version # 'git version 2.25.1' [2023-04-17T05:01:46.860Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-17T05:01:47.006Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-17T05:01:48.649Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-04-17T05:01:48.678Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-17T05:01:50.015Z] Merging remotes/origin/main commit c527cc18e8dc5ba9098cf404cd39d1fac2754cd9 into PR head commit 164f5e73a9288ec5d56b4327ea6c165948a812db [2023-04-17T05:01:49.428Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-04-17T05:01:49.468Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-04-17T05:01:49.469Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-17T05:01:49.485Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1422/head:refs/remotes/origin/PR-1422 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-04-17T05:01:50.028Z] > git config core.sparsecheckout # timeout=10 [2023-04-17T05:01:50.106Z] > git checkout -f 164f5e73a9288ec5d56b4327ea6c165948a812db # timeout=10 [2023-04-17T05:01:50.297Z] Merge succeeded, producing 164f5e73a9288ec5d56b4327ea6c165948a812db [2023-04-17T05:01:50.297Z] Checking out Revision 164f5e73a9288ec5d56b4327ea6c165948a812db (PR-1422) [2023-04-17T05:01:50.773Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v3" [2023-04-17T05:01:50.816Z] > git --version # timeout=10 [2023-04-17T05:01:50.828Z] > git --version # 'git version 2.25.1' [2023-04-17T05:01:50.848Z] fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-17T05:01:50.203Z] > git remote # timeout=10 [2023-04-17T05:01:50.218Z] > git config --get remote.origin.url # timeout=10 [2023-04-17T05:01:50.233Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-17T05:01:50.245Z] > git merge c527cc18e8dc5ba9098cf404cd39d1fac2754cd9 # timeout=10 [2023-04-17T05:01:50.271Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-04-17T05:01:50.302Z] > git config core.sparsecheckout # timeout=10 [2023-04-17T05:01:50.318Z] > git checkout -f 164f5e73a9288ec5d56b4327ea6c165948a812db # timeout=10 [2023-04-17T05:01:51.559Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-17T05:01:51.559Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-17T05:01:51.559Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-17T05:01:51.703Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-17T05:01:51.734Z] $ docker stop --time=1 a4d74190696def6ca03d975e1667aac4655640fb901e232a1e226eccf3742fe1 [2023-04-17T05:01:51.955Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-17T05:01:51.955Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-17T05:01:51.955Z] Dload Upload Total Spent Left Speed [2023-04-17T05:01:51.955Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 102k 0 --:--:-- --:--:-- --:--:-- 102k [2023-04-17T05:01:58.208Z] $ docker rm -f --volumes a4d74190696def6ca03d975e1667aac4655640fb901e232a1e226eccf3742fe1 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] sh [2023-04-17T05:01:58.780Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-17T05:01:58.846Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [2023-04-17T05:01:58.864Z] Stashed 1 file(s) [Pipeline] sh [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2023-04-17T05:01:59.182Z] + sudo tee /etc/docker/daemon.new [2023-04-17T05:01:59.183Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-17T05:01:59.183Z] { [2023-04-17T05:01:59.183Z] "registry-mirrors": [ [2023-04-17T05:01:59.183Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-17T05:01:59.183Z] ], [2023-04-17T05:01:59.183Z] "bip": "10.250.0.254/24", [2023-04-17T05:01:59.183Z] "hosts": [ [2023-04-17T05:01:59.183Z] "tcp://0.0.0.0:5555", [2023-04-17T05:01:59.183Z] "unix:///var/run/docker.sock" [2023-04-17T05:01:59.183Z] ], [2023-04-17T05:01:59.183Z] "mtu": 1458, [2023-04-17T05:01:59.183Z] "selinux-enabled": true, [2023-04-17T05:01:59.183Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-17T05:01:59.183Z] } [Pipeline] sh [Pipeline] sh [2023-04-17T05:01:59.729Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-17T05:01:59.772Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-17T05:02:00.066Z] + sudo service docker restart [2023-04-17T05:02:00.140Z] + ls -al . [2023-04-17T05:02:00.140Z] total 272 [2023-04-17T05:02:00.140Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 17 05:01 . [2023-04-17T05:02:00.140Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 04:59 .. [2023-04-17T05:02:00.140Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 17 04:59 .dockerignore [2023-04-17T05:02:00.140Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 17 04:59 .git [2023-04-17T05:02:00.140Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 04:59 .github [2023-04-17T05:02:00.140Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 17 04:59 .gitignore [2023-04-17T05:02:00.140Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 17 04:59 .golangci.yml [2023-04-17T05:02:00.140Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 17 04:59 .semver [2023-04-17T05:02:00.140Z] -rw-rw-r-- 1 jenkins jenkins 31677 Apr 17 04:59 CHANGELOG.md [2023-04-17T05:02:00.140Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 17 04:59 GOVERNANCE.md [2023-04-17T05:02:00.140Z] -rw-rw-r-- 1 jenkins jenkins 885 Apr 17 04:59 Jenkinsfile [2023-04-17T05:02:00.140Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 17 04:59 LICENSE [2023-04-17T05:02:00.140Z] -rw-rw-r-- 1 jenkins jenkins 1714 Apr 17 04:59 Makefile [2023-04-17T05:02:00.140Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 17 04:59 OWNERS.md [2023-04-17T05:02:00.140Z] -rw-rw-r-- 1 jenkins jenkins 4891 Apr 17 04:59 README.md [2023-04-17T05:02:00.140Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 17 04:59 VERSION [2023-04-17T05:02:00.140Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 04:59 bin [2023-04-17T05:02:00.140Z] -rw-r--r-- 1 jenkins jenkins 105949 Apr 17 05:01 coverage.out [2023-04-17T05:02:00.140Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 17 04:59 example [2023-04-17T05:02:00.140Z] -rw-rw-r-- 1 jenkins jenkins 3246 Apr 17 04:59 go.mod [2023-04-17T05:02:00.140Z] -rw-rw-r-- 1 jenkins jenkins 31006 Apr 17 04:59 go.sum [2023-04-17T05:02:00.140Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 17 04:59 internal [2023-04-17T05:02:00.140Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 04:59 openapi [2023-04-17T05:02:00.140Z] drwxrwxr-x 6 jenkins jenkins 4096 Apr 17 04:59 pkg [2023-04-17T05:02:00.140Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 04:59 snap [2023-04-17T05:02:00.140Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 17 04:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T05:02:00.545Z] + 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=164f5e73a9288ec5d56b4327ea6c165948a812db --label arch=amd64 --label version=0.0.0 . [2023-04-17T05:02:00.545Z] Sending build context to Docker daemon 11.07MB [2023-04-17T05:02:00.545Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-04-17T05:02:00.545Z] Step 2/23 : FROM ${BASE} AS builder [2023-04-17T05:02:00.545Z] ---> a876e4cd59c1 [2023-04-17T05:02:00.545Z] Step 3/23 : ARG MAKE=make build [2023-04-17T05:02:00.804Z] ---> Running in 2ed9f6026dba [2023-04-17T05:02:00.804Z] Removing intermediate container 2ed9f6026dba [2023-04-17T05:02:00.804Z] ---> 2a69260df12f [2023-04-17T05:02:00.804Z] Step 4/23 : WORKDIR /device-sdk-go [2023-04-17T05:02:00.804Z] ---> Running in 8cf3d95bd51d [2023-04-17T05:02:01.062Z] Removing intermediate container 8cf3d95bd51d [2023-04-17T05:02:01.062Z] ---> 0ca2967fa6c4 [2023-04-17T05:02:01.062Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-04-17T05:02:01.062Z] ---> Running in 5b078ad69526 [2023-04-17T05:02:01.062Z] Removing intermediate container 5b078ad69526 [2023-04-17T05:02:01.062Z] ---> 0b6cf7a419b0 [2023-04-17T05:02:01.062Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-04-17T05:02:01.062Z] ---> Running in 3c5f2b7583c3 [2023-04-17T05:02:01.320Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-17T05:02:01.580Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-17T05:02:01.838Z] OK: 265 MiB in 53 packages [2023-04-17T05:02:02.099Z] Removing intermediate container 3c5f2b7583c3 [2023-04-17T05:02:02.099Z] ---> 58aebd933f1e [2023-04-17T05:02:02.099Z] Step 7/23 : COPY go.mod vendor* ./ [2023-04-17T05:02:02.099Z] ---> 32c08dde6a78 [2023-04-17T05:02:02.099Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-17T05:02:02.099Z] ---> Running in 1bfc84a72629 [2023-04-17T05:02:03.487Z] Removing intermediate container 1bfc84a72629 [2023-04-17T05:02:03.487Z] ---> 46fe5579d5aa [2023-04-17T05:02:03.487Z] Step 9/23 : COPY . . [2023-04-17T05:02:04.055Z] ---> ce5dc50c6d3d [2023-04-17T05:02:04.055Z] Step 10/23 : RUN ${MAKE} [2023-04-17T05:02:04.314Z] ---> Running in 02995fd86add [2023-04-17T05:02:04.314Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-17T05:02:18.382Z] provisioning config files... [2023-04-17T05:02:18.408Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config1182422721163297800tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-17T05:02:18.804Z] ---> docker-login.sh [2023-04-17T05:02:18.805Z] nexus3.edgexfoundry.org:10001 [2023-04-17T05:02:19.076Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T05:02:19.351Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T05:02:19.351Z] Configure a credential helper to remove this warning. See [2023-04-17T05:02:19.351Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T05:02:19.351Z] [2023-04-17T05:02:19.351Z] Login Succeeded [2023-04-17T05:02:19.351Z] nexus3.edgexfoundry.org:10002 [2023-04-17T05:02:19.622Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T05:02:19.893Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T05:02:19.893Z] Configure a credential helper to remove this warning. See [2023-04-17T05:02:19.893Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T05:02:19.893Z] [2023-04-17T05:02:19.893Z] Login Succeeded [2023-04-17T05:02:19.893Z] nexus3.edgexfoundry.org:10003 [2023-04-17T05:02:19.893Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T05:02:20.162Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T05:02:20.162Z] Configure a credential helper to remove this warning. See [2023-04-17T05:02:20.162Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T05:02:20.162Z] [2023-04-17T05:02:20.162Z] Login Succeeded [2023-04-17T05:02:20.162Z] nexus3.edgexfoundry.org:10004 [2023-04-17T05:02:20.434Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T05:02:20.434Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T05:02:20.434Z] Configure a credential helper to remove this warning. See [2023-04-17T05:02:20.434Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T05:02:20.434Z] [2023-04-17T05:02:20.434Z] Login Succeeded [2023-04-17T05:02:20.434Z] docker.io [2023-04-17T05:02:20.704Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T05:02:20.973Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T05:02:20.973Z] Configure a credential helper to remove this warning. See [2023-04-17T05:02:20.973Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T05:02:20.973Z] [2023-04-17T05:02:20.973Z] Login Succeeded [2023-04-17T05:02:20.973Z] ---> docker-login.sh ends [Pipeline] } [2023-04-17T05:02:21.004Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-17T05:02:21.375Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-17T05:02:21.417Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-17T05:02:21.454Z] ========================================================= [2023-04-17T05:02:21.454Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-17T05:02:21.454Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T05:02:22.057Z] + 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-04-17T05:02:22.663Z] Sending build context to Docker daemon 5.881MB [2023-04-17T05:02:22.663Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-04-17T05:02:22.663Z] Step 2/10 : FROM ${BASE} AS builder [2023-04-17T05:02:22.663Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-17T05:02:22.663Z] af6eaf76a39c: Pulling fs layer [2023-04-17T05:02:22.663Z] 55522c791124: Pulling fs layer [2023-04-17T05:02:22.663Z] ce5c4a1c91eb: Pulling fs layer [2023-04-17T05:02:22.663Z] 169dfbe0d373: Pulling fs layer [2023-04-17T05:02:22.663Z] e1ff8fa3b103: Pulling fs layer [2023-04-17T05:02:22.663Z] 52ebb69f0ebf: Pulling fs layer [2023-04-17T05:02:22.663Z] 5abe8eddf0d5: Pulling fs layer [2023-04-17T05:02:22.663Z] e1ff8fa3b103: Waiting [2023-04-17T05:02:22.663Z] 52ebb69f0ebf: Waiting [2023-04-17T05:02:22.663Z] 5abe8eddf0d5: Waiting [2023-04-17T05:02:22.663Z] 169dfbe0d373: Waiting [2023-04-17T05:02:22.663Z] 55522c791124: Verifying Checksum [2023-04-17T05:02:22.663Z] 55522c791124: Download complete [2023-04-17T05:02:22.663Z] 169dfbe0d373: Verifying Checksum [2023-04-17T05:02:22.663Z] 169dfbe0d373: Download complete [2023-04-17T05:02:22.663Z] e1ff8fa3b103: Verifying Checksum [2023-04-17T05:02:22.663Z] e1ff8fa3b103: Download complete [2023-04-17T05:02:22.935Z] af6eaf76a39c: Verifying Checksum [2023-04-17T05:02:22.935Z] af6eaf76a39c: Download complete [2023-04-17T05:02:23.914Z] 5abe8eddf0d5: Verifying Checksum [2023-04-17T05:02:23.914Z] 5abe8eddf0d5: Download complete [2023-04-17T05:02:25.339Z] 52ebb69f0ebf: Verifying Checksum [2023-04-17T05:02:25.339Z] 52ebb69f0ebf: Download complete [2023-04-17T05:02:25.339Z] ce5c4a1c91eb: Verifying Checksum [2023-04-17T05:02:25.339Z] ce5c4a1c91eb: Download complete [2023-04-17T05:02:26.301Z] af6eaf76a39c: Pull complete [2023-04-17T05:02:26.388Z] Removing intermediate container 02995fd86add [2023-04-17T05:02:26.389Z] ---> 8d79fd96ea8e [2023-04-17T05:02:26.389Z] Step 11/23 : FROM alpine:3.17 [2023-04-17T05:02:26.389Z] 3.17: Pulling from library/alpine [2023-04-17T05:02:26.389Z] f56be85fc22e: Pulling fs layer [2023-04-17T05:02:26.389Z] f56be85fc22e: Download complete [2023-04-17T05:02:26.389Z] f56be85fc22e: Pull complete [2023-04-17T05:02:26.389Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-17T05:02:26.389Z] Status: Downloaded newer image for alpine:3.17 [2023-04-17T05:02:26.389Z] ---> 9ed4aefc74f6 [2023-04-17T05:02:26.389Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-04-17T05:02:26.389Z] ---> Running in cccef325eb89 [2023-04-17T05:02:26.389Z] Removing intermediate container cccef325eb89 [2023-04-17T05:02:26.389Z] ---> 7e3b9b027a7d [2023-04-17T05:02:26.389Z] Step 13/23 : RUN apk add --update --no-cache [2023-04-17T05:02:26.389Z] ---> Running in 61a4c4ef923a [2023-04-17T05:02:26.389Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-17T05:02:26.389Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-17T05:02:26.389Z] OK: 7 MiB in 15 packages [2023-04-17T05:02:26.389Z] Removing intermediate container 61a4c4ef923a [2023-04-17T05:02:26.389Z] ---> fafbc1db8ef9 [2023-04-17T05:02:26.389Z] Step 14/23 : WORKDIR / [2023-04-17T05:02:26.389Z] ---> Running in fbdaed39df8d [2023-04-17T05:02:26.389Z] Removing intermediate container fbdaed39df8d [2023-04-17T05:02:26.389Z] ---> cb3408134406 [2023-04-17T05:02:26.389Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-04-17T05:02:26.389Z] ---> 545614d44609 [2023-04-17T05:02:26.389Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-04-17T05:02:26.389Z] ---> 93161421f03d [2023-04-17T05:02:26.389Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-04-17T05:02:26.389Z] ---> c13fe3a3c4d9 [2023-04-17T05:02:26.389Z] Step 18/23 : EXPOSE 59999 [2023-04-17T05:02:26.389Z] ---> Running in a4b383179afc [2023-04-17T05:02:26.389Z] Removing intermediate container a4b383179afc [2023-04-17T05:02:26.389Z] ---> 2e4d48f52d66 [2023-04-17T05:02:26.389Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-04-17T05:02:26.389Z] ---> Running in 3ef6beb0d41a [2023-04-17T05:02:26.389Z] Removing intermediate container 3ef6beb0d41a [2023-04-17T05:02:26.389Z] ---> 80f48e48c0f1 [2023-04-17T05:02:26.389Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-17T05:02:26.389Z] ---> Running in 7bde13691f75 [2023-04-17T05:02:26.389Z] Removing intermediate container 7bde13691f75 [2023-04-17T05:02:26.389Z] ---> bdcb393eef75 [2023-04-17T05:02:26.389Z] Step 21/23 : LABEL arch=amd64 [2023-04-17T05:02:26.389Z] ---> Running in 63d40707ede0 [2023-04-17T05:02:26.389Z] Removing intermediate container 63d40707ede0 [2023-04-17T05:02:26.389Z] ---> 500ef315f1b4 [2023-04-17T05:02:26.389Z] Step 22/23 : LABEL git_sha=164f5e73a9288ec5d56b4327ea6c165948a812db [2023-04-17T05:02:26.389Z] ---> Running in 7b5f106628e6 [2023-04-17T05:02:26.389Z] Removing intermediate container 7b5f106628e6 [2023-04-17T05:02:26.389Z] ---> b1b77657f52e [2023-04-17T05:02:26.389Z] Step 23/23 : LABEL version=0.0.0 [2023-04-17T05:02:26.389Z] ---> Running in 7b506219d221 [2023-04-17T05:02:26.389Z] Removing intermediate container 7b506219d221 [2023-04-17T05:02:26.389Z] ---> 8db8de232033 [2023-04-17T05:02:26.389Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-17T05:02:26.389Z] Successfully built 8db8de232033 [2023-04-17T05:02:26.389Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [2023-04-17T05:02:26.570Z] 55522c791124: Pull complete [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T05:02:27.252Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-17T05:02:27.252Z] [2023-04-17T05:02:27.252Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T05:02:27.622Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-17T05:02:27.622Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-17T05:02:27.622Z] 5eb5b503b376: Pulling fs layer [2023-04-17T05:02:27.622Z] 5c69ac0246d0: Pulling fs layer [2023-04-17T05:02:27.622Z] ec43610c2a17: Pulling fs layer [2023-04-17T05:02:27.622Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-17T05:02:27.622Z] 33b1e0a273af: Pulling fs layer [2023-04-17T05:02:27.622Z] 5d3b04190fa2: Pulling fs layer [2023-04-17T05:02:27.622Z] 2f39f015ded8: Pulling fs layer [2023-04-17T05:02:27.622Z] 33b1e0a273af: Waiting [2023-04-17T05:02:27.622Z] 5d3b04190fa2: Waiting [2023-04-17T05:02:27.622Z] 2f39f015ded8: Waiting [2023-04-17T05:02:27.622Z] 3a2ae6a8a46f: Waiting [2023-04-17T05:02:27.622Z] 5c69ac0246d0: Download complete [2023-04-17T05:02:27.622Z] 3a2ae6a8a46f: Verifying Checksum [2023-04-17T05:02:27.622Z] 3a2ae6a8a46f: Download complete [2023-04-17T05:02:27.622Z] 33b1e0a273af: Verifying Checksum [2023-04-17T05:02:27.622Z] 33b1e0a273af: Download complete [2023-04-17T05:02:27.622Z] ec43610c2a17: Verifying Checksum [2023-04-17T05:02:27.622Z] ec43610c2a17: Download complete [2023-04-17T05:02:27.622Z] 5d3b04190fa2: Verifying Checksum [2023-04-17T05:02:27.622Z] 5d3b04190fa2: Download complete [2023-04-17T05:02:27.880Z] 5eb5b503b376: Verifying Checksum [2023-04-17T05:02:27.880Z] 5eb5b503b376: Download complete [2023-04-17T05:02:28.446Z] 2f39f015ded8: Download complete [2023-04-17T05:02:29.016Z] 5eb5b503b376: Pull complete [2023-04-17T05:02:29.016Z] 5c69ac0246d0: Pull complete [2023-04-17T05:02:29.582Z] ec43610c2a17: Pull complete [2023-04-17T05:02:29.583Z] 3a2ae6a8a46f: Pull complete [2023-04-17T05:02:29.842Z] 33b1e0a273af: Pull complete [2023-04-17T05:02:29.842Z] 5d3b04190fa2: Pull complete [2023-04-17T05:02:34.026Z] 2f39f015ded8: Pull complete [2023-04-17T05:02:34.026Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-17T05:02:34.026Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-17T05:02:34.026Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T05:02:34.232Z] prd-ubuntu20.04-docker-8c-8g-8685 does not seem to be running inside a container [2023-04-17T05:02:34.271Z] $ 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-1422 -v /w/workspace/gexfoundry_device-sdk-go_PR-1422:/w/workspace/gexfoundry_device-sdk-go_PR-1422:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1422@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1422@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-04-17T05:02:36.651Z] ce5c4a1c91eb: Pull complete [2023-04-17T05:02:36.918Z] 169dfbe0d373: Pull complete [2023-04-17T05:02:37.188Z] e1ff8fa3b103: Pull complete [2023-04-17T05:02:38.215Z] $ docker top 68bcf7ff9a16106e3fd14dc975e3b058f9e771fa048fe2892b3336f4973ce141 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-17T05:02:38.735Z] ---> job-cost.sh [2023-04-17T05:02:38.735Z] lf-activate-venv: SKIPPING [2023-04-17T05:02:38.735Z] INFO: No Stack... [2023-04-17T05:02:38.994Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-17T05:02:39.571Z] INFO: Archiving Costs [Pipeline] sh [2023-04-17T05:02:39.893Z] + + cat /w/workspace/gexfoundry_device-sdk-go_PR-1422/archives/cost.csv [2023-04-17T05:02:39.893Z] cut -d, -f6 [Pipeline] lock [2023-04-17T05:02:39.935Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1422-1-stack-cost] [2023-04-17T05:02:39.940Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1422-1-stack-cost] did not exist. Created. [2023-04-17T05:02:39.940Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1422-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-17T05:02:40.341Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-17T05:02:40.394Z] Stashed 1 file(s) [Pipeline] } [2023-04-17T05:02:40.419Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1422-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-17T05:02:40.498Z] $ docker stop --time=1 68bcf7ff9a16106e3fd14dc975e3b058f9e771fa048fe2892b3336f4973ce141 [2023-04-17T05:02:41.684Z] $ docker rm -f --volumes 68bcf7ff9a16106e3fd14dc975e3b058f9e771fa048fe2892b3336f4973ce141 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-17T05:02:42.562Z] 52ebb69f0ebf: Pull complete [2023-04-17T05:02:44.501Z] 5abe8eddf0d5: Pull complete [2023-04-17T05:02:44.501Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-04-17T05:02:44.501Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-17T05:02:44.501Z] ---> 6cb57ee374ae [2023-04-17T05:02:44.501Z] Step 3/10 : ARG MAKE=make build [2023-04-17T05:02:46.437Z] ---> Running in 74c0281abd4d [2023-04-17T05:02:46.437Z] Removing intermediate container 74c0281abd4d [2023-04-17T05:02:46.437Z] ---> 5009b2602ea5 [2023-04-17T05:02:46.437Z] Step 4/10 : WORKDIR /device-sdk-go [2023-04-17T05:02:46.437Z] ---> Running in e06ac6abda9c [2023-04-17T05:02:46.702Z] Removing intermediate container e06ac6abda9c [2023-04-17T05:02:46.702Z] ---> cca750e6011f [2023-04-17T05:02:46.702Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-04-17T05:02:46.968Z] ---> Running in 51007896f4ef [2023-04-17T05:02:47.233Z] Removing intermediate container 51007896f4ef [2023-04-17T05:02:47.233Z] ---> 0c45de5ff124 [2023-04-17T05:02:47.233Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-04-17T05:02:47.233Z] ---> Running in e44c061b46aa [2023-04-17T05:02:48.189Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-17T05:02:48.771Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-17T05:02:49.731Z] OK: 263 MiB in 53 packages [2023-04-17T05:02:50.693Z] Removing intermediate container e44c061b46aa [2023-04-17T05:02:50.693Z] ---> aa635b4834d2 [2023-04-17T05:02:50.693Z] Step 7/10 : COPY go.mod vendor* ./ [2023-04-17T05:02:52.100Z] ---> c4de32fde186 [2023-04-17T05:02:52.100Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-17T05:02:52.100Z] ---> Running in 320dc6a1ef57 [2023-04-17T05:03:59.986Z] Removing intermediate container 320dc6a1ef57 [2023-04-17T05:03:59.986Z] ---> c1b342429586 [2023-04-17T05:03:59.986Z] Step 9/10 : COPY . . [2023-04-17T05:03:59.986Z] ---> 88ba2b79a7f8 [2023-04-17T05:03:59.986Z] Step 10/10 : RUN ${MAKE} [2023-04-17T05:03:59.986Z] ---> Running in 19f81e3df83d [2023-04-17T05:03:59.986Z] noop [2023-04-17T05:03:59.986Z] Removing intermediate container 19f81e3df83d [2023-04-17T05:03:59.986Z] ---> 6fe5869689fb [2023-04-17T05:03:59.986Z] Successfully built 6fe5869689fb [2023-04-17T05:03:59.986Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T05:04:00.467Z] + docker inspect -f . ci-base-image-arm64 [2023-04-17T05:04:00.468Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T05:04:00.761Z] prd-ubuntu20.04-docker-arm64-4c-16g-8687 does not seem to be running inside a container [2023-04-17T05:04:00.832Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-17T05:04:02.054Z] $ docker top adfe8a1aefccf3f7cbd501fa2c2e0c9a512f994c6cbeadb577c1c90baf929579 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-17T05:04:02.927Z] + go version [2023-04-17T05:04:02.927Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-17T05:04:02.961Z] $ docker stop --time=1 adfe8a1aefccf3f7cbd501fa2c2e0c9a512f994c6cbeadb577c1c90baf929579 [2023-04-17T05:04:04.523Z] $ docker rm -f --volumes adfe8a1aefccf3f7cbd501fa2c2e0c9a512f994c6cbeadb577c1c90baf929579 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T05:04:05.358Z] + docker inspect -f . ci-base-image-arm64 [2023-04-17T05:04:05.359Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T05:04:05.609Z] prd-ubuntu20.04-docker-arm64-4c-16g-8687 does not seem to be running inside a container [2023-04-17T05:04:05.667Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-17T05:04:06.733Z] $ docker top 8c21b9ff102ac9506044ab3d64c61333c9bec3836b27c75f07c7097c7e5191ec -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-17T05:04:07.275Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-04-17T05:04:07.656Z] + make test [2023-04-17T05:04:07.656Z] go test -race -coverprofile=coverage.out ./... [2023-04-17T05:04:46.525Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-04-17T05:06:53.214Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-04-17T05:06:53.214Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-04-17T05:06:53.214Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-04-17T05:06:53.214Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-04-17T05:06:53.214Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-04-17T05:07:01.441Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.229s coverage: 27.6% of statements [2023-04-17T05:07:06.805Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.268s coverage: 79.9% of statements [2023-04-17T05:07:19.116Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-04-17T05:07:19.116Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-04-17T05:07:19.116Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.316s coverage: 86.0% of statements [2023-04-17T05:07:24.460Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-04-17T05:07:25.043Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.435s coverage: 77.5% of statements [2023-04-17T05:07:29.318Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-04-17T05:07:30.735Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-04-17T05:07:30.735Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-04-17T05:07:32.682Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.275s coverage: 14.6% of statements [2023-04-17T05:07:32.682Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.474s coverage: 68.5% of statements [2023-04-17T05:07:34.633Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.465s coverage: 89.2% of statements [2023-04-17T05:07:35.598Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-04-17T05:07:36.185Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.282s coverage: 5.5% of statements [2023-04-17T05:07:36.772Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-04-17T05:07:36.772Z] GO111MODULE=on go vet ./... [2023-04-17T05:10:13.562Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-17T05:10:13.562Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-17T05:10:13.562Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-17T05:10:13.605Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-17T05:10:13.631Z] $ docker stop --time=1 8c21b9ff102ac9506044ab3d64c61333c9bec3836b27c75f07c7097c7e5191ec [2023-04-17T05:10:15.595Z] $ docker rm -f --volumes 8c21b9ff102ac9506044ab3d64c61333c9bec3836b27c75f07c7097c7e5191ec [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-17T05:10:17.415Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-17T05:10:17.449Z] Warning: overwriting stash ‘coverage-report’ [2023-04-17T05:10:18.065Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-17T05:10:18.670Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-17T05:10:19.011Z] + ls -al . [2023-04-17T05:10:19.011Z] total 268 [2023-04-17T05:10:19.011Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 17 05:04 . [2023-04-17T05:10:19.011Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 05:01 .. [2023-04-17T05:10:19.011Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 17 05:01 .dockerignore [2023-04-17T05:10:19.011Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 17 05:01 .git [2023-04-17T05:10:19.011Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 05:01 .github [2023-04-17T05:10:19.011Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 17 05:01 .gitignore [2023-04-17T05:10:19.011Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 17 05:01 .golangci.yml [2023-04-17T05:10:19.011Z] -rw-rw-r-- 1 jenkins jenkins 31677 Apr 17 05:01 CHANGELOG.md [2023-04-17T05:10:19.011Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 17 05:01 GOVERNANCE.md [2023-04-17T05:10:19.011Z] -rw-rw-r-- 1 jenkins jenkins 885 Apr 17 05:01 Jenkinsfile [2023-04-17T05:10:19.011Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 17 05:01 LICENSE [2023-04-17T05:10:19.011Z] -rw-rw-r-- 1 jenkins jenkins 1714 Apr 17 05:01 Makefile [2023-04-17T05:10:19.011Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 17 05:01 OWNERS.md [2023-04-17T05:10:19.011Z] -rw-rw-r-- 1 jenkins jenkins 4891 Apr 17 05:01 README.md [2023-04-17T05:10:19.011Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 17 04:59 VERSION [2023-04-17T05:10:19.011Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 05:01 bin [2023-04-17T05:10:19.011Z] -rw-r--r-- 1 jenkins jenkins 105947 Apr 17 05:07 coverage.out [2023-04-17T05:10:19.011Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 17 05:01 example [2023-04-17T05:10:19.011Z] -rw-rw-r-- 1 jenkins jenkins 3246 Apr 17 05:01 go.mod [2023-04-17T05:10:19.011Z] -rw-rw-r-- 1 jenkins jenkins 31006 Apr 17 05:01 go.sum [2023-04-17T05:10:19.011Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 17 05:01 internal [2023-04-17T05:10:19.011Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 05:01 openapi [2023-04-17T05:10:19.011Z] drwxrwxr-x 6 jenkins jenkins 4096 Apr 17 05:01 pkg [2023-04-17T05:10:19.011Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 05:01 snap [2023-04-17T05:10:19.011Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 17 05:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T05:10:19.445Z] + 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=164f5e73a9288ec5d56b4327ea6c165948a812db --label arch=arm64 --label version=0.0.0 . [2023-04-17T05:10:20.032Z] Sending build context to Docker daemon 5.988MB [2023-04-17T05:10:20.032Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-04-17T05:10:20.032Z] Step 2/23 : FROM ${BASE} AS builder [2023-04-17T05:10:20.032Z] ---> 6fe5869689fb [2023-04-17T05:10:20.032Z] Step 3/23 : ARG MAKE=make build [2023-04-17T05:10:20.032Z] ---> Running in f302fd75ec04 [2023-04-17T05:10:20.301Z] Removing intermediate container f302fd75ec04 [2023-04-17T05:10:20.301Z] ---> 5d11f77b5a12 [2023-04-17T05:10:20.301Z] Step 4/23 : WORKDIR /device-sdk-go [2023-04-17T05:10:20.301Z] ---> Running in 41dce3f009ef [2023-04-17T05:10:20.570Z] Removing intermediate container 41dce3f009ef [2023-04-17T05:10:20.570Z] ---> 68fc48dac192 [2023-04-17T05:10:20.838Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-04-17T05:10:20.838Z] ---> Running in e2fec4cfb3a4 [2023-04-17T05:10:21.109Z] Removing intermediate container e2fec4cfb3a4 [2023-04-17T05:10:21.109Z] ---> 29a56feb93a5 [2023-04-17T05:10:21.109Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-04-17T05:10:21.109Z] ---> Running in 7ae8fa0cab6f [2023-04-17T05:10:22.073Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-17T05:10:22.657Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-17T05:10:24.066Z] OK: 263 MiB in 53 packages [2023-04-17T05:10:24.735Z] Removing intermediate container 7ae8fa0cab6f [2023-04-17T05:10:24.735Z] ---> 45a9ed8421b4 [2023-04-17T05:10:24.735Z] Step 7/23 : COPY go.mod vendor* ./ [2023-04-17T05:10:25.360Z] ---> 5f89293ba98f [2023-04-17T05:10:25.360Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-17T05:10:25.677Z] ---> Running in 865b5ce12817 [2023-04-17T05:10:28.318Z] Removing intermediate container 865b5ce12817 [2023-04-17T05:10:28.318Z] ---> a55719bf99ad [2023-04-17T05:10:28.318Z] Step 9/23 : COPY . . [2023-04-17T05:10:30.278Z] ---> a5e545fa2b81 [2023-04-17T05:10:30.278Z] Step 10/23 : RUN ${MAKE} [2023-04-17T05:10:30.278Z] ---> Running in 96b886d205d9 [2023-04-17T05:10:31.242Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-04-17T05:12:54.112Z] Removing intermediate container 96b886d205d9 [2023-04-17T05:12:54.112Z] ---> 355c480d5ede [2023-04-17T05:12:54.112Z] Step 11/23 : FROM alpine:3.17 [2023-04-17T05:12:54.112Z] 3.17: Pulling from library/alpine [2023-04-17T05:12:54.112Z] c41833b44d91: Pulling fs layer [2023-04-17T05:12:54.112Z] c41833b44d91: Verifying Checksum [2023-04-17T05:12:54.112Z] c41833b44d91: Download complete [2023-04-17T05:12:54.112Z] c41833b44d91: Pull complete [2023-04-17T05:12:54.112Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-17T05:12:54.112Z] Status: Downloaded newer image for alpine:3.17 [2023-04-17T05:12:54.112Z] ---> 51e60588ff2c [2023-04-17T05:12:54.112Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-04-17T05:12:54.112Z] ---> Running in b5110fe7f106 [2023-04-17T05:12:54.112Z] Removing intermediate container b5110fe7f106 [2023-04-17T05:12:54.112Z] ---> c58ce4f7fa2d [2023-04-17T05:12:54.112Z] Step 13/23 : RUN apk add --update --no-cache [2023-04-17T05:12:54.112Z] ---> Running in a2f4847b5ade [2023-04-17T05:12:54.112Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-17T05:12:54.112Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-17T05:12:54.112Z] OK: 7 MiB in 15 packages [2023-04-17T05:12:54.112Z] Removing intermediate container a2f4847b5ade [2023-04-17T05:12:54.112Z] ---> 21b230516ab2 [2023-04-17T05:12:54.112Z] Step 14/23 : WORKDIR / [2023-04-17T05:12:54.112Z] ---> Running in 0eb8d37e2eb4 [2023-04-17T05:12:54.112Z] Removing intermediate container 0eb8d37e2eb4 [2023-04-17T05:12:54.112Z] ---> e8e6a194568f [2023-04-17T05:12:54.112Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-04-17T05:12:54.112Z] ---> e17a70ff42d9 [2023-04-17T05:12:54.112Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-04-17T05:12:54.112Z] ---> 5c02d12d01c9 [2023-04-17T05:12:54.112Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-04-17T05:12:54.112Z] ---> af65ea30c854 [2023-04-17T05:12:54.112Z] Step 18/23 : EXPOSE 59999 [2023-04-17T05:12:54.112Z] ---> Running in 3ced000489cd [2023-04-17T05:12:54.112Z] Removing intermediate container 3ced000489cd [2023-04-17T05:12:54.112Z] ---> 24cfd0406ddd [2023-04-17T05:12:54.112Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-04-17T05:12:54.112Z] ---> Running in 6b94fd6987e2 [2023-04-17T05:12:54.112Z] Removing intermediate container 6b94fd6987e2 [2023-04-17T05:12:54.112Z] ---> 4a714b97bfaf [2023-04-17T05:12:54.112Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-17T05:12:54.112Z] ---> Running in 0c94c1c9457c [2023-04-17T05:12:54.379Z] Removing intermediate container 0c94c1c9457c [2023-04-17T05:12:54.379Z] ---> 4f2347609937 [2023-04-17T05:12:54.379Z] Step 21/23 : LABEL arch=arm64 [2023-04-17T05:12:54.647Z] ---> Running in 57c8cd10a93e [2023-04-17T05:12:54.914Z] Removing intermediate container 57c8cd10a93e [2023-04-17T05:12:54.914Z] ---> 6fd8fc651e39 [2023-04-17T05:12:54.914Z] Step 22/23 : LABEL git_sha=164f5e73a9288ec5d56b4327ea6c165948a812db [2023-04-17T05:12:54.914Z] ---> Running in ec31d2bbab49 [2023-04-17T05:12:55.181Z] Removing intermediate container ec31d2bbab49 [2023-04-17T05:12:55.181Z] ---> 034e08cdbcb5 [2023-04-17T05:12:55.181Z] Step 23/23 : LABEL version=0.0.0 [2023-04-17T05:12:55.181Z] ---> Running in 0447104ea8fb [2023-04-17T05:12:55.448Z] Removing intermediate container 0447104ea8fb [2023-04-17T05:12:55.448Z] ---> f060c1eb6d57 [2023-04-17T05:12:55.448Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-17T05:12:55.448Z] Successfully built f060c1eb6d57 [2023-04-17T05:12:55.448Z] 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-04-17T05:12:56.232Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-17T05:12:56.232Z] [2023-04-17T05:12:56.232Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T05:12:56.635Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-17T05:12:56.903Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-17T05:12:56.903Z] 8998bd30e6a1: Pulling fs layer [2023-04-17T05:12:56.903Z] 04944245beec: Pulling fs layer [2023-04-17T05:12:56.903Z] 699f458cf7ca: Pulling fs layer [2023-04-17T05:12:56.903Z] 765212b225bb: Pulling fs layer [2023-04-17T05:12:56.903Z] f23df028b6ca: Pulling fs layer [2023-04-17T05:12:56.903Z] d65c8cfc05b1: Pulling fs layer [2023-04-17T05:12:56.903Z] 2437ff75d9bd: Pulling fs layer [2023-04-17T05:12:56.903Z] f23df028b6ca: Waiting [2023-04-17T05:12:56.903Z] 2437ff75d9bd: Waiting [2023-04-17T05:12:56.903Z] d65c8cfc05b1: Waiting [2023-04-17T05:12:56.903Z] 04944245beec: Verifying Checksum [2023-04-17T05:12:56.903Z] 04944245beec: Download complete [2023-04-17T05:12:56.903Z] 765212b225bb: Verifying Checksum [2023-04-17T05:12:56.903Z] 765212b225bb: Download complete [2023-04-17T05:12:56.903Z] f23df028b6ca: Verifying Checksum [2023-04-17T05:12:56.903Z] f23df028b6ca: Download complete [2023-04-17T05:12:56.903Z] d65c8cfc05b1: Verifying Checksum [2023-04-17T05:12:56.903Z] d65c8cfc05b1: Download complete [2023-04-17T05:12:57.172Z] 699f458cf7ca: Verifying Checksum [2023-04-17T05:12:57.172Z] 699f458cf7ca: Download complete [2023-04-17T05:12:57.438Z] 8998bd30e6a1: Verifying Checksum [2023-04-17T05:12:57.438Z] 8998bd30e6a1: Download complete [2023-04-17T05:13:00.015Z] 2437ff75d9bd: Verifying Checksum [2023-04-17T05:13:00.015Z] 2437ff75d9bd: Download complete [2023-04-17T05:13:01.422Z] 8998bd30e6a1: Pull complete [2023-04-17T05:13:01.688Z] 04944245beec: Pull complete [2023-04-17T05:13:03.096Z] 699f458cf7ca: Pull complete [2023-04-17T05:13:03.361Z] 765212b225bb: Pull complete [2023-04-17T05:13:05.930Z] f23df028b6ca: Pull complete [2023-04-17T05:13:05.930Z] d65c8cfc05b1: Pull complete [2023-04-17T05:13:20.908Z] 2437ff75d9bd: Pull complete [2023-04-17T05:13:20.908Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-17T05:13:20.908Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-17T05:13:20.908Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T05:13:21.225Z] prd-ubuntu20.04-docker-arm64-4c-16g-8687 does not seem to be running inside a container [2023-04-17T05:13:21.283Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-04-17T05:13:23.725Z] $ docker top dad9f88680970c2547590348a7f5bc16f8f7c67a7025ff836599218ab9de9bfb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-17T05:13:24.626Z] ---> job-cost.sh [2023-04-17T05:13:24.626Z] lf-activate-venv: SKIPPING [2023-04-17T05:13:24.626Z] INFO: No Stack... [2023-04-17T05:13:25.204Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-17T05:13:26.161Z] INFO: Archiving Costs [Pipeline] sh [2023-04-17T05:13:26.508Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2023-04-17T05:13:26.508Z] + cut -d, -f6 [Pipeline] lock [2023-04-17T05:13:26.825Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1422-1-stack-cost] [2023-04-17T05:13:26.831Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1422-1-stack-cost] did not exist. Created. [2023-04-17T05:13:26.831Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1422-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-17T05:13:27.457Z] /w/workspace/device-sdk-go/1@tmp/durable-2155ea13/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-17T05:13:28.139Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-17T05:13:28.175Z] Warning: overwriting stash ‘stack-cost’ [2023-04-17T05:13:28.243Z] Stashed 1 file(s) [Pipeline] } [2023-04-17T05:13:28.258Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1422-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-17T05:13:28.330Z] $ docker stop --time=1 dad9f88680970c2547590348a7f5bc16f8f7c67a7025ff836599218ab9de9bfb [2023-04-17T05:13:29.853Z] $ docker rm -f --volumes dad9f88680970c2547590348a7f5bc16f8f7c67a7025ff836599218ab9de9bfb [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-04-17T05:13:30.868Z] provisioning config files... [2023-04-17T05:13:30.876Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1422@tmp/config15312927622509290161tmp [Pipeline] { [Pipeline] sh [2023-04-17T05:13:31.212Z] + set +x [2023-04-17T05:13:31.212Z] + curl -s https://codecov.io/bash [2023-04-17T05:13:31.212Z] + bash -s -- [2023-04-17T05:13:31.212Z] [2023-04-17T05:13:31.212Z] _____ _ [2023-04-17T05:13:31.212Z] / ____| | | [2023-04-17T05:13:31.212Z] | | ___ __| | ___ ___ _____ __ [2023-04-17T05:13:31.212Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-04-17T05:13:31.212Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-04-17T05:13:31.212Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-04-17T05:13:31.212Z] Bash-1.0.6 [2023-04-17T05:13:31.212Z] [2023-04-17T05:13:31.212Z] [2023-04-17T05:13:31.212Z] ==> git version 2.25.1 found [2023-04-17T05:13:31.212Z] ==> 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-04-17T05:13:31.212Z] Release-Date: 2020-01-08 [2023-04-17T05:13:31.212Z] 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-04-17T05:13:31.212Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-04-17T05:13:31.212Z] ==> Jenkins CI detected. [2023-04-17T05:13:31.212Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1422 [2023-04-17T05:13:31.212Z] project root: . [2023-04-17T05:13:31.212Z] --> token set from env [2023-04-17T05:13:31.212Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-04-17T05:13:31.212Z] ==> Running gcov in . (disable via -X gcov) [2023-04-17T05:13:31.475Z] ==> Python coveragepy not found [2023-04-17T05:13:31.475Z] ==> Searching for coverage reports in: [2023-04-17T05:13:31.475Z] + . [2023-04-17T05:13:31.475Z] -> Found 1 reports [2023-04-17T05:13:31.475Z] ==> Detecting git/mercurial file structure [2023-04-17T05:13:31.475Z] ==> Reading reports [2023-04-17T05:13:31.475Z] + ./coverage.out bytes=105947 [2023-04-17T05:13:31.475Z] ==> Appending adjustments [2023-04-17T05:13:31.475Z] https://docs.codecov.io/docs/fixing-reports [2023-04-17T05:13:31.733Z] + Found adjustments [2023-04-17T05:13:31.733Z] ==> Gzipping contents [2023-04-17T05:13:31.733Z] 16K /tmp/codecov.RYS7sK.gz [2023-04-17T05:13:31.733Z] ==> Uploading reports [2023-04-17T05:13:31.733Z] url: https://codecov.io [2023-04-17T05:13:31.733Z] query: branch=PR-1422&commit=164f5e73a9288ec5d56b4327ea6c165948a812db&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1422%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1422&job=&cmd_args= [2023-04-17T05:13:31.733Z] -> Pinging Codecov [2023-04-17T05:13:31.734Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1422&commit=164f5e73a9288ec5d56b4327ea6c165948a812db&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1422%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1422&job=&cmd_args= [2023-04-17T05:13:31.734Z] -> Uploading to [2023-04-17T05:13:31.734Z] https://storage.googleapis.com/codecov/v4/raw/2023-04-17/7E55EF52A471D76F132DFD9A03CDDE97/164f5e73a9288ec5d56b4327ea6c165948a812db/00753724-ef1b-4b07-bfb3-f7ee09b2eece.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230417%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230417T051331Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=07d2f19047429d11d26241cf5f5a68af2c1d145d33fdc96dab5e94bfd216b488 [2023-04-17T05:13:31.734Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-17T05:13:31.734Z] Dload Upload Total Spent Left Speed [2023-04-17T05:13:31.993Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14998 0 0 100 14998 0 60475 --:--:-- --:--:-- --:--:-- 60475 [2023-04-17T05:13:31.993Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/164f5e73a9288ec5d56b4327ea6c165948a812db [Pipeline] } [2023-04-17T05:13:32.022Z] 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-04-17T05:13:33.775Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1422/archives ] [2023-04-17T05:13:33.775Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1422/archives [2023-04-17T05:13:33.775Z] total 16 [2023-04-17T05:13:33.775Z] drwxr-xr-x 3 root root 4096 Apr 17 05:02 . [2023-04-17T05:13:33.775Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 17 05:02 .. [2023-04-17T05:13:33.775Z] drwxr-xr-x 2 root root 4096 Apr 17 05:02 cost [2023-04-17T05:13:33.775Z] -rw-r--r-- 1 root root 86 Apr 17 05:02 cost.csv [2023-04-17T05:13:33.775Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1422/archives [2023-04-17T05:13:33.775Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1422/archives [2023-04-17T05:13:33.775Z] total 16 [2023-04-17T05:13:33.775Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 17 05:02 . [2023-04-17T05:13:33.775Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 17 05:02 .. [2023-04-17T05:13:33.775Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 17 05:02 cost [2023-04-17T05:13:33.775Z] -rw-r--r-- 1 jenkins jenkins 86 Apr 17 05:02 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-17T05:13:34.103Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-17T05:13:35.488Z] ---> package-listing.sh [2023-04-17T05:13:35.489Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-17T05:13:35.489Z] ++ facter osfamily [2023-04-17T05:13:35.748Z] + OS_FAMILY=debian [2023-04-17T05:13:35.748Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1422 [2023-04-17T05:13:35.748Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-17T05:13:35.748Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-17T05:13:35.748Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-17T05:13:35.748Z] + PACKAGES=/tmp/packages_start.txt [2023-04-17T05:13:35.748Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1422 ']' [2023-04-17T05:13:35.748Z] + PACKAGES=/tmp/packages_end.txt [2023-04-17T05:13:35.748Z] + case "${OS_FAMILY}" in [2023-04-17T05:13:35.748Z] + dpkg -l [2023-04-17T05:13:35.748Z] + grep '^ii' [2023-04-17T05:13:35.748Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-17T05:13:35.748Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-17T05:13:35.748Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-17T05:13:35.748Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1422 ']' [2023-04-17T05:13:35.748Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1422/archives/ [2023-04-17T05:13:35.748Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1422/archives/ [Pipeline] echo [2023-04-17T05:13:35.782Z] 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-1422/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-04-17T05:13:36.074Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T05:13:36.699Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-17T05:13:36.699Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T05:13:36.847Z] prd-ubuntu20.04-docker-8c-8g-8685 does not seem to be running inside a container [2023-04-17T05:13:36.883Z] $ 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-1422/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-1422 -v /w/workspace/gexfoundry_device-sdk-go_PR-1422:/w/workspace/gexfoundry_device-sdk-go_PR-1422:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1422@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1422@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-04-17T05:13:37.060Z] $ docker top ef540b293caf6b84d6dea6e4d2a229205a5f8bd67dd1fb2a113d45fd78a7db04 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-17T05:13:37.453Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-17T05:13:37.763Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-17T05:13:38.073Z] + ls /var/log/sa-host [2023-04-17T05:13:38.073Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-17T05:13:38.295Z] provisioning config files... [2023-04-17T05:13:38.304Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1422@tmp/config7733390997122531350tmp [Pipeline] { [Pipeline] echo [2023-04-17T05:13:38.360Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-17T05:13:38.678Z] ---> create-netrc.sh [Pipeline] } [2023-04-17T05:13:38.704Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-17T05:13:39.118Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-17T05:13:39.150Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-17T05:13:39.461Z] ---> sudo-logs.sh [2023-04-17T05:13:39.461Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-17T05:13:39.545Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-17T05:13:39.854Z] ---> job-cost.sh [2023-04-17T05:13:39.854Z] lf-activate-venv: SKIPPING [2023-04-17T05:13:39.854Z] DEBUG: total: 0.2199999988079071 [2023-04-17T05:13:39.854Z] INFO: Retrieving Stack Cost... [2023-04-17T05:13:40.422Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-17T05:13:40.683Z] INFO: Archiving Costs [Pipeline] echo [2023-04-17T05:13:40.719Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-17T05:13:41.033Z] ---> logs-deploy.sh [2023-04-17T05:13:41.033Z] lf-activate-venv: SKIPPING [2023-04-17T05:13:41.033Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1422/1 [2023-04-17T05:13:41.033Z] INFO: archiving workspace using pattern(s): [2023-04-17T05:13:41.970Z] Archives upload complete. [2023-04-17T05:13:41.970Z] INFO: archiving logs to Nexus