Pull request #1473 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 7267fd86e49b51741855a8cc4948ac0fe2320b28+2d1a40f8b95de1d6d37730263f65300101497f92 (db60c725875061892fd8d16e98aff93fcb92f1a6) 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-ssh4989959019599174467.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh2646976644823254231.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-1473/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-1473/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12263075235045591855.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-1473/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5575144692697928828.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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-ssh3839158124009675669.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-1473/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-1473/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1387835379309048806.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-772 in /w/workspace/gexfoundry_device-sdk-go_PR-1473 [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-1473 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 2d1a40f8b95de1d6d37730263f65300101497f92 into PR head commit 7267fd86e49b51741855a8cc4948ac0fe2320b28 Merge succeeded, producing 7267fd86e49b51741855a8cc4948ac0fe2320b28 Checking out Revision 7267fd86e49b51741855a8cc4948ac0fe2320b28 (PR-1473) > 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/1473/head:refs/remotes/origin/PR-1473 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7267fd86e49b51741855a8cc4948ac0fe2320b28 # 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 2d1a40f8b95de1d6d37730263f65300101497f92 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7267fd86e49b51741855a8cc4948ac0fe2320b28 # timeout=10 Commit message: "build: Update to latest go-mods" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-07-10T20:41:05.459Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-07-10T20:41:05.630Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-07-10T20:41:05.732Z] ========================================================= [2023-07-10T20:41:05.732Z] EdgeX Global Pipelines Version Info [2023-07-10T20:41:05.732Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-07-10T20:41:06.503Z] ------------------- [2023-07-10T20:41:06.503Z] stable info: [2023-07-10T20:41:06.503Z] ------------------- [2023-07-10T20:41:06.503Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-07-10T20:41:06.503Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-10T20:41:06.503Z] Message: update stable to v1.0.250 [2023-07-10T20:41:07.074Z] ------------------- [2023-07-10T20:41:07.074Z] experimental info: [2023-07-10T20:41:07.074Z] ------------------- [2023-07-10T20:41:07.074Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-07-10T20:41:07.074Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-10T20:41:07.074Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-07-10T20:41:07.360Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-07-10T20:41:07.403Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-07-10T20:41:07.446Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-07-10T20:41:07.488Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-07-10T20:41:07.529Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-07-10T20:41:07.566Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-07-10T20:41:07.607Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-07-10T20:41:07.644Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-07-10T20:41:07.680Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-07-10T20:41:07.718Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-07-10T20:41:07.755Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-07-10T20:41:07.794Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-07-10T20:41:07.831Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-07-10T20:41:07.867Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-07-10T20:41:07.905Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-07-10T20:41:07.946Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-07-10T20:41:07.988Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-07-10T20:41:08.030Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-07-10T20:41:08.070Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-07-10T20:41:08.108Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-07-10T20:41:08.146Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-07-10T20:41:08.183Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-07-10T20:41:08.224Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-07-10T20:41:08.261Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-07-10T20:41:08.299Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-07-10T20:41:08.339Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-07-10T20:41:08.376Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-07-10T20:41:08.421Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1473 [Pipeline] echo [2023-07-10T20:41:08.466Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1473 [Pipeline] echo [2023-07-10T20:41:08.507Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1473 [Pipeline] echo [2023-07-10T20:41:08.549Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7267fd86e49b51741855a8cc4948ac0fe2320b28 [Pipeline] echo [2023-07-10T20:41:08.591Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7267fd8 [Pipeline] echo [2023-07-10T20:41:08.627Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-10T20:41:08.741Z] provisioning config files... [2023-07-10T20:41:08.754Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1473@tmp/config10317784231240217872tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-10T20:41:09.098Z] ---> docker-login.sh [2023-07-10T20:41:09.099Z] nexus3.edgexfoundry.org:10001 [2023-07-10T20:41:09.359Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-10T20:41:09.359Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-10T20:41:09.359Z] Configure a credential helper to remove this warning. See [2023-07-10T20:41:09.359Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-10T20:41:09.359Z] [2023-07-10T20:41:09.359Z] Login Succeeded [2023-07-10T20:41:09.359Z] nexus3.edgexfoundry.org:10002 [2023-07-10T20:41:09.359Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-10T20:41:09.619Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-10T20:41:09.619Z] Configure a credential helper to remove this warning. See [2023-07-10T20:41:09.619Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-10T20:41:09.619Z] [2023-07-10T20:41:09.619Z] Login Succeeded [2023-07-10T20:41:09.619Z] nexus3.edgexfoundry.org:10003 [2023-07-10T20:41:09.619Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-10T20:41:09.619Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-10T20:41:09.619Z] Configure a credential helper to remove this warning. See [2023-07-10T20:41:09.619Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-10T20:41:09.619Z] [2023-07-10T20:41:09.619Z] Login Succeeded [2023-07-10T20:41:09.619Z] nexus3.edgexfoundry.org:10004 [2023-07-10T20:41:09.619Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-10T20:41:09.885Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-10T20:41:09.885Z] Configure a credential helper to remove this warning. See [2023-07-10T20:41:09.885Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-10T20:41:09.885Z] [2023-07-10T20:41:09.885Z] Login Succeeded [2023-07-10T20:41:09.885Z] docker.io [2023-07-10T20:41:09.885Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-10T20:41:10.145Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-10T20:41:10.145Z] Configure a credential helper to remove this warning. See [2023-07-10T20:41:10.145Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-10T20:41:10.145Z] [2023-07-10T20:41:10.145Z] Login Succeeded [2023-07-10T20:41:10.145Z] ---> docker-login.sh ends [Pipeline] } [2023-07-10T20:41:10.176Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-07-10T20:41:10.950Z] + git rev-list -1 --merges 7267fd86e49b51741855a8cc4948ac0fe2320b28~1..7267fd86e49b51741855a8cc4948ac0fe2320b28 [Pipeline] echo [2023-07-10T20:41:11.019Z] -----------> git rev-list -1 --merges 7267fd86e49b51741855a8cc4948ac0fe2320b28~1..7267fd86e49b51741855a8cc4948ac0fe2320b28 7267fd86e49b51741855a8cc4948ac0fe2320b28 [false] [Pipeline] sh [2023-07-10T20:41:11.343Z] + git log --format=format:%s -1 7267fd86e49b51741855a8cc4948ac0fe2320b28 [Pipeline] echo [2023-07-10T20:41:11.377Z] ========================================================= [2023-07-10T20:41:11.377Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-07-10T20:41:11.377Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-10T20:41:11.887Z] + git log --format=format:%s -1 7267fd86e49b51741855a8cc4948ac0fe2320b28 [Pipeline] echo [2023-07-10T20:41:11.946Z] [semverPrep] GIT_COMMIT: 7267fd86e49b51741855a8cc4948ac0fe2320b28, Commit Message: build: Update to latest go-mods [Pipeline] echo [2023-07-10T20:41:11.976Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-07-10T20:41:12.373Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-10T20:41:12.373Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-07-10T20:41:12.373Z] + [ -e /tmp/ssh_known_hosts ] [2023-07-10T20:41:12.373Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-07-10T20:41:12.373Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=sudo [2023-07-10T20:41:12.373Z] tee -a /etc/ssh/ssh_known_hosts [2023-07-10T20:41:12.373Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-10T20:41:12.870Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-10T20:41:12.870Z] [2023-07-10T20:41:12.870Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-10T20:41:13.244Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-10T20:41:13.244Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-07-10T20:41:13.244Z] b85a868b505f: Pulling fs layer [2023-07-10T20:41:13.244Z] e2be974225ed: Pulling fs layer [2023-07-10T20:41:13.244Z] 339a4e72a1f5: Pulling fs layer [2023-07-10T20:41:13.244Z] 988bab9f4d93: Pulling fs layer [2023-07-10T20:41:13.244Z] 1469e6f7b9e6: Pulling fs layer [2023-07-10T20:41:13.244Z] eaf3925da568: Pulling fs layer [2023-07-10T20:41:13.244Z] bab4dde63d76: Pulling fs layer [2023-07-10T20:41:13.244Z] bde34c3a00c8: Pulling fs layer [2023-07-10T20:41:13.245Z] b352a97aabf1: Pulling fs layer [2023-07-10T20:41:13.245Z] 4872d77fe225: Pulling fs layer [2023-07-10T20:41:13.245Z] 5851b861e8e6: Pulling fs layer [2023-07-10T20:41:13.245Z] bab4dde63d76: Waiting [2023-07-10T20:41:13.245Z] bde34c3a00c8: Waiting [2023-07-10T20:41:13.245Z] b352a97aabf1: Waiting [2023-07-10T20:41:13.245Z] 4872d77fe225: Waiting [2023-07-10T20:41:13.245Z] 5851b861e8e6: Waiting [2023-07-10T20:41:13.245Z] 988bab9f4d93: Waiting [2023-07-10T20:41:13.245Z] 1469e6f7b9e6: Waiting [2023-07-10T20:41:13.245Z] eaf3925da568: Waiting [2023-07-10T20:41:13.245Z] e2be974225ed: Verifying Checksum [2023-07-10T20:41:13.245Z] e2be974225ed: Download complete [2023-07-10T20:41:13.245Z] 988bab9f4d93: Verifying Checksum [2023-07-10T20:41:13.245Z] 988bab9f4d93: Download complete [2023-07-10T20:41:13.245Z] 1469e6f7b9e6: Verifying Checksum [2023-07-10T20:41:13.245Z] 1469e6f7b9e6: Download complete [2023-07-10T20:41:13.504Z] 339a4e72a1f5: Verifying Checksum [2023-07-10T20:41:13.504Z] 339a4e72a1f5: Download complete [2023-07-10T20:41:13.764Z] eaf3925da568: Download complete [2023-07-10T20:41:13.764Z] bde34c3a00c8: Download complete [2023-07-10T20:41:13.764Z] b352a97aabf1: Verifying Checksum [2023-07-10T20:41:13.764Z] b352a97aabf1: Download complete [2023-07-10T20:41:13.764Z] 4872d77fe225: Verifying Checksum [2023-07-10T20:41:13.764Z] 4872d77fe225: Download complete [2023-07-10T20:41:13.764Z] 5851b861e8e6: Verifying Checksum [2023-07-10T20:41:13.764Z] 5851b861e8e6: Download complete [2023-07-10T20:41:13.764Z] b85a868b505f: Verifying Checksum [2023-07-10T20:41:13.764Z] b85a868b505f: Download complete [2023-07-10T20:41:14.027Z] bab4dde63d76: Verifying Checksum [2023-07-10T20:41:14.027Z] bab4dde63d76: Download complete [2023-07-10T20:41:15.427Z] b85a868b505f: Pull complete [2023-07-10T20:41:15.427Z] e2be974225ed: Pull complete [2023-07-10T20:41:15.996Z] 339a4e72a1f5: Pull complete [2023-07-10T20:41:15.996Z] 988bab9f4d93: Pull complete [2023-07-10T20:41:16.257Z] 1469e6f7b9e6: Pull complete [2023-07-10T20:41:16.257Z] eaf3925da568: Pull complete [2023-07-10T20:41:18.160Z] bab4dde63d76: Pull complete [2023-07-10T20:41:18.419Z] bde34c3a00c8: Pull complete [2023-07-10T20:41:18.419Z] b352a97aabf1: Pull complete [2023-07-10T20:41:18.419Z] 4872d77fe225: Pull complete [2023-07-10T20:41:18.679Z] 5851b861e8e6: Pull complete [2023-07-10T20:41:18.679Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-07-10T20:41:18.679Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-10T20:41:18.679Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-10T20:41:18.912Z] prd-ubuntu20.04-docker-8c-8g-772 does not seem to be running inside a container [2023-07-10T20:41:18.955Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1473 -v /w/workspace/gexfoundry_device-sdk-go_PR-1473:/w/workspace/gexfoundry_device-sdk-go_PR-1473:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1473@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1473@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-07-10T20:41:21.715Z] $ docker top 92bf9dd28f0bd177ffd7ee294bfa41d5939d1affbe8df483b8c12d98878551b7 -eo pid,comm [2023-07-10T20:41:21.773Z] 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-07-10T20:41:21.773Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-10T20:41:21.908Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-10T20:41:21.908Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-10T20:41:22.035Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-10T20:41:22.042Z] $ docker exec 92bf9dd28f0bd177ffd7ee294bfa41d5939d1affbe8df483b8c12d98878551b7 ssh-agent [2023-07-10T20:41:22.166Z] SSH_AUTH_SOCK=/tmp/ssh-fNrRUBgf222K/agent.32 [2023-07-10T20:41:22.166Z] SSH_AGENT_PID=38 [2023-07-10T20:41:22.175Z] Running ssh-add (command line suppressed) [2023-07-10T20:41:22.287Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1473@tmp/private_key_1933065442023965767.key (/w/workspace/gexfoundry_device-sdk-go_PR-1473@tmp/private_key_1933065442023965767.key) [2023-07-10T20:41:22.299Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-10T20:41:22.625Z] + git tag --points-at HEAD [Pipeline] } [2023-07-10T20:41:22.653Z] $ docker exec --env ******** --env ******** 92bf9dd28f0bd177ffd7ee294bfa41d5939d1affbe8df483b8c12d98878551b7 ssh-agent -k [2023-07-10T20:41:22.753Z] unset SSH_AUTH_SOCK; [2023-07-10T20:41:22.754Z] unset SSH_AGENT_PID; [2023-07-10T20:41:22.754Z] echo Agent pid 38 killed; [2023-07-10T20:41:22.759Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-07-10T20:41:22.850Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-10T20:41:22.850Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-10T20:41:22.960Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-10T20:41:22.967Z] $ docker exec 92bf9dd28f0bd177ffd7ee294bfa41d5939d1affbe8df483b8c12d98878551b7 ssh-agent [2023-07-10T20:41:23.074Z] SSH_AUTH_SOCK=/tmp/ssh-cT9SYaVtxiVg/agent.70 [2023-07-10T20:41:23.074Z] SSH_AGENT_PID=76 [2023-07-10T20:41:23.080Z] Running ssh-add (command line suppressed) [2023-07-10T20:41:23.193Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1473@tmp/private_key_6969241810655676179.key (/w/workspace/gexfoundry_device-sdk-go_PR-1473@tmp/private_key_6969241810655676179.key) [2023-07-10T20:41:23.204Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-10T20:41:23.531Z] + git semver init [2023-07-10T20:41:23.791Z] 2023-07-10 20:41:23,733 [run_init] DEBUG init version:0.0.0 force:False [2023-07-10T20:41:23.791Z] 2023-07-10 20:41:23,734 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1473/.semver [2023-07-10T20:41:23.791Z] 2023-07-10 20:41:23,735 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1473/.semver [2023-07-10T20:41:23.791Z] 2023-07-10 20:41:23,735 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1473/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1473, universal_newlines=False, shell=None, istream=None) [2023-07-10T20:41:24.734Z] 2023-07-10 20:41:24,706 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1473/.git/info/exclude [2023-07-10T20:41:24.734Z] 2023-07-10 20:41:24,707 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1473/.semver/PR-1473 with force:False [2023-07-10T20:41:24.734Z] 2023-07-10 20:41:24,707 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1473/.semver/PR-1473 [2023-07-10T20:41:24.734Z] 2023-07-10 20:41:24,712 [execute] INFO git cat-file --batch-check [2023-07-10T20:41:24.734Z] 2023-07-10 20:41:24,712 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1473/.semver, universal_newlines=False, shell=None, istream=) [2023-07-10T20:41:24.734Z] 2023-07-10 20:41:24,719 [execute] INFO git cat-file --batch [2023-07-10T20:41:24.734Z] 2023-07-10 20:41:24,720 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1473/.semver, universal_newlines=False, shell=None, istream=) [2023-07-10T20:41:24.734Z] 2023-07-10 20:41:24,725 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1473/.semver/PR-1473 [2023-07-10T20:41:24.734Z] 0.0.0 [Pipeline] } [2023-07-10T20:41:25.015Z] $ docker exec --env ******** --env ******** 92bf9dd28f0bd177ffd7ee294bfa41d5939d1affbe8df483b8c12d98878551b7 ssh-agent -k [2023-07-10T20:41:25.128Z] unset SSH_AUTH_SOCK; [2023-07-10T20:41:25.129Z] unset SSH_AGENT_PID; [2023-07-10T20:41:25.129Z] echo Agent pid 76 killed; [2023-07-10T20:41:25.137Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-10T20:41:25.551Z] + git semver [Pipeline] } [2023-07-10T20:41:25.837Z] $ docker stop --time=1 92bf9dd28f0bd177ffd7ee294bfa41d5939d1affbe8df483b8c12d98878551b7 [2023-07-10T20:41:27.166Z] $ docker rm -f --volumes 92bf9dd28f0bd177ffd7ee294bfa41d5939d1affbe8df483b8c12d98878551b7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-10T20:41:27.556Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-07-10T20:41:27.917Z] Stashed 1 file(s) [Pipeline] echo [2023-07-10T20:41:27.937Z] [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-07-10T20:41:28.623Z] provisioning config files... [2023-07-10T20:41:28.634Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1473@tmp/config10650353961543298808tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-10T20:41:28.996Z] ---> docker-login.sh [2023-07-10T20:41:28.996Z] nexus3.edgexfoundry.org:10001 [2023-07-10T20:41:28.996Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-10T20:41:28.996Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-10T20:41:28.996Z] Configure a credential helper to remove this warning. See [2023-07-10T20:41:28.996Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-10T20:41:28.996Z] [2023-07-10T20:41:28.996Z] Login Succeeded [2023-07-10T20:41:28.997Z] nexus3.edgexfoundry.org:10002 [2023-07-10T20:41:28.997Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-10T20:41:28.997Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-10T20:41:28.997Z] Configure a credential helper to remove this warning. See [2023-07-10T20:41:28.997Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-10T20:41:28.997Z] [2023-07-10T20:41:28.997Z] Login Succeeded [2023-07-10T20:41:28.997Z] nexus3.edgexfoundry.org:10003 [2023-07-10T20:41:29.255Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-10T20:41:29.255Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-10T20:41:29.255Z] Configure a credential helper to remove this warning. See [2023-07-10T20:41:29.255Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-10T20:41:29.255Z] [2023-07-10T20:41:29.255Z] Login Succeeded [2023-07-10T20:41:29.255Z] nexus3.edgexfoundry.org:10004 [2023-07-10T20:41:29.255Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-10T20:41:29.255Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-10T20:41:29.255Z] Configure a credential helper to remove this warning. See [2023-07-10T20:41:29.255Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-10T20:41:29.255Z] [2023-07-10T20:41:29.255Z] Login Succeeded [2023-07-10T20:41:29.255Z] docker.io [2023-07-10T20:41:29.514Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-10T20:41:29.514Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-10T20:41:29.514Z] Configure a credential helper to remove this warning. See [2023-07-10T20:41:29.514Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-10T20:41:29.514Z] [2023-07-10T20:41:29.514Z] Login Succeeded [2023-07-10T20:41:29.514Z] ---> docker-login.sh ends [Pipeline] } [2023-07-10T20:41:29.544Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-10T20:41:29.752Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-10T20:41:29.788Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-10T20:41:29.823Z] ========================================================= [2023-07-10T20:41:29.823Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-07-10T20:41:29.823Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-10T20:41:30.311Z] + 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-07-10T20:41:30.311Z] Sending build context to Docker daemon 10.91MB [2023-07-10T20:41:30.311Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-07-10T20:41:30.311Z] Step 2/10 : FROM ${BASE} AS builder [2023-07-10T20:41:30.311Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-07-10T20:41:30.311Z] f56be85fc22e: Pulling fs layer [2023-07-10T20:41:30.311Z] 85791d961cd3: Pulling fs layer [2023-07-10T20:41:30.311Z] d694b5ae8c79: Pulling fs layer [2023-07-10T20:41:30.311Z] 9f32a84ed3da: Pulling fs layer [2023-07-10T20:41:30.311Z] 4d19c01a9841: Pulling fs layer [2023-07-10T20:41:30.311Z] 9325e15d5711: Pulling fs layer [2023-07-10T20:41:30.311Z] 556b6ee489ea: Pulling fs layer [2023-07-10T20:41:30.311Z] c5a4b2cf53e6: Pulling fs layer [2023-07-10T20:41:30.311Z] 9f32a84ed3da: Waiting [2023-07-10T20:41:30.311Z] 9325e15d5711: Waiting [2023-07-10T20:41:30.311Z] 4d19c01a9841: Waiting [2023-07-10T20:41:30.311Z] 556b6ee489ea: Waiting [2023-07-10T20:41:30.311Z] c5a4b2cf53e6: Waiting [2023-07-10T20:41:30.570Z] 85791d961cd3: Download complete [2023-07-10T20:41:30.570Z] 9f32a84ed3da: Download complete [2023-07-10T20:41:30.570Z] 4d19c01a9841: Download complete [2023-07-10T20:41:30.570Z] f56be85fc22e: Verifying Checksum [2023-07-10T20:41:30.570Z] f56be85fc22e: Download complete [2023-07-10T20:41:30.570Z] 9325e15d5711: Verifying Checksum [2023-07-10T20:41:30.570Z] 9325e15d5711: Download complete [2023-07-10T20:41:30.570Z] f56be85fc22e: Pull complete [2023-07-10T20:41:30.839Z] 85791d961cd3: Pull complete [2023-07-10T20:41:31.100Z] c5a4b2cf53e6: Verifying Checksum [2023-07-10T20:41:31.100Z] c5a4b2cf53e6: Download complete [2023-07-10T20:41:31.100Z] d694b5ae8c79: Verifying Checksum [2023-07-10T20:41:31.100Z] d694b5ae8c79: Download complete [2023-07-10T20:41:31.358Z] 556b6ee489ea: Verifying Checksum [2023-07-10T20:41:31.358Z] 556b6ee489ea: Download complete [2023-07-10T20:41:35.552Z] d694b5ae8c79: Pull complete [2023-07-10T20:41:35.552Z] 9f32a84ed3da: Pull complete [2023-07-10T20:41:35.552Z] 4d19c01a9841: Pull complete [2023-07-10T20:41:35.552Z] 9325e15d5711: Pull complete [2023-07-10T20:41:38.085Z] 556b6ee489ea: Pull complete [2023-07-10T20:41:38.653Z] c5a4b2cf53e6: Pull complete [2023-07-10T20:41:38.653Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-07-10T20:41:38.653Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-07-10T20:41:38.653Z] ---> c4be618373d6 [2023-07-10T20:41:38.653Z] Step 3/10 : ARG MAKE=make build [2023-07-10T20:41:43.343Z] Still waiting to schedule task [2023-07-10T20:41:43.344Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-07-10T20:41:43.979Z] ---> Running in b11a75ebac77 [2023-07-10T20:41:43.979Z] Removing intermediate container b11a75ebac77 [2023-07-10T20:41:43.979Z] ---> 5c78524a05e4 [2023-07-10T20:41:43.979Z] Step 4/10 : WORKDIR /device-sdk-go [2023-07-10T20:41:43.979Z] ---> Running in b4f3baaf9cd8 [2023-07-10T20:41:43.979Z] Removing intermediate container b4f3baaf9cd8 [2023-07-10T20:41:43.979Z] ---> 314ccbef166d [2023-07-10T20:41:43.979Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-07-10T20:41:43.979Z] ---> Running in b1dfebe0fa16 [2023-07-10T20:41:43.979Z] Removing intermediate container b1dfebe0fa16 [2023-07-10T20:41:43.979Z] ---> 155b23f40d7d [2023-07-10T20:41:43.979Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-07-10T20:41:43.979Z] ---> Running in 0872e5371363 [2023-07-10T20:41:43.979Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-10T20:41:43.979Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-10T20:41:44.241Z] OK: 265 MiB in 53 packages [2023-07-10T20:41:44.500Z] Removing intermediate container 0872e5371363 [2023-07-10T20:41:44.500Z] ---> 5d3fdaca5798 [2023-07-10T20:41:44.500Z] Step 7/10 : COPY go.mod vendor* ./ [2023-07-10T20:41:44.500Z] ---> 449a5f05c542 [2023-07-10T20:41:44.500Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-10T20:41:44.500Z] ---> Running in 0c86a3488142 [2023-07-10T20:42:23.320Z] Removing intermediate container 0c86a3488142 [2023-07-10T20:42:23.320Z] ---> 9e13030ff076 [2023-07-10T20:42:23.320Z] Step 9/10 : COPY . . [2023-07-10T20:42:23.320Z] ---> 4f05c95dd2bf [2023-07-10T20:42:23.320Z] Step 10/10 : RUN ${MAKE} [2023-07-10T20:42:23.320Z] ---> Running in 0a5267492a0d [2023-07-10T20:42:23.320Z] noop [2023-07-10T20:42:23.579Z] Removing intermediate container 0a5267492a0d [2023-07-10T20:42:23.579Z] ---> 27fe54d91f5c [2023-07-10T20:42:23.579Z] Successfully built 27fe54d91f5c [2023-07-10T20:42:23.579Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-10T20:42:24.034Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-10T20:42:24.034Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-10T20:42:24.181Z] prd-ubuntu20.04-docker-8c-8g-772 does not seem to be running inside a container [2023-07-10T20:42:24.210Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1473 -v /w/workspace/gexfoundry_device-sdk-go_PR-1473:/w/workspace/gexfoundry_device-sdk-go_PR-1473:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1473@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1473@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-07-10T20:42:24.558Z] $ docker top a6e82a071ce3a0606ee33bb359860ae5e25eb1d4791c63673e2f8cbc01ee72ff -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-10T20:42:24.949Z] + go version [2023-07-10T20:42:24.949Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-07-10T20:42:24.984Z] $ docker stop --time=1 a6e82a071ce3a0606ee33bb359860ae5e25eb1d4791c63673e2f8cbc01ee72ff [2023-07-10T20:42:26.256Z] $ docker rm -f --volumes a6e82a071ce3a0606ee33bb359860ae5e25eb1d4791c63673e2f8cbc01ee72ff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-10T20:42:26.958Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-10T20:42:26.958Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-10T20:42:27.117Z] prd-ubuntu20.04-docker-8c-8g-772 does not seem to be running inside a container [2023-07-10T20:42:27.150Z] $ 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-1473 -v /w/workspace/gexfoundry_device-sdk-go_PR-1473:/w/workspace/gexfoundry_device-sdk-go_PR-1473:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1473@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1473@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-07-10T20:42:27.536Z] $ docker top 92cf13ca0fca8354147c09c87625d45fbab251496eb99b4c1593a1314e73108b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-10T20:42:27.931Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1473 [Pipeline] fileExists [Pipeline] sh [2023-07-10T20:42:28.280Z] + make test [2023-07-10T20:42:28.280Z] go test -race -coverprofile=coverage.out ./... [2023-07-10T20:42:34.840Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-07-10T20:42:49.799Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-07-10T20:42:49.799Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-07-10T20:42:49.799Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-07-10T20:42:49.799Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-07-10T20:42:49.799Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-07-10T20:42:49.799Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.076s coverage: 27.6% of statements [2023-07-10T20:42:49.799Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-07-10T20:42:49.799Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-07-10T20:42:49.799Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.075s coverage: 80.2% of statements [2023-07-10T20:42:49.799Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.089s coverage: 86.0% of statements [2023-07-10T20:42:49.799Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-07-10T20:42:49.799Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.103s coverage: 77.5% of statements [2023-07-10T20:42:49.799Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-07-10T20:42:49.799Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-07-10T20:42:49.799Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-07-10T20:42:50.366Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-07-10T20:42:52.898Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.081s coverage: 14.3% of statements [2023-07-10T20:42:52.898Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.081s coverage: 68.5% of statements [2023-07-10T20:42:52.898Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.118s coverage: 89.2% of statements [2023-07-10T20:42:52.898Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.061s coverage: 5.7% of statements [2023-07-10T20:43:14.816Z] GO111MODULE=on go vet ./... [2023-07-10T20:43:17.843Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-773 in /w/workspace/gexfoundry_device-sdk-go_PR-1473 [Pipeline] { [Pipeline] ws [2023-07-10T20:43:17.905Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-07-10T20:43:17.995Z] The recommended git tool is: git [2023-07-10T20:43:18.102Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-07-10T20:43:18.102Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-07-10T20:43:18.102Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-07-10T20:43:18.145Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-07-10T20:43:18.177Z] $ docker stop --time=1 92cf13ca0fca8354147c09c87625d45fbab251496eb99b4c1593a1314e73108b [2023-07-10T20:43:22.594Z] $ docker rm -f --volumes 92cf13ca0fca8354147c09c87625d45fbab251496eb99b4c1593a1314e73108b [2023-07-10T20:43:22.759Z] using credential edgex-jenkins-ssh [2023-07-10T20:43:22.778Z] Cloning the remote Git repository [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-10T20:43:22.821Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-07-10T20:43:22.913Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-07-10T20:43:23.180Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-07-10T20:43:23.263Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-07-10T20:43:23.958Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-10T20:43:23.059Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-07-10T20:43:23.060Z] > git --version # timeout=10 [2023-07-10T20:43:23.081Z] > git --version # 'git version 2.25.1' [2023-07-10T20:43:23.083Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-10T20:43:23.236Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-10T20:43:24.270Z] + ls -al . [2023-07-10T20:43:24.270Z] total 284 [2023-07-10T20:43:24.270Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 10 20:42 . [2023-07-10T20:43:24.270Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 10 20:40 .. [2023-07-10T20:43:24.270Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 10 20:41 .dockerignore [2023-07-10T20:43:24.270Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 10 20:41 .git [2023-07-10T20:43:24.270Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 10 20:41 .github [2023-07-10T20:43:24.270Z] -rw-rw-r-- 1 jenkins jenkins 137 Jul 10 20:41 .gitignore [2023-07-10T20:43:24.270Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 10 20:41 .golangci.yml [2023-07-10T20:43:24.270Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 10 20:41 .semver [2023-07-10T20:43:24.270Z] -rw-rw-r-- 1 jenkins jenkins 44878 Jul 10 20:41 CHANGELOG.md [2023-07-10T20:43:24.270Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 10 20:41 GOVERNANCE.md [2023-07-10T20:43:24.270Z] -rw-rw-r-- 1 jenkins jenkins 885 Jul 10 20:41 Jenkinsfile [2023-07-10T20:43:24.270Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jul 10 20:41 LICENSE [2023-07-10T20:43:24.270Z] -rw-rw-r-- 1 jenkins jenkins 1714 Jul 10 20:41 Makefile [2023-07-10T20:43:24.270Z] -rw-rw-r-- 1 jenkins jenkins 619 Jul 10 20:41 OWNERS.md [2023-07-10T20:43:24.270Z] -rw-rw-r-- 1 jenkins jenkins 4933 Jul 10 20:41 README.md [2023-07-10T20:43:24.270Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 10 20:41 VERSION [2023-07-10T20:43:24.270Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 10 20:41 bin [2023-07-10T20:43:24.270Z] -rw-r--r-- 1 jenkins jenkins 106152 Jul 10 20:42 coverage.out [2023-07-10T20:43:24.270Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 10 20:41 example [2023-07-10T20:43:24.270Z] -rw-rw-r-- 1 jenkins jenkins 3460 Jul 10 20:41 go.mod [2023-07-10T20:43:24.270Z] -rw-rw-r-- 1 jenkins jenkins 32141 Jul 10 20:41 go.sum [2023-07-10T20:43:24.270Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 10 20:41 internal [2023-07-10T20:43:24.270Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 10 20:41 openapi [2023-07-10T20:43:24.270Z] drwxrwxr-x 6 jenkins jenkins 4096 Jul 10 20:41 pkg [2023-07-10T20:43:24.270Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 10 20:41 snap [2023-07-10T20:43:24.270Z] -rw-rw-r-- 1 jenkins jenkins 222 Jul 10 20:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-10T20:43:24.676Z] + 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=7267fd86e49b51741855a8cc4948ac0fe2320b28 --label arch=amd64 --label version=0.0.0 . [2023-07-10T20:43:24.676Z] Sending build context to Docker daemon 11.02MB [2023-07-10T20:43:24.676Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-07-10T20:43:24.676Z] Step 2/23 : FROM ${BASE} AS builder [2023-07-10T20:43:24.676Z] ---> 27fe54d91f5c [2023-07-10T20:43:24.676Z] Step 3/23 : ARG MAKE=make build [2023-07-10T20:43:24.935Z] ---> Running in 06ee18cffc2f [2023-07-10T20:43:24.935Z] Removing intermediate container 06ee18cffc2f [2023-07-10T20:43:24.935Z] ---> 2c1898bef331 [2023-07-10T20:43:24.935Z] Step 4/23 : WORKDIR /device-sdk-go [2023-07-10T20:43:24.935Z] ---> Running in 9ac13faa752a [2023-07-10T20:43:24.935Z] Removing intermediate container 9ac13faa752a [2023-07-10T20:43:24.935Z] ---> 1c4ccf466aec [2023-07-10T20:43:24.935Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-07-10T20:43:24.935Z] ---> Running in cb99172421ca [2023-07-10T20:43:25.195Z] Removing intermediate container cb99172421ca [2023-07-10T20:43:25.195Z] ---> e68c80e8f8f5 [2023-07-10T20:43:25.195Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-07-10T20:43:25.195Z] ---> Running in 90a7a9eddf35 [2023-07-10T20:43:24.740Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-07-10T20:43:24.769Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-10T20:43:25.453Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-10T20:43:25.453Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-10T20:43:25.711Z] OK: 265 MiB in 53 packages [2023-07-10T20:43:26.201Z] Merging remotes/origin/main commit 2d1a40f8b95de1d6d37730263f65300101497f92 into PR head commit 7267fd86e49b51741855a8cc4948ac0fe2320b28 [2023-07-10T20:43:26.278Z] Removing intermediate container 90a7a9eddf35 [2023-07-10T20:43:26.278Z] ---> e4357aba6633 [2023-07-10T20:43:26.278Z] Step 7/23 : COPY go.mod vendor* ./ [2023-07-10T20:43:26.278Z] ---> 2c770486b0e2 [2023-07-10T20:43:26.278Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-10T20:43:26.278Z] ---> Running in 01a629a2e2e5 [2023-07-10T20:43:26.494Z] Merge succeeded, producing 7267fd86e49b51741855a8cc4948ac0fe2320b28 [2023-07-10T20:43:26.494Z] Checking out Revision 7267fd86e49b51741855a8cc4948ac0fe2320b28 (PR-1473) [2023-07-10T20:43:25.553Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-07-10T20:43:25.591Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-07-10T20:43:25.591Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-10T20:43:25.606Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1473/head:refs/remotes/origin/PR-1473 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-07-10T20:43:26.221Z] > git config core.sparsecheckout # timeout=10 [2023-07-10T20:43:26.300Z] > git checkout -f 7267fd86e49b51741855a8cc4948ac0fe2320b28 # timeout=10 [2023-07-10T20:43:26.402Z] > git remote # timeout=10 [2023-07-10T20:43:26.421Z] > git config --get remote.origin.url # timeout=10 [2023-07-10T20:43:26.447Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-10T20:43:26.460Z] > git merge 2d1a40f8b95de1d6d37730263f65300101497f92 # timeout=10 [2023-07-10T20:43:26.483Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-07-10T20:43:26.503Z] > git config core.sparsecheckout # timeout=10 [2023-07-10T20:43:26.517Z] > git checkout -f 7267fd86e49b51741855a8cc4948ac0fe2320b28 # timeout=10 [2023-07-10T20:43:27.283Z] Removing intermediate container 01a629a2e2e5 [2023-07-10T20:43:27.283Z] ---> 71cfc49c4424 [2023-07-10T20:43:27.283Z] Step 9/23 : COPY . . [2023-07-10T20:43:27.542Z] ---> c7ee7d6a2a47 [2023-07-10T20:43:27.542Z] Step 10/23 : RUN ${MAKE} [2023-07-10T20:43:27.542Z] ---> Running in 4317228ed9a1 [2023-07-10T20:43:27.800Z] 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-07-10T20:43:30.000Z] Commit message: "build: Update to latest go-mods" [2023-07-10T20:43:30.051Z] > git --version # timeout=10 [2023-07-10T20:43:30.063Z] > git --version # 'git version 2.25.1' [2023-07-10T20:43:30.075Z] fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-10T20:43:31.137Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-07-10T20:43:31.137Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-10T20:43:31.137Z] Dload Upload Total Spent Left Speed [2023-07-10T20:43:31.137Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 83888 0 --:--:-- --:--:-- --:--:-- 83888 [Pipeline] sh [2023-07-10T20:43:31.906Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-07-10T20:43:32.259Z] + sudo tee /etc/docker/daemon.new [2023-07-10T20:43:32.259Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-07-10T20:43:32.259Z] { [2023-07-10T20:43:32.259Z] "registry-mirrors": [ [2023-07-10T20:43:32.259Z] "https://nexus3.edgexfoundry.org:10001" [2023-07-10T20:43:32.259Z] ], [2023-07-10T20:43:32.259Z] "bip": "10.250.0.254/24", [2023-07-10T20:43:32.259Z] "hosts": [ [2023-07-10T20:43:32.259Z] "tcp://0.0.0.0:5555", [2023-07-10T20:43:32.259Z] "unix:///var/run/docker.sock" [2023-07-10T20:43:32.259Z] ], [2023-07-10T20:43:32.259Z] "mtu": 1458, [2023-07-10T20:43:32.259Z] "selinux-enabled": true, [2023-07-10T20:43:32.259Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-07-10T20:43:32.259Z] } [Pipeline] sh [2023-07-10T20:43:32.598Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-07-10T20:43:32.955Z] + sudo service docker restart [2023-07-10T20:43:49.740Z] Removing intermediate container 4317228ed9a1 [2023-07-10T20:43:49.740Z] ---> 5436a4b67e91 [2023-07-10T20:43:49.740Z] Step 11/23 : FROM alpine:3.17 [2023-07-10T20:43:49.740Z] 3.17: Pulling from library/alpine [2023-07-10T20:43:49.740Z] 4db1b89c0bd1: Pulling fs layer [2023-07-10T20:43:49.740Z] 4db1b89c0bd1: Verifying Checksum [2023-07-10T20:43:49.740Z] 4db1b89c0bd1: Download complete [2023-07-10T20:43:49.740Z] 4db1b89c0bd1: Pull complete [2023-07-10T20:43:49.740Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-07-10T20:43:49.740Z] Status: Downloaded newer image for alpine:3.17 [2023-07-10T20:43:49.740Z] ---> 1f73a9d63274 [2023-07-10T20:43:49.740Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-07-10T20:43:49.740Z] ---> Running in 40c51b74d0df [2023-07-10T20:43:49.740Z] Removing intermediate container 40c51b74d0df [2023-07-10T20:43:49.740Z] ---> b1a1e87d1682 [2023-07-10T20:43:49.740Z] Step 13/23 : RUN apk add --update --no-cache [2023-07-10T20:43:49.740Z] ---> Running in 9f5819be3454 [2023-07-10T20:43:49.740Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-10T20:43:49.740Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-10T20:43:49.740Z] OK: 7 MiB in 15 packages [2023-07-10T20:43:49.740Z] Removing intermediate container 9f5819be3454 [2023-07-10T20:43:49.740Z] ---> 9f8151a006a9 [2023-07-10T20:43:49.740Z] Step 14/23 : WORKDIR / [2023-07-10T20:43:49.740Z] ---> Running in 02655f25ee2e [2023-07-10T20:43:49.740Z] Removing intermediate container 02655f25ee2e [2023-07-10T20:43:49.740Z] ---> aedff610c0a8 [2023-07-10T20:43:49.740Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-07-10T20:43:49.740Z] ---> 802338a8a596 [2023-07-10T20:43:49.740Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-07-10T20:43:50.000Z] ---> 9cd3f83deed4 [2023-07-10T20:43:50.000Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-07-10T20:43:50.000Z] ---> e04a42300aae [2023-07-10T20:43:50.000Z] Step 18/23 : EXPOSE 59999 [2023-07-10T20:43:50.000Z] ---> Running in 8f9b09df5c60 [2023-07-10T20:43:50.000Z] Removing intermediate container 8f9b09df5c60 [2023-07-10T20:43:50.000Z] ---> 4a396ffbb8eb [2023-07-10T20:43:50.000Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-07-10T20:43:50.260Z] ---> Running in cf19c736a6f5 [2023-07-10T20:43:50.260Z] Removing intermediate container cf19c736a6f5 [2023-07-10T20:43:50.260Z] ---> 1f342e2c6eae [2023-07-10T20:43:50.260Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-07-10T20:43:50.260Z] ---> Running in 652f94d43294 [2023-07-10T20:43:50.260Z] Removing intermediate container 652f94d43294 [2023-07-10T20:43:50.260Z] ---> f6dc302a5c8a [2023-07-10T20:43:50.260Z] Step 21/23 : LABEL arch=amd64 [2023-07-10T20:43:50.260Z] ---> Running in 53247cd6d24d [2023-07-10T20:43:50.260Z] Removing intermediate container 53247cd6d24d [2023-07-10T20:43:50.260Z] ---> a3b471991a5d [2023-07-10T20:43:50.260Z] Step 22/23 : LABEL git_sha=7267fd86e49b51741855a8cc4948ac0fe2320b28 [2023-07-10T20:43:50.520Z] ---> Running in 0ba60928440d [2023-07-10T20:43:50.521Z] Removing intermediate container 0ba60928440d [2023-07-10T20:43:50.521Z] ---> fcdaefb9ade8 [2023-07-10T20:43:50.521Z] Step 23/23 : LABEL version=0.0.0 [2023-07-10T20:43:50.521Z] ---> Running in 25bd5d1d5ec9 [2023-07-10T20:43:50.521Z] Removing intermediate container 25bd5d1d5ec9 [2023-07-10T20:43:50.521Z] ---> acfc46dab749 [2023-07-10T20:43:50.521Z] [Warning] One or more build-args [ARCH] were not consumed [2023-07-10T20:43:50.521Z] Successfully built acfc46dab749 [2023-07-10T20:43:50.521Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-10T20:43:51.302Z] provisioning config files... [2023-07-10T20:43:51.326Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config8615311185410852483tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-10T20:43:51.457Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-10T20:43:51.457Z] [2023-07-10T20:43:51.457Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-10T20:43:51.717Z] ---> docker-login.sh [2023-07-10T20:43:51.717Z] nexus3.edgexfoundry.org:10001 [2023-07-10T20:43:51.858Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-10T20:43:51.858Z] latest: Pulling from edgex-lftools-log-publisher [2023-07-10T20:43:51.858Z] 5eb5b503b376: Pulling fs layer [2023-07-10T20:43:51.858Z] 5c69ac0246d0: Pulling fs layer [2023-07-10T20:43:51.858Z] ec43610c2a17: Pulling fs layer [2023-07-10T20:43:51.858Z] 3a2ae6a8a46f: Pulling fs layer [2023-07-10T20:43:51.858Z] 33b1e0a273af: Pulling fs layer [2023-07-10T20:43:51.858Z] 5d3b04190fa2: Pulling fs layer [2023-07-10T20:43:51.858Z] 2f39f015ded8: Pulling fs layer [2023-07-10T20:43:51.858Z] 3a2ae6a8a46f: Waiting [2023-07-10T20:43:51.858Z] 5d3b04190fa2: Waiting [2023-07-10T20:43:51.858Z] 2f39f015ded8: Waiting [2023-07-10T20:43:51.858Z] 5c69ac0246d0: Download complete [2023-07-10T20:43:51.858Z] 3a2ae6a8a46f: Verifying Checksum [2023-07-10T20:43:51.858Z] 3a2ae6a8a46f: Download complete [2023-07-10T20:43:51.858Z] 33b1e0a273af: Verifying Checksum [2023-07-10T20:43:51.858Z] 33b1e0a273af: Download complete [2023-07-10T20:43:51.858Z] ec43610c2a17: Verifying Checksum [2023-07-10T20:43:51.858Z] ec43610c2a17: Download complete [2023-07-10T20:43:51.858Z] 5d3b04190fa2: Download complete [2023-07-10T20:43:51.986Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-10T20:43:52.117Z] 5eb5b503b376: Verifying Checksum [2023-07-10T20:43:52.117Z] 5eb5b503b376: Download complete [2023-07-10T20:43:52.256Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-10T20:43:52.256Z] Configure a credential helper to remove this warning. See [2023-07-10T20:43:52.256Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-10T20:43:52.256Z] [2023-07-10T20:43:52.256Z] Login Succeeded [2023-07-10T20:43:52.256Z] nexus3.edgexfoundry.org:10002 [2023-07-10T20:43:52.526Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-10T20:43:52.526Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-10T20:43:52.526Z] Configure a credential helper to remove this warning. See [2023-07-10T20:43:52.526Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-10T20:43:52.526Z] [2023-07-10T20:43:52.526Z] Login Succeeded [2023-07-10T20:43:52.683Z] 2f39f015ded8: Verifying Checksum [2023-07-10T20:43:52.683Z] 2f39f015ded8: Download complete [2023-07-10T20:43:52.797Z] nexus3.edgexfoundry.org:10003 [2023-07-10T20:43:52.797Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-10T20:43:53.067Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-10T20:43:53.067Z] Configure a credential helper to remove this warning. See [2023-07-10T20:43:53.067Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-10T20:43:53.067Z] [2023-07-10T20:43:53.067Z] Login Succeeded [2023-07-10T20:43:53.067Z] nexus3.edgexfoundry.org:10004 [2023-07-10T20:43:53.247Z] 5eb5b503b376: Pull complete [2023-07-10T20:43:53.248Z] 5c69ac0246d0: Pull complete [2023-07-10T20:43:53.340Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-10T20:43:53.340Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-10T20:43:53.340Z] Configure a credential helper to remove this warning. See [2023-07-10T20:43:53.340Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-10T20:43:53.340Z] [2023-07-10T20:43:53.340Z] Login Succeeded [2023-07-10T20:43:53.340Z] docker.io [2023-07-10T20:43:53.608Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-10T20:43:53.812Z] ec43610c2a17: Pull complete [2023-07-10T20:43:53.812Z] 3a2ae6a8a46f: Pull complete [2023-07-10T20:43:53.876Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-10T20:43:53.876Z] Configure a credential helper to remove this warning. See [2023-07-10T20:43:53.876Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-10T20:43:53.876Z] [2023-07-10T20:43:53.876Z] Login Succeeded [2023-07-10T20:43:53.876Z] ---> docker-login.sh ends [Pipeline] } [2023-07-10T20:43:53.908Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2023-07-10T20:43:54.071Z] 33b1e0a273af: Pull complete [2023-07-10T20:43:54.071Z] 5d3b04190fa2: Pull complete [Pipeline] echo [2023-07-10T20:43:54.279Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-10T20:43:54.315Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-10T20:43:54.355Z] ========================================================= [2023-07-10T20:43:54.355Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-07-10T20:43:54.355Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-10T20:43:54.862Z] + 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-07-10T20:43:55.130Z] Sending build context to Docker daemon 5.816MB [2023-07-10T20:43:55.130Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-07-10T20:43:55.130Z] Step 2/10 : FROM ${BASE} AS builder [2023-07-10T20:43:55.401Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-07-10T20:43:55.401Z] c41833b44d91: Pulling fs layer [2023-07-10T20:43:55.401Z] ed15518f5707: Pulling fs layer [2023-07-10T20:43:55.401Z] feae8fd75edb: Pulling fs layer [2023-07-10T20:43:55.401Z] 242c74f7c9fa: Pulling fs layer [2023-07-10T20:43:55.401Z] 3cdef696dda3: Pulling fs layer [2023-07-10T20:43:55.401Z] 2ced38df9373: Pulling fs layer [2023-07-10T20:43:55.401Z] 58f1dce35555: Pulling fs layer [2023-07-10T20:43:55.401Z] 242c74f7c9fa: Waiting [2023-07-10T20:43:55.401Z] 3cdef696dda3: Waiting [2023-07-10T20:43:55.401Z] 2ced38df9373: Waiting [2023-07-10T20:43:55.401Z] 58f1dce35555: Waiting [2023-07-10T20:43:55.401Z] ed15518f5707: Verifying Checksum [2023-07-10T20:43:55.401Z] ed15518f5707: Download complete [2023-07-10T20:43:55.401Z] 242c74f7c9fa: Verifying Checksum [2023-07-10T20:43:55.401Z] 242c74f7c9fa: Download complete [2023-07-10T20:43:55.401Z] 3cdef696dda3: Verifying Checksum [2023-07-10T20:43:55.401Z] 3cdef696dda3: Download complete [2023-07-10T20:43:55.401Z] c41833b44d91: Verifying Checksum [2023-07-10T20:43:55.401Z] c41833b44d91: Download complete [2023-07-10T20:43:56.838Z] 58f1dce35555: Verifying Checksum [2023-07-10T20:43:56.838Z] 58f1dce35555: Download complete [2023-07-10T20:43:57.816Z] feae8fd75edb: Verifying Checksum [2023-07-10T20:43:57.816Z] feae8fd75edb: Download complete [2023-07-10T20:43:57.816Z] 2ced38df9373: Verifying Checksum [2023-07-10T20:43:57.816Z] 2ced38df9373: Download complete [2023-07-10T20:43:58.252Z] 2f39f015ded8: Pull complete [2023-07-10T20:43:58.252Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-07-10T20:43:58.252Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-10T20:43:58.252Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-10T20:43:58.465Z] prd-ubuntu20.04-docker-8c-8g-772 does not seem to be running inside a container [2023-07-10T20:43:58.494Z] $ 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-1473 -v /w/workspace/gexfoundry_device-sdk-go_PR-1473:/w/workspace/gexfoundry_device-sdk-go_PR-1473:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1473@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1473@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-07-10T20:43:58.776Z] c41833b44d91: Pull complete [2023-07-10T20:43:59.363Z] ed15518f5707: Pull complete [2023-07-10T20:44:03.563Z] $ docker top d78224579a2b4070c5cf3361354b074b544bb05fb91ded48da6c9b55f70f3847 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-10T20:44:04.062Z] ---> job-cost.sh [2023-07-10T20:44:04.063Z] lf-activate-venv: SKIPPING [2023-07-10T20:44:04.063Z] INFO: No Stack... [2023-07-10T20:44:04.630Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-10T20:44:05.197Z] INFO: Archiving Costs [Pipeline] sh [2023-07-10T20:44:05.519Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1473/archives/cost.csv [2023-07-10T20:44:05.519Z] + cut -d, -f6 [Pipeline] lock [2023-07-10T20:44:05.559Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1473-1-stack-cost] [2023-07-10T20:44:05.564Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1473-1-stack-cost] did not exist. Created. [2023-07-10T20:44:05.564Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1473-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-10T20:44:05.959Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-07-10T20:44:06.024Z] Stashed 1 file(s) [Pipeline] } [2023-07-10T20:44:06.043Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1473-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-10T20:44:06.126Z] $ docker stop --time=1 d78224579a2b4070c5cf3361354b074b544bb05fb91ded48da6c9b55f70f3847 [2023-07-10T20:44:07.281Z] $ docker rm -f --volumes d78224579a2b4070c5cf3361354b074b544bb05fb91ded48da6c9b55f70f3847 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-07-10T20:44:14.371Z] feae8fd75edb: Pull complete [2023-07-10T20:44:14.371Z] 242c74f7c9fa: Pull complete [2023-07-10T20:44:14.371Z] 3cdef696dda3: Pull complete [2023-07-10T20:44:19.727Z] 2ced38df9373: Pull complete [2023-07-10T20:44:22.314Z] 58f1dce35555: Pull complete [2023-07-10T20:44:22.314Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-07-10T20:44:22.314Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-07-10T20:44:22.314Z] ---> fadd8f120f05 [2023-07-10T20:44:22.314Z] Step 3/10 : ARG MAKE=make build [2023-07-10T20:44:27.659Z] ---> Running in af183922ac91 [2023-07-10T20:44:27.935Z] Removing intermediate container af183922ac91 [2023-07-10T20:44:27.935Z] ---> ef4aabcae2aa [2023-07-10T20:44:27.935Z] Step 4/10 : WORKDIR /device-sdk-go [2023-07-10T20:44:28.202Z] ---> Running in b5650f286e88 [2023-07-10T20:44:28.471Z] Removing intermediate container b5650f286e88 [2023-07-10T20:44:28.471Z] ---> cb0ceafe55c8 [2023-07-10T20:44:28.471Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-07-10T20:44:28.471Z] ---> Running in 37941b8d47eb [2023-07-10T20:44:28.741Z] Removing intermediate container 37941b8d47eb [2023-07-10T20:44:28.741Z] ---> 01b4d17c4710 [2023-07-10T20:44:28.741Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-07-10T20:44:29.010Z] ---> Running in 546bb5c7d19b [2023-07-10T20:44:30.425Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-10T20:44:30.692Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-10T20:44:32.102Z] OK: 263 MiB in 53 packages [2023-07-10T20:44:32.689Z] Removing intermediate container 546bb5c7d19b [2023-07-10T20:44:32.689Z] ---> 6dd9f2a9b9f3 [2023-07-10T20:44:32.689Z] Step 7/10 : COPY go.mod vendor* ./ [2023-07-10T20:44:33.274Z] ---> 31ffabe3e67a [2023-07-10T20:44:33.274Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-10T20:44:33.274Z] ---> Running in 51c5b60805eb [2023-07-10T20:45:41.147Z] Removing intermediate container 51c5b60805eb [2023-07-10T20:45:41.147Z] ---> 72a723ce2638 [2023-07-10T20:45:41.147Z] Step 9/10 : COPY . . [2023-07-10T20:45:41.147Z] ---> a05baf3b22de [2023-07-10T20:45:41.147Z] Step 10/10 : RUN ${MAKE} [2023-07-10T20:45:41.147Z] ---> Running in e20eedb3ff41 [2023-07-10T20:45:41.147Z] noop [2023-07-10T20:45:41.147Z] Removing intermediate container e20eedb3ff41 [2023-07-10T20:45:41.147Z] ---> 7baa469cf4fa [2023-07-10T20:45:41.147Z] Successfully built 7baa469cf4fa [2023-07-10T20:45:41.147Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-10T20:45:41.647Z] + docker inspect -f . ci-base-image-arm64 [2023-07-10T20:45:41.647Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-10T20:45:41.908Z] prd-ubuntu20.04-docker-arm64-4c-16g-773 does not seem to be running inside a container [2023-07-10T20:45:41.966Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-07-10T20:45:43.078Z] $ docker top 19bb78ee46e4dd15d72de991eed249798de42e197577265512b204ccad4ff558 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-10T20:45:43.936Z] + go version [2023-07-10T20:45:43.936Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-07-10T20:45:43.970Z] $ docker stop --time=1 19bb78ee46e4dd15d72de991eed249798de42e197577265512b204ccad4ff558 [2023-07-10T20:45:45.550Z] $ docker rm -f --volumes 19bb78ee46e4dd15d72de991eed249798de42e197577265512b204ccad4ff558 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-10T20:45:46.408Z] + docker inspect -f . ci-base-image-arm64 [2023-07-10T20:45:46.408Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-10T20:45:46.663Z] prd-ubuntu20.04-docker-arm64-4c-16g-773 does not seem to be running inside a container [2023-07-10T20:45:46.728Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-07-10T20:45:47.904Z] $ docker top f3fcb72726fe463876fe4acb81229928cac2a775219c10b8d2786f2b8f5133ad -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-10T20:45:48.448Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-07-10T20:45:48.829Z] + make test [2023-07-10T20:45:48.829Z] go test -race -coverprofile=coverage.out ./... [2023-07-10T20:46:27.679Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-07-10T20:48:49.356Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-07-10T20:48:49.356Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-07-10T20:48:49.356Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-07-10T20:48:49.356Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-07-10T20:48:49.356Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-07-10T20:48:57.592Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.230s coverage: 27.6% of statements [2023-07-10T20:49:01.852Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.308s coverage: 80.2% of statements [2023-07-10T20:49:16.855Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-07-10T20:49:16.855Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-07-10T20:49:16.855Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.356s coverage: 86.0% of statements [2023-07-10T20:49:23.501Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-07-10T20:49:23.768Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.470s coverage: 77.5% of statements [2023-07-10T20:49:29.112Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-07-10T20:49:30.155Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-07-10T20:49:30.155Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-07-10T20:49:31.635Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.271s coverage: 14.3% of statements [2023-07-10T20:49:31.635Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.477s coverage: 68.5% of statements [2023-07-10T20:49:35.047Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.463s coverage: 89.2% of statements [2023-07-10T20:49:36.013Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-07-10T20:49:36.285Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.253s coverage: 5.7% of statements [2023-07-10T20:49:37.249Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-07-10T20:49:37.249Z] GO111MODULE=on go vet ./... [2023-07-10T20:52:14.028Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-07-10T20:52:14.028Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-07-10T20:52:14.028Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-07-10T20:52:14.068Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-07-10T20:52:14.100Z] $ docker stop --time=1 f3fcb72726fe463876fe4acb81229928cac2a775219c10b8d2786f2b8f5133ad [2023-07-10T20:52:16.067Z] $ docker rm -f --volumes f3fcb72726fe463876fe4acb81229928cac2a775219c10b8d2786f2b8f5133ad [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-10T20:52:17.839Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-07-10T20:52:17.872Z] Warning: overwriting stash ‘coverage-report’ [2023-07-10T20:52:18.487Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-10T20:52:19.080Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-10T20:52:19.421Z] + ls -al . [2023-07-10T20:52:19.421Z] total 280 [2023-07-10T20:52:19.421Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 10 20:45 . [2023-07-10T20:52:19.421Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 10 20:43 .. [2023-07-10T20:52:19.421Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 10 20:43 .dockerignore [2023-07-10T20:52:19.421Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 10 20:43 .git [2023-07-10T20:52:19.421Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 10 20:43 .github [2023-07-10T20:52:19.421Z] -rw-rw-r-- 1 jenkins jenkins 137 Jul 10 20:43 .gitignore [2023-07-10T20:52:19.421Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 10 20:43 .golangci.yml [2023-07-10T20:52:19.421Z] -rw-rw-r-- 1 jenkins jenkins 44878 Jul 10 20:43 CHANGELOG.md [2023-07-10T20:52:19.421Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 10 20:43 GOVERNANCE.md [2023-07-10T20:52:19.421Z] -rw-rw-r-- 1 jenkins jenkins 885 Jul 10 20:43 Jenkinsfile [2023-07-10T20:52:19.421Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jul 10 20:43 LICENSE [2023-07-10T20:52:19.421Z] -rw-rw-r-- 1 jenkins jenkins 1714 Jul 10 20:43 Makefile [2023-07-10T20:52:19.421Z] -rw-rw-r-- 1 jenkins jenkins 619 Jul 10 20:43 OWNERS.md [2023-07-10T20:52:19.421Z] -rw-rw-r-- 1 jenkins jenkins 4933 Jul 10 20:43 README.md [2023-07-10T20:52:19.421Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 10 20:41 VERSION [2023-07-10T20:52:19.421Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 10 20:43 bin [2023-07-10T20:52:19.421Z] -rw-r--r-- 1 jenkins jenkins 106150 Jul 10 20:49 coverage.out [2023-07-10T20:52:19.421Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 10 20:43 example [2023-07-10T20:52:19.421Z] -rw-rw-r-- 1 jenkins jenkins 3460 Jul 10 20:43 go.mod [2023-07-10T20:52:19.421Z] -rw-rw-r-- 1 jenkins jenkins 32141 Jul 10 20:43 go.sum [2023-07-10T20:52:19.421Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 10 20:43 internal [2023-07-10T20:52:19.421Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 10 20:43 openapi [2023-07-10T20:52:19.421Z] drwxrwxr-x 6 jenkins jenkins 4096 Jul 10 20:43 pkg [2023-07-10T20:52:19.421Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 10 20:43 snap [2023-07-10T20:52:19.421Z] -rw-rw-r-- 1 jenkins jenkins 222 Jul 10 20:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-10T20:52:19.843Z] + 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=7267fd86e49b51741855a8cc4948ac0fe2320b28 --label arch=arm64 --label version=0.0.0 . [2023-07-10T20:52:20.109Z] Sending build context to Docker daemon 5.923MB [2023-07-10T20:52:20.376Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-07-10T20:52:20.376Z] Step 2/23 : FROM ${BASE} AS builder [2023-07-10T20:52:20.376Z] ---> 7baa469cf4fa [2023-07-10T20:52:20.376Z] Step 3/23 : ARG MAKE=make build [2023-07-10T20:52:20.376Z] ---> Running in d5d8bef4df76 [2023-07-10T20:52:20.644Z] Removing intermediate container d5d8bef4df76 [2023-07-10T20:52:20.644Z] ---> 357bb8f40b94 [2023-07-10T20:52:20.644Z] Step 4/23 : WORKDIR /device-sdk-go [2023-07-10T20:52:20.644Z] ---> Running in 91edbbbc8915 [2023-07-10T20:52:21.230Z] Removing intermediate container 91edbbbc8915 [2023-07-10T20:52:21.230Z] ---> 1fcaa8f81432 [2023-07-10T20:52:21.230Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-07-10T20:52:21.230Z] ---> Running in 4264a248349d [2023-07-10T20:52:21.496Z] Removing intermediate container 4264a248349d [2023-07-10T20:52:21.496Z] ---> ec2f4bb2b857 [2023-07-10T20:52:21.496Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-07-10T20:52:21.496Z] ---> Running in 61b84b8d68b4 [2023-07-10T20:52:22.456Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-10T20:52:23.038Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-10T20:52:23.998Z] OK: 263 MiB in 53 packages [2023-07-10T20:52:24.957Z] Removing intermediate container 61b84b8d68b4 [2023-07-10T20:52:24.957Z] ---> af723e4bbfc4 [2023-07-10T20:52:24.957Z] Step 7/23 : COPY go.mod vendor* ./ [2023-07-10T20:52:25.223Z] ---> c93b31900b5f [2023-07-10T20:52:25.223Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-10T20:52:25.488Z] ---> Running in 93f9d4fa8a10 [2023-07-10T20:52:28.066Z] Removing intermediate container 93f9d4fa8a10 [2023-07-10T20:52:28.067Z] ---> e145f6435a59 [2023-07-10T20:52:28.067Z] Step 9/23 : COPY . . [2023-07-10T20:52:30.646Z] ---> 22f56d2a35bd [2023-07-10T20:52:30.646Z] Step 10/23 : RUN ${MAKE} [2023-07-10T20:52:30.914Z] ---> Running in 09c76a5cfb14 [2023-07-10T20:52:31.871Z] 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-07-10T20:54:53.544Z] Removing intermediate container 09c76a5cfb14 [2023-07-10T20:54:53.544Z] ---> a357221ec6ae [2023-07-10T20:54:53.544Z] Step 11/23 : FROM alpine:3.17 [2023-07-10T20:54:53.544Z] 3.17: Pulling from library/alpine [2023-07-10T20:54:53.544Z] edb6bdbacee9: Pulling fs layer [2023-07-10T20:54:53.544Z] edb6bdbacee9: Verifying Checksum [2023-07-10T20:54:53.544Z] edb6bdbacee9: Download complete [2023-07-10T20:54:53.544Z] edb6bdbacee9: Pull complete [2023-07-10T20:54:53.544Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-07-10T20:54:53.544Z] Status: Downloaded newer image for alpine:3.17 [2023-07-10T20:54:53.544Z] ---> 779605e5fbc0 [2023-07-10T20:54:53.544Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-07-10T20:54:53.544Z] ---> Running in c7029187498c [2023-07-10T20:54:53.544Z] Removing intermediate container c7029187498c [2023-07-10T20:54:53.544Z] ---> 8f1a4a08781f [2023-07-10T20:54:53.544Z] Step 13/23 : RUN apk add --update --no-cache [2023-07-10T20:54:53.544Z] ---> Running in 492e5f4bbe61 [2023-07-10T20:54:53.544Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-10T20:54:53.544Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-10T20:54:53.813Z] OK: 7 MiB in 15 packages [2023-07-10T20:54:56.386Z] Removing intermediate container 492e5f4bbe61 [2023-07-10T20:54:56.386Z] ---> fb2641b8e0b8 [2023-07-10T20:54:56.386Z] Step 14/23 : WORKDIR / [2023-07-10T20:54:56.386Z] ---> Running in 5e0e69cdb0a9 [2023-07-10T20:54:56.386Z] Removing intermediate container 5e0e69cdb0a9 [2023-07-10T20:54:56.386Z] ---> e9e4ee361990 [2023-07-10T20:54:56.386Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-07-10T20:54:56.652Z] ---> a3e4f8d10143 [2023-07-10T20:54:56.652Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-07-10T20:54:58.058Z] ---> a09c64e1f4b5 [2023-07-10T20:54:58.058Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-07-10T20:54:58.641Z] ---> ff869ea2d52f [2023-07-10T20:54:58.641Z] Step 18/23 : EXPOSE 59999 [2023-07-10T20:54:58.641Z] ---> Running in 608fcf898739 [2023-07-10T20:54:58.908Z] Removing intermediate container 608fcf898739 [2023-07-10T20:54:58.908Z] ---> 86447732a1ef [2023-07-10T20:54:58.908Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-07-10T20:54:58.908Z] ---> Running in cb97882e8a06 [2023-07-10T20:54:59.176Z] Removing intermediate container cb97882e8a06 [2023-07-10T20:54:59.176Z] ---> 33cb5f0896a3 [2023-07-10T20:54:59.176Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-07-10T20:54:59.447Z] ---> Running in abbaba5a6605 [2023-07-10T20:54:59.719Z] Removing intermediate container abbaba5a6605 [2023-07-10T20:54:59.719Z] ---> 284c05f881cd [2023-07-10T20:54:59.719Z] Step 21/23 : LABEL arch=arm64 [2023-07-10T20:54:59.719Z] ---> Running in 79e7551e9ecf [2023-07-10T20:54:59.987Z] Removing intermediate container 79e7551e9ecf [2023-07-10T20:54:59.987Z] ---> 376a050a6fb6 [2023-07-10T20:54:59.987Z] Step 22/23 : LABEL git_sha=7267fd86e49b51741855a8cc4948ac0fe2320b28 [2023-07-10T20:54:59.987Z] ---> Running in 9fe06c723b1e [2023-07-10T20:55:00.259Z] Removing intermediate container 9fe06c723b1e [2023-07-10T20:55:00.259Z] ---> 7a9c8d2d5646 [2023-07-10T20:55:00.259Z] Step 23/23 : LABEL version=0.0.0 [2023-07-10T20:55:00.528Z] ---> Running in e743efb763e0 [2023-07-10T20:55:00.795Z] Removing intermediate container e743efb763e0 [2023-07-10T20:55:00.795Z] ---> bc0a1b2fc8a3 [2023-07-10T20:55:00.795Z] [Warning] One or more build-args [ARCH] were not consumed [2023-07-10T20:55:00.795Z] Successfully built bc0a1b2fc8a3 [2023-07-10T20:55:00.795Z] 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-07-10T20:55:01.612Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-10T20:55:01.612Z] [2023-07-10T20:55:01.612Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-10T20:55:02.015Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-10T20:55:02.015Z] arm64: Pulling from edgex-lftools-log-publisher [2023-07-10T20:55:02.015Z] 8998bd30e6a1: Pulling fs layer [2023-07-10T20:55:02.015Z] 04944245beec: Pulling fs layer [2023-07-10T20:55:02.015Z] 699f458cf7ca: Pulling fs layer [2023-07-10T20:55:02.015Z] 765212b225bb: Pulling fs layer [2023-07-10T20:55:02.015Z] f23df028b6ca: Pulling fs layer [2023-07-10T20:55:02.015Z] d65c8cfc05b1: Pulling fs layer [2023-07-10T20:55:02.015Z] 2437ff75d9bd: Pulling fs layer [2023-07-10T20:55:02.015Z] f23df028b6ca: Waiting [2023-07-10T20:55:02.015Z] d65c8cfc05b1: Waiting [2023-07-10T20:55:02.015Z] 2437ff75d9bd: Waiting [2023-07-10T20:55:02.015Z] 765212b225bb: Waiting [2023-07-10T20:55:02.290Z] 04944245beec: Verifying Checksum [2023-07-10T20:55:02.290Z] 04944245beec: Download complete [2023-07-10T20:55:02.290Z] 765212b225bb: Verifying Checksum [2023-07-10T20:55:02.290Z] 765212b225bb: Download complete [2023-07-10T20:55:02.290Z] f23df028b6ca: Download complete [2023-07-10T20:55:02.290Z] d65c8cfc05b1: Verifying Checksum [2023-07-10T20:55:02.290Z] d65c8cfc05b1: Download complete [2023-07-10T20:55:02.290Z] 699f458cf7ca: Download complete [2023-07-10T20:55:02.878Z] 8998bd30e6a1: Verifying Checksum [2023-07-10T20:55:02.878Z] 8998bd30e6a1: Download complete [2023-07-10T20:55:04.820Z] 2437ff75d9bd: Verifying Checksum [2023-07-10T20:55:04.820Z] 2437ff75d9bd: Download complete [2023-07-10T20:55:06.763Z] 8998bd30e6a1: Pull complete [2023-07-10T20:55:07.349Z] 04944245beec: Pull complete [2023-07-10T20:55:09.930Z] 699f458cf7ca: Pull complete [2023-07-10T20:55:09.930Z] 765212b225bb: Pull complete [2023-07-10T20:55:10.892Z] f23df028b6ca: Pull complete [2023-07-10T20:55:10.892Z] d65c8cfc05b1: Pull complete [2023-07-10T20:55:25.887Z] 2437ff75d9bd: Pull complete [2023-07-10T20:55:25.887Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-07-10T20:55:25.887Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-10T20:55:25.887Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-10T20:55:26.233Z] prd-ubuntu20.04-docker-arm64-4c-16g-773 does not seem to be running inside a container [2023-07-10T20:55:26.290Z] $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-07-10T20:55:28.972Z] $ docker top 94d0a7d6888006b5b082be15ea0dd2cbe73a942ce7e9c6978319896d6bea9bc5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-10T20:55:29.872Z] ---> job-cost.sh [2023-07-10T20:55:29.872Z] lf-activate-venv: SKIPPING [2023-07-10T20:55:29.872Z] INFO: No Stack... [2023-07-10T20:55:30.454Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-07-10T20:55:31.037Z] INFO: Archiving Costs [Pipeline] sh [2023-07-10T20:55:31.704Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2023-07-10T20:55:31.705Z] + cut -d, -f6 [Pipeline] lock [2023-07-10T20:55:31.793Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1473-1-stack-cost] [2023-07-10T20:55:31.798Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1473-1-stack-cost] did not exist. Created. [2023-07-10T20:55:31.798Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1473-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-10T20:55:32.534Z] /w/workspace/device-sdk-go/1@tmp/durable-2ea1fe44/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-07-10T20:55:32.894Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-07-10T20:55:33.191Z] Warning: overwriting stash ‘stack-cost’ [2023-07-10T20:55:33.273Z] Stashed 1 file(s) [Pipeline] } [2023-07-10T20:55:33.287Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1473-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-10T20:55:33.364Z] $ docker stop --time=1 94d0a7d6888006b5b082be15ea0dd2cbe73a942ce7e9c6978319896d6bea9bc5 [2023-07-10T20:55:37.037Z] $ docker rm -f --volumes 94d0a7d6888006b5b082be15ea0dd2cbe73a942ce7e9c6978319896d6bea9bc5 [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-07-10T20:55:38.143Z] provisioning config files... [2023-07-10T20:55:38.150Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1473@tmp/config3119441296541057267tmp [Pipeline] { [Pipeline] sh [2023-07-10T20:55:38.484Z] + set +x [2023-07-10T20:55:38.484Z] + curl -s https://codecov.io/bash [2023-07-10T20:55:38.484Z] + bash -s -- [2023-07-10T20:55:38.484Z] [2023-07-10T20:55:38.484Z] _____ _ [2023-07-10T20:55:38.484Z] / ____| | | [2023-07-10T20:55:38.484Z] | | ___ __| | ___ ___ _____ __ [2023-07-10T20:55:38.484Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-07-10T20:55:38.484Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-07-10T20:55:38.484Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-07-10T20:55:38.484Z] Bash-1.0.6 [2023-07-10T20:55:38.484Z] [2023-07-10T20:55:38.484Z] [2023-07-10T20:55:38.484Z] ==> git version 2.25.1 found [2023-07-10T20:55:38.484Z] ==> 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-07-10T20:55:38.484Z] Release-Date: 2020-01-08 [2023-07-10T20:55:38.484Z] 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-07-10T20:55:38.484Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-07-10T20:55:38.484Z] ==> Jenkins CI detected. [2023-07-10T20:55:38.484Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1473 [2023-07-10T20:55:38.484Z] project root: . [2023-07-10T20:55:38.484Z] --> token set from env [2023-07-10T20:55:38.484Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-07-10T20:55:38.484Z] ==> Running gcov in . (disable via -X gcov) [2023-07-10T20:55:38.484Z] ==> Python coveragepy not found [2023-07-10T20:55:38.484Z] ==> Searching for coverage reports in: [2023-07-10T20:55:38.484Z] + . [2023-07-10T20:55:38.484Z] -> Found 1 reports [2023-07-10T20:55:38.484Z] ==> Detecting git/mercurial file structure [2023-07-10T20:55:38.742Z] ==> Reading reports [2023-07-10T20:55:38.742Z] + ./coverage.out bytes=106150 [2023-07-10T20:55:38.742Z] ==> Appending adjustments [2023-07-10T20:55:38.743Z] https://docs.codecov.io/docs/fixing-reports [2023-07-10T20:55:39.001Z] + Found adjustments [2023-07-10T20:55:39.001Z] ==> Gzipping contents [2023-07-10T20:55:39.001Z] 16K /tmp/codecov.AGyGKo.gz [2023-07-10T20:55:39.001Z] ==> Uploading reports [2023-07-10T20:55:39.001Z] url: https://codecov.io [2023-07-10T20:55:39.001Z] query: branch=PR-1473&commit=7267fd86e49b51741855a8cc4948ac0fe2320b28&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1473%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1473&job=&cmd_args= [2023-07-10T20:55:39.001Z] -> Pinging Codecov [2023-07-10T20:55:39.001Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1473&commit=7267fd86e49b51741855a8cc4948ac0fe2320b28&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1473%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1473&job=&cmd_args= [2023-07-10T20:55:39.260Z] -> Uploading to [2023-07-10T20:55:39.260Z] https://storage.googleapis.com/codecov/v4/raw/2023-07-10/7E55EF52A471D76F132DFD9A03CDDE97/7267fd86e49b51741855a8cc4948ac0fe2320b28/ecba5ba3-b423-4313-935b-3b7810107c84.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230710%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230710T205538Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c67d1e1b8ed3c0812e5202b49b0079dd78ac5ebb8a958088a1846995aa41b611 [2023-07-10T20:55:39.260Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-10T20:55:39.260Z] Dload Upload Total Spent Left Speed [2023-07-10T20:55:39.260Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15152 0 0 100 15152 0 71136 --:--:-- --:--:-- --:--:-- 70803 100 15152 0 0 100 15152 0 71136 --:--:-- --:--:-- --:--:-- 70803 [2023-07-10T20:55:39.260Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/7267fd86e49b51741855a8cc4948ac0fe2320b28 [Pipeline] } [2023-07-10T20:55:39.287Z] 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-07-10T20:55:41.092Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1473/archives ] [2023-07-10T20:55:41.092Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1473/archives [2023-07-10T20:55:41.092Z] total 16 [2023-07-10T20:55:41.092Z] drwxr-xr-x 3 root root 4096 Jul 10 20:44 . [2023-07-10T20:55:41.092Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 10 20:44 .. [2023-07-10T20:55:41.092Z] drwxr-xr-x 2 root root 4096 Jul 10 20:44 cost [2023-07-10T20:55:41.092Z] -rw-r--r-- 1 root root 86 Jul 10 20:44 cost.csv [2023-07-10T20:55:41.092Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1473/archives [2023-07-10T20:55:41.092Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1473/archives [2023-07-10T20:55:41.092Z] total 16 [2023-07-10T20:55:41.092Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 10 20:44 . [2023-07-10T20:55:41.092Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 10 20:44 .. [2023-07-10T20:55:41.092Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 10 20:44 cost [2023-07-10T20:55:41.092Z] -rw-r--r-- 1 jenkins jenkins 86 Jul 10 20:44 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-07-10T20:55:41.421Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-10T20:55:42.309Z] ---> package-listing.sh [2023-07-10T20:55:42.309Z] ++ facter osfamily [2023-07-10T20:55:42.309Z] ++ tr '[:upper:]' '[:lower:]' [2023-07-10T20:55:42.568Z] + OS_FAMILY=debian [2023-07-10T20:55:42.568Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1473 [2023-07-10T20:55:42.568Z] + START_PACKAGES=/tmp/packages_start.txt [2023-07-10T20:55:42.568Z] + END_PACKAGES=/tmp/packages_end.txt [2023-07-10T20:55:42.568Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-07-10T20:55:42.568Z] + PACKAGES=/tmp/packages_start.txt [2023-07-10T20:55:42.568Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1473 ']' [2023-07-10T20:55:42.568Z] + PACKAGES=/tmp/packages_end.txt [2023-07-10T20:55:42.568Z] + case "${OS_FAMILY}" in [2023-07-10T20:55:42.568Z] + dpkg -l [2023-07-10T20:55:42.568Z] + grep '^ii' [2023-07-10T20:55:42.568Z] + '[' -f /tmp/packages_start.txt ']' [2023-07-10T20:55:42.568Z] + '[' -f /tmp/packages_end.txt ']' [2023-07-10T20:55:42.568Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-07-10T20:55:42.568Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1473 ']' [2023-07-10T20:55:42.568Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1473/archives/ [2023-07-10T20:55:42.568Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1473/archives/ [Pipeline] echo [2023-07-10T20:55:42.601Z] 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-1473/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-07-10T20:55:42.890Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-10T20:55:43.509Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-10T20:55:43.509Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-10T20:55:43.651Z] prd-ubuntu20.04-docker-8c-8g-772 does not seem to be running inside a container [2023-07-10T20:55:43.683Z] $ 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-1473/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-1473 -v /w/workspace/gexfoundry_device-sdk-go_PR-1473:/w/workspace/gexfoundry_device-sdk-go_PR-1473:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1473@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1473@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-07-10T20:55:43.849Z] $ docker top 50f82de0b1f77a9c7f7acf5ab60405fa6e112fa90d70c05c23781f19cff8d059 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-10T20:55:44.243Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-07-10T20:55:44.550Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-07-10T20:55:44.862Z] + ls /var/log/sa-host [2023-07-10T20:55:44.862Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-10T20:55:44.993Z] provisioning config files... [2023-07-10T20:55:45.002Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1473@tmp/config2950413979027145487tmp [Pipeline] { [Pipeline] echo [2023-07-10T20:55:45.056Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-10T20:55:45.368Z] ---> create-netrc.sh [Pipeline] } [2023-07-10T20:55:45.394Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-07-10T20:55:45.785Z] ---> python-tools-install.sh [Pipeline] echo [2023-07-10T20:55:45.818Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-10T20:55:46.133Z] ---> sudo-logs.sh [2023-07-10T20:55:46.133Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-07-10T20:55:46.234Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-10T20:55:46.546Z] ---> job-cost.sh [2023-07-10T20:55:46.546Z] lf-activate-venv: SKIPPING [2023-07-10T20:55:46.546Z] DEBUG: total: 0.2199999988079071 [2023-07-10T20:55:46.546Z] INFO: Retrieving Stack Cost... [2023-07-10T20:55:47.113Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-10T20:55:47.681Z] INFO: Archiving Costs [Pipeline] echo [2023-07-10T20:55:47.720Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-10T20:55:48.038Z] ---> logs-deploy.sh [2023-07-10T20:55:48.039Z] lf-activate-venv: SKIPPING [2023-07-10T20:55:48.039Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1473/1 [2023-07-10T20:55:48.039Z] INFO: archiving workspace using pattern(s): [2023-07-10T20:55:48.974Z] Archives upload complete. [2023-07-10T20:55:48.974Z] INFO: archiving logs to Nexus