Pull request #1438 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 134b755695b00c3e6d415223c795d110c3549a95+cc1c191f7136a36b2a7f5a8b6d3c5c2ccaccd9b2 (61f2e91501b676c489517fc72dc1120d1155e9e4) 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-ssh6779507493075370411.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh15052082921100229672.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1438/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-1438/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3050295375220983210.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-1438/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5131926666185522714.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8146465321081888856.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-1438/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-1438/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh311722832635080454.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-11989 in /w/workspace/gexfoundry_device-sdk-go_PR-1438 [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-1438 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1438/head:refs/remotes/origin/PR-1438 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit cc1c191f7136a36b2a7f5a8b6d3c5c2ccaccd9b2 into PR head commit 134b755695b00c3e6d415223c795d110c3549a95 Merge succeeded, producing 134b755695b00c3e6d415223c795d110c3549a95 Checking out Revision 134b755695b00c3e6d415223c795d110c3549a95 (PR-1438) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-28T04:58:41.001Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-28T04:58:41.182Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW > git config core.sparsecheckout # timeout=10 > git checkout -f 134b755695b00c3e6d415223c795d110c3549a95 # 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 cc1c191f7136a36b2a7f5a8b6d3c5c2ccaccd9b2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 134b755695b00c3e6d415223c795d110c3549a95 # timeout=10 [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-28T04:58:41.283Z] ========================================================= [2023-04-28T04:58:41.283Z] EdgeX Global Pipelines Version Info [2023-04-28T04:58:41.283Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-28T04:58:42.026Z] ------------------- [2023-04-28T04:58:42.026Z] stable info: [2023-04-28T04:58:42.026Z] ------------------- [2023-04-28T04:58:42.026Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-04-28T04:58:42.026Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-28T04:58:42.026Z] Message: update stable to v1.0.248 [2023-04-28T04:58:42.595Z] ------------------- [2023-04-28T04:58:42.595Z] experimental info: [2023-04-28T04:58:42.595Z] ------------------- [2023-04-28T04:58:42.595Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-28T04:58:42.595Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-28T04:58:42.595Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-28T04:58:42.870Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-04-28T04:58:42.913Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-04-28T04:58:42.953Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-28T04:58:42.992Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-28T04:58:43.038Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-28T04:58:43.085Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-28T04:58:43.130Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-28T04:58:43.180Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-04-28T04:58:43.223Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-28T04:58:43.268Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-28T04:58:43.311Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-28T04:58:43.360Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-04-28T04:58:43.407Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-28T04:58:43.456Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-28T04:58:43.502Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-28T04:58:43.544Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-04-28T04:58:43.590Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-28T04:58:43.639Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-28T04:58:43.689Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-28T04:58:43.732Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-28T04:58:43.777Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-04-28T04:58:43.819Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-04-28T04:58:43.864Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-28T04:58:43.908Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-28T04:58:43.947Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-28T04:58:43.990Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-28T04:58:44.037Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-28T04:58:44.092Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1438 [Pipeline] echo [2023-04-28T04:58:44.138Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1438 [Pipeline] echo [2023-04-28T04:58:44.183Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1438 [Pipeline] echo [2023-04-28T04:58:44.226Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 134b755695b00c3e6d415223c795d110c3549a95 [Pipeline] echo [2023-04-28T04:58:44.264Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 134b755 [Pipeline] echo [2023-04-28T04:58:44.303Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-28T04:58:44.423Z] provisioning config files... [2023-04-28T04:58:44.460Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1438@tmp/config8557683143016863929tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-28T04:58:44.796Z] ---> docker-login.sh [2023-04-28T04:58:44.796Z] nexus3.edgexfoundry.org:10001 [2023-04-28T04:58:45.057Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-28T04:58:45.057Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-28T04:58:45.057Z] Configure a credential helper to remove this warning. See [2023-04-28T04:58:45.057Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-28T04:58:45.057Z] [2023-04-28T04:58:45.057Z] Login Succeeded [2023-04-28T04:58:45.057Z] nexus3.edgexfoundry.org:10002 [2023-04-28T04:58:45.319Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-28T04:58:45.319Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-28T04:58:45.319Z] Configure a credential helper to remove this warning. See [2023-04-28T04:58:45.319Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-28T04:58:45.319Z] [2023-04-28T04:58:45.319Z] Login Succeeded [2023-04-28T04:58:45.319Z] nexus3.edgexfoundry.org:10003 [2023-04-28T04:58:45.319Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-28T04:58:45.319Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-28T04:58:45.319Z] Configure a credential helper to remove this warning. See [2023-04-28T04:58:45.319Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-28T04:58:45.319Z] [2023-04-28T04:58:45.319Z] Login Succeeded [2023-04-28T04:58:45.319Z] nexus3.edgexfoundry.org:10004 [2023-04-28T04:58:45.319Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-28T04:58:45.579Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-28T04:58:45.579Z] Configure a credential helper to remove this warning. See [2023-04-28T04:58:45.579Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-28T04:58:45.579Z] [2023-04-28T04:58:45.579Z] Login Succeeded [2023-04-28T04:58:45.579Z] docker.io [2023-04-28T04:58:45.579Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-28T04:58:45.840Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-28T04:58:45.840Z] Configure a credential helper to remove this warning. See [2023-04-28T04:58:45.840Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-28T04:58:45.840Z] [2023-04-28T04:58:45.840Z] Login Succeeded [2023-04-28T04:58:45.840Z] ---> docker-login.sh ends [Pipeline] } [2023-04-28T04:58:45.869Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-28T04:58:46.545Z] + git rev-list -1 --merges 134b755695b00c3e6d415223c795d110c3549a95~1..134b755695b00c3e6d415223c795d110c3549a95 [Pipeline] echo [2023-04-28T04:58:46.623Z] -----------> git rev-list -1 --merges 134b755695b00c3e6d415223c795d110c3549a95~1..134b755695b00c3e6d415223c795d110c3549a95 134b755695b00c3e6d415223c795d110c3549a95 [false] [Pipeline] sh [2023-04-28T04:58:46.932Z] + git log --format=format:%s -1 134b755695b00c3e6d415223c795d110c3549a95 [Pipeline] echo [2023-04-28T04:58:46.970Z] ========================================================= [2023-04-28T04:58:46.971Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-28T04:58:46.971Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-28T04:58:47.386Z] + git log --format=format:%s -1 134b755695b00c3e6d415223c795d110c3549a95 [Pipeline] echo [2023-04-28T04:58:47.416Z] [semverPrep] GIT_COMMIT: 134b755695b00c3e6d415223c795d110c3549a95, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2023-04-28T04:58:47.446Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-28T04:58:47.837Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-28T04:58:47.837Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-28T04:58:47.837Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-28T04:58:47.837Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-28T04:58:47.837Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-28T04:58:47.837Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-28T04:58:47.837Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-28T04:58:48.331Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-28T04:58:48.331Z] [2023-04-28T04:58:48.331Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-28T04:58:48.716Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-28T04:58:48.717Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-28T04:58:48.717Z] b85a868b505f: Pulling fs layer [2023-04-28T04:58:48.717Z] e2be974225ed: Pulling fs layer [2023-04-28T04:58:48.717Z] 339a4e72a1f5: Pulling fs layer [2023-04-28T04:58:48.717Z] 988bab9f4d93: Pulling fs layer [2023-04-28T04:58:48.717Z] 1469e6f7b9e6: Pulling fs layer [2023-04-28T04:58:48.717Z] eaf3925da568: Pulling fs layer [2023-04-28T04:58:48.717Z] bab4dde63d76: Pulling fs layer [2023-04-28T04:58:48.717Z] bde34c3a00c8: Pulling fs layer [2023-04-28T04:58:48.717Z] 1469e6f7b9e6: Waiting [2023-04-28T04:58:48.717Z] eaf3925da568: Waiting [2023-04-28T04:58:48.717Z] 988bab9f4d93: Waiting [2023-04-28T04:58:48.717Z] b352a97aabf1: Pulling fs layer [2023-04-28T04:58:48.717Z] 4872d77fe225: Pulling fs layer [2023-04-28T04:58:48.717Z] 5851b861e8e6: Pulling fs layer [2023-04-28T04:58:48.717Z] 5851b861e8e6: Waiting [2023-04-28T04:58:48.717Z] e2be974225ed: Download complete [2023-04-28T04:58:48.717Z] 988bab9f4d93: Download complete [2023-04-28T04:58:48.717Z] 1469e6f7b9e6: Verifying Checksum [2023-04-28T04:58:48.717Z] 1469e6f7b9e6: Download complete [2023-04-28T04:58:48.717Z] eaf3925da568: Verifying Checksum [2023-04-28T04:58:48.717Z] eaf3925da568: Download complete [2023-04-28T04:58:48.978Z] 339a4e72a1f5: Verifying Checksum [2023-04-28T04:58:48.978Z] 339a4e72a1f5: Download complete [2023-04-28T04:58:48.978Z] bde34c3a00c8: Verifying Checksum [2023-04-28T04:58:48.978Z] bde34c3a00c8: Download complete [2023-04-28T04:58:48.978Z] b352a97aabf1: Download complete [2023-04-28T04:58:48.978Z] 4872d77fe225: Verifying Checksum [2023-04-28T04:58:48.978Z] 4872d77fe225: Download complete [2023-04-28T04:58:48.978Z] 5851b861e8e6: Verifying Checksum [2023-04-28T04:58:48.978Z] 5851b861e8e6: Download complete [2023-04-28T04:58:48.978Z] b85a868b505f: Verifying Checksum [2023-04-28T04:58:48.978Z] b85a868b505f: Download complete [2023-04-28T04:58:49.238Z] bab4dde63d76: Verifying Checksum [2023-04-28T04:58:49.238Z] bab4dde63d76: Download complete [2023-04-28T04:58:50.178Z] b85a868b505f: Pull complete [2023-04-28T04:58:50.437Z] e2be974225ed: Pull complete [2023-04-28T04:58:50.699Z] 339a4e72a1f5: Pull complete [2023-04-28T04:58:50.700Z] 988bab9f4d93: Pull complete [2023-04-28T04:58:50.960Z] 1469e6f7b9e6: Pull complete [2023-04-28T04:58:51.219Z] eaf3925da568: Pull complete [2023-04-28T04:58:52.596Z] bab4dde63d76: Pull complete [2023-04-28T04:58:52.596Z] bde34c3a00c8: Pull complete [2023-04-28T04:58:52.854Z] b352a97aabf1: Pull complete [2023-04-28T04:58:52.854Z] 4872d77fe225: Pull complete [2023-04-28T04:58:52.854Z] 5851b861e8e6: Pull complete [2023-04-28T04:58:53.131Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-28T04:58:53.131Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-28T04:58:53.131Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-28T04:58:53.366Z] prd-ubuntu20.04-docker-8c-8g-11989 does not seem to be running inside a container [2023-04-28T04:58:53.402Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1438 -v /w/workspace/gexfoundry_device-sdk-go_PR-1438:/w/workspace/gexfoundry_device-sdk-go_PR-1438:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1438@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1438@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-28T04:58:55.441Z] $ docker top 3503cb36fc20c6dcb81341a058276233d2910e025bab4bfaa79d97700aada4f1 -eo pid,comm [2023-04-28T04:58:55.487Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-04-28T04:58:55.487Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-28T04:58:55.619Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-28T04:58:55.619Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-28T04:58:55.736Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-28T04:58:55.739Z] $ docker exec 3503cb36fc20c6dcb81341a058276233d2910e025bab4bfaa79d97700aada4f1 ssh-agent [2023-04-28T04:58:55.849Z] SSH_AUTH_SOCK=/tmp/ssh-TAT1w1LKr8gU/agent.33 [2023-04-28T04:58:55.849Z] SSH_AGENT_PID=39 [2023-04-28T04:58:55.856Z] Running ssh-add (command line suppressed) [2023-04-28T04:58:55.961Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1438@tmp/private_key_9885212860932528279.key (/w/workspace/gexfoundry_device-sdk-go_PR-1438@tmp/private_key_9885212860932528279.key) [2023-04-28T04:58:55.973Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-28T04:58:56.298Z] + git tag --points-at HEAD [Pipeline] } [2023-04-28T04:58:56.324Z] $ docker exec --env ******** --env ******** 3503cb36fc20c6dcb81341a058276233d2910e025bab4bfaa79d97700aada4f1 ssh-agent -k [2023-04-28T04:58:56.425Z] unset SSH_AUTH_SOCK; [2023-04-28T04:58:56.426Z] unset SSH_AGENT_PID; [2023-04-28T04:58:56.426Z] echo Agent pid 39 killed; [2023-04-28T04:58:56.435Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-28T04:58:56.529Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-28T04:58:56.529Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-28T04:58:56.629Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-28T04:58:56.632Z] $ docker exec 3503cb36fc20c6dcb81341a058276233d2910e025bab4bfaa79d97700aada4f1 ssh-agent [2023-04-28T04:58:56.732Z] SSH_AUTH_SOCK=/tmp/ssh-OHcuz0PMAAL0/agent.71 [2023-04-28T04:58:56.732Z] SSH_AGENT_PID=77 [2023-04-28T04:58:56.737Z] Running ssh-add (command line suppressed) [2023-04-28T04:58:56.842Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1438@tmp/private_key_10366059326017676124.key (/w/workspace/gexfoundry_device-sdk-go_PR-1438@tmp/private_key_10366059326017676124.key) [2023-04-28T04:58:56.855Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-28T04:58:57.181Z] + git semver init [2023-04-28T04:58:57.442Z] 2023-04-28 04:58:57,331 [run_init] DEBUG init version:0.0.0 force:False [2023-04-28T04:58:57.442Z] 2023-04-28 04:58:57,332 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1438/.semver [2023-04-28T04:58:57.442Z] 2023-04-28 04:58:57,332 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1438/.semver [2023-04-28T04:58:57.442Z] 2023-04-28 04:58:57,332 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1438/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1438, universal_newlines=False, shell=None, istream=None) [2023-04-28T04:58:58.383Z] 2023-04-28 04:58:58,242 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1438/.git/info/exclude [2023-04-28T04:58:58.383Z] 2023-04-28 04:58:58,242 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1438/.semver/PR-1438 with force:False [2023-04-28T04:58:58.383Z] 2023-04-28 04:58:58,242 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1438/.semver/PR-1438 [2023-04-28T04:58:58.383Z] 2023-04-28 04:58:58,246 [execute] INFO git cat-file --batch-check [2023-04-28T04:58:58.383Z] 2023-04-28 04:58:58,247 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1438/.semver, universal_newlines=False, shell=None, istream=) [2023-04-28T04:58:58.383Z] 2023-04-28 04:58:58,253 [execute] INFO git cat-file --batch [2023-04-28T04:58:58.383Z] 2023-04-28 04:58:58,253 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1438/.semver, universal_newlines=False, shell=None, istream=) [2023-04-28T04:58:58.383Z] 2023-04-28 04:58:58,259 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1438/.semver/PR-1438 [2023-04-28T04:58:58.383Z] 0.0.0 [Pipeline] } [2023-04-28T04:58:58.415Z] $ docker exec --env ******** --env ******** 3503cb36fc20c6dcb81341a058276233d2910e025bab4bfaa79d97700aada4f1 ssh-agent -k [2023-04-28T04:58:58.511Z] unset SSH_AUTH_SOCK; [2023-04-28T04:58:58.512Z] unset SSH_AGENT_PID; [2023-04-28T04:58:58.512Z] echo Agent pid 77 killed; [2023-04-28T04:58:58.522Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-28T04:58:58.952Z] + git semver [Pipeline] } [2023-04-28T04:58:59.235Z] $ docker stop --time=1 3503cb36fc20c6dcb81341a058276233d2910e025bab4bfaa79d97700aada4f1 [2023-04-28T04:59:00.530Z] $ docker rm -f --volumes 3503cb36fc20c6dcb81341a058276233d2910e025bab4bfaa79d97700aada4f1 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-28T04:59:00.975Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-28T04:59:01.235Z] Stashed 1 file(s) [Pipeline] echo [2023-04-28T04:59:01.254Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-28T04:59:01.880Z] provisioning config files... [2023-04-28T04:59:01.889Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1438@tmp/config9410246752085217569tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-28T04:59:02.236Z] ---> docker-login.sh [2023-04-28T04:59:02.236Z] nexus3.edgexfoundry.org:10001 [2023-04-28T04:59:02.236Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-28T04:59:02.236Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-28T04:59:02.236Z] Configure a credential helper to remove this warning. See [2023-04-28T04:59:02.236Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-28T04:59:02.236Z] [2023-04-28T04:59:02.236Z] Login Succeeded [2023-04-28T04:59:02.236Z] nexus3.edgexfoundry.org:10002 [2023-04-28T04:59:02.236Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-28T04:59:02.236Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-28T04:59:02.236Z] Configure a credential helper to remove this warning. See [2023-04-28T04:59:02.236Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-28T04:59:02.236Z] [2023-04-28T04:59:02.236Z] Login Succeeded [2023-04-28T04:59:02.236Z] nexus3.edgexfoundry.org:10003 [2023-04-28T04:59:02.495Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-28T04:59:02.495Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-28T04:59:02.495Z] Configure a credential helper to remove this warning. See [2023-04-28T04:59:02.495Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-28T04:59:02.495Z] [2023-04-28T04:59:02.495Z] Login Succeeded [2023-04-28T04:59:02.495Z] nexus3.edgexfoundry.org:10004 [2023-04-28T04:59:02.495Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-28T04:59:02.495Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-28T04:59:02.495Z] Configure a credential helper to remove this warning. See [2023-04-28T04:59:02.495Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-28T04:59:02.496Z] [2023-04-28T04:59:02.496Z] Login Succeeded [2023-04-28T04:59:02.496Z] docker.io [2023-04-28T04:59:02.755Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-28T04:59:02.755Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-28T04:59:02.755Z] Configure a credential helper to remove this warning. See [2023-04-28T04:59:02.755Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-28T04:59:02.755Z] [2023-04-28T04:59:02.755Z] Login Succeeded [2023-04-28T04:59:02.755Z] ---> docker-login.sh ends [Pipeline] } [2023-04-28T04:59:02.786Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-28T04:59:02.974Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-28T04:59:03.044Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-28T04:59:03.074Z] ========================================================= [2023-04-28T04:59:03.074Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-28T04:59:03.075Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-28T04:59:03.547Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-28T04:59:03.547Z] Sending build context to Docker daemon 11.03MB [2023-04-28T04:59:03.547Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-04-28T04:59:03.547Z] Step 2/10 : FROM ${BASE} AS builder [2023-04-28T04:59:03.547Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-28T04:59:03.547Z] f56be85fc22e: Pulling fs layer [2023-04-28T04:59:03.547Z] 85791d961cd3: Pulling fs layer [2023-04-28T04:59:03.547Z] d694b5ae8c79: Pulling fs layer [2023-04-28T04:59:03.547Z] 9f32a84ed3da: Pulling fs layer [2023-04-28T04:59:03.547Z] 4d19c01a9841: Pulling fs layer [2023-04-28T04:59:03.547Z] 9325e15d5711: Pulling fs layer [2023-04-28T04:59:03.547Z] 556b6ee489ea: Pulling fs layer [2023-04-28T04:59:03.547Z] c5a4b2cf53e6: Pulling fs layer [2023-04-28T04:59:03.547Z] 9f32a84ed3da: Waiting [2023-04-28T04:59:03.547Z] 9325e15d5711: Waiting [2023-04-28T04:59:03.547Z] 4d19c01a9841: Waiting [2023-04-28T04:59:03.547Z] c5a4b2cf53e6: Waiting [2023-04-28T04:59:03.547Z] 556b6ee489ea: Waiting [2023-04-28T04:59:03.808Z] 85791d961cd3: Verifying Checksum [2023-04-28T04:59:03.808Z] 85791d961cd3: Download complete [2023-04-28T04:59:03.808Z] 9f32a84ed3da: Download complete [2023-04-28T04:59:03.808Z] 4d19c01a9841: Verifying Checksum [2023-04-28T04:59:03.808Z] 4d19c01a9841: Download complete [2023-04-28T04:59:03.808Z] f56be85fc22e: Verifying Checksum [2023-04-28T04:59:03.808Z] f56be85fc22e: Download complete [2023-04-28T04:59:03.808Z] 9325e15d5711: Verifying Checksum [2023-04-28T04:59:03.808Z] 9325e15d5711: Download complete [2023-04-28T04:59:03.808Z] f56be85fc22e: Pull complete [2023-04-28T04:59:04.077Z] 85791d961cd3: Pull complete [2023-04-28T04:59:04.077Z] c5a4b2cf53e6: Verifying Checksum [2023-04-28T04:59:04.077Z] c5a4b2cf53e6: Download complete [2023-04-28T04:59:04.334Z] d694b5ae8c79: Verifying Checksum [2023-04-28T04:59:04.334Z] d694b5ae8c79: Download complete [2023-04-28T04:59:04.334Z] 556b6ee489ea: Verifying Checksum [2023-04-28T04:59:04.334Z] 556b6ee489ea: Download complete [2023-04-28T04:59:07.619Z] d694b5ae8c79: Pull complete [2023-04-28T04:59:07.619Z] 9f32a84ed3da: Pull complete [2023-04-28T04:59:07.619Z] 4d19c01a9841: Pull complete [2023-04-28T04:59:07.877Z] 9325e15d5711: Pull complete [2023-04-28T04:59:10.403Z] 556b6ee489ea: Pull complete [2023-04-28T04:59:10.972Z] c5a4b2cf53e6: Pull complete [2023-04-28T04:59:10.972Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-04-28T04:59:10.972Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-28T04:59:10.972Z] ---> c4be618373d6 [2023-04-28T04:59:10.972Z] Step 3/10 : ARG MAKE=make build [2023-04-28T04:59:13.509Z] ---> Running in d192b519b3d7 [2023-04-28T04:59:13.509Z] Removing intermediate container d192b519b3d7 [2023-04-28T04:59:13.509Z] ---> 186da9dc0954 [2023-04-28T04:59:13.509Z] Step 4/10 : WORKDIR /device-sdk-go [2023-04-28T04:59:13.509Z] ---> Running in 428e72c44b37 [2023-04-28T04:59:13.509Z] Removing intermediate container 428e72c44b37 [2023-04-28T04:59:13.509Z] ---> 76a519a6150c [2023-04-28T04:59:13.509Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-04-28T04:59:13.509Z] ---> Running in ef2339db26b3 [2023-04-28T04:59:13.770Z] Removing intermediate container ef2339db26b3 [2023-04-28T04:59:13.770Z] ---> 6e37e771226e [2023-04-28T04:59:13.770Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-04-28T04:59:13.770Z] ---> Running in 6d4df9b172a7 [2023-04-28T04:59:14.029Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-28T04:59:14.287Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-28T04:59:14.287Z] OK: 265 MiB in 53 packages [2023-04-28T04:59:14.545Z] Removing intermediate container 6d4df9b172a7 [2023-04-28T04:59:14.545Z] ---> e1dd0356580f [2023-04-28T04:59:14.545Z] Step 7/10 : COPY go.mod vendor* ./ [2023-04-28T04:59:14.804Z] ---> b3d8b927c426 [2023-04-28T04:59:14.804Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-28T04:59:14.804Z] ---> Running in 2262edf4f2b4 [2023-04-28T04:59:16.693Z] Still waiting to schedule task [2023-04-28T04:59:16.694Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-04-28T04:59:46.957Z] Removing intermediate container 2262edf4f2b4 [2023-04-28T04:59:46.957Z] ---> 66343c89d88d [2023-04-28T04:59:46.957Z] Step 9/10 : COPY . . [2023-04-28T04:59:47.217Z] ---> b398305d0adc [2023-04-28T04:59:47.217Z] Step 10/10 : RUN ${MAKE} [2023-04-28T04:59:47.217Z] ---> Running in 99eb39f0d3b2 [2023-04-28T04:59:47.477Z] noop [2023-04-28T04:59:48.058Z] Removing intermediate container 99eb39f0d3b2 [2023-04-28T04:59:48.058Z] ---> 8398a067a6c3 [2023-04-28T04:59:48.058Z] Successfully built 8398a067a6c3 [2023-04-28T04:59:48.058Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-28T04:59:48.495Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-28T04:59:48.496Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-28T04:59:48.656Z] prd-ubuntu20.04-docker-8c-8g-11989 does not seem to be running inside a container [2023-04-28T04:59:48.688Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1438 -v /w/workspace/gexfoundry_device-sdk-go_PR-1438:/w/workspace/gexfoundry_device-sdk-go_PR-1438:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1438@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1438@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-28T04:59:49.025Z] $ docker top 123bcfd73aaa21932092e6f4c117b83ad4c52b7ecec6506fe39ee4a9d6123b30 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-28T04:59:49.415Z] + go version [2023-04-28T04:59:49.415Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-28T04:59:49.448Z] $ docker stop --time=1 123bcfd73aaa21932092e6f4c117b83ad4c52b7ecec6506fe39ee4a9d6123b30 [2023-04-28T04:59:50.680Z] $ docker rm -f --volumes 123bcfd73aaa21932092e6f4c117b83ad4c52b7ecec6506fe39ee4a9d6123b30 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-28T04:59:51.424Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-28T04:59:51.424Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-28T04:59:51.579Z] prd-ubuntu20.04-docker-8c-8g-11989 does not seem to be running inside a container [2023-04-28T04:59:51.640Z] $ 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-1438 -v /w/workspace/gexfoundry_device-sdk-go_PR-1438:/w/workspace/gexfoundry_device-sdk-go_PR-1438:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1438@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1438@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-28T04:59:51.939Z] $ docker top d74b70270802d1b19d191aebdc1f299ca10c3dad39932e77a0566dc0d147365e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-28T04:59:52.338Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1438 [Pipeline] fileExists [Pipeline] sh [2023-04-28T04:59:52.742Z] + make test [2023-04-28T04:59:52.742Z] go test -race -coverprofile=coverage.out ./... [2023-04-28T04:59:59.322Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-04-28T05:00:14.276Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-04-28T05:00:14.276Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-04-28T05:00:14.276Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-04-28T05:00:14.276Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-04-28T05:00:14.276Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-04-28T05:00:14.276Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.054s coverage: 27.6% of statements [2023-04-28T05:00:14.276Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-04-28T05:00:14.276Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-04-28T05:00:14.276Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.060s coverage: 80.2% of statements [2023-04-28T05:00:14.276Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.069s coverage: 86.0% of statements [2023-04-28T05:00:14.571Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-04-28T05:00:14.571Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-04-28T05:00:14.571Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.094s coverage: 77.5% of statements [2023-04-28T05:00:14.571Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-04-28T05:00:14.571Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-04-28T05:00:15.528Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-04-28T05:00:17.434Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.082s coverage: 14.6% of statements [2023-04-28T05:00:17.434Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.083s coverage: 68.5% of statements [2023-04-28T05:00:17.434Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.107s coverage: 89.2% of statements [2023-04-28T05:00:17.434Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.070s coverage: 5.5% of statements [2023-04-28T05:00:36.532Z] GO111MODULE=on go vet ./... [2023-04-28T05:00:39.819Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-28T05:00:39.819Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-28T05:00:39.819Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-28T05:00:39.860Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-28T05:00:39.891Z] $ docker stop --time=1 d74b70270802d1b19d191aebdc1f299ca10c3dad39932e77a0566dc0d147365e [2023-04-28T05:00:42.837Z] $ docker rm -f --volumes d74b70270802d1b19d191aebdc1f299ca10c3dad39932e77a0566dc0d147365e [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-28T05:00:43.402Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-28T05:00:43.502Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-04-28T05:00:44.238Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-28T05:00:44.548Z] + ls -al . [2023-04-28T05:00:44.548Z] total 272 [2023-04-28T05:00:44.548Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 28 04:59 . [2023-04-28T05:00:44.548Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 28 04:58 .. [2023-04-28T05:00:44.548Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 28 04:58 .dockerignore [2023-04-28T05:00:44.548Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 28 04:58 .git [2023-04-28T05:00:44.548Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 28 04:58 .github [2023-04-28T05:00:44.548Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 28 04:58 .gitignore [2023-04-28T05:00:44.548Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 28 04:58 .golangci.yml [2023-04-28T05:00:44.548Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 28 04:58 .semver [2023-04-28T05:00:44.548Z] -rw-rw-r-- 1 jenkins jenkins 31677 Apr 28 04:58 CHANGELOG.md [2023-04-28T05:00:44.548Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 28 04:58 GOVERNANCE.md [2023-04-28T05:00:44.548Z] -rw-rw-r-- 1 jenkins jenkins 885 Apr 28 04:58 Jenkinsfile [2023-04-28T05:00:44.548Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 28 04:58 LICENSE [2023-04-28T05:00:44.548Z] -rw-rw-r-- 1 jenkins jenkins 1714 Apr 28 04:58 Makefile [2023-04-28T05:00:44.548Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 28 04:58 OWNERS.md [2023-04-28T05:00:44.548Z] -rw-rw-r-- 1 jenkins jenkins 4891 Apr 28 04:58 README.md [2023-04-28T05:00:44.548Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 28 04:59 VERSION [2023-04-28T05:00:44.548Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 28 04:58 bin [2023-04-28T05:00:44.548Z] -rw-r--r-- 1 jenkins jenkins 106119 Apr 28 05:00 coverage.out [2023-04-28T05:00:44.548Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 28 04:58 example [2023-04-28T05:00:44.548Z] -rw-rw-r-- 1 jenkins jenkins 3246 Apr 28 04:58 go.mod [2023-04-28T05:00:44.548Z] -rw-rw-r-- 1 jenkins jenkins 30896 Apr 28 04:58 go.sum [2023-04-28T05:00:44.548Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 28 04:58 internal [2023-04-28T05:00:44.548Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 28 04:58 openapi [2023-04-28T05:00:44.548Z] drwxrwxr-x 6 jenkins jenkins 4096 Apr 28 04:58 pkg [2023-04-28T05:00:44.548Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 28 04:58 snap [2023-04-28T05:00:44.548Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 28 04:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-28T05:00:44.945Z] + 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=134b755695b00c3e6d415223c795d110c3549a95 --label arch=amd64 --label version=0.0.0 . [2023-04-28T05:00:44.945Z] Sending build context to Docker daemon 11.13MB [2023-04-28T05:00:44.945Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-04-28T05:00:44.945Z] Step 2/23 : FROM ${BASE} AS builder [2023-04-28T05:00:44.945Z] ---> 8398a067a6c3 [2023-04-28T05:00:44.945Z] Step 3/23 : ARG MAKE=make build [2023-04-28T05:00:45.205Z] ---> Running in 8aac15060222 [2023-04-28T05:00:45.205Z] Removing intermediate container 8aac15060222 [2023-04-28T05:00:45.205Z] ---> 600d81b9c514 [2023-04-28T05:00:45.205Z] Step 4/23 : WORKDIR /device-sdk-go [2023-04-28T05:00:45.205Z] ---> Running in 2fc8f31b99e0 [2023-04-28T05:00:45.205Z] Removing intermediate container 2fc8f31b99e0 [2023-04-28T05:00:45.205Z] ---> b48888cd51e4 [2023-04-28T05:00:45.205Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-04-28T05:00:45.205Z] ---> Running in b7b3025d1306 [2023-04-28T05:00:45.463Z] Removing intermediate container b7b3025d1306 [2023-04-28T05:00:45.463Z] ---> 455e3fd674b0 [2023-04-28T05:00:45.463Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-04-28T05:00:45.463Z] ---> Running in 1b7d241f921b [2023-04-28T05:00:45.724Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-28T05:00:45.724Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-28T05:00:45.984Z] OK: 265 MiB in 53 packages [2023-04-28T05:00:46.242Z] Removing intermediate container 1b7d241f921b [2023-04-28T05:00:46.242Z] ---> 6a3bba3e3098 [2023-04-28T05:00:46.242Z] Step 7/23 : COPY go.mod vendor* ./ [2023-04-28T05:00:46.242Z] ---> 502c24733777 [2023-04-28T05:00:46.242Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-28T05:00:46.242Z] ---> Running in 56e0f1f9ef45 [2023-04-28T05:00:47.178Z] Removing intermediate container 56e0f1f9ef45 [2023-04-28T05:00:47.178Z] ---> c72d26a4562d [2023-04-28T05:00:47.178Z] Step 9/23 : COPY . . [2023-04-28T05:00:47.786Z] ---> 7f7a6c0f5ed2 [2023-04-28T05:00:47.786Z] Step 10/23 : RUN ${MAKE} [2023-04-28T05:00:47.786Z] ---> Running in d42fc19d49f5 [2023-04-28T05:00:48.045Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-04-28T05:00:53.388Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-11992 in /w/workspace/gexfoundry_device-sdk-go_PR-1438 [Pipeline] { [Pipeline] ws [2023-04-28T05:00:53.448Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-04-28T05:00:53.531Z] The recommended git tool is: git [2023-04-28T05:00:59.591Z] using credential edgex-jenkins-ssh [2023-04-28T05:00:59.607Z] Cloning the remote Git repository [2023-04-28T05:00:59.637Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-04-28T05:00:59.739Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-04-28T05:00:59.903Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-04-28T05:00:59.904Z] > git --version # timeout=10 [2023-04-28T05:00:59.924Z] > git --version # 'git version 2.25.1' [2023-04-28T05:00:59.927Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-28T05:01:00.070Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-28T05:01:01.698Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-04-28T05:01:01.723Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-28T05:01:03.381Z] Merging remotes/origin/main commit cc1c191f7136a36b2a7f5a8b6d3c5c2ccaccd9b2 into PR head commit 134b755695b00c3e6d415223c795d110c3549a95 [2023-04-28T05:01:03.678Z] Merge succeeded, producing 134b755695b00c3e6d415223c795d110c3549a95 [2023-04-28T05:01:03.679Z] Checking out Revision 134b755695b00c3e6d415223c795d110c3549a95 (PR-1438) [2023-04-28T05:01:02.680Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-04-28T05:01:02.724Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-04-28T05:01:02.725Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-28T05:01:02.744Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1438/head:refs/remotes/origin/PR-1438 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-04-28T05:01:03.393Z] > git config core.sparsecheckout # timeout=10 [2023-04-28T05:01:03.461Z] > git checkout -f 134b755695b00c3e6d415223c795d110c3549a95 # timeout=10 [2023-04-28T05:01:03.562Z] > git remote # timeout=10 [2023-04-28T05:01:03.588Z] > git config --get remote.origin.url # timeout=10 [2023-04-28T05:01:03.616Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-28T05:01:03.629Z] > git merge cc1c191f7136a36b2a7f5a8b6d3c5c2ccaccd9b2 # timeout=10 [2023-04-28T05:01:03.653Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-04-28T05:01:03.677Z] > git config core.sparsecheckout # timeout=10 [2023-04-28T05:01:03.694Z] > git checkout -f 134b755695b00c3e6d415223c795d110c3549a95 # timeout=10 [2023-04-28T05:01:04.197Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2023-04-28T05:01:04.239Z] > git --version # timeout=10 [2023-04-28T05:01:04.254Z] > git --version # 'git version 2.25.1' [2023-04-28T05:01:04.267Z] fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-28T05:01:05.372Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-28T05:01:05.372Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-28T05:01:05.372Z] Dload Upload Total Spent Left Speed [2023-04-28T05:01:05.372Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 89167 0 --:--:-- --:--:-- --:--:-- 89167 [Pipeline] sh [2023-04-28T05:01:05.941Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-28T05:01:06.127Z] Removing intermediate container d42fc19d49f5 [2023-04-28T05:01:06.127Z] ---> 45ed77b36e4f [2023-04-28T05:01:06.127Z] Step 11/23 : FROM alpine:3.17 [2023-04-28T05:01:06.127Z] 3.17: Pulling from library/alpine [2023-04-28T05:01:06.127Z] f56be85fc22e: Already exists [2023-04-28T05:01:06.127Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-28T05:01:06.127Z] Status: Downloaded newer image for alpine:3.17 [2023-04-28T05:01:06.127Z] ---> 9ed4aefc74f6 [2023-04-28T05:01:06.127Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-04-28T05:01:06.127Z] ---> Running in 79fb1fa04751 [2023-04-28T05:01:06.127Z] Removing intermediate container 79fb1fa04751 [2023-04-28T05:01:06.127Z] ---> 8b133b6cca17 [2023-04-28T05:01:06.127Z] Step 13/23 : RUN apk add --update --no-cache [2023-04-28T05:01:06.127Z] ---> Running in 98f6b5b7468d [2023-04-28T05:01:06.127Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-28T05:01:06.127Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-28T05:01:06.291Z] + sudo tee /etc/docker/daemon.new [2023-04-28T05:01:06.291Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-28T05:01:06.291Z] { [2023-04-28T05:01:06.291Z] "registry-mirrors": [ [2023-04-28T05:01:06.291Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-28T05:01:06.291Z] ], [2023-04-28T05:01:06.291Z] "bip": "10.250.0.254/24", [2023-04-28T05:01:06.291Z] "hosts": [ [2023-04-28T05:01:06.291Z] "tcp://0.0.0.0:5555", [2023-04-28T05:01:06.291Z] "unix:///var/run/docker.sock" [2023-04-28T05:01:06.291Z] ], [2023-04-28T05:01:06.291Z] "mtu": 1458, [2023-04-28T05:01:06.291Z] "selinux-enabled": true, [2023-04-28T05:01:06.291Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-28T05:01:06.291Z] } [Pipeline] sh [2023-04-28T05:01:06.385Z] OK: 7 MiB in 15 packages [2023-04-28T05:01:06.645Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-28T05:01:07.002Z] + sudo service docker restart [2023-04-28T05:01:07.321Z] Removing intermediate container 98f6b5b7468d [2023-04-28T05:01:07.321Z] ---> 2ea333c7eb8a [2023-04-28T05:01:07.321Z] Step 14/23 : WORKDIR / [2023-04-28T05:01:07.321Z] ---> Running in 1cc1cfe8ab9c [2023-04-28T05:01:07.321Z] Removing intermediate container 1cc1cfe8ab9c [2023-04-28T05:01:07.321Z] ---> 6548904a01ba [2023-04-28T05:01:07.321Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-04-28T05:01:07.580Z] ---> a87d6a2bcb44 [2023-04-28T05:01:07.580Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-04-28T05:01:08.146Z] ---> 4233b913cda9 [2023-04-28T05:01:08.146Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-04-28T05:01:08.146Z] ---> 8c7020f1e999 [2023-04-28T05:01:08.146Z] Step 18/23 : EXPOSE 59999 [2023-04-28T05:01:08.146Z] ---> Running in 56c906529a65 [2023-04-28T05:01:08.404Z] Removing intermediate container 56c906529a65 [2023-04-28T05:01:08.404Z] ---> 2e7527ee8cea [2023-04-28T05:01:08.404Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-04-28T05:01:08.404Z] ---> Running in 7311b121f357 [2023-04-28T05:01:08.404Z] Removing intermediate container 7311b121f357 [2023-04-28T05:01:08.404Z] ---> f255ff19e2ff [2023-04-28T05:01:08.404Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-28T05:01:08.404Z] ---> Running in 416081fc6f7a [2023-04-28T05:01:08.404Z] Removing intermediate container 416081fc6f7a [2023-04-28T05:01:08.404Z] ---> ea4c4210009b [2023-04-28T05:01:08.404Z] Step 21/23 : LABEL arch=amd64 [2023-04-28T05:01:08.404Z] ---> Running in 32ae0cb934f1 [2023-04-28T05:01:08.663Z] Removing intermediate container 32ae0cb934f1 [2023-04-28T05:01:08.663Z] ---> 82d1ba7c24fb [2023-04-28T05:01:08.663Z] Step 22/23 : LABEL git_sha=134b755695b00c3e6d415223c795d110c3549a95 [2023-04-28T05:01:08.663Z] ---> Running in 247e5b656699 [2023-04-28T05:01:08.663Z] Removing intermediate container 247e5b656699 [2023-04-28T05:01:08.663Z] ---> 47a75a5b3559 [2023-04-28T05:01:08.663Z] Step 23/23 : LABEL version=0.0.0 [2023-04-28T05:01:08.663Z] ---> Running in 4c96de0ed493 [2023-04-28T05:01:08.663Z] Removing intermediate container 4c96de0ed493 [2023-04-28T05:01:08.663Z] ---> 83d5c66425b1 [2023-04-28T05:01:08.663Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-28T05:01:08.663Z] Successfully built 83d5c66425b1 [2023-04-28T05:01:08.663Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-28T05:01:09.558Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-28T05:01:09.558Z] [2023-04-28T05:01:09.558Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-28T05:01:09.941Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-28T05:01:09.941Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-28T05:01:09.941Z] 5eb5b503b376: Pulling fs layer [2023-04-28T05:01:09.941Z] 5c69ac0246d0: Pulling fs layer [2023-04-28T05:01:09.941Z] ec43610c2a17: Pulling fs layer [2023-04-28T05:01:09.941Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-28T05:01:09.941Z] 33b1e0a273af: Pulling fs layer [2023-04-28T05:01:09.941Z] 5d3b04190fa2: Pulling fs layer [2023-04-28T05:01:09.941Z] 3a2ae6a8a46f: Waiting [2023-04-28T05:01:09.941Z] 33b1e0a273af: Waiting [2023-04-28T05:01:09.941Z] 2f39f015ded8: Pulling fs layer [2023-04-28T05:01:09.941Z] 5d3b04190fa2: Waiting [2023-04-28T05:01:09.941Z] 2f39f015ded8: Waiting [2023-04-28T05:01:09.941Z] 5c69ac0246d0: Verifying Checksum [2023-04-28T05:01:09.941Z] 5c69ac0246d0: Download complete [2023-04-28T05:01:09.941Z] 3a2ae6a8a46f: Verifying Checksum [2023-04-28T05:01:09.941Z] 3a2ae6a8a46f: Download complete [2023-04-28T05:01:09.941Z] 33b1e0a273af: Verifying Checksum [2023-04-28T05:01:09.941Z] 33b1e0a273af: Download complete [2023-04-28T05:01:09.941Z] 5d3b04190fa2: Verifying Checksum [2023-04-28T05:01:09.941Z] 5d3b04190fa2: Download complete [2023-04-28T05:01:10.199Z] ec43610c2a17: Verifying Checksum [2023-04-28T05:01:10.199Z] ec43610c2a17: Download complete [2023-04-28T05:01:10.199Z] 5eb5b503b376: Verifying Checksum [2023-04-28T05:01:10.199Z] 5eb5b503b376: Download complete [2023-04-28T05:01:10.765Z] 2f39f015ded8: Download complete [2023-04-28T05:01:11.333Z] 5eb5b503b376: Pull complete [2023-04-28T05:01:11.333Z] 5c69ac0246d0: Pull complete [2023-04-28T05:01:11.907Z] ec43610c2a17: Pull complete [2023-04-28T05:01:11.907Z] 3a2ae6a8a46f: Pull complete [2023-04-28T05:01:12.166Z] 33b1e0a273af: Pull complete [2023-04-28T05:01:12.166Z] 5d3b04190fa2: Pull complete [2023-04-28T05:01:16.362Z] 2f39f015ded8: Pull complete [2023-04-28T05:01:16.362Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-28T05:01:16.362Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-28T05:01:16.362Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-28T05:01:16.608Z] prd-ubuntu20.04-docker-8c-8g-11989 does not seem to be running inside a container [2023-04-28T05:01:16.640Z] $ 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-1438 -v /w/workspace/gexfoundry_device-sdk-go_PR-1438:/w/workspace/gexfoundry_device-sdk-go_PR-1438:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1438@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1438@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-28T05:01:21.175Z] $ docker top 0d693dd91678f82df6d0e0edc88397788a8532feed17482b7cfba2b8a9bf42aa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-28T05:01:21.634Z] ---> job-cost.sh [2023-04-28T05:01:21.634Z] lf-activate-venv: SKIPPING [2023-04-28T05:01:21.634Z] INFO: No Stack... [2023-04-28T05:01:21.895Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-28T05:01:22.155Z] INFO: Archiving Costs [Pipeline] sh [2023-04-28T05:01:22.475Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1438/archives/cost.csv [2023-04-28T05:01:22.475Z] + cut -d, -f6 [Pipeline] lock [2023-04-28T05:01:22.519Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1438-1-stack-cost] [2023-04-28T05:01:22.524Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1438-1-stack-cost] did not exist. Created. [2023-04-28T05:01:22.524Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1438-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-28T05:01:22.912Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-28T05:01:22.962Z] Stashed 1 file(s) [Pipeline] } [2023-04-28T05:01:22.994Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1438-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-28T05:01:23.079Z] $ docker stop --time=1 0d693dd91678f82df6d0e0edc88397788a8532feed17482b7cfba2b8a9bf42aa [2023-04-28T05:01:24.229Z] $ docker rm -f --volumes 0d693dd91678f82df6d0e0edc88397788a8532feed17482b7cfba2b8a9bf42aa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-28T05:01:25.336Z] provisioning config files... [2023-04-28T05:01:25.366Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config15148162613284523158tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-28T05:01:25.764Z] ---> docker-login.sh [2023-04-28T05:01:25.764Z] nexus3.edgexfoundry.org:10001 [2023-04-28T05:01:26.040Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-28T05:01:26.310Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-28T05:01:26.310Z] Configure a credential helper to remove this warning. See [2023-04-28T05:01:26.310Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-28T05:01:26.310Z] [2023-04-28T05:01:26.310Z] Login Succeeded [2023-04-28T05:01:26.310Z] nexus3.edgexfoundry.org:10002 [2023-04-28T05:01:26.579Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-28T05:01:26.579Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-28T05:01:26.579Z] Configure a credential helper to remove this warning. See [2023-04-28T05:01:26.579Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-28T05:01:26.579Z] [2023-04-28T05:01:26.579Z] Login Succeeded [2023-04-28T05:01:26.848Z] nexus3.edgexfoundry.org:10003 [2023-04-28T05:01:26.848Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-28T05:01:27.119Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-28T05:01:27.120Z] Configure a credential helper to remove this warning. See [2023-04-28T05:01:27.120Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-28T05:01:27.120Z] [2023-04-28T05:01:27.120Z] Login Succeeded [2023-04-28T05:01:27.120Z] nexus3.edgexfoundry.org:10004 [2023-04-28T05:01:27.389Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-28T05:01:27.389Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-28T05:01:27.389Z] Configure a credential helper to remove this warning. See [2023-04-28T05:01:27.389Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-28T05:01:27.389Z] [2023-04-28T05:01:27.389Z] Login Succeeded [2023-04-28T05:01:27.389Z] docker.io [2023-04-28T05:01:27.659Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-28T05:01:27.930Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-28T05:01:27.930Z] Configure a credential helper to remove this warning. See [2023-04-28T05:01:27.930Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-28T05:01:27.930Z] [2023-04-28T05:01:27.930Z] Login Succeeded [2023-04-28T05:01:27.930Z] ---> docker-login.sh ends [Pipeline] } [2023-04-28T05:01:27.961Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-28T05:01:28.353Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-28T05:01:28.395Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-28T05:01:28.431Z] ========================================================= [2023-04-28T05:01:28.431Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-28T05:01:28.431Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-28T05:01:28.943Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-28T05:01:29.216Z] Sending build context to Docker daemon 5.929MB [2023-04-28T05:01:29.216Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-04-28T05:01:29.216Z] Step 2/10 : FROM ${BASE} AS builder [2023-04-28T05:01:29.486Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-28T05:01:29.486Z] c41833b44d91: Pulling fs layer [2023-04-28T05:01:29.486Z] ed15518f5707: Pulling fs layer [2023-04-28T05:01:29.486Z] feae8fd75edb: Pulling fs layer [2023-04-28T05:01:29.486Z] 242c74f7c9fa: Pulling fs layer [2023-04-28T05:01:29.486Z] 3cdef696dda3: Pulling fs layer [2023-04-28T05:01:29.486Z] 2ced38df9373: Pulling fs layer [2023-04-28T05:01:29.486Z] 58f1dce35555: Pulling fs layer [2023-04-28T05:01:29.486Z] 3cdef696dda3: Waiting [2023-04-28T05:01:29.486Z] 242c74f7c9fa: Waiting [2023-04-28T05:01:29.486Z] 2ced38df9373: Waiting [2023-04-28T05:01:29.486Z] 58f1dce35555: Waiting [2023-04-28T05:01:29.486Z] ed15518f5707: Download complete [2023-04-28T05:01:29.486Z] 242c74f7c9fa: Verifying Checksum [2023-04-28T05:01:29.486Z] 242c74f7c9fa: Download complete [2023-04-28T05:01:29.486Z] 3cdef696dda3: Verifying Checksum [2023-04-28T05:01:29.486Z] 3cdef696dda3: Download complete [2023-04-28T05:01:29.759Z] c41833b44d91: Verifying Checksum [2023-04-28T05:01:29.759Z] c41833b44d91: Download complete [2023-04-28T05:01:30.737Z] 58f1dce35555: Verifying Checksum [2023-04-28T05:01:30.737Z] 58f1dce35555: Download complete [2023-04-28T05:01:31.706Z] feae8fd75edb: Verifying Checksum [2023-04-28T05:01:31.706Z] feae8fd75edb: Download complete [2023-04-28T05:01:31.979Z] 2ced38df9373: Verifying Checksum [2023-04-28T05:01:31.979Z] 2ced38df9373: Download complete [2023-04-28T05:01:33.011Z] c41833b44d91: Pull complete [2023-04-28T05:01:33.291Z] ed15518f5707: Pull complete [2023-04-28T05:01:45.670Z] feae8fd75edb: Pull complete [2023-04-28T05:01:45.670Z] 242c74f7c9fa: Pull complete [2023-04-28T05:01:45.670Z] 3cdef696dda3: Pull complete [2023-04-28T05:01:51.034Z] 2ced38df9373: Pull complete [2023-04-28T05:01:52.455Z] 58f1dce35555: Pull complete [2023-04-28T05:01:52.455Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-04-28T05:01:52.455Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-28T05:01:52.455Z] ---> fadd8f120f05 [2023-04-28T05:01:52.455Z] Step 3/10 : ARG MAKE=make build [2023-04-28T05:01:54.399Z] ---> Running in 4f9620684a07 [2023-04-28T05:01:54.399Z] Removing intermediate container 4f9620684a07 [2023-04-28T05:01:54.399Z] ---> 664bdd6dce19 [2023-04-28T05:01:54.399Z] Step 4/10 : WORKDIR /device-sdk-go [2023-04-28T05:01:54.666Z] ---> Running in 8c8b3d4d3d02 [2023-04-28T05:01:54.933Z] Removing intermediate container 8c8b3d4d3d02 [2023-04-28T05:01:54.934Z] ---> a1772afcfc25 [2023-04-28T05:01:54.934Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-04-28T05:01:54.934Z] ---> Running in 2e0f92b9ef92 [2023-04-28T05:01:55.208Z] Removing intermediate container 2e0f92b9ef92 [2023-04-28T05:01:55.208Z] ---> ee66525272fb [2023-04-28T05:01:55.208Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-04-28T05:01:55.477Z] ---> Running in 54ae24d1186d [2023-04-28T05:01:56.440Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-28T05:01:57.039Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-28T05:01:58.007Z] OK: 263 MiB in 53 packages [2023-04-28T05:01:59.432Z] Removing intermediate container 54ae24d1186d [2023-04-28T05:01:59.432Z] ---> 7dac312da742 [2023-04-28T05:01:59.432Z] Step 7/10 : COPY go.mod vendor* ./ [2023-04-28T05:01:59.705Z] ---> d366388cb754 [2023-04-28T05:01:59.705Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-28T05:01:59.705Z] ---> Running in 5a085ffa007b [2023-04-28T05:03:07.655Z] Removing intermediate container 5a085ffa007b [2023-04-28T05:03:07.655Z] ---> f775ef15734a [2023-04-28T05:03:07.655Z] Step 9/10 : COPY . . [2023-04-28T05:03:07.655Z] ---> 0554714b96c3 [2023-04-28T05:03:07.655Z] Step 10/10 : RUN ${MAKE} [2023-04-28T05:03:07.655Z] ---> Running in 7895509811af [2023-04-28T05:03:07.655Z] noop [2023-04-28T05:03:07.655Z] Removing intermediate container 7895509811af [2023-04-28T05:03:07.655Z] ---> 70fd83225934 [2023-04-28T05:03:07.655Z] Successfully built 70fd83225934 [2023-04-28T05:03:07.655Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-28T05:03:08.132Z] + docker inspect -f . ci-base-image-arm64 [2023-04-28T05:03:08.132Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-28T05:03:08.454Z] prd-ubuntu20.04-docker-arm64-4c-16g-11992 does not seem to be running inside a container [2023-04-28T05:03:08.540Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-28T05:03:09.944Z] $ docker top 1badf13a47faa840fe7d74ad8c79cbdc2cdb4d229ac5960f1f2137de63fb4aa2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-28T05:03:10.881Z] + go version [2023-04-28T05:03:10.881Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-28T05:03:10.922Z] $ docker stop --time=1 1badf13a47faa840fe7d74ad8c79cbdc2cdb4d229ac5960f1f2137de63fb4aa2 [2023-04-28T05:03:12.588Z] $ docker rm -f --volumes 1badf13a47faa840fe7d74ad8c79cbdc2cdb4d229ac5960f1f2137de63fb4aa2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-28T05:03:13.493Z] + docker inspect -f . ci-base-image-arm64 [2023-04-28T05:03:13.493Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-28T05:03:13.778Z] prd-ubuntu20.04-docker-arm64-4c-16g-11992 does not seem to be running inside a container [2023-04-28T05:03:13.863Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-28T05:03:15.104Z] $ docker top 66435404b7222eab44acd8a3fa68d02fa82496f72db754e4c3b7b56ee54eaef2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-28T05:03:15.994Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-04-28T05:03:16.720Z] + make test [2023-04-28T05:03:16.720Z] go test -race -coverprofile=coverage.out ./... [2023-04-28T05:04:03.607Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-04-28T05:06:25.324Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-04-28T05:06:25.324Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-04-28T05:06:25.324Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-04-28T05:06:25.324Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-04-28T05:06:25.324Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-04-28T05:06:28.686Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.244s coverage: 27.6% of statements [2023-04-28T05:06:28.954Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.285s coverage: 80.2% of statements [2023-04-28T05:06:43.945Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-04-28T05:06:43.945Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-04-28T05:06:43.945Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.341s coverage: 86.0% of statements [2023-04-28T05:06:49.290Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-04-28T05:06:49.290Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.438s coverage: 77.5% of statements [2023-04-28T05:06:53.552Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-04-28T05:06:54.978Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-04-28T05:06:54.978Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-04-28T05:06:56.398Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.264s coverage: 14.6% of statements [2023-04-28T05:06:56.398Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.466s coverage: 68.5% of statements [2023-04-28T05:06:58.980Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.460s coverage: 89.2% of statements [2023-04-28T05:07:00.394Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-04-28T05:07:00.661Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.269s coverage: 5.5% of statements [2023-04-28T05:07:01.629Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-04-28T05:07:01.629Z] GO111MODULE=on go vet ./... [2023-04-28T05:09:38.402Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-28T05:09:38.402Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-28T05:09:38.402Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-28T05:09:38.444Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-28T05:09:38.486Z] $ docker stop --time=1 66435404b7222eab44acd8a3fa68d02fa82496f72db754e4c3b7b56ee54eaef2 [2023-04-28T05:09:40.453Z] $ docker rm -f --volumes 66435404b7222eab44acd8a3fa68d02fa82496f72db754e4c3b7b56ee54eaef2 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-28T05:09:42.235Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-28T05:09:42.276Z] Warning: overwriting stash ‘coverage-report’ [2023-04-28T05:09:42.982Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-28T05:09:43.639Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-28T05:09:43.987Z] + ls -al . [2023-04-28T05:09:43.988Z] total 268 [2023-04-28T05:09:43.988Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 28 05:03 . [2023-04-28T05:09:43.988Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 28 05:00 .. [2023-04-28T05:09:43.988Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 28 05:01 .dockerignore [2023-04-28T05:09:43.988Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 28 05:01 .git [2023-04-28T05:09:43.988Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 28 05:01 .github [2023-04-28T05:09:43.988Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 28 05:01 .gitignore [2023-04-28T05:09:43.988Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 28 05:01 .golangci.yml [2023-04-28T05:09:43.988Z] -rw-rw-r-- 1 jenkins jenkins 31677 Apr 28 05:01 CHANGELOG.md [2023-04-28T05:09:43.988Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 28 05:01 GOVERNANCE.md [2023-04-28T05:09:43.988Z] -rw-rw-r-- 1 jenkins jenkins 885 Apr 28 05:01 Jenkinsfile [2023-04-28T05:09:43.988Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 28 05:01 LICENSE [2023-04-28T05:09:43.988Z] -rw-rw-r-- 1 jenkins jenkins 1714 Apr 28 05:01 Makefile [2023-04-28T05:09:43.988Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 28 05:01 OWNERS.md [2023-04-28T05:09:43.988Z] -rw-rw-r-- 1 jenkins jenkins 4891 Apr 28 05:01 README.md [2023-04-28T05:09:43.988Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 28 04:59 VERSION [2023-04-28T05:09:43.988Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 28 05:01 bin [2023-04-28T05:09:43.988Z] -rw-r--r-- 1 jenkins jenkins 106122 Apr 28 05:07 coverage.out [2023-04-28T05:09:43.988Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 28 05:01 example [2023-04-28T05:09:43.988Z] -rw-rw-r-- 1 jenkins jenkins 3246 Apr 28 05:01 go.mod [2023-04-28T05:09:43.988Z] -rw-rw-r-- 1 jenkins jenkins 30896 Apr 28 05:01 go.sum [2023-04-28T05:09:43.988Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 28 05:01 internal [2023-04-28T05:09:43.988Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 28 05:01 openapi [2023-04-28T05:09:43.988Z] drwxrwxr-x 6 jenkins jenkins 4096 Apr 28 05:01 pkg [2023-04-28T05:09:43.988Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 28 05:01 snap [2023-04-28T05:09:43.988Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 28 05:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-28T05:09:44.429Z] + 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=134b755695b00c3e6d415223c795d110c3549a95 --label arch=arm64 --label version=0.0.0 . [2023-04-28T05:09:44.699Z] Sending build context to Docker daemon 6.036MB [2023-04-28T05:09:44.975Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-04-28T05:09:44.975Z] Step 2/23 : FROM ${BASE} AS builder [2023-04-28T05:09:44.975Z] ---> 70fd83225934 [2023-04-28T05:09:44.975Z] Step 3/23 : ARG MAKE=make build [2023-04-28T05:09:44.975Z] ---> Running in f26e722a5d5f [2023-04-28T05:09:45.244Z] Removing intermediate container f26e722a5d5f [2023-04-28T05:09:45.244Z] ---> 74d5946885aa [2023-04-28T05:09:45.244Z] Step 4/23 : WORKDIR /device-sdk-go [2023-04-28T05:09:45.518Z] ---> Running in 260d7572e400 [2023-04-28T05:09:45.786Z] Removing intermediate container 260d7572e400 [2023-04-28T05:09:45.786Z] ---> 0f3cec819371 [2023-04-28T05:09:45.786Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-04-28T05:09:45.786Z] ---> Running in a9a22c5ccea1 [2023-04-28T05:09:46.058Z] Removing intermediate container a9a22c5ccea1 [2023-04-28T05:09:46.058Z] ---> 2ca242829d03 [2023-04-28T05:09:46.058Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-04-28T05:09:46.327Z] ---> Running in 15baabb296a8 [2023-04-28T05:09:47.301Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-28T05:09:47.892Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-28T05:09:49.316Z] OK: 263 MiB in 53 packages [2023-04-28T05:09:50.286Z] Removing intermediate container 15baabb296a8 [2023-04-28T05:09:50.286Z] ---> 15e2b64e581b [2023-04-28T05:09:50.286Z] Step 7/23 : COPY go.mod vendor* ./ [2023-04-28T05:09:50.623Z] ---> 51687f7d03f8 [2023-04-28T05:09:50.623Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-28T05:09:50.897Z] ---> Running in d057fe620ef6 [2023-04-28T05:09:53.559Z] Removing intermediate container d057fe620ef6 [2023-04-28T05:09:53.559Z] ---> 57a73e7f2ba0 [2023-04-28T05:09:53.559Z] Step 9/23 : COPY . . [2023-04-28T05:09:56.951Z] ---> 2ff81034d041 [2023-04-28T05:09:56.951Z] Step 10/23 : RUN ${MAKE} [2023-04-28T05:09:56.951Z] ---> Running in f9949735c982 [2023-04-28T05:09:57.541Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-04-28T05:12:34.309Z] Removing intermediate container f9949735c982 [2023-04-28T05:12:34.309Z] ---> 9794b437eb65 [2023-04-28T05:12:34.309Z] Step 11/23 : FROM alpine:3.17 [2023-04-28T05:12:34.309Z] 3.17: Pulling from library/alpine [2023-04-28T05:12:34.309Z] c41833b44d91: Already exists [2023-04-28T05:12:34.309Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-28T05:12:34.309Z] Status: Downloaded newer image for alpine:3.17 [2023-04-28T05:12:34.309Z] ---> 51e60588ff2c [2023-04-28T05:12:34.309Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-04-28T05:12:34.309Z] ---> Running in b6dad23b730f [2023-04-28T05:12:34.309Z] Removing intermediate container b6dad23b730f [2023-04-28T05:12:34.309Z] ---> 8b9ddc887ed0 [2023-04-28T05:12:34.309Z] Step 13/23 : RUN apk add --update --no-cache [2023-04-28T05:12:34.309Z] ---> Running in 24e68dd6a26d [2023-04-28T05:12:34.309Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-28T05:12:34.309Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-28T05:12:34.309Z] OK: 7 MiB in 15 packages [2023-04-28T05:12:34.309Z] Removing intermediate container 24e68dd6a26d [2023-04-28T05:12:34.309Z] ---> 96e85c43aa94 [2023-04-28T05:12:34.309Z] Step 14/23 : WORKDIR / [2023-04-28T05:12:34.309Z] ---> Running in a8ec3ed4863c [2023-04-28T05:12:34.309Z] Removing intermediate container a8ec3ed4863c [2023-04-28T05:12:34.309Z] ---> 08081c0ba501 [2023-04-28T05:12:34.309Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-04-28T05:12:34.309Z] ---> 07b231ebc018 [2023-04-28T05:12:34.309Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-04-28T05:12:34.309Z] ---> a1a93f1715d2 [2023-04-28T05:12:34.309Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-04-28T05:12:34.309Z] ---> 721299ecf666 [2023-04-28T05:12:34.309Z] Step 18/23 : EXPOSE 59999 [2023-04-28T05:12:34.309Z] ---> Running in f6388b1a29fd [2023-04-28T05:12:34.309Z] Removing intermediate container f6388b1a29fd [2023-04-28T05:12:34.309Z] ---> 58035766714d [2023-04-28T05:12:34.309Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-04-28T05:12:34.309Z] ---> Running in 148ee24b1dd8 [2023-04-28T05:12:34.309Z] Removing intermediate container 148ee24b1dd8 [2023-04-28T05:12:34.309Z] ---> 5cf8c96c4355 [2023-04-28T05:12:34.309Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-28T05:12:34.309Z] ---> Running in c2eefaae4188 [2023-04-28T05:12:34.309Z] Removing intermediate container c2eefaae4188 [2023-04-28T05:12:34.309Z] ---> 50141b47db55 [2023-04-28T05:12:34.309Z] Step 21/23 : LABEL arch=arm64 [2023-04-28T05:12:34.309Z] ---> Running in a1dca0474a77 [2023-04-28T05:12:34.309Z] Removing intermediate container a1dca0474a77 [2023-04-28T05:12:34.309Z] ---> 4392a9aeef12 [2023-04-28T05:12:34.309Z] Step 22/23 : LABEL git_sha=134b755695b00c3e6d415223c795d110c3549a95 [2023-04-28T05:12:34.309Z] ---> Running in e71e01386b9c [2023-04-28T05:12:34.309Z] Removing intermediate container e71e01386b9c [2023-04-28T05:12:34.309Z] ---> 56b10a97276b [2023-04-28T05:12:34.309Z] Step 23/23 : LABEL version=0.0.0 [2023-04-28T05:12:34.309Z] ---> Running in 76771312703d [2023-04-28T05:12:34.309Z] Removing intermediate container 76771312703d [2023-04-28T05:12:34.309Z] ---> 51e2bdc8f6e3 [2023-04-28T05:12:34.309Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-28T05:12:34.309Z] Successfully built 51e2bdc8f6e3 [2023-04-28T05:12:34.309Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-28T05:12:35.134Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-28T05:12:35.134Z] [2023-04-28T05:12:35.134Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-28T05:12:35.547Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-28T05:12:36.961Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-28T05:12:36.961Z] 8998bd30e6a1: Pulling fs layer [2023-04-28T05:12:36.961Z] 04944245beec: Pulling fs layer [2023-04-28T05:12:36.961Z] 699f458cf7ca: Pulling fs layer [2023-04-28T05:12:36.961Z] 765212b225bb: Pulling fs layer [2023-04-28T05:12:36.961Z] f23df028b6ca: Pulling fs layer [2023-04-28T05:12:36.961Z] d65c8cfc05b1: Pulling fs layer [2023-04-28T05:12:36.961Z] 2437ff75d9bd: Pulling fs layer [2023-04-28T05:12:36.961Z] 765212b225bb: Waiting [2023-04-28T05:12:36.961Z] f23df028b6ca: Waiting [2023-04-28T05:12:36.961Z] d65c8cfc05b1: Waiting [2023-04-28T05:12:36.961Z] 2437ff75d9bd: Waiting [2023-04-28T05:12:36.961Z] 04944245beec: Verifying Checksum [2023-04-28T05:12:36.961Z] 04944245beec: Download complete [2023-04-28T05:12:36.961Z] 765212b225bb: Verifying Checksum [2023-04-28T05:12:36.961Z] 765212b225bb: Download complete [2023-04-28T05:12:37.230Z] f23df028b6ca: Verifying Checksum [2023-04-28T05:12:37.230Z] f23df028b6ca: Download complete [2023-04-28T05:12:37.230Z] d65c8cfc05b1: Verifying Checksum [2023-04-28T05:12:37.230Z] d65c8cfc05b1: Download complete [2023-04-28T05:12:37.230Z] 699f458cf7ca: Verifying Checksum [2023-04-28T05:12:37.230Z] 699f458cf7ca: Download complete [2023-04-28T05:12:37.818Z] 8998bd30e6a1: Verifying Checksum [2023-04-28T05:12:37.818Z] 8998bd30e6a1: Download complete [2023-04-28T05:12:39.763Z] 2437ff75d9bd: Verifying Checksum [2023-04-28T05:12:39.763Z] 2437ff75d9bd: Download complete [2023-04-28T05:12:41.706Z] 8998bd30e6a1: Pull complete [2023-04-28T05:12:41.706Z] 04944245beec: Pull complete [2023-04-28T05:12:43.118Z] 699f458cf7ca: Pull complete [2023-04-28T05:12:43.385Z] 765212b225bb: Pull complete [2023-04-28T05:12:43.969Z] f23df028b6ca: Pull complete [2023-04-28T05:12:44.237Z] d65c8cfc05b1: Pull complete [2023-04-28T05:12:59.260Z] 2437ff75d9bd: Pull complete [2023-04-28T05:12:59.260Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-28T05:12:59.260Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-28T05:12:59.260Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-28T05:12:59.606Z] prd-ubuntu20.04-docker-arm64-4c-16g-11992 does not seem to be running inside a container [2023-04-28T05:12:59.695Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-04-28T05:13:02.783Z] $ docker top 8c9a02dae6e077f328ee1de6267fb05fb708efb5d7bd9bb42757a69d4418f63b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-28T05:13:03.720Z] ---> job-cost.sh [2023-04-28T05:13:03.720Z] lf-activate-venv: SKIPPING [2023-04-28T05:13:03.720Z] INFO: No Stack... [2023-04-28T05:13:04.308Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-28T05:13:04.893Z] INFO: Archiving Costs [Pipeline] sh [2023-04-28T05:13:05.557Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2023-04-28T05:13:05.557Z] + cut -d, -f6 [Pipeline] lock [2023-04-28T05:13:05.653Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1438-1-stack-cost] [2023-04-28T05:13:05.658Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1438-1-stack-cost] did not exist. Created. [2023-04-28T05:13:05.658Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1438-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-28T05:13:06.402Z] /w/workspace/device-sdk-go/1@tmp/durable-1809d046/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-28T05:13:07.085Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-28T05:13:07.119Z] Warning: overwriting stash ‘stack-cost’ [2023-04-28T05:13:07.189Z] Stashed 1 file(s) [Pipeline] } [2023-04-28T05:13:07.205Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1438-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-28T05:13:07.299Z] $ docker stop --time=1 8c9a02dae6e077f328ee1de6267fb05fb708efb5d7bd9bb42757a69d4418f63b [2023-04-28T05:13:08.810Z] $ docker rm -f --volumes 8c9a02dae6e077f328ee1de6267fb05fb708efb5d7bd9bb42757a69d4418f63b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-04-28T05:13:09.842Z] provisioning config files... [2023-04-28T05:13:09.849Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1438@tmp/config6112635840364747020tmp [Pipeline] { [Pipeline] sh [2023-04-28T05:13:10.207Z] + set +x [2023-04-28T05:13:10.207Z] + curl -s https://codecov.io/bash [2023-04-28T05:13:10.207Z] + bash -s -- [2023-04-28T05:13:10.207Z] [2023-04-28T05:13:10.207Z] _____ _ [2023-04-28T05:13:10.207Z] / ____| | | [2023-04-28T05:13:10.207Z] | | ___ __| | ___ ___ _____ __ [2023-04-28T05:13:10.207Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-04-28T05:13:10.207Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-04-28T05:13:10.207Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-04-28T05:13:10.207Z] Bash-1.0.6 [2023-04-28T05:13:10.207Z] [2023-04-28T05:13:10.207Z] [2023-04-28T05:13:10.207Z] ==> git version 2.25.1 found [2023-04-28T05:13:10.207Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-04-28T05:13:10.207Z] Release-Date: 2020-01-08 [2023-04-28T05:13:10.207Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-04-28T05:13:10.207Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-04-28T05:13:10.207Z] ==> Jenkins CI detected. [2023-04-28T05:13:10.207Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1438 [2023-04-28T05:13:10.207Z] project root: . [2023-04-28T05:13:10.207Z] --> token set from env [2023-04-28T05:13:10.207Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-04-28T05:13:10.207Z] ==> Running gcov in . (disable via -X gcov) [2023-04-28T05:13:10.207Z] ==> Python coveragepy not found [2023-04-28T05:13:10.207Z] ==> Searching for coverage reports in: [2023-04-28T05:13:10.207Z] + . [2023-04-28T05:13:10.207Z] -> Found 1 reports [2023-04-28T05:13:10.207Z] ==> Detecting git/mercurial file structure [2023-04-28T05:13:10.466Z] ==> Reading reports [2023-04-28T05:13:10.466Z] + ./coverage.out bytes=106122 [2023-04-28T05:13:10.466Z] ==> Appending adjustments [2023-04-28T05:13:10.466Z] https://docs.codecov.io/docs/fixing-reports [2023-04-28T05:13:10.726Z] + Found adjustments [2023-04-28T05:13:10.726Z] ==> Gzipping contents [2023-04-28T05:13:10.726Z] 16K /tmp/codecov.56sB61.gz [2023-04-28T05:13:10.726Z] ==> Uploading reports [2023-04-28T05:13:10.726Z] url: https://codecov.io [2023-04-28T05:13:10.726Z] query: branch=PR-1438&commit=134b755695b00c3e6d415223c795d110c3549a95&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1438%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1438&job=&cmd_args= [2023-04-28T05:13:10.726Z] -> Pinging Codecov [2023-04-28T05:13:10.726Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1438&commit=134b755695b00c3e6d415223c795d110c3549a95&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1438%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1438&job=&cmd_args= [2023-04-28T05:13:10.726Z] -> Uploading to [2023-04-28T05:13:10.726Z] https://storage.googleapis.com/codecov/v4/raw/2023-04-28/7E55EF52A471D76F132DFD9A03CDDE97/134b755695b00c3e6d415223c795d110c3549a95/c172942a-8312-4d6f-aaae-ee0750586cc8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230428%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230428T051310Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6ac67802063781aa243b92805bf092a1147b8f290e52e28cbcc5b71f1e64a720 [2023-04-28T05:13:10.726Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-28T05:13:10.726Z] Dload Upload Total Spent Left Speed [2023-04-28T05:13:10.986Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15029 0 0 100 15029 0 61847 --:--:-- --:--:-- --:--:-- 62103 [2023-04-28T05:13:10.986Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/134b755695b00c3e6d415223c795d110c3549a95 [Pipeline] } [2023-04-28T05:13:11.012Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-04-28T05:13:12.836Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1438/archives ] [2023-04-28T05:13:12.836Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1438/archives [2023-04-28T05:13:12.836Z] total 16 [2023-04-28T05:13:12.836Z] drwxr-xr-x 3 root root 4096 Apr 28 05:01 . [2023-04-28T05:13:12.836Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 28 05:01 .. [2023-04-28T05:13:12.836Z] drwxr-xr-x 2 root root 4096 Apr 28 05:01 cost [2023-04-28T05:13:12.836Z] -rw-r--r-- 1 root root 86 Apr 28 05:01 cost.csv [2023-04-28T05:13:12.836Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1438/archives [2023-04-28T05:13:12.836Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1438/archives [2023-04-28T05:13:12.836Z] total 16 [2023-04-28T05:13:12.836Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 28 05:01 . [2023-04-28T05:13:12.836Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 28 05:01 .. [2023-04-28T05:13:12.836Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 28 05:01 cost [2023-04-28T05:13:12.836Z] -rw-r--r-- 1 jenkins jenkins 86 Apr 28 05:01 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-28T05:13:13.163Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-28T05:13:14.058Z] ---> package-listing.sh [2023-04-28T05:13:14.058Z] ++ facter osfamily [2023-04-28T05:13:14.058Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-28T05:13:14.319Z] + OS_FAMILY=debian [2023-04-28T05:13:14.319Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1438 [2023-04-28T05:13:14.319Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-28T05:13:14.319Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-28T05:13:14.319Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-28T05:13:14.319Z] + PACKAGES=/tmp/packages_start.txt [2023-04-28T05:13:14.319Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1438 ']' [2023-04-28T05:13:14.319Z] + PACKAGES=/tmp/packages_end.txt [2023-04-28T05:13:14.319Z] + case "${OS_FAMILY}" in [2023-04-28T05:13:14.319Z] + dpkg -l [2023-04-28T05:13:14.319Z] + grep '^ii' [2023-04-28T05:13:14.319Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-28T05:13:14.319Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-28T05:13:14.319Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-28T05:13:14.319Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1438 ']' [2023-04-28T05:13:14.319Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1438/archives/ [2023-04-28T05:13:14.319Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1438/archives/ [Pipeline] echo [2023-04-28T05:13:14.356Z] 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-1438/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-04-28T05:13:14.646Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-28T05:13:15.269Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-28T05:13:15.269Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-28T05:13:15.399Z] prd-ubuntu20.04-docker-8c-8g-11989 does not seem to be running inside a container [2023-04-28T05:13:15.431Z] $ 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-1438/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-1438 -v /w/workspace/gexfoundry_device-sdk-go_PR-1438:/w/workspace/gexfoundry_device-sdk-go_PR-1438:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1438@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1438@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-28T05:13:15.605Z] $ docker top 2107d4d37e3ff25e32a55e5816dd5bc10ef27e072349ed7a9012e2b7369fd3d4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-28T05:13:16.010Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-28T05:13:16.322Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-28T05:13:16.633Z] + ls /var/log/sa-host [2023-04-28T05:13:16.633Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-28T05:13:16.845Z] provisioning config files... [2023-04-28T05:13:16.854Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1438@tmp/config12339046181303962593tmp [Pipeline] { [Pipeline] echo [2023-04-28T05:13:16.903Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-28T05:13:17.219Z] ---> create-netrc.sh [Pipeline] } [2023-04-28T05:13:17.247Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-28T05:13:17.665Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-28T05:13:17.701Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-28T05:13:18.013Z] ---> sudo-logs.sh [2023-04-28T05:13:18.013Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-28T05:13:18.105Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-28T05:13:18.414Z] ---> job-cost.sh [2023-04-28T05:13:18.414Z] lf-activate-venv: SKIPPING [2023-04-28T05:13:18.414Z] DEBUG: total: 0.2199999988079071 [2023-04-28T05:13:18.414Z] INFO: Retrieving Stack Cost... [2023-04-28T05:13:18.989Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-28T05:13:19.248Z] INFO: Archiving Costs [Pipeline] echo [2023-04-28T05:13:19.284Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-28T05:13:19.593Z] ---> logs-deploy.sh [2023-04-28T05:13:19.593Z] lf-activate-venv: SKIPPING [2023-04-28T05:13:19.593Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1438/1 [2023-04-28T05:13:19.593Z] INFO: archiving workspace using pattern(s): [2023-04-28T05:13:20.529Z] Archives upload complete. [2023-04-28T05:13:20.529Z] INFO: archiving logs to Nexus