Pull request #1525 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2991f1919d1231b00ae9fd60fffe11e5e5deb625+8a4e603c9daa9d98ee8f2e5896cc64fc9a451017 (57ee411ca01ba3e040e1f67a16fa696a8f3901dc) 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-ssh7412410948563310851.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh6875146925673720110.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-1525/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-1525/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13447206387096033238.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-1525/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12668310146224114210.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh16906799930740603917.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-1525/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-1525/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7073226641044794198.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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.21 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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-9093 in /w/workspace/gexfoundry_device-sdk-go_PR-1525 [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-1525 # 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/1525/head:refs/remotes/origin/PR-1525 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 8a4e603c9daa9d98ee8f2e5896cc64fc9a451017 into PR head commit 2991f1919d1231b00ae9fd60fffe11e5e5deb625 Merge succeeded, producing 2991f1919d1231b00ae9fd60fffe11e5e5deb625 Checking out Revision 2991f1919d1231b00ae9fd60fffe11e5e5deb625 (PR-1525) 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 e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-10-12T04:16:32.077Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git config core.sparsecheckout # timeout=10 > git checkout -f 2991f1919d1231b00ae9fd60fffe11e5e5deb625 # 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 8a4e603c9daa9d98ee8f2e5896cc64fc9a451017 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2991f1919d1231b00ae9fd60fffe11e5e5deb625 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-10-12T04:16:32.269Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-10-12T04:16:32.376Z] ========================================================= [2023-10-12T04:16:32.376Z] EdgeX Global Pipelines Version Info [2023-10-12T04:16:32.376Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-10-12T04:16:33.110Z] ------------------- [2023-10-12T04:16:33.110Z] stable info: [2023-10-12T04:16:33.110Z] ------------------- [2023-10-12T04:16:33.110Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-10-12T04:16:33.110Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-12T04:16:33.110Z] Message: update stable to v1.0.254 [2023-10-12T04:16:33.686Z] ------------------- [2023-10-12T04:16:33.686Z] experimental info: [2023-10-12T04:16:33.686Z] ------------------- [2023-10-12T04:16:33.686Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-10-12T04:16:33.686Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-12T04:16:33.686Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-10-12T04:16:33.968Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-10-12T04:16:34.010Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-10-12T04:16:34.056Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-10-12T04:16:34.098Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-10-12T04:16:34.139Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-10-12T04:16:34.179Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-10-12T04:16:34.217Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-10-12T04:16:34.262Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-10-12T04:16:34.301Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-10-12T04:16:34.339Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-10-12T04:16:34.378Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-10-12T04:16:34.420Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-10-12T04:16:34.459Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-10-12T04:16:34.500Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-10-12T04:16:34.539Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-10-12T04:16:34.580Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-10-12T04:16:34.630Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-10-12T04:16:34.674Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-10-12T04:16:34.719Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-10-12T04:16:34.763Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-10-12T04:16:34.803Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-10-12T04:16:34.841Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-10-12T04:16:34.882Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-10-12T04:16:34.924Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-10-12T04:16:34.964Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-10-12T04:16:34.999Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-10-12T04:16:35.036Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-10-12T04:16:35.074Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1525 [Pipeline] echo [2023-10-12T04:16:35.111Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1525 [Pipeline] echo [2023-10-12T04:16:35.150Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1525 [Pipeline] echo [2023-10-12T04:16:35.188Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2991f1919d1231b00ae9fd60fffe11e5e5deb625 [Pipeline] echo [2023-10-12T04:16:35.224Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2991f19 [Pipeline] echo [2023-10-12T04:16:35.273Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-12T04:16:35.392Z] provisioning config files... [2023-10-12T04:16:35.409Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1525@tmp/config8258262646305052346tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-12T04:16:35.757Z] ---> docker-login.sh [2023-10-12T04:16:35.757Z] nexus3.edgexfoundry.org:10001 [2023-10-12T04:16:36.017Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T04:16:36.017Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T04:16:36.017Z] Configure a credential helper to remove this warning. See [2023-10-12T04:16:36.017Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T04:16:36.017Z] [2023-10-12T04:16:36.017Z] Login Succeeded [2023-10-12T04:16:36.017Z] nexus3.edgexfoundry.org:10002 [2023-10-12T04:16:36.017Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T04:16:36.017Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T04:16:36.017Z] Configure a credential helper to remove this warning. See [2023-10-12T04:16:36.017Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T04:16:36.017Z] [2023-10-12T04:16:36.017Z] Login Succeeded [2023-10-12T04:16:36.017Z] nexus3.edgexfoundry.org:10003 [2023-10-12T04:16:36.276Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T04:16:36.276Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T04:16:36.276Z] Configure a credential helper to remove this warning. See [2023-10-12T04:16:36.276Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T04:16:36.276Z] [2023-10-12T04:16:36.276Z] Login Succeeded [2023-10-12T04:16:36.276Z] nexus3.edgexfoundry.org:10004 [2023-10-12T04:16:36.276Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T04:16:36.276Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T04:16:36.276Z] Configure a credential helper to remove this warning. See [2023-10-12T04:16:36.276Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T04:16:36.276Z] [2023-10-12T04:16:36.276Z] Login Succeeded [2023-10-12T04:16:36.276Z] docker.io [2023-10-12T04:16:36.536Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T04:16:36.798Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T04:16:36.798Z] Configure a credential helper to remove this warning. See [2023-10-12T04:16:36.798Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T04:16:36.798Z] [2023-10-12T04:16:36.798Z] Login Succeeded [2023-10-12T04:16:36.798Z] ---> docker-login.sh ends [Pipeline] } [2023-10-12T04:16:36.825Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-10-12T04:16:37.472Z] + git rev-list -1 --merges 2991f1919d1231b00ae9fd60fffe11e5e5deb625~1..2991f1919d1231b00ae9fd60fffe11e5e5deb625 [Pipeline] echo [2023-10-12T04:16:37.549Z] -----------> git rev-list -1 --merges 2991f1919d1231b00ae9fd60fffe11e5e5deb625~1..2991f1919d1231b00ae9fd60fffe11e5e5deb625 2991f1919d1231b00ae9fd60fffe11e5e5deb625 [false] [Pipeline] sh [2023-10-12T04:16:37.859Z] + git log --format=format:%s -1 2991f1919d1231b00ae9fd60fffe11e5e5deb625 [Pipeline] echo [2023-10-12T04:16:37.897Z] ========================================================= [2023-10-12T04:16:37.897Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-12T04:16:37.897Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-12T04:16:38.332Z] + git log --format=format:%s -1 2991f1919d1231b00ae9fd60fffe11e5e5deb625 [Pipeline] echo [2023-10-12T04:16:38.365Z] [semverPrep] GIT_COMMIT: 2991f1919d1231b00ae9fd60fffe11e5e5deb625, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2023-10-12T04:16:38.396Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-10-12T04:16:38.773Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-12T04:16:38.773Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-10-12T04:16:38.773Z] + [ -e /tmp/ssh_known_hosts ] [2023-10-12T04:16:38.773Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-10-12T04:16:38.773Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-10-12T04:16:38.773Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-10-12T04:16:38.773Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T04:16:39.212Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-12T04:16:39.212Z] [2023-10-12T04:16:39.212Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T04:16:39.584Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-12T04:16:39.584Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-10-12T04:16:39.584Z] b85a868b505f: Pulling fs layer [2023-10-12T04:16:39.584Z] e2be974225ed: Pulling fs layer [2023-10-12T04:16:39.584Z] 339a4e72a1f5: Pulling fs layer [2023-10-12T04:16:39.584Z] 988bab9f4d93: Pulling fs layer [2023-10-12T04:16:39.584Z] 1469e6f7b9e6: Pulling fs layer [2023-10-12T04:16:39.584Z] eaf3925da568: Pulling fs layer [2023-10-12T04:16:39.584Z] bab4dde63d76: Pulling fs layer [2023-10-12T04:16:39.584Z] bde34c3a00c8: Pulling fs layer [2023-10-12T04:16:39.584Z] 988bab9f4d93: Waiting [2023-10-12T04:16:39.584Z] b352a97aabf1: Pulling fs layer [2023-10-12T04:16:39.584Z] 4872d77fe225: Pulling fs layer [2023-10-12T04:16:39.584Z] 5851b861e8e6: Pulling fs layer [2023-10-12T04:16:39.584Z] 1469e6f7b9e6: Waiting [2023-10-12T04:16:39.584Z] eaf3925da568: Waiting [2023-10-12T04:16:39.584Z] bab4dde63d76: Waiting [2023-10-12T04:16:39.584Z] b352a97aabf1: Waiting [2023-10-12T04:16:39.584Z] bde34c3a00c8: Waiting [2023-10-12T04:16:39.584Z] 4872d77fe225: Waiting [2023-10-12T04:16:39.584Z] e2be974225ed: Download complete [2023-10-12T04:16:39.584Z] 988bab9f4d93: Download complete [2023-10-12T04:16:39.584Z] 339a4e72a1f5: Verifying Checksum [2023-10-12T04:16:39.584Z] 339a4e72a1f5: Download complete [2023-10-12T04:16:39.584Z] 1469e6f7b9e6: Verifying Checksum [2023-10-12T04:16:39.584Z] 1469e6f7b9e6: Download complete [2023-10-12T04:16:39.851Z] eaf3925da568: Verifying Checksum [2023-10-12T04:16:39.851Z] eaf3925da568: Download complete [2023-10-12T04:16:39.851Z] bde34c3a00c8: Verifying Checksum [2023-10-12T04:16:39.851Z] bde34c3a00c8: Download complete [2023-10-12T04:16:39.851Z] b352a97aabf1: Verifying Checksum [2023-10-12T04:16:39.851Z] b352a97aabf1: Download complete [2023-10-12T04:16:39.851Z] 4872d77fe225: Verifying Checksum [2023-10-12T04:16:39.851Z] 4872d77fe225: Download complete [2023-10-12T04:16:39.851Z] 5851b861e8e6: Download complete [2023-10-12T04:16:39.851Z] b85a868b505f: Verifying Checksum [2023-10-12T04:16:39.851Z] b85a868b505f: Download complete [2023-10-12T04:16:40.124Z] bab4dde63d76: Verifying Checksum [2023-10-12T04:16:40.124Z] bab4dde63d76: Download complete [2023-10-12T04:16:41.068Z] b85a868b505f: Pull complete [2023-10-12T04:16:41.326Z] e2be974225ed: Pull complete [2023-10-12T04:16:41.897Z] 339a4e72a1f5: Pull complete [2023-10-12T04:16:41.897Z] 988bab9f4d93: Pull complete [2023-10-12T04:16:42.156Z] 1469e6f7b9e6: Pull complete [2023-10-12T04:16:42.156Z] eaf3925da568: Pull complete [2023-10-12T04:16:44.058Z] bab4dde63d76: Pull complete [2023-10-12T04:16:44.058Z] bde34c3a00c8: Pull complete [2023-10-12T04:16:44.317Z] b352a97aabf1: Pull complete [2023-10-12T04:16:44.317Z] 4872d77fe225: Pull complete [2023-10-12T04:16:44.317Z] 5851b861e8e6: Pull complete [2023-10-12T04:16:44.317Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-10-12T04:16:44.317Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-12T04:16:44.317Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-12T04:16:44.803Z] prd-ubuntu20.04-docker-8c-8g-9093 does not seem to be running inside a container [2023-10-12T04:16:44.834Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1525 -v /w/workspace/gexfoundry_device-sdk-go_PR-1525:/w/workspace/gexfoundry_device-sdk-go_PR-1525:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1525@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1525@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-10-12T04:16:47.868Z] $ docker top be2efd84c8d7a213b38c3e5ad8a694c9cd45c2ceeb1eddf41607f38cd015f875 -eo pid,comm [2023-10-12T04:16:47.931Z] 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-10-12T04:16:47.931Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-12T04:16:48.061Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-12T04:16:48.061Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-12T04:16:48.176Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-12T04:16:48.180Z] $ docker exec be2efd84c8d7a213b38c3e5ad8a694c9cd45c2ceeb1eddf41607f38cd015f875 ssh-agent [2023-10-12T04:16:48.280Z] SSH_AUTH_SOCK=/tmp/ssh-HrKrnJsBAAhe/agent.32 [2023-10-12T04:16:48.280Z] SSH_AGENT_PID=38 [2023-10-12T04:16:48.287Z] Running ssh-add (command line suppressed) [2023-10-12T04:16:48.388Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1525@tmp/private_key_4013562326488788466.key (/w/workspace/gexfoundry_device-sdk-go_PR-1525@tmp/private_key_4013562326488788466.key) [2023-10-12T04:16:48.400Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-12T04:16:48.739Z] + git tag --points-at HEAD [Pipeline] } [2023-10-12T04:16:48.765Z] $ docker exec --env ******** --env ******** be2efd84c8d7a213b38c3e5ad8a694c9cd45c2ceeb1eddf41607f38cd015f875 ssh-agent -k [2023-10-12T04:16:48.864Z] unset SSH_AUTH_SOCK; [2023-10-12T04:16:48.864Z] unset SSH_AGENT_PID; [2023-10-12T04:16:48.865Z] echo Agent pid 38 killed; [2023-10-12T04:16:48.871Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-10-12T04:16:48.960Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-12T04:16:48.960Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-12T04:16:49.078Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-12T04:16:49.082Z] $ docker exec be2efd84c8d7a213b38c3e5ad8a694c9cd45c2ceeb1eddf41607f38cd015f875 ssh-agent [2023-10-12T04:16:49.183Z] SSH_AUTH_SOCK=/tmp/ssh-Yhj29zWAlTkU/agent.70 [2023-10-12T04:16:49.183Z] SSH_AGENT_PID=76 [2023-10-12T04:16:49.187Z] Running ssh-add (command line suppressed) [2023-10-12T04:16:49.295Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1525@tmp/private_key_7560243482082683272.key (/w/workspace/gexfoundry_device-sdk-go_PR-1525@tmp/private_key_7560243482082683272.key) [2023-10-12T04:16:49.308Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-12T04:16:49.632Z] + git semver init [2023-10-12T04:16:49.891Z] 2023-10-12 04:16:49,806 [run_init] DEBUG init version:0.0.0 force:False [2023-10-12T04:16:49.891Z] 2023-10-12 04:16:49,807 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1525/.semver [2023-10-12T04:16:49.891Z] 2023-10-12 04:16:49,807 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1525/.semver [2023-10-12T04:16:49.891Z] 2023-10-12 04:16:49,807 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1525/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1525, universal_newlines=False, shell=None, istream=None) [2023-10-12T04:16:50.828Z] 2023-10-12 04:16:50,818 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1525/.git/info/exclude [2023-10-12T04:16:50.828Z] 2023-10-12 04:16:50,818 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1525/.semver/PR-1525 with force:False [2023-10-12T04:16:50.828Z] 2023-10-12 04:16:50,819 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1525/.semver/PR-1525 [2023-10-12T04:16:50.828Z] 2023-10-12 04:16:50,821 [execute] INFO git cat-file --batch-check [2023-10-12T04:16:50.828Z] 2023-10-12 04:16:50,821 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1525/.semver, universal_newlines=False, shell=None, istream=) [2023-10-12T04:16:50.828Z] 2023-10-12 04:16:50,828 [execute] INFO git cat-file --batch [2023-10-12T04:16:50.828Z] 2023-10-12 04:16:50,829 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1525/.semver, universal_newlines=False, shell=None, istream=) [2023-10-12T04:16:51.088Z] 2023-10-12 04:16:50,835 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1525/.semver/PR-1525 [2023-10-12T04:16:51.088Z] 0.0.0 [Pipeline] } [2023-10-12T04:16:51.116Z] $ docker exec --env ******** --env ******** be2efd84c8d7a213b38c3e5ad8a694c9cd45c2ceeb1eddf41607f38cd015f875 ssh-agent -k [2023-10-12T04:16:51.213Z] unset SSH_AUTH_SOCK; [2023-10-12T04:16:51.214Z] unset SSH_AGENT_PID; [2023-10-12T04:16:51.214Z] echo Agent pid 76 killed; [2023-10-12T04:16:51.224Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-12T04:16:51.668Z] + git semver [Pipeline] } [2023-10-12T04:16:51.954Z] $ docker stop --time=1 be2efd84c8d7a213b38c3e5ad8a694c9cd45c2ceeb1eddf41607f38cd015f875 [2023-10-12T04:16:53.276Z] $ docker rm -f --volumes be2efd84c8d7a213b38c3e5ad8a694c9cd45c2ceeb1eddf41607f38cd015f875 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-12T04:16:53.665Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-10-12T04:16:53.950Z] Stashed 1 file(s) [Pipeline] echo [2023-10-12T04:16:53.966Z] [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-10-12T04:16:54.607Z] provisioning config files... [2023-10-12T04:16:54.617Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1525@tmp/config15921596996658315579tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-12T04:16:54.969Z] ---> docker-login.sh [2023-10-12T04:16:54.969Z] nexus3.edgexfoundry.org:10001 [2023-10-12T04:16:54.969Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T04:16:54.969Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T04:16:54.969Z] Configure a credential helper to remove this warning. See [2023-10-12T04:16:54.969Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T04:16:54.969Z] [2023-10-12T04:16:54.969Z] Login Succeeded [2023-10-12T04:16:54.969Z] nexus3.edgexfoundry.org:10002 [2023-10-12T04:16:54.969Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T04:16:54.969Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T04:16:54.969Z] Configure a credential helper to remove this warning. See [2023-10-12T04:16:54.969Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T04:16:54.969Z] [2023-10-12T04:16:54.969Z] Login Succeeded [2023-10-12T04:16:54.969Z] nexus3.edgexfoundry.org:10003 [2023-10-12T04:16:55.229Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T04:16:55.229Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T04:16:55.229Z] Configure a credential helper to remove this warning. See [2023-10-12T04:16:55.229Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T04:16:55.229Z] [2023-10-12T04:16:55.229Z] Login Succeeded [2023-10-12T04:16:55.229Z] nexus3.edgexfoundry.org:10004 [2023-10-12T04:16:55.229Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T04:16:55.229Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T04:16:55.229Z] Configure a credential helper to remove this warning. See [2023-10-12T04:16:55.229Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T04:16:55.229Z] [2023-10-12T04:16:55.229Z] Login Succeeded [2023-10-12T04:16:55.229Z] docker.io [2023-10-12T04:16:55.489Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T04:16:55.748Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T04:16:55.748Z] Configure a credential helper to remove this warning. See [2023-10-12T04:16:55.748Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T04:16:55.748Z] [2023-10-12T04:16:55.748Z] Login Succeeded [2023-10-12T04:16:55.748Z] ---> docker-login.sh ends [Pipeline] } [2023-10-12T04:16:55.776Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-12T04:16:55.971Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-12T04:16:56.008Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-12T04:16:56.036Z] ========================================================= [2023-10-12T04:16:56.036Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-10-12T04:16:56.036Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T04:16:56.498Z] + 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.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-10-12T04:16:56.498Z] Sending build context to Docker daemon 11.24MB [2023-10-12T04:16:56.498Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-10-12T04:16:56.498Z] Step 2/10 : FROM ${BASE} AS builder [2023-10-12T04:16:56.498Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-10-12T04:16:56.498Z] 7264a8db6415: Pulling fs layer [2023-10-12T04:16:56.498Z] c4d48a809fc2: Pulling fs layer [2023-10-12T04:16:56.498Z] 4f1c88b9dad5: Pulling fs layer [2023-10-12T04:16:56.498Z] ad3a456e5733: Pulling fs layer [2023-10-12T04:16:56.498Z] 33e27b845d1e: Pulling fs layer [2023-10-12T04:16:56.498Z] c68163c4e522: Pulling fs layer [2023-10-12T04:16:56.498Z] 50da416c3ac9: Pulling fs layer [2023-10-12T04:16:56.498Z] 23d2d4c4bb30: Pulling fs layer [2023-10-12T04:16:56.498Z] ad3a456e5733: Waiting [2023-10-12T04:16:56.498Z] 50da416c3ac9: Waiting [2023-10-12T04:16:56.498Z] 23d2d4c4bb30: Waiting [2023-10-12T04:16:56.498Z] c68163c4e522: Waiting [2023-10-12T04:16:56.759Z] c4d48a809fc2: Download complete [2023-10-12T04:16:56.759Z] ad3a456e5733: Download complete [2023-10-12T04:16:56.759Z] 33e27b845d1e: Verifying Checksum [2023-10-12T04:16:56.759Z] 33e27b845d1e: Download complete [2023-10-12T04:16:56.759Z] 7264a8db6415: Verifying Checksum [2023-10-12T04:16:56.759Z] 7264a8db6415: Download complete [2023-10-12T04:16:56.759Z] c68163c4e522: Verifying Checksum [2023-10-12T04:16:56.759Z] c68163c4e522: Download complete [2023-10-12T04:16:56.759Z] 7264a8db6415: Pull complete [2023-10-12T04:16:57.020Z] 23d2d4c4bb30: Verifying Checksum [2023-10-12T04:16:57.020Z] 23d2d4c4bb30: Download complete [2023-10-12T04:16:57.020Z] c4d48a809fc2: Pull complete [2023-10-12T04:16:57.280Z] 4f1c88b9dad5: Verifying Checksum [2023-10-12T04:16:57.280Z] 4f1c88b9dad5: Download complete [2023-10-12T04:16:57.539Z] 50da416c3ac9: Verifying Checksum [2023-10-12T04:16:57.539Z] 50da416c3ac9: Download complete [2023-10-12T04:17:00.845Z] 4f1c88b9dad5: Pull complete [2023-10-12T04:17:00.845Z] ad3a456e5733: Pull complete [2023-10-12T04:17:00.845Z] 33e27b845d1e: Pull complete [2023-10-12T04:17:00.845Z] c68163c4e522: Pull complete [2023-10-12T04:17:03.374Z] 50da416c3ac9: Pull complete [2023-10-12T04:17:03.632Z] 23d2d4c4bb30: Pull complete [2023-10-12T04:17:03.632Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-10-12T04:17:03.632Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-10-12T04:17:03.632Z] ---> 0786185ac409 [2023-10-12T04:17:03.632Z] Step 3/10 : ARG MAKE=make build [2023-10-12T04:17:06.165Z] ---> Running in 9110002c2a36 [2023-10-12T04:17:06.165Z] Removing intermediate container 9110002c2a36 [2023-10-12T04:17:06.165Z] ---> 21bd866ee9d8 [2023-10-12T04:17:06.165Z] Step 4/10 : WORKDIR /device-sdk-go [2023-10-12T04:17:06.165Z] ---> Running in 99371192ea9a [2023-10-12T04:17:06.424Z] Removing intermediate container 99371192ea9a [2023-10-12T04:17:06.424Z] ---> 09c628cb8529 [2023-10-12T04:17:06.424Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-10-12T04:17:06.424Z] ---> Running in ca963f5494ef [2023-10-12T04:17:06.424Z] Removing intermediate container ca963f5494ef [2023-10-12T04:17:06.424Z] ---> 56859b6da7f2 [2023-10-12T04:17:06.424Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-10-12T04:17:06.424Z] ---> Running in 1caca721fb6c [2023-10-12T04:17:06.685Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-12T04:17:06.943Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-12T04:17:07.203Z] OK: 264 MiB in 52 packages [2023-10-12T04:17:07.462Z] Removing intermediate container 1caca721fb6c [2023-10-12T04:17:07.462Z] ---> df2ba2f7f5d3 [2023-10-12T04:17:07.462Z] Step 7/10 : COPY go.mod vendor* ./ [2023-10-12T04:17:07.722Z] ---> 6c0b85b246c0 [2023-10-12T04:17:07.722Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-12T04:17:07.722Z] ---> Running in ef49cb50dbc5 [2023-10-12T04:17:09.393Z] Still waiting to schedule task [2023-10-12T04:17:09.393Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-10-12T04:18:03.971Z] Removing intermediate container ef49cb50dbc5 [2023-10-12T04:18:03.971Z] ---> 9aceeda84dae [2023-10-12T04:18:03.971Z] Step 9/10 : COPY . . [2023-10-12T04:18:03.971Z] ---> 217fb6a4b6ea [2023-10-12T04:18:03.971Z] Step 10/10 : RUN ${MAKE} [2023-10-12T04:18:03.971Z] ---> Running in 94ac01320c7c [2023-10-12T04:18:03.971Z] noop [2023-10-12T04:18:03.971Z] Removing intermediate container 94ac01320c7c [2023-10-12T04:18:03.971Z] ---> fdfda7f56310 [2023-10-12T04:18:03.971Z] Successfully built fdfda7f56310 [2023-10-12T04:18:03.972Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T04:18:04.422Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-12T04:18:04.422Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-12T04:18:04.584Z] prd-ubuntu20.04-docker-8c-8g-9093 does not seem to be running inside a container [2023-10-12T04:18:04.616Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1525 -v /w/workspace/gexfoundry_device-sdk-go_PR-1525:/w/workspace/gexfoundry_device-sdk-go_PR-1525:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1525@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1525@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-10-12T04:18:04.955Z] $ docker top fd9a36e4b6319888096ef2e62d392b9814e09e0f939607ebcb7f1a24ea4062fe -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-12T04:18:05.349Z] + go version [2023-10-12T04:18:05.349Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-10-12T04:18:05.381Z] $ docker stop --time=1 fd9a36e4b6319888096ef2e62d392b9814e09e0f939607ebcb7f1a24ea4062fe [2023-10-12T04:18:06.660Z] $ docker rm -f --volumes fd9a36e4b6319888096ef2e62d392b9814e09e0f939607ebcb7f1a24ea4062fe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T04:18:07.371Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-12T04:18:07.371Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-12T04:18:07.525Z] prd-ubuntu20.04-docker-8c-8g-9093 does not seem to be running inside a container [2023-10-12T04:18:07.555Z] $ 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-1525 -v /w/workspace/gexfoundry_device-sdk-go_PR-1525:/w/workspace/gexfoundry_device-sdk-go_PR-1525:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1525@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1525@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-10-12T04:18:07.886Z] $ docker top 57f08465f5f881f76e944fcf7e02b7b3bd97605064a4e32c066effcf32120d79 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-12T04:18:08.287Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1525 [Pipeline] fileExists [Pipeline] sh [2023-10-12T04:18:08.644Z] + make test [2023-10-12T04:18:08.644Z] go test -race -coverprofile=coverage.out ./... [2023-10-12T04:18:16.761Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-10-12T04:18:31.646Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-10-12T04:18:31.646Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-10-12T04:18:31.646Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-10-12T04:18:31.646Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-10-12T04:18:31.646Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-10-12T04:18:31.646Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-10-12T04:18:31.646Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-10-12T04:18:31.905Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.041s coverage: 27.6% of statements [2023-10-12T04:18:32.163Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.047s coverage: 81.5% of statements [2023-10-12T04:18:32.163Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.056s coverage: 86.0% of statements [2023-10-12T04:18:32.163Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-10-12T04:18:33.539Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-10-12T04:18:33.539Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-10-12T04:18:33.539Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.076s coverage: 71.8% of statements [2023-10-12T04:18:33.539Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-10-12T04:18:36.827Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.054s coverage: 14.4% of statements [2023-10-12T04:18:36.827Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 1.389s coverage: 45.9% of statements [2023-10-12T04:18:36.827Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.067s coverage: 68.5% of statements [2023-10-12T04:18:36.827Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.110s coverage: 89.2% of statements [2023-10-12T04:18:36.827Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.045s coverage: 5.5% of statements [2023-10-12T04:18:58.851Z] GO111MODULE=on go vet ./... [2023-10-12T04:19:00.751Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-12T04:19:00.751Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-12T04:19:00.751Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-12T04:19:01.039Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-12T04:19:01.068Z] $ docker stop --time=1 57f08465f5f881f76e944fcf7e02b7b3bd97605064a4e32c066effcf32120d79 [2023-10-12T04:19:02.955Z] $ docker rm -f --volumes 57f08465f5f881f76e944fcf7e02b7b3bd97605064a4e32c066effcf32120d79 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-12T04:19:03.575Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-12T04:19:03.655Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-10-12T04:19:04.259Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-12T04:19:04.570Z] + ls -al . [2023-10-12T04:19:04.570Z] total 304 [2023-10-12T04:19:04.570Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 12 04:18 . [2023-10-12T04:19:04.570Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 04:16 .. [2023-10-12T04:19:04.570Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 12 04:16 .dockerignore [2023-10-12T04:19:04.570Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 04:18 .git [2023-10-12T04:19:04.570Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 04:16 .github [2023-10-12T04:19:04.570Z] -rw-rw-r-- 1 jenkins jenkins 137 Oct 12 04:16 .gitignore [2023-10-12T04:19:04.570Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 12 04:16 .golangci.yml [2023-10-12T04:19:04.570Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 12 04:16 .semver [2023-10-12T04:19:04.570Z] -rw-rw-r-- 1 jenkins jenkins 44878 Oct 12 04:16 CHANGELOG.md [2023-10-12T04:19:04.570Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 12 04:16 GOVERNANCE.md [2023-10-12T04:19:04.570Z] -rw-rw-r-- 1 jenkins jenkins 885 Oct 12 04:16 Jenkinsfile [2023-10-12T04:19:04.570Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 12 04:16 LICENSE [2023-10-12T04:19:04.570Z] -rw-rw-r-- 1 jenkins jenkins 1842 Oct 12 04:16 Makefile [2023-10-12T04:19:04.570Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 12 04:16 OWNERS.md [2023-10-12T04:19:04.570Z] -rw-rw-r-- 1 jenkins jenkins 4933 Oct 12 04:16 README.md [2023-10-12T04:19:04.570Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 12 04:16 VERSION [2023-10-12T04:19:04.570Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 04:16 bin [2023-10-12T04:19:04.570Z] -rw-r--r-- 1 jenkins jenkins 122153 Oct 12 04:18 coverage.out [2023-10-12T04:19:04.570Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 12 04:16 example [2023-10-12T04:19:04.570Z] -rw-rw-r-- 1 jenkins jenkins 3723 Oct 12 04:16 go.mod [2023-10-12T04:19:04.570Z] -rw-rw-r-- 1 jenkins jenkins 34808 Oct 12 04:16 go.sum [2023-10-12T04:19:04.570Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 12 04:16 internal [2023-10-12T04:19:04.570Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 04:16 openapi [2023-10-12T04:19:04.570Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 12 04:16 pkg [2023-10-12T04:19:04.570Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 04:16 snap [2023-10-12T04:19:04.570Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 12 04:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T04:19:04.965Z] + 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=2991f1919d1231b00ae9fd60fffe11e5e5deb625 --label arch=amd64 --label version=0.0.0 . [2023-10-12T04:19:04.965Z] Sending build context to Docker daemon 11.37MB [2023-10-12T04:19:04.965Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-10-12T04:19:04.965Z] Step 2/23 : FROM ${BASE} AS builder [2023-10-12T04:19:04.965Z] ---> fdfda7f56310 [2023-10-12T04:19:04.965Z] Step 3/23 : ARG MAKE=make build [2023-10-12T04:19:04.965Z] ---> Running in 9539c2bc5616 [2023-10-12T04:19:05.227Z] Removing intermediate container 9539c2bc5616 [2023-10-12T04:19:05.227Z] ---> 85afb7f5f740 [2023-10-12T04:19:05.227Z] Step 4/23 : WORKDIR /device-sdk-go [2023-10-12T04:19:05.227Z] ---> Running in 40bca1f05858 [2023-10-12T04:19:05.227Z] Removing intermediate container 40bca1f05858 [2023-10-12T04:19:05.227Z] ---> ddb5f49d83a2 [2023-10-12T04:19:05.227Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-10-12T04:19:05.227Z] ---> Running in 3f09cd506d93 [2023-10-12T04:19:05.227Z] Removing intermediate container 3f09cd506d93 [2023-10-12T04:19:05.227Z] ---> 5f239622ce38 [2023-10-12T04:19:05.227Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-10-12T04:19:05.227Z] ---> Running in d7cd61a0326a [2023-10-12T04:19:05.797Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-12T04:19:05.797Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-12T04:19:06.057Z] OK: 264 MiB in 52 packages [2023-10-12T04:19:06.318Z] Removing intermediate container d7cd61a0326a [2023-10-12T04:19:06.318Z] ---> a50e1a8bdb0c [2023-10-12T04:19:06.318Z] Step 7/23 : COPY go.mod vendor* ./ [2023-10-12T04:19:06.577Z] ---> e98f3505b412 [2023-10-12T04:19:06.577Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-12T04:19:06.577Z] ---> Running in 4e2da25a359e [2023-10-12T04:19:07.145Z] Removing intermediate container 4e2da25a359e [2023-10-12T04:19:07.145Z] ---> 5afca7897195 [2023-10-12T04:19:07.145Z] Step 9/23 : COPY . . [2023-10-12T04:19:07.733Z] ---> ceac8a72bb26 [2023-10-12T04:19:07.733Z] Step 10/23 : RUN ${MAKE} [2023-10-12T04:19:07.733Z] ---> Running in 216afc212b65 [2023-10-12T04:19:07.992Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-10-12T04:19:30.187Z] Removing intermediate container 216afc212b65 [2023-10-12T04:19:30.188Z] ---> 3f97dac55a8e [2023-10-12T04:19:30.188Z] Step 11/23 : FROM alpine:3.18 [2023-10-12T04:19:30.188Z] 3.18: Pulling from library/alpine [2023-10-12T04:19:30.188Z] 96526aa774ef: Pulling fs layer [2023-10-12T04:19:30.188Z] 96526aa774ef: Verifying Checksum [2023-10-12T04:19:30.188Z] 96526aa774ef: Download complete [2023-10-12T04:19:30.188Z] 96526aa774ef: Pull complete [2023-10-12T04:19:30.188Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-12T04:19:30.188Z] Status: Downloaded newer image for alpine:3.18 [2023-10-12T04:19:30.188Z] ---> 8ca4688f4f35 [2023-10-12T04:19:30.188Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-10-12T04:19:30.188Z] ---> Running in 9c6f2163255a [2023-10-12T04:19:30.188Z] Removing intermediate container 9c6f2163255a [2023-10-12T04:19:30.188Z] ---> 4881e7b46e61 [2023-10-12T04:19:30.188Z] Step 13/23 : RUN apk add --update --no-cache [2023-10-12T04:19:30.188Z] ---> Running in c4da9d41b28e [2023-10-12T04:19:30.188Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-12T04:19:30.188Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-12T04:19:30.188Z] OK: 7 MiB in 15 packages [2023-10-12T04:19:30.758Z] Removing intermediate container c4da9d41b28e [2023-10-12T04:19:30.758Z] ---> e343f1a3c618 [2023-10-12T04:19:30.758Z] Step 14/23 : WORKDIR / [2023-10-12T04:19:30.758Z] ---> Running in 3cf7ac1d85c3 [2023-10-12T04:19:30.758Z] Removing intermediate container 3cf7ac1d85c3 [2023-10-12T04:19:30.758Z] ---> dde99ed68d8d [2023-10-12T04:19:30.758Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-10-12T04:19:30.758Z] ---> b61ad80dc376 [2023-10-12T04:19:30.758Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-10-12T04:19:31.693Z] ---> 48b361bb45c0 [2023-10-12T04:19:31.693Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-10-12T04:19:31.693Z] ---> 895a76c5a780 [2023-10-12T04:19:31.693Z] Step 18/23 : EXPOSE 59999 [2023-10-12T04:19:31.693Z] ---> Running in 289664ea06f3 [2023-10-12T04:19:31.693Z] Removing intermediate container 289664ea06f3 [2023-10-12T04:19:31.693Z] ---> 21d87638ad57 [2023-10-12T04:19:31.693Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-10-12T04:19:31.693Z] ---> Running in c3e9c2b9da6b [2023-10-12T04:19:31.952Z] Removing intermediate container c3e9c2b9da6b [2023-10-12T04:19:31.952Z] ---> 4b6c73a593bc [2023-10-12T04:19:31.952Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-10-12T04:19:31.952Z] ---> Running in 45560c725c2a [2023-10-12T04:19:31.952Z] Removing intermediate container 45560c725c2a [2023-10-12T04:19:31.952Z] ---> 71098c93130e [2023-10-12T04:19:31.952Z] Step 21/23 : LABEL arch=amd64 [2023-10-12T04:19:31.952Z] ---> Running in 2f810cd5c659 [2023-10-12T04:19:32.230Z] Removing intermediate container 2f810cd5c659 [2023-10-12T04:19:32.230Z] ---> e61aba762d60 [2023-10-12T04:19:32.230Z] Step 22/23 : LABEL git_sha=2991f1919d1231b00ae9fd60fffe11e5e5deb625 [2023-10-12T04:19:32.230Z] ---> Running in bf450aa56721 [2023-10-12T04:19:32.230Z] Removing intermediate container bf450aa56721 [2023-10-12T04:19:32.230Z] ---> af5856f82d4b [2023-10-12T04:19:32.230Z] Step 23/23 : LABEL version=0.0.0 [2023-10-12T04:19:32.231Z] ---> Running in 01711ddab73d [2023-10-12T04:19:32.231Z] Removing intermediate container 01711ddab73d [2023-10-12T04:19:32.231Z] ---> 31837c252eea [2023-10-12T04:19:32.231Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-12T04:19:32.231Z] Successfully built 31837c252eea [2023-10-12T04:19:32.490Z] 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-10-12T04:19:33.326Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-12T04:19:33.326Z] [2023-10-12T04:19:33.326Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T04:19:33.706Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-12T04:19:33.706Z] latest: Pulling from edgex-lftools-log-publisher [2023-10-12T04:19:33.706Z] 5eb5b503b376: Pulling fs layer [2023-10-12T04:19:33.706Z] 5c69ac0246d0: Pulling fs layer [2023-10-12T04:19:33.706Z] ec43610c2a17: Pulling fs layer [2023-10-12T04:19:33.706Z] 3a2ae6a8a46f: Pulling fs layer [2023-10-12T04:19:33.706Z] 33b1e0a273af: Pulling fs layer [2023-10-12T04:19:33.706Z] 5d3b04190fa2: Pulling fs layer [2023-10-12T04:19:33.706Z] 2f39f015ded8: Pulling fs layer [2023-10-12T04:19:33.706Z] 3a2ae6a8a46f: Waiting [2023-10-12T04:19:33.706Z] 5d3b04190fa2: Waiting [2023-10-12T04:19:33.706Z] 2f39f015ded8: Waiting [2023-10-12T04:19:33.706Z] 5c69ac0246d0: Verifying Checksum [2023-10-12T04:19:33.706Z] 5c69ac0246d0: Download complete [2023-10-12T04:19:33.706Z] 3a2ae6a8a46f: Download complete [2023-10-12T04:19:33.706Z] 33b1e0a273af: Verifying Checksum [2023-10-12T04:19:33.706Z] 33b1e0a273af: Download complete [2023-10-12T04:19:33.964Z] 5d3b04190fa2: Verifying Checksum [2023-10-12T04:19:33.964Z] 5d3b04190fa2: Download complete [2023-10-12T04:19:33.964Z] ec43610c2a17: Verifying Checksum [2023-10-12T04:19:33.964Z] ec43610c2a17: Download complete [2023-10-12T04:19:33.964Z] 5eb5b503b376: Verifying Checksum [2023-10-12T04:19:33.964Z] 5eb5b503b376: Download complete [2023-10-12T04:19:34.530Z] 2f39f015ded8: Download complete [2023-10-12T04:19:35.096Z] 5eb5b503b376: Pull complete [2023-10-12T04:19:35.354Z] 5c69ac0246d0: Pull complete [2023-10-12T04:19:35.919Z] ec43610c2a17: Pull complete [2023-10-12T04:19:35.919Z] 3a2ae6a8a46f: Pull complete [2023-10-12T04:19:36.176Z] 33b1e0a273af: Pull complete [2023-10-12T04:19:36.176Z] 5d3b04190fa2: Pull complete [2023-10-12T04:19:41.441Z] 2f39f015ded8: Pull complete [2023-10-12T04:19:41.441Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-10-12T04:19:41.441Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-12T04:19:41.441Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-12T04:19:41.667Z] prd-ubuntu20.04-docker-8c-8g-9093 does not seem to be running inside a container [2023-10-12T04:19:41.692Z] $ 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-1525 -v /w/workspace/gexfoundry_device-sdk-go_PR-1525:/w/workspace/gexfoundry_device-sdk-go_PR-1525:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1525@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1525@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-10-12T04:19:45.320Z] $ docker top 540ed02a3fe47172618b77cf81bcf6ec44dff0c32c2896a3942fcfad6910e51b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-12T04:19:45.750Z] ---> job-cost.sh [2023-10-12T04:19:45.750Z] lf-activate-venv: SKIPPING [2023-10-12T04:19:45.750Z] INFO: No Stack... [2023-10-12T04:19:46.010Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-12T04:19:46.581Z] INFO: Archiving Costs [Pipeline] sh [2023-10-12T04:19:46.894Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1525/archives/cost.csv [2023-10-12T04:19:46.895Z] + cut -d, -f6 [Pipeline] lock [2023-10-12T04:19:46.934Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1525-1-stack-cost] [2023-10-12T04:19:46.947Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1525-1-stack-cost] did not exist. Created. [2023-10-12T04:19:46.947Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1525-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-12T04:19:47.334Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-10-12T04:19:47.388Z] Stashed 1 file(s) [Pipeline] } [2023-10-12T04:19:47.409Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1525-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-12T04:19:47.491Z] $ docker stop --time=1 540ed02a3fe47172618b77cf81bcf6ec44dff0c32c2896a3942fcfad6910e51b [2023-10-12T04:19:48.670Z] $ docker rm -f --volumes 540ed02a3fe47172618b77cf81bcf6ec44dff0c32c2896a3942fcfad6910e51b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-10-12T04:20:55.169Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9096 in /w/workspace/gexfoundry_device-sdk-go_PR-1525 [Pipeline] { [Pipeline] ws [2023-10-12T04:20:55.222Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-10-12T04:20:55.299Z] The recommended git tool is: git [2023-10-12T04:21:04.497Z] using credential edgex-jenkins-ssh [2023-10-12T04:21:04.513Z] Cloning the remote Git repository [2023-10-12T04:21:04.567Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-10-12T04:21:04.702Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-10-12T04:21:04.923Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-10-12T04:21:04.925Z] > git --version # timeout=10 [2023-10-12T04:21:04.969Z] > git --version # 'git version 2.25.1' [2023-10-12T04:21:04.974Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-12T04:21:05.232Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-12T04:21:06.879Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-10-12T04:21:06.926Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-12T04:21:08.169Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-10-12T04:21:08.907Z] Merging remotes/origin/main commit 8a4e603c9daa9d98ee8f2e5896cc64fc9a451017 into PR head commit 2991f1919d1231b00ae9fd60fffe11e5e5deb625 [2023-10-12T04:21:09.467Z] Merge succeeded, producing 2991f1919d1231b00ae9fd60fffe11e5e5deb625 [2023-10-12T04:21:09.468Z] Checking out Revision 2991f1919d1231b00ae9fd60fffe11e5e5deb625 (PR-1525) [2023-10-12T04:21:08.226Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-10-12T04:21:08.227Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-12T04:21:08.243Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1525/head:refs/remotes/origin/PR-1525 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-10-12T04:21:08.928Z] > git config core.sparsecheckout # timeout=10 [2023-10-12T04:21:09.006Z] > git checkout -f 2991f1919d1231b00ae9fd60fffe11e5e5deb625 # timeout=10 [2023-10-12T04:21:09.180Z] > git remote # timeout=10 [2023-10-12T04:21:09.235Z] > git config --get remote.origin.url # timeout=10 [2023-10-12T04:21:09.352Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-12T04:21:09.383Z] > git merge 8a4e603c9daa9d98ee8f2e5896cc64fc9a451017 # timeout=10 [2023-10-12T04:21:09.440Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-10-12T04:21:09.475Z] > git config core.sparsecheckout # timeout=10 [2023-10-12T04:21:09.506Z] > git checkout -f 2991f1919d1231b00ae9fd60fffe11e5e5deb625 # timeout=10 [2023-10-12T04:21:10.210Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2023-10-12T04:21:10.281Z] > git --version # timeout=10 [2023-10-12T04:21:10.329Z] > git --version # 'git version 2.25.1' [2023-10-12T04:21:10.400Z] fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-12T04:21:11.835Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-10-12T04:21:11.835Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-12T04:21:11.835Z] Dload Upload Total Spent Left Speed [2023-10-12T04:21:11.836Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 197k 0 --:--:-- --:--:-- --:--:-- 200k [Pipeline] sh [2023-10-12T04:21:12.693Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-10-12T04:21:13.078Z] + sudo tee /etc/docker/daemon.new [2023-10-12T04:21:13.078Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-10-12T04:21:13.357Z] { [2023-10-12T04:21:13.357Z] "registry-mirrors": [ [2023-10-12T04:21:13.357Z] "https://nexus3.edgexfoundry.org:10001" [2023-10-12T04:21:13.357Z] ], [2023-10-12T04:21:13.357Z] "bip": "10.250.0.254/24", [2023-10-12T04:21:13.357Z] "hosts": [ [2023-10-12T04:21:13.357Z] "tcp://0.0.0.0:5555", [2023-10-12T04:21:13.357Z] "unix:///var/run/docker.sock" [2023-10-12T04:21:13.357Z] ], [2023-10-12T04:21:13.357Z] "mtu": 1458, [2023-10-12T04:21:13.357Z] "selinux-enabled": true, [2023-10-12T04:21:13.357Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-10-12T04:21:13.357Z] } [Pipeline] sh [2023-10-12T04:21:13.728Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-10-12T04:21:14.139Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-12T04:21:36.358Z] provisioning config files... [2023-10-12T04:21:36.386Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config4728679139650989030tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-12T04:21:36.792Z] ---> docker-login.sh [2023-10-12T04:21:36.792Z] nexus3.edgexfoundry.org:10001 [2023-10-12T04:21:37.380Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T04:21:37.380Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T04:21:37.380Z] Configure a credential helper to remove this warning. See [2023-10-12T04:21:37.380Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T04:21:37.380Z] [2023-10-12T04:21:37.380Z] Login Succeeded [2023-10-12T04:21:37.380Z] nexus3.edgexfoundry.org:10002 [2023-10-12T04:21:37.653Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T04:21:37.931Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T04:21:37.931Z] Configure a credential helper to remove this warning. See [2023-10-12T04:21:37.931Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T04:21:37.931Z] [2023-10-12T04:21:37.931Z] Login Succeeded [2023-10-12T04:21:37.931Z] nexus3.edgexfoundry.org:10003 [2023-10-12T04:21:38.200Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T04:21:38.200Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T04:21:38.200Z] Configure a credential helper to remove this warning. See [2023-10-12T04:21:38.200Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T04:21:38.200Z] [2023-10-12T04:21:38.200Z] Login Succeeded [2023-10-12T04:21:38.200Z] nexus3.edgexfoundry.org:10004 [2023-10-12T04:21:38.474Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T04:21:38.745Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T04:21:38.745Z] Configure a credential helper to remove this warning. See [2023-10-12T04:21:38.745Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T04:21:38.745Z] [2023-10-12T04:21:38.745Z] Login Succeeded [2023-10-12T04:21:38.745Z] docker.io [2023-10-12T04:21:38.745Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T04:21:39.331Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T04:21:39.331Z] Configure a credential helper to remove this warning. See [2023-10-12T04:21:39.331Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T04:21:39.331Z] [2023-10-12T04:21:39.331Z] Login Succeeded [2023-10-12T04:21:39.331Z] ---> docker-login.sh ends [Pipeline] } [2023-10-12T04:21:39.358Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-12T04:21:39.759Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-12T04:21:39.800Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-12T04:21:39.834Z] ========================================================= [2023-10-12T04:21:39.834Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-10-12T04:21:39.834Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T04:21:40.338Z] + 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.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-10-12T04:21:40.614Z] Sending build context to Docker daemon 6.019MB [2023-10-12T04:21:40.887Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-10-12T04:21:40.887Z] Step 2/10 : FROM ${BASE} AS builder [2023-10-12T04:21:40.887Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-10-12T04:21:40.887Z] 9fda8d8052c6: Pulling fs layer [2023-10-12T04:21:40.887Z] 5d54e960e981: Pulling fs layer [2023-10-12T04:21:40.887Z] c4a7e357bf2a: Pulling fs layer [2023-10-12T04:21:40.887Z] f0e02332f6b5: Pulling fs layer [2023-10-12T04:21:40.887Z] cefa15bbcfad: Pulling fs layer [2023-10-12T04:21:40.887Z] 17808c966233: Pulling fs layer [2023-10-12T04:21:40.887Z] f4c1fc716caa: Pulling fs layer [2023-10-12T04:21:40.887Z] f4c1fc716caa: Waiting [2023-10-12T04:21:40.887Z] cefa15bbcfad: Waiting [2023-10-12T04:21:40.887Z] 17808c966233: Waiting [2023-10-12T04:21:40.887Z] 5d54e960e981: Download complete [2023-10-12T04:21:40.887Z] f0e02332f6b5: Verifying Checksum [2023-10-12T04:21:40.887Z] f0e02332f6b5: Download complete [2023-10-12T04:21:41.159Z] cefa15bbcfad: Verifying Checksum [2023-10-12T04:21:41.159Z] cefa15bbcfad: Download complete [2023-10-12T04:21:41.159Z] 9fda8d8052c6: Verifying Checksum [2023-10-12T04:21:41.159Z] 9fda8d8052c6: Download complete [2023-10-12T04:21:41.429Z] f4c1fc716caa: Verifying Checksum [2023-10-12T04:21:41.429Z] f4c1fc716caa: Download complete [2023-10-12T04:21:42.844Z] c4a7e357bf2a: Verifying Checksum [2023-10-12T04:21:43.434Z] 9fda8d8052c6: Pull complete [2023-10-12T04:21:43.434Z] 17808c966233: Verifying Checksum [2023-10-12T04:21:43.434Z] 17808c966233: Download complete [2023-10-12T04:21:44.024Z] 5d54e960e981: Pull complete [2023-10-12T04:21:59.032Z] c4a7e357bf2a: Pull complete [2023-10-12T04:21:59.032Z] f0e02332f6b5: Pull complete [2023-10-12T04:21:59.032Z] cefa15bbcfad: Pull complete [2023-10-12T04:22:05.709Z] 17808c966233: Pull complete [2023-10-12T04:22:07.129Z] f4c1fc716caa: Pull complete [2023-10-12T04:22:07.129Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-10-12T04:22:07.129Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-10-12T04:22:07.129Z] ---> ea914061e18c [2023-10-12T04:22:07.129Z] Step 3/10 : ARG MAKE=make build [2023-10-12T04:22:08.094Z] ---> Running in 5e50b923b4f5 [2023-10-12T04:22:08.681Z] Removing intermediate container 5e50b923b4f5 [2023-10-12T04:22:08.681Z] ---> fc2aa0e1ff0c [2023-10-12T04:22:08.681Z] Step 4/10 : WORKDIR /device-sdk-go [2023-10-12T04:22:08.681Z] ---> Running in 61de2ebf4e2f [2023-10-12T04:22:08.948Z] Removing intermediate container 61de2ebf4e2f [2023-10-12T04:22:08.948Z] ---> 39962b08c1f0 [2023-10-12T04:22:08.948Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-10-12T04:22:09.225Z] ---> Running in 592d7152bf24 [2023-10-12T04:22:09.499Z] Removing intermediate container 592d7152bf24 [2023-10-12T04:22:09.499Z] ---> 436e249add93 [2023-10-12T04:22:09.499Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-10-12T04:22:09.499Z] ---> Running in e4cbd0a8ceb6 [2023-10-12T04:22:10.906Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-12T04:22:11.183Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-12T04:22:12.603Z] OK: 266 MiB in 52 packages [2023-10-12T04:22:13.187Z] Removing intermediate container e4cbd0a8ceb6 [2023-10-12T04:22:13.187Z] ---> 41a176598920 [2023-10-12T04:22:13.187Z] Step 7/10 : COPY go.mod vendor* ./ [2023-10-12T04:22:13.778Z] ---> bcd9250b84f0 [2023-10-12T04:22:13.778Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-12T04:22:13.778Z] ---> Running in 2582ad7df015 [2023-10-12T04:23:50.478Z] Removing intermediate container 2582ad7df015 [2023-10-12T04:23:50.478Z] ---> 16d58d4d532a [2023-10-12T04:23:50.478Z] Step 9/10 : COPY . . [2023-10-12T04:23:50.478Z] ---> b9ce031ca5a5 [2023-10-12T04:23:50.478Z] Step 10/10 : RUN ${MAKE} [2023-10-12T04:23:50.478Z] ---> Running in 8999f434d50f [2023-10-12T04:23:50.745Z] noop [2023-10-12T04:23:51.329Z] Removing intermediate container 8999f434d50f [2023-10-12T04:23:51.329Z] ---> cfb03ad05b27 [2023-10-12T04:23:51.596Z] Successfully built cfb03ad05b27 [2023-10-12T04:23:51.596Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T04:23:52.081Z] + docker inspect -f . ci-base-image-arm64 [2023-10-12T04:23:52.081Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-12T04:23:52.372Z] prd-ubuntu20.04-docker-arm64-4c-16g-9096 does not seem to be running inside a container [2023-10-12T04:23:52.436Z] $ 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-10-12T04:23:53.588Z] $ docker top 7637cce186b232214e68186c9187ddce0d4d597a7ab69bfe2a356c8f9e5ca90b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-12T04:23:54.456Z] + go version [2023-10-12T04:23:54.456Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-10-12T04:23:54.490Z] $ docker stop --time=1 7637cce186b232214e68186c9187ddce0d4d597a7ab69bfe2a356c8f9e5ca90b [2023-10-12T04:23:56.078Z] $ docker rm -f --volumes 7637cce186b232214e68186c9187ddce0d4d597a7ab69bfe2a356c8f9e5ca90b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T04:23:56.968Z] + docker inspect -f . ci-base-image-arm64 [2023-10-12T04:23:56.968Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-12T04:23:57.223Z] prd-ubuntu20.04-docker-arm64-4c-16g-9096 does not seem to be running inside a container [2023-10-12T04:23:57.308Z] $ 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-10-12T04:23:59.491Z] $ docker top b69d2ada9bf8b029d67f994c372ad6f1e5b40ff4575827fab20143efc2f75d56 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-12T04:24:00.360Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-10-12T04:24:00.761Z] + make test [2023-10-12T04:24:01.029Z] go test -race -coverprofile=coverage.out ./... [2023-10-12T04:24:33.274Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-10-12T04:26:09.910Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-10-12T04:26:09.910Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-10-12T04:26:09.910Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-10-12T04:26:09.910Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-10-12T04:26:09.910Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-10-12T04:26:18.136Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.196s coverage: 27.6% of statements [2023-10-12T04:26:26.323Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.248s coverage: 81.5% of statements [2023-10-12T04:26:34.511Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-10-12T04:26:34.511Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-10-12T04:26:34.779Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.314s coverage: 86.0% of statements [2023-10-12T04:26:40.114Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-10-12T04:26:40.699Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.532s coverage: 71.8% of statements [2023-10-12T04:26:44.951Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.253s coverage: 14.4% of statements [2023-10-12T04:26:44.951Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.395s coverage: 45.9% of statements [2023-10-12T04:26:44.951Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-10-12T04:26:44.951Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-10-12T04:26:45.912Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.396s coverage: 68.5% of statements [2023-10-12T04:26:49.254Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.422s coverage: 89.2% of statements [2023-10-12T04:26:49.254Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-10-12T04:26:50.668Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.226s coverage: 5.5% of statements [2023-10-12T04:26:51.250Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-10-12T04:26:51.250Z] GO111MODULE=on go vet ./... [2023-10-12T04:28:42.925Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-12T04:28:43.191Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-12T04:28:43.191Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-12T04:28:43.804Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-12T04:28:43.829Z] $ docker stop --time=1 b69d2ada9bf8b029d67f994c372ad6f1e5b40ff4575827fab20143efc2f75d56 [2023-10-12T04:28:47.469Z] $ docker rm -f --volumes b69d2ada9bf8b029d67f994c372ad6f1e5b40ff4575827fab20143efc2f75d56 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-12T04:28:49.245Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-12T04:28:49.282Z] Warning: overwriting stash ‘coverage-report’ [2023-10-12T04:28:49.873Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-12T04:28:50.452Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-12T04:28:50.789Z] + ls -al . [2023-10-12T04:28:50.789Z] total 300 [2023-10-12T04:28:50.789Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 12 04:24 . [2023-10-12T04:28:50.789Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 04:21 .. [2023-10-12T04:28:50.789Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 12 04:21 .dockerignore [2023-10-12T04:28:50.789Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 04:21 .git [2023-10-12T04:28:50.789Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 04:21 .github [2023-10-12T04:28:50.789Z] -rw-rw-r-- 1 jenkins jenkins 137 Oct 12 04:21 .gitignore [2023-10-12T04:28:50.789Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 12 04:21 .golangci.yml [2023-10-12T04:28:50.789Z] -rw-rw-r-- 1 jenkins jenkins 44878 Oct 12 04:21 CHANGELOG.md [2023-10-12T04:28:50.789Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 12 04:21 GOVERNANCE.md [2023-10-12T04:28:50.789Z] -rw-rw-r-- 1 jenkins jenkins 885 Oct 12 04:21 Jenkinsfile [2023-10-12T04:28:50.789Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 12 04:21 LICENSE [2023-10-12T04:28:50.789Z] -rw-rw-r-- 1 jenkins jenkins 1842 Oct 12 04:21 Makefile [2023-10-12T04:28:50.789Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 12 04:21 OWNERS.md [2023-10-12T04:28:50.789Z] -rw-rw-r-- 1 jenkins jenkins 4933 Oct 12 04:21 README.md [2023-10-12T04:28:50.789Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 12 04:16 VERSION [2023-10-12T04:28:50.789Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 04:21 bin [2023-10-12T04:28:50.789Z] -rw-r--r-- 1 jenkins jenkins 122155 Oct 12 04:26 coverage.out [2023-10-12T04:28:50.789Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 12 04:21 example [2023-10-12T04:28:50.789Z] -rw-rw-r-- 1 jenkins jenkins 3723 Oct 12 04:21 go.mod [2023-10-12T04:28:50.789Z] -rw-rw-r-- 1 jenkins jenkins 34808 Oct 12 04:21 go.sum [2023-10-12T04:28:50.789Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 12 04:21 internal [2023-10-12T04:28:50.789Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 04:21 openapi [2023-10-12T04:28:50.789Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 12 04:21 pkg [2023-10-12T04:28:50.789Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 04:21 snap [2023-10-12T04:28:50.789Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 12 04:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T04:28:51.205Z] + 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=2991f1919d1231b00ae9fd60fffe11e5e5deb625 --label arch=arm64 --label version=0.0.0 . [2023-10-12T04:28:51.794Z] Sending build context to Docker daemon 6.142MB [2023-10-12T04:28:51.794Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-10-12T04:28:51.794Z] Step 2/23 : FROM ${BASE} AS builder [2023-10-12T04:28:51.794Z] ---> cfb03ad05b27 [2023-10-12T04:28:51.794Z] Step 3/23 : ARG MAKE=make build [2023-10-12T04:28:51.794Z] ---> Running in 06790ab83aa4 [2023-10-12T04:28:52.060Z] Removing intermediate container 06790ab83aa4 [2023-10-12T04:28:52.060Z] ---> 9594d93a5b8d [2023-10-12T04:28:52.060Z] Step 4/23 : WORKDIR /device-sdk-go [2023-10-12T04:28:52.328Z] ---> Running in 28a197ef2013 [2023-10-12T04:28:52.599Z] Removing intermediate container 28a197ef2013 [2023-10-12T04:28:52.599Z] ---> edb8d2660b27 [2023-10-12T04:28:52.599Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-10-12T04:28:52.599Z] ---> Running in 803dbea4f64a [2023-10-12T04:28:52.868Z] Removing intermediate container 803dbea4f64a [2023-10-12T04:28:52.868Z] ---> 275083ff228c [2023-10-12T04:28:52.868Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-10-12T04:28:52.868Z] ---> Running in 64b17db8e421 [2023-10-12T04:28:53.831Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-12T04:28:54.411Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-12T04:28:55.367Z] OK: 266 MiB in 52 packages [2023-10-12T04:28:56.327Z] Removing intermediate container 64b17db8e421 [2023-10-12T04:28:56.327Z] ---> 6e23c0487552 [2023-10-12T04:28:56.327Z] Step 7/23 : COPY go.mod vendor* ./ [2023-10-12T04:28:56.908Z] ---> 210874941491 [2023-10-12T04:28:56.908Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-12T04:28:56.908Z] ---> Running in f0552c57b561 [2023-10-12T04:29:01.151Z] Removing intermediate container f0552c57b561 [2023-10-12T04:29:01.151Z] ---> 8267b40e028d [2023-10-12T04:29:01.151Z] Step 9/23 : COPY . . [2023-10-12T04:29:01.731Z] ---> 4a46c25a4173 [2023-10-12T04:29:01.731Z] Step 10/23 : RUN ${MAKE} [2023-10-12T04:29:01.731Z] ---> Running in 7d8a3ea2533b [2023-10-12T04:29:02.691Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-10-12T04:30:54.326Z] Removing intermediate container 7d8a3ea2533b [2023-10-12T04:30:54.326Z] ---> 31a09eaa61ff [2023-10-12T04:30:54.326Z] Step 11/23 : FROM alpine:3.18 [2023-10-12T04:30:54.327Z] 3.18: Pulling from library/alpine [2023-10-12T04:30:54.327Z] 579b34f0a95b: Pulling fs layer [2023-10-12T04:30:54.327Z] 579b34f0a95b: Verifying Checksum [2023-10-12T04:30:54.327Z] 579b34f0a95b: Download complete [2023-10-12T04:30:54.327Z] 579b34f0a95b: Pull complete [2023-10-12T04:30:54.327Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-12T04:30:54.327Z] Status: Downloaded newer image for alpine:3.18 [2023-10-12T04:30:54.327Z] ---> 3cc203321400 [2023-10-12T04:30:54.327Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-10-12T04:30:54.327Z] ---> Running in 4ed2832dd3e0 [2023-10-12T04:30:54.327Z] Removing intermediate container 4ed2832dd3e0 [2023-10-12T04:30:54.327Z] ---> 5e22b420dec5 [2023-10-12T04:30:54.327Z] Step 13/23 : RUN apk add --update --no-cache [2023-10-12T04:30:54.327Z] ---> Running in 324278d55e8f [2023-10-12T04:30:54.327Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-12T04:30:54.327Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-12T04:30:54.908Z] OK: 8 MiB in 15 packages [2023-10-12T04:30:55.865Z] Removing intermediate container 324278d55e8f [2023-10-12T04:30:55.865Z] ---> eb52d27d3691 [2023-10-12T04:30:55.865Z] Step 14/23 : WORKDIR / [2023-10-12T04:30:55.865Z] ---> Running in 8f0f8cef2014 [2023-10-12T04:30:56.132Z] Removing intermediate container 8f0f8cef2014 [2023-10-12T04:30:56.132Z] ---> 7f5932a8eb2f [2023-10-12T04:30:56.132Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-10-12T04:30:56.715Z] ---> e20885865ce7 [2023-10-12T04:30:56.715Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-10-12T04:30:58.120Z] ---> 9faacf6142b8 [2023-10-12T04:30:58.120Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-10-12T04:30:58.386Z] ---> dcf049c1747c [2023-10-12T04:30:58.386Z] Step 18/23 : EXPOSE 59999 [2023-10-12T04:30:58.661Z] ---> Running in cd83966e9d4f [2023-10-12T04:30:58.926Z] Removing intermediate container cd83966e9d4f [2023-10-12T04:30:58.926Z] ---> fc4669d1e025 [2023-10-12T04:30:58.926Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-10-12T04:30:58.926Z] ---> Running in 0260877409cd [2023-10-12T04:30:59.192Z] Removing intermediate container 0260877409cd [2023-10-12T04:30:59.192Z] ---> d3052e612780 [2023-10-12T04:30:59.192Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-10-12T04:30:59.192Z] ---> Running in 6f9f62e827c0 [2023-10-12T04:30:59.457Z] Removing intermediate container 6f9f62e827c0 [2023-10-12T04:30:59.457Z] ---> 863a35eb1f4d [2023-10-12T04:30:59.457Z] Step 21/23 : LABEL arch=arm64 [2023-10-12T04:30:59.722Z] ---> Running in 5f2bc9ce5714 [2023-10-12T04:30:59.986Z] Removing intermediate container 5f2bc9ce5714 [2023-10-12T04:30:59.986Z] ---> 642db7643e20 [2023-10-12T04:30:59.986Z] Step 22/23 : LABEL git_sha=2991f1919d1231b00ae9fd60fffe11e5e5deb625 [2023-10-12T04:30:59.986Z] ---> Running in 8daa07c7ed04 [2023-10-12T04:31:00.258Z] Removing intermediate container 8daa07c7ed04 [2023-10-12T04:31:00.259Z] ---> 2ee7b6f4d180 [2023-10-12T04:31:00.259Z] Step 23/23 : LABEL version=0.0.0 [2023-10-12T04:31:00.259Z] ---> Running in 97ac868b604c [2023-10-12T04:31:00.838Z] Removing intermediate container 97ac868b604c [2023-10-12T04:31:00.838Z] ---> 71e9eadce112 [2023-10-12T04:31:00.838Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-12T04:31:00.838Z] Successfully built 71e9eadce112 [2023-10-12T04:31:00.838Z] 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-10-12T04:31:01.634Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-12T04:31:01.634Z] [2023-10-12T04:31:01.634Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T04:31:02.031Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-12T04:31:02.615Z] arm64: Pulling from edgex-lftools-log-publisher [2023-10-12T04:31:02.615Z] 8998bd30e6a1: Pulling fs layer [2023-10-12T04:31:02.615Z] 04944245beec: Pulling fs layer [2023-10-12T04:31:02.615Z] 699f458cf7ca: Pulling fs layer [2023-10-12T04:31:02.615Z] 765212b225bb: Pulling fs layer [2023-10-12T04:31:02.615Z] f23df028b6ca: Pulling fs layer [2023-10-12T04:31:02.615Z] d65c8cfc05b1: Pulling fs layer [2023-10-12T04:31:02.615Z] 2437ff75d9bd: Pulling fs layer [2023-10-12T04:31:02.615Z] d65c8cfc05b1: Waiting [2023-10-12T04:31:02.615Z] 2437ff75d9bd: Waiting [2023-10-12T04:31:02.615Z] 765212b225bb: Waiting [2023-10-12T04:31:02.615Z] f23df028b6ca: Waiting [2023-10-12T04:31:02.615Z] 04944245beec: Verifying Checksum [2023-10-12T04:31:02.615Z] 04944245beec: Download complete [2023-10-12T04:31:02.615Z] 765212b225bb: Verifying Checksum [2023-10-12T04:31:02.615Z] 765212b225bb: Download complete [2023-10-12T04:31:02.884Z] f23df028b6ca: Verifying Checksum [2023-10-12T04:31:02.884Z] f23df028b6ca: Download complete [2023-10-12T04:31:02.884Z] d65c8cfc05b1: Verifying Checksum [2023-10-12T04:31:02.884Z] d65c8cfc05b1: Download complete [2023-10-12T04:31:02.884Z] 699f458cf7ca: Verifying Checksum [2023-10-12T04:31:02.884Z] 699f458cf7ca: Download complete [2023-10-12T04:31:03.470Z] 8998bd30e6a1: Verifying Checksum [2023-10-12T04:31:03.470Z] 8998bd30e6a1: Download complete [2023-10-12T04:31:06.051Z] 2437ff75d9bd: Verifying Checksum [2023-10-12T04:31:06.051Z] 2437ff75d9bd: Download complete [2023-10-12T04:31:07.989Z] 8998bd30e6a1: Pull complete [2023-10-12T04:31:08.570Z] 04944245beec: Pull complete [2023-10-12T04:31:09.974Z] 699f458cf7ca: Pull complete [2023-10-12T04:31:10.240Z] 765212b225bb: Pull complete [2023-10-12T04:31:11.197Z] f23df028b6ca: Pull complete [2023-10-12T04:31:11.462Z] d65c8cfc05b1: Pull complete [2023-10-12T04:31:29.654Z] 2437ff75d9bd: Pull complete [2023-10-12T04:31:29.654Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-10-12T04:31:29.654Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-12T04:31:29.654Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-12T04:31:30.161Z] prd-ubuntu20.04-docker-arm64-4c-16g-9096 does not seem to be running inside a container [2023-10-12T04:31:30.219Z] $ 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-10-12T04:31:32.726Z] $ docker top eb30ef3c3beea03d2c6b101c6ea68b0fba4b9a5eb039e2cd02dca92c85188064 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-12T04:31:33.619Z] ---> job-cost.sh [2023-10-12T04:31:33.619Z] lf-activate-venv: SKIPPING [2023-10-12T04:31:33.619Z] INFO: No Stack... [2023-10-12T04:31:33.884Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-10-12T04:31:34.837Z] INFO: Archiving Costs [Pipeline] sh [2023-10-12T04:31:35.173Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2023-10-12T04:31:35.173Z] + cut -d, -f6 [Pipeline] lock [2023-10-12T04:31:35.516Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1525-1-stack-cost] [2023-10-12T04:31:35.522Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1525-1-stack-cost] did not exist. Created. [2023-10-12T04:31:35.522Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1525-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-12T04:31:35.924Z] /w/workspace/device-sdk-go/1@tmp/durable-00d55263/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-10-12T04:31:36.596Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-10-12T04:31:36.636Z] Warning: overwriting stash ‘stack-cost’ [2023-10-12T04:31:36.715Z] Stashed 1 file(s) [Pipeline] } [2023-10-12T04:31:36.729Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1525-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-12T04:31:36.810Z] $ docker stop --time=1 eb30ef3c3beea03d2c6b101c6ea68b0fba4b9a5eb039e2cd02dca92c85188064 [2023-10-12T04:31:38.312Z] $ docker rm -f --volumes eb30ef3c3beea03d2c6b101c6ea68b0fba4b9a5eb039e2cd02dca92c85188064 [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-10-12T04:31:39.322Z] provisioning config files... [2023-10-12T04:31:39.329Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1525@tmp/config12126393794453863985tmp [Pipeline] { [Pipeline] sh [2023-10-12T04:31:39.671Z] + set +x [2023-10-12T04:31:39.671Z] + curl -s https://codecov.io/bash [2023-10-12T04:31:39.671Z] + bash -s -- [2023-10-12T04:31:39.671Z] [2023-10-12T04:31:39.671Z] _____ _ [2023-10-12T04:31:39.671Z] / ____| | | [2023-10-12T04:31:39.671Z] | | ___ __| | ___ ___ _____ __ [2023-10-12T04:31:39.671Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-10-12T04:31:39.671Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-10-12T04:31:39.671Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-10-12T04:31:39.671Z] Bash-1.0.6 [2023-10-12T04:31:39.671Z] [2023-10-12T04:31:39.671Z] [2023-10-12T04:31:39.671Z] ==> git version 2.25.1 found [2023-10-12T04:31:39.671Z] ==> 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-10-12T04:31:39.671Z] Release-Date: 2020-01-08 [2023-10-12T04:31:39.671Z] 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-10-12T04:31:39.671Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-10-12T04:31:39.671Z] ==> Jenkins CI detected. [2023-10-12T04:31:39.671Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1525 [2023-10-12T04:31:39.671Z] project root: . [2023-10-12T04:31:39.671Z] --> token set from env [2023-10-12T04:31:39.671Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-10-12T04:31:39.671Z] ==> Running gcov in . (disable via -X gcov) [2023-10-12T04:31:39.671Z] ==> Python coveragepy not found [2023-10-12T04:31:39.671Z] ==> Searching for coverage reports in: [2023-10-12T04:31:39.671Z] + . [2023-10-12T04:31:39.671Z] -> Found 1 reports [2023-10-12T04:31:39.671Z] ==> Detecting git/mercurial file structure [2023-10-12T04:31:39.671Z] ==> Reading reports [2023-10-12T04:31:39.671Z] + ./coverage.out bytes=122155 [2023-10-12T04:31:39.671Z] ==> Appending adjustments [2023-10-12T04:31:39.671Z] https://docs.codecov.io/docs/fixing-reports [2023-10-12T04:31:40.239Z] + Found adjustments [2023-10-12T04:31:40.239Z] ==> Gzipping contents [2023-10-12T04:31:40.239Z] 20K /tmp/codecov.7xOCu6.gz [2023-10-12T04:31:40.239Z] ==> Uploading reports [2023-10-12T04:31:40.239Z] url: https://codecov.io [2023-10-12T04:31:40.239Z] query: branch=PR-1525&commit=2991f1919d1231b00ae9fd60fffe11e5e5deb625&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1525%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1525&job=&cmd_args= [2023-10-12T04:31:40.239Z] -> Pinging Codecov [2023-10-12T04:31:40.239Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1525&commit=2991f1919d1231b00ae9fd60fffe11e5e5deb625&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1525%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1525&job=&cmd_args= [2023-10-12T04:31:40.239Z] -> Uploading to [2023-10-12T04:31:40.239Z] https://storage.googleapis.com/codecov/v4/raw/2023-10-12/7E55EF52A471D76F132DFD9A03CDDE97/2991f1919d1231b00ae9fd60fffe11e5e5deb625/193bb20d-00bf-41e9-861d-93a0690b277f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231012%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231012T043140Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f471536664b1e5451907e93d64fd483f8bc7c5d036cb3643ff280454f854ffef [2023-10-12T04:31:40.239Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-12T04:31:40.239Z] Dload Upload Total Spent Left Speed [2023-10-12T04:31:40.498Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16746 0 0 100 16746 0 52006 --:--:-- --:--:-- --:--:-- 52006 [2023-10-12T04:31:40.498Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/2991f1919d1231b00ae9fd60fffe11e5e5deb625 [Pipeline] } [2023-10-12T04:31:40.520Z] 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-10-12T04:31:42.281Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1525/archives ] [2023-10-12T04:31:42.281Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1525/archives [2023-10-12T04:31:42.281Z] total 16 [2023-10-12T04:31:42.281Z] drwxr-xr-x 3 root root 4096 Oct 12 04:19 . [2023-10-12T04:31:42.281Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 12 04:19 .. [2023-10-12T04:31:42.281Z] drwxr-xr-x 2 root root 4096 Oct 12 04:19 cost [2023-10-12T04:31:42.281Z] -rw-r--r-- 1 root root 86 Oct 12 04:19 cost.csv [2023-10-12T04:31:42.281Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1525/archives [2023-10-12T04:31:42.281Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1525/archives [2023-10-12T04:31:42.281Z] total 16 [2023-10-12T04:31:42.281Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 12 04:19 . [2023-10-12T04:31:42.281Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 12 04:19 .. [2023-10-12T04:31:42.281Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 12 04:19 cost [2023-10-12T04:31:42.281Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 12 04:19 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-10-12T04:31:42.613Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-12T04:31:43.507Z] ---> package-listing.sh [2023-10-12T04:31:43.507Z] ++ facter osfamily [2023-10-12T04:31:43.507Z] ++ tr '[:upper:]' '[:lower:]' [2023-10-12T04:31:43.766Z] + OS_FAMILY=debian [2023-10-12T04:31:43.766Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1525 [2023-10-12T04:31:43.766Z] + START_PACKAGES=/tmp/packages_start.txt [2023-10-12T04:31:43.766Z] + END_PACKAGES=/tmp/packages_end.txt [2023-10-12T04:31:43.766Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-10-12T04:31:43.766Z] + PACKAGES=/tmp/packages_start.txt [2023-10-12T04:31:43.766Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1525 ']' [2023-10-12T04:31:43.766Z] + PACKAGES=/tmp/packages_end.txt [2023-10-12T04:31:43.766Z] + case "${OS_FAMILY}" in [2023-10-12T04:31:43.766Z] + dpkg -l [2023-10-12T04:31:43.766Z] + grep '^ii' [2023-10-12T04:31:43.766Z] + '[' -f /tmp/packages_start.txt ']' [2023-10-12T04:31:43.766Z] + '[' -f /tmp/packages_end.txt ']' [2023-10-12T04:31:43.766Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-10-12T04:31:43.766Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1525 ']' [2023-10-12T04:31:43.766Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1525/archives/ [2023-10-12T04:31:43.766Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1525/archives/ [Pipeline] echo [2023-10-12T04:31:43.802Z] 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-1525/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-10-12T04:31:44.093Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T04:31:44.717Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-12T04:31:44.717Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-12T04:31:44.861Z] prd-ubuntu20.04-docker-8c-8g-9093 does not seem to be running inside a container [2023-10-12T04:31:44.898Z] $ 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-1525/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-1525 -v /w/workspace/gexfoundry_device-sdk-go_PR-1525:/w/workspace/gexfoundry_device-sdk-go_PR-1525:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1525@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1525@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-10-12T04:31:45.095Z] $ docker top 3f1aedcc2584ec701ea905c2af2ba2d3ed8663d7cac8df0af6daf751e78db4f1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-12T04:31:45.514Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-10-12T04:31:45.835Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-10-12T04:31:46.156Z] + ls /var/log/sa-host [2023-10-12T04:31:46.156Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-12T04:31:46.289Z] provisioning config files... [2023-10-12T04:31:46.300Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1525@tmp/config10514084430146992196tmp [Pipeline] { [Pipeline] echo [2023-10-12T04:31:46.420Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-12T04:31:46.729Z] ---> create-netrc.sh [Pipeline] } [2023-10-12T04:31:46.760Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-10-12T04:31:47.164Z] ---> python-tools-install.sh [Pipeline] echo [2023-10-12T04:31:47.197Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-12T04:31:47.510Z] ---> sudo-logs.sh [2023-10-12T04:31:47.510Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-10-12T04:31:47.592Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-12T04:31:47.906Z] ---> job-cost.sh [2023-10-12T04:31:47.906Z] lf-activate-venv: SKIPPING [2023-10-12T04:31:47.906Z] DEBUG: total: 0.2199999988079071 [2023-10-12T04:31:47.906Z] INFO: Retrieving Stack Cost... [2023-10-12T04:31:48.477Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-12T04:31:48.738Z] INFO: Archiving Costs [Pipeline] echo [2023-10-12T04:31:48.775Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-12T04:31:49.102Z] ---> logs-deploy.sh [2023-10-12T04:31:49.103Z] lf-activate-venv: SKIPPING [2023-10-12T04:31:49.103Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1525/1 [2023-10-12T04:31:49.103Z] INFO: archiving workspace using pattern(s): [2023-10-12T04:31:50.048Z] Archives upload complete. [2023-10-12T04:31:50.048Z] INFO: archiving logs to Nexus