Pull request #1515 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lindseysimple for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 20285ac3ecaeabea6e10629b5da1f3e02733d798+afe3ff62d3fd920c33d9e36f21752c88d9373351 (cbffa72d2a6b2cad356611bc9bdbf518e4ec3cce) 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-ssh5483130487570812748.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-ssh2362664532516641414.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1515/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-1515/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9361162064255746693.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 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-ssh4940413692098203223.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1515/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-1515/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1723452785695290550.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7913 in /w/workspace/gexfoundry_device-sdk-go_PR-1515 [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-1515 # 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/1515/head:refs/remotes/origin/PR-1515 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit afe3ff62d3fd920c33d9e36f21752c88d9373351 into PR head commit 20285ac3ecaeabea6e10629b5da1f3e02733d798 Merge succeeded, producing beecc083209292291ce1a377dd21699b2f31740e Checking out Revision beecc083209292291ce1a377dd21699b2f31740e (PR-1515) > git config core.sparsecheckout # timeout=10 > git checkout -f 20285ac3ecaeabea6e10629b5da1f3e02733d798 # 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 afe3ff62d3fd920c33d9e36f21752c88d9373351 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f beecc083209292291ce1a377dd21699b2f31740e # timeout=10 Commit message: "Merge commit 'afe3ff62d3fd920c33d9e36f21752c88d9373351' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-26T04:28:45.187Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-26T04:28:45.242Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-26T04:28:45.257Z] ========================================================= [2023-09-26T04:28:45.257Z] EdgeX Global Pipelines Version Info [2023-09-26T04:28:45.257Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-26T04:28:45.964Z] ------------------- [2023-09-26T04:28:45.964Z] stable info: [2023-09-26T04:28:45.964Z] ------------------- [2023-09-26T04:28:45.964Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-26T04:28:45.965Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-26T04:28:45.965Z] Message: update stable to v1.0.254 > git rev-list --no-walk 85ae8cb248a9714bb1627c0ddc1353ce9062c65a # timeout=10 [2023-09-26T04:28:46.535Z] ------------------- [2023-09-26T04:28:46.535Z] experimental info: [2023-09-26T04:28:46.535Z] ------------------- [2023-09-26T04:28:46.535Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-26T04:28:46.535Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-26T04:28:46.535Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-26T04:28:46.710Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-09-26T04:28:46.727Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-09-26T04:28:46.746Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-26T04:28:46.763Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-26T04:28:46.776Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-26T04:28:46.791Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-09-26T04:28:46.809Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-26T04:28:46.827Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-09-26T04:28:46.845Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-26T04:28:46.862Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-26T04:28:46.877Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-26T04:28:46.906Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-09-26T04:28:46.925Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-26T04:28:46.949Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-26T04:28:46.967Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-26T04:28:46.980Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-09-26T04:28:46.998Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-26T04:28:47.014Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-26T04:28:47.024Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-26T04:28:47.039Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-26T04:28:47.052Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-09-26T04:28:47.068Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-09-26T04:28:47.080Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-26T04:28:47.093Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-26T04:28:47.102Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-26T04:28:47.111Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-26T04:28:47.120Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-26T04:28:47.129Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1515 [Pipeline] echo [2023-09-26T04:28:47.137Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1515 [Pipeline] echo [2023-09-26T04:28:47.148Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1515 [Pipeline] echo [2023-09-26T04:28:47.157Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = beecc083209292291ce1a377dd21699b2f31740e [Pipeline] echo [2023-09-26T04:28:47.166Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = beecc08 [Pipeline] echo [2023-09-26T04:28:47.174Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-26T04:28:47.221Z] provisioning config files... [2023-09-26T04:28:47.233Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp/config1198005940149271329tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-26T04:28:47.538Z] ---> docker-login.sh [2023-09-26T04:28:47.538Z] nexus3.edgexfoundry.org:10001 [2023-09-26T04:28:47.798Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-26T04:28:47.798Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-26T04:28:47.798Z] Configure a credential helper to remove this warning. See [2023-09-26T04:28:47.798Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-26T04:28:47.798Z] [2023-09-26T04:28:47.798Z] Login Succeeded [2023-09-26T04:28:47.798Z] nexus3.edgexfoundry.org:10002 [2023-09-26T04:28:48.058Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-26T04:28:48.058Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-26T04:28:48.058Z] Configure a credential helper to remove this warning. See [2023-09-26T04:28:48.058Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-26T04:28:48.058Z] [2023-09-26T04:28:48.058Z] Login Succeeded [2023-09-26T04:28:48.058Z] nexus3.edgexfoundry.org:10003 [2023-09-26T04:28:48.058Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-26T04:28:48.058Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-26T04:28:48.058Z] Configure a credential helper to remove this warning. See [2023-09-26T04:28:48.058Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-26T04:28:48.058Z] [2023-09-26T04:28:48.058Z] Login Succeeded [2023-09-26T04:28:48.058Z] nexus3.edgexfoundry.org:10004 [2023-09-26T04:28:48.318Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-26T04:28:48.318Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-26T04:28:48.318Z] Configure a credential helper to remove this warning. See [2023-09-26T04:28:48.318Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-26T04:28:48.318Z] [2023-09-26T04:28:48.318Z] Login Succeeded [2023-09-26T04:28:48.318Z] docker.io [2023-09-26T04:28:48.318Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-26T04:28:48.579Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-26T04:28:48.579Z] Configure a credential helper to remove this warning. See [2023-09-26T04:28:48.579Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-26T04:28:48.579Z] [2023-09-26T04:28:48.579Z] Login Succeeded [2023-09-26T04:28:48.579Z] ---> docker-login.sh ends [Pipeline] } [2023-09-26T04:28:48.588Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-26T04:28:48.949Z] + git rev-list -1 --merges beecc083209292291ce1a377dd21699b2f31740e~1..beecc083209292291ce1a377dd21699b2f31740e [Pipeline] echo [2023-09-26T04:28:48.988Z] -----------> git rev-list -1 --merges beecc083209292291ce1a377dd21699b2f31740e~1..beecc083209292291ce1a377dd21699b2f31740e beecc083209292291ce1a377dd21699b2f31740e [2023-09-26T04:28:48.988Z] beecc083209292291ce1a377dd21699b2f31740e [false] [Pipeline] sh [2023-09-26T04:28:49.280Z] + git log --format=format:%s -1 beecc083209292291ce1a377dd21699b2f31740e [Pipeline] echo [2023-09-26T04:28:49.296Z] ========================================================= [2023-09-26T04:28:49.296Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-26T04:28:49.296Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-26T04:28:49.636Z] + git log --format=format:%s -1 beecc083209292291ce1a377dd21699b2f31740e [Pipeline] echo [2023-09-26T04:28:49.647Z] [semverPrep] GIT_COMMIT: beecc083209292291ce1a377dd21699b2f31740e, Commit Message: Merge commit 'afe3ff62d3fd920c33d9e36f21752c88d9373351' into HEAD [Pipeline] echo [2023-09-26T04:28:49.661Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-26T04:28:50.025Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-26T04:28:50.025Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-26T04:28:50.025Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-26T04:28:50.025Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-26T04:28:50.025Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-26T04:28:50.025Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-26T04:28:50.025Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-26T04:28:50.436Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-26T04:28:50.436Z] [2023-09-26T04:28:50.436Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-26T04:28:50.735Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-26T04:28:50.735Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-26T04:28:50.735Z] b85a868b505f: Pulling fs layer [2023-09-26T04:28:50.735Z] e2be974225ed: Pulling fs layer [2023-09-26T04:28:50.735Z] 339a4e72a1f5: Pulling fs layer [2023-09-26T04:28:50.735Z] 988bab9f4d93: Pulling fs layer [2023-09-26T04:28:50.735Z] 1469e6f7b9e6: Pulling fs layer [2023-09-26T04:28:50.735Z] eaf3925da568: Pulling fs layer [2023-09-26T04:28:50.735Z] bab4dde63d76: Pulling fs layer [2023-09-26T04:28:50.735Z] bde34c3a00c8: Pulling fs layer [2023-09-26T04:28:50.735Z] b352a97aabf1: Pulling fs layer [2023-09-26T04:28:50.735Z] 4872d77fe225: Pulling fs layer [2023-09-26T04:28:50.735Z] 5851b861e8e6: Pulling fs layer [2023-09-26T04:28:50.735Z] 1469e6f7b9e6: Waiting [2023-09-26T04:28:50.735Z] 988bab9f4d93: Waiting [2023-09-26T04:28:50.735Z] eaf3925da568: Waiting [2023-09-26T04:28:50.735Z] bde34c3a00c8: Waiting [2023-09-26T04:28:50.735Z] b352a97aabf1: Waiting [2023-09-26T04:28:50.735Z] 4872d77fe225: Waiting [2023-09-26T04:28:50.735Z] 5851b861e8e6: Waiting [2023-09-26T04:28:50.735Z] e2be974225ed: Verifying Checksum [2023-09-26T04:28:50.735Z] e2be974225ed: Download complete [2023-09-26T04:28:50.735Z] 988bab9f4d93: Verifying Checksum [2023-09-26T04:28:50.735Z] 988bab9f4d93: Download complete [2023-09-26T04:28:50.735Z] 339a4e72a1f5: Verifying Checksum [2023-09-26T04:28:50.735Z] 339a4e72a1f5: Download complete [2023-09-26T04:28:50.735Z] 1469e6f7b9e6: Verifying Checksum [2023-09-26T04:28:50.735Z] 1469e6f7b9e6: Download complete [2023-09-26T04:28:50.994Z] eaf3925da568: Download complete [2023-09-26T04:28:50.994Z] bde34c3a00c8: Verifying Checksum [2023-09-26T04:28:50.994Z] bde34c3a00c8: Download complete [2023-09-26T04:28:50.994Z] b352a97aabf1: Download complete [2023-09-26T04:28:50.994Z] 4872d77fe225: Verifying Checksum [2023-09-26T04:28:50.994Z] 4872d77fe225: Download complete [2023-09-26T04:28:50.994Z] 5851b861e8e6: Verifying Checksum [2023-09-26T04:28:50.994Z] 5851b861e8e6: Download complete [2023-09-26T04:28:50.994Z] b85a868b505f: Download complete [2023-09-26T04:28:51.252Z] bab4dde63d76: Verifying Checksum [2023-09-26T04:28:51.253Z] bab4dde63d76: Download complete [2023-09-26T04:28:52.202Z] b85a868b505f: Pull complete [2023-09-26T04:28:52.462Z] e2be974225ed: Pull complete [2023-09-26T04:28:52.725Z] 339a4e72a1f5: Pull complete [2023-09-26T04:28:52.987Z] 988bab9f4d93: Pull complete [2023-09-26T04:28:53.251Z] 1469e6f7b9e6: Pull complete [2023-09-26T04:28:53.251Z] eaf3925da568: Pull complete [2023-09-26T04:28:55.154Z] bab4dde63d76: Pull complete [2023-09-26T04:28:55.154Z] bde34c3a00c8: Pull complete [2023-09-26T04:28:55.154Z] b352a97aabf1: Pull complete [2023-09-26T04:28:55.154Z] 4872d77fe225: Pull complete [2023-09-26T04:28:55.413Z] 5851b861e8e6: Pull complete [2023-09-26T04:28:55.413Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-26T04:28:55.413Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-26T04:28:55.413Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-26T04:28:55.558Z] prd-ubuntu20.04-docker-8c-8g-7913 does not seem to be running inside a container [2023-09-26T04:28:55.607Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1515 -v /w/workspace/gexfoundry_device-sdk-go_PR-1515:/w/workspace/gexfoundry_device-sdk-go_PR-1515:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-26T04:28:56.958Z] $ docker top f94fdba45105c71d907c6ea3d023cf7065c836552651f4d50ed8bb6e5ffa4184 -eo pid,comm [2023-09-26T04:28:57.011Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-09-26T04:28:57.011Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-26T04:28:57.041Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-26T04:28:57.041Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-26T04:28:57.154Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-26T04:28:57.161Z] $ docker exec f94fdba45105c71d907c6ea3d023cf7065c836552651f4d50ed8bb6e5ffa4184 ssh-agent [2023-09-26T04:28:57.263Z] SSH_AUTH_SOCK=/tmp/ssh-0dX3yVl862Cw/agent.33 [2023-09-26T04:28:57.263Z] SSH_AGENT_PID=39 [2023-09-26T04:28:57.269Z] Running ssh-add (command line suppressed) [2023-09-26T04:28:57.373Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp/private_key_5634021333920757377.key (/w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp/private_key_5634021333920757377.key) [2023-09-26T04:28:57.383Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-26T04:28:57.674Z] + git tag --points-at HEAD [Pipeline] } [2023-09-26T04:28:57.696Z] $ docker exec --env ******** --env ******** f94fdba45105c71d907c6ea3d023cf7065c836552651f4d50ed8bb6e5ffa4184 ssh-agent -k [2023-09-26T04:28:57.803Z] unset SSH_AUTH_SOCK; [2023-09-26T04:28:57.803Z] unset SSH_AGENT_PID; [2023-09-26T04:28:57.803Z] echo Agent pid 39 killed; [2023-09-26T04:28:57.817Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-26T04:28:57.844Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-26T04:28:57.844Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-26T04:28:57.955Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-26T04:28:57.961Z] $ docker exec f94fdba45105c71d907c6ea3d023cf7065c836552651f4d50ed8bb6e5ffa4184 ssh-agent [2023-09-26T04:28:58.070Z] SSH_AUTH_SOCK=/tmp/ssh-ue1GS95u5Ixh/agent.72 [2023-09-26T04:28:58.070Z] SSH_AGENT_PID=78 [2023-09-26T04:28:58.074Z] Running ssh-add (command line suppressed) [2023-09-26T04:28:58.193Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp/private_key_1904645920319236540.key (/w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp/private_key_1904645920319236540.key) [2023-09-26T04:28:58.205Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-26T04:28:58.487Z] + git semver init [2023-09-26T04:28:58.746Z] 2023-09-26 04:28:58,674 [run_init] DEBUG init version:0.0.0 force:False [2023-09-26T04:28:58.746Z] 2023-09-26 04:28:58,674 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1515/.semver [2023-09-26T04:28:58.746Z] 2023-09-26 04:28:58,675 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1515/.semver [2023-09-26T04:28:58.747Z] 2023-09-26 04:28:58,675 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1515/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1515, universal_newlines=False, shell=None, istream=None) [2023-09-26T04:28:59.683Z] 2023-09-26 04:28:59,680 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1515/.git/info/exclude [2023-09-26T04:28:59.683Z] 2023-09-26 04:28:59,681 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1515/.semver/PR-1515 with force:False [2023-09-26T04:28:59.683Z] 2023-09-26 04:28:59,682 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1515/.semver/PR-1515 [2023-09-26T04:28:59.943Z] 2023-09-26 04:28:59,690 [execute] INFO git cat-file --batch-check [2023-09-26T04:28:59.943Z] 2023-09-26 04:28:59,691 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1515/.semver, universal_newlines=False, shell=None, istream=) [2023-09-26T04:28:59.943Z] 2023-09-26 04:28:59,699 [execute] INFO git cat-file --batch [2023-09-26T04:28:59.943Z] 2023-09-26 04:28:59,700 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1515/.semver, universal_newlines=False, shell=None, istream=) [2023-09-26T04:28:59.943Z] 2023-09-26 04:28:59,705 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1515/.semver/PR-1515 [2023-09-26T04:28:59.943Z] 0.0.0 [Pipeline] } [2023-09-26T04:28:59.956Z] $ docker exec --env ******** --env ******** f94fdba45105c71d907c6ea3d023cf7065c836552651f4d50ed8bb6e5ffa4184 ssh-agent -k [2023-09-26T04:29:00.054Z] unset SSH_AUTH_SOCK; [2023-09-26T04:29:00.054Z] unset SSH_AGENT_PID; [2023-09-26T04:29:00.055Z] echo Agent pid 78 killed; [2023-09-26T04:29:00.062Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-26T04:29:00.373Z] + git semver [Pipeline] } [2023-09-26T04:29:00.648Z] $ docker stop --time=1 f94fdba45105c71d907c6ea3d023cf7065c836552651f4d50ed8bb6e5ffa4184 [2023-09-26T04:29:01.981Z] $ docker rm -f --volumes f94fdba45105c71d907c6ea3d023cf7065c836552651f4d50ed8bb6e5ffa4184 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-26T04:29:02.321Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-26T04:29:02.545Z] Stashed 1 file(s) [Pipeline] echo [2023-09-26T04:29:02.548Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-26T04:29:02.732Z] provisioning config files... [2023-09-26T04:29:02.743Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp/config12659276886861410800tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-26T04:29:03.046Z] ---> docker-login.sh [2023-09-26T04:29:03.046Z] nexus3.edgexfoundry.org:10001 [2023-09-26T04:29:03.046Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-26T04:29:03.046Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-26T04:29:03.046Z] Configure a credential helper to remove this warning. See [2023-09-26T04:29:03.046Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-26T04:29:03.046Z] [2023-09-26T04:29:03.046Z] Login Succeeded [2023-09-26T04:29:03.046Z] nexus3.edgexfoundry.org:10002 [2023-09-26T04:29:03.046Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-26T04:29:03.046Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-26T04:29:03.046Z] Configure a credential helper to remove this warning. See [2023-09-26T04:29:03.046Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-26T04:29:03.046Z] [2023-09-26T04:29:03.046Z] Login Succeeded [2023-09-26T04:29:03.046Z] nexus3.edgexfoundry.org:10003 [2023-09-26T04:29:03.306Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-26T04:29:03.306Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-26T04:29:03.306Z] Configure a credential helper to remove this warning. See [2023-09-26T04:29:03.306Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-26T04:29:03.306Z] [2023-09-26T04:29:03.306Z] Login Succeeded [2023-09-26T04:29:03.306Z] nexus3.edgexfoundry.org:10004 [2023-09-26T04:29:03.306Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-26T04:29:03.306Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-26T04:29:03.306Z] Configure a credential helper to remove this warning. See [2023-09-26T04:29:03.306Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-26T04:29:03.306Z] [2023-09-26T04:29:03.306Z] Login Succeeded [2023-09-26T04:29:03.306Z] docker.io [2023-09-26T04:29:03.566Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-26T04:29:03.826Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-26T04:29:03.826Z] Configure a credential helper to remove this warning. See [2023-09-26T04:29:03.826Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-26T04:29:03.826Z] [2023-09-26T04:29:03.826Z] Login Succeeded [2023-09-26T04:29:03.826Z] ---> docker-login.sh ends [Pipeline] } [2023-09-26T04:29:03.833Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-26T04:29:03.904Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-26T04:29:03.917Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-26T04:29:03.924Z] ========================================================= [2023-09-26T04:29:03.924Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-09-26T04:29:03.924Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-26T04:29:04.236Z] + 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-09-26T04:29:04.236Z] Sending build context to Docker daemon 11.27MB [2023-09-26T04:29:04.236Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-09-26T04:29:04.236Z] Step 2/10 : FROM ${BASE} AS builder [2023-09-26T04:29:04.236Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-26T04:29:04.236Z] 7264a8db6415: Pulling fs layer [2023-09-26T04:29:04.236Z] c4d48a809fc2: Pulling fs layer [2023-09-26T04:29:04.236Z] 4f1c88b9dad5: Pulling fs layer [2023-09-26T04:29:04.236Z] ad3a456e5733: Pulling fs layer [2023-09-26T04:29:04.236Z] 33e27b845d1e: Pulling fs layer [2023-09-26T04:29:04.236Z] c68163c4e522: Pulling fs layer [2023-09-26T04:29:04.236Z] 50da416c3ac9: Pulling fs layer [2023-09-26T04:29:04.236Z] 23d2d4c4bb30: Pulling fs layer [2023-09-26T04:29:04.236Z] ad3a456e5733: Waiting [2023-09-26T04:29:04.236Z] 33e27b845d1e: Waiting [2023-09-26T04:29:04.236Z] c68163c4e522: Waiting [2023-09-26T04:29:04.236Z] 50da416c3ac9: Waiting [2023-09-26T04:29:04.236Z] 23d2d4c4bb30: Waiting [2023-09-26T04:29:04.237Z] c4d48a809fc2: Download complete [2023-09-26T04:29:04.495Z] ad3a456e5733: Download complete [2023-09-26T04:29:04.495Z] 33e27b845d1e: Verifying Checksum [2023-09-26T04:29:04.495Z] 33e27b845d1e: Download complete [2023-09-26T04:29:04.495Z] 7264a8db6415: Verifying Checksum [2023-09-26T04:29:04.495Z] 7264a8db6415: Download complete [2023-09-26T04:29:04.495Z] c68163c4e522: Verifying Checksum [2023-09-26T04:29:04.495Z] c68163c4e522: Download complete [2023-09-26T04:29:04.495Z] 7264a8db6415: Pull complete [2023-09-26T04:29:04.755Z] 23d2d4c4bb30: Verifying Checksum [2023-09-26T04:29:04.755Z] 23d2d4c4bb30: Download complete [2023-09-26T04:29:04.755Z] c4d48a809fc2: Pull complete [2023-09-26T04:29:04.755Z] 4f1c88b9dad5: Verifying Checksum [2023-09-26T04:29:04.755Z] 4f1c88b9dad5: Download complete [2023-09-26T04:29:05.322Z] 50da416c3ac9: Verifying Checksum [2023-09-26T04:29:05.322Z] 50da416c3ac9: Download complete [2023-09-26T04:29:07.852Z] 4f1c88b9dad5: Pull complete [2023-09-26T04:29:08.110Z] ad3a456e5733: Pull complete [2023-09-26T04:29:08.110Z] 33e27b845d1e: Pull complete [2023-09-26T04:29:08.110Z] c68163c4e522: Pull complete [2023-09-26T04:29:10.639Z] 50da416c3ac9: Pull complete [2023-09-26T04:29:10.897Z] 23d2d4c4bb30: Pull complete [2023-09-26T04:29:10.897Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-09-26T04:29:11.156Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-09-26T04:29:11.156Z] ---> 0786185ac409 [2023-09-26T04:29:11.156Z] Step 3/10 : ARG MAKE=make build [2023-09-26T04:29:12.536Z] ---> Running in a503430e38a0 [2023-09-26T04:29:12.536Z] Removing intermediate container a503430e38a0 [2023-09-26T04:29:12.536Z] ---> 8803553bdbdc [2023-09-26T04:29:12.536Z] Step 4/10 : WORKDIR /device-sdk-go [2023-09-26T04:29:12.536Z] ---> Running in 8b8c10c10ee3 [2023-09-26T04:29:12.536Z] Removing intermediate container 8b8c10c10ee3 [2023-09-26T04:29:12.536Z] ---> 266b10dbb2d0 [2023-09-26T04:29:12.536Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-26T04:29:12.794Z] ---> Running in 2583d897ba09 [2023-09-26T04:29:12.794Z] Removing intermediate container 2583d897ba09 [2023-09-26T04:29:12.794Z] ---> 65fd572a903b [2023-09-26T04:29:12.794Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-09-26T04:29:12.794Z] ---> Running in 02fdbfce1039 [2023-09-26T04:29:13.053Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-26T04:29:13.053Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-26T04:29:13.312Z] OK: 264 MiB in 52 packages [2023-09-26T04:29:13.880Z] Removing intermediate container 02fdbfce1039 [2023-09-26T04:29:13.880Z] ---> 2127572fc08f [2023-09-26T04:29:13.880Z] Step 7/10 : COPY go.mod vendor* ./ [2023-09-26T04:29:13.880Z] ---> a7cbe46fead2 [2023-09-26T04:29:13.880Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-26T04:29:13.880Z] ---> Running in ba0697d6a228 [2023-09-26T04:29:17.670Z] Still waiting to schedule task [2023-09-26T04:29:17.671Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-09-26T04:29:52.626Z] Removing intermediate container ba0697d6a228 [2023-09-26T04:29:52.626Z] ---> d3a9c80fabbd [2023-09-26T04:29:52.626Z] Step 9/10 : COPY . . [2023-09-26T04:29:52.626Z] ---> 7f3683ab623d [2023-09-26T04:29:52.626Z] Step 10/10 : RUN ${MAKE} [2023-09-26T04:29:52.626Z] ---> Running in 3d1f838fcbf0 [2023-09-26T04:29:52.626Z] noop [2023-09-26T04:29:52.886Z] Removing intermediate container 3d1f838fcbf0 [2023-09-26T04:29:52.886Z] ---> 19f5eddd033d [2023-09-26T04:29:52.886Z] Successfully built 19f5eddd033d [2023-09-26T04:29:52.886Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-26T04:29:53.194Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-26T04:29:53.194Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-26T04:29:53.272Z] prd-ubuntu20.04-docker-8c-8g-7913 does not seem to be running inside a container [2023-09-26T04:29:53.307Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1515 -v /w/workspace/gexfoundry_device-sdk-go_PR-1515:/w/workspace/gexfoundry_device-sdk-go_PR-1515:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-26T04:29:53.679Z] $ docker top 071d555c1a9f7baf62bf9f302c4ebea6b35c6bb8646e5db069e8b89fc192f39a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-26T04:29:54.028Z] + go version [2023-09-26T04:29:54.028Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-09-26T04:29:54.041Z] $ docker stop --time=1 071d555c1a9f7baf62bf9f302c4ebea6b35c6bb8646e5db069e8b89fc192f39a [2023-09-26T04:29:55.336Z] $ docker rm -f --volumes 071d555c1a9f7baf62bf9f302c4ebea6b35c6bb8646e5db069e8b89fc192f39a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-26T04:29:55.743Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-26T04:29:55.743Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-26T04:29:55.816Z] prd-ubuntu20.04-docker-8c-8g-7913 does not seem to be running inside a container [2023-09-26T04:29:55.851Z] $ 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-1515 -v /w/workspace/gexfoundry_device-sdk-go_PR-1515:/w/workspace/gexfoundry_device-sdk-go_PR-1515:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-26T04:29:56.200Z] $ docker top 8bc2c096f718b0a26133249edb5be369f8079f7ccbd43fe476053d9f91dd5a79 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-26T04:29:56.546Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1515 [Pipeline] fileExists [Pipeline] sh [2023-09-26T04:29:56.842Z] + make test [2023-09-26T04:29:56.842Z] go test -race -coverprofile=coverage.out ./... [2023-09-26T04:30:03.424Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-09-26T04:30:18.305Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-09-26T04:30:18.305Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-09-26T04:30:18.305Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-09-26T04:30:18.305Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-09-26T04:30:18.305Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-09-26T04:30:19.241Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-09-26T04:30:19.241Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-09-26T04:30:19.814Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.047s coverage: 27.6% of statements [2023-09-26T04:30:20.074Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.046s coverage: 81.5% of statements [2023-09-26T04:30:20.074Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.071s coverage: 86.0% of statements [2023-09-26T04:30:20.334Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-09-26T04:30:25.756Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 3.087s coverage: 71.8% of statements [2023-09-26T04:30:25.756Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-09-26T04:30:25.756Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-09-26T04:30:25.756Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-09-26T04:30:27.147Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 6.665s coverage: 14.4% of statements [2023-09-26T04:30:29.059Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 4.506s coverage: 45.9% of statements [2023-09-26T04:30:29.059Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.097s coverage: 68.5% of statements [2023-09-26T04:30:29.060Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.161s coverage: 89.2% of statements [2023-09-26T04:30:29.060Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.047s coverage: 5.5% of statements [2023-09-26T04:30:43.940Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7914 in /w/workspace/gexfoundry_device-sdk-go_PR-1515 [Pipeline] { [Pipeline] ws [2023-09-26T04:30:43.954Z] Running in /w/workspace/device-sdk-go/7 [Pipeline] { [Pipeline] checkout [2023-09-26T04:30:43.992Z] The recommended git tool is: git [2023-09-26T04:30:48.909Z] using credential edgex-jenkins-ssh [2023-09-26T04:30:48.928Z] Cloning the remote Git repository [2023-09-26T04:30:48.976Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-09-26T04:30:49.062Z] > git init /w/workspace/device-sdk-go/7 # timeout=10 [2023-09-26T04:30:49.194Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-09-26T04:30:49.195Z] > git --version # timeout=10 [2023-09-26T04:30:49.218Z] > git --version # 'git version 2.25.1' [2023-09-26T04:30:49.220Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-26T04:30:49.349Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-26T04:30:51.019Z] GO111MODULE=on go vet ./... [2023-09-26T04:30:51.014Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-09-26T04:30:51.033Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-26T04:30:52.616Z] Merging remotes/origin/main commit afe3ff62d3fd920c33d9e36f21752c88d9373351 into PR head commit 20285ac3ecaeabea6e10629b5da1f3e02733d798 [2023-09-26T04:30:51.834Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-09-26T04:30:51.875Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-09-26T04:30:51.876Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-26T04:30:51.890Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1515/head:refs/remotes/origin/PR-1515 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-09-26T04:30:52.980Z] Merge succeeded, producing cb137c4456fd09876703485f57b9a19aa101280c [2023-09-26T04:30:52.981Z] Checking out Revision cb137c4456fd09876703485f57b9a19aa101280c (PR-1515) [2023-09-26T04:30:53.552Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-26T04:30:53.553Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-26T04:30:53.553Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-26T04:30:53.566Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-26T04:30:53.581Z] $ docker stop --time=1 8bc2c096f718b0a26133249edb5be369f8079f7ccbd43fe476053d9f91dd5a79 [2023-09-26T04:30:52.636Z] > git config core.sparsecheckout # timeout=10 [2023-09-26T04:30:52.712Z] > git checkout -f 20285ac3ecaeabea6e10629b5da1f3e02733d798 # timeout=10 [2023-09-26T04:30:52.823Z] > git remote # timeout=10 [2023-09-26T04:30:52.843Z] > git config --get remote.origin.url # timeout=10 [2023-09-26T04:30:52.858Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-26T04:30:52.870Z] > git merge afe3ff62d3fd920c33d9e36f21752c88d9373351 # timeout=10 [2023-09-26T04:30:52.961Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-09-26T04:30:52.989Z] > git config core.sparsecheckout # timeout=10 [2023-09-26T04:30:53.003Z] > git checkout -f cb137c4456fd09876703485f57b9a19aa101280c # timeout=10 [2023-09-26T04:30:55.642Z] $ docker rm -f --volumes 8bc2c096f718b0a26133249edb5be369f8079f7ccbd43fe476053d9f91dd5a79 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-26T04:30:56.178Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-26T04:30:56.245Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2023-09-26T04:30:56.475Z] Commit message: "Merge commit 'afe3ff62d3fd920c33d9e36f21752c88d9373351' into HEAD" [Pipeline] sh [2023-09-26T04:30:56.501Z] First time build. Skipping changelog. [2023-09-26T04:30:56.761Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-26T04:30:57.049Z] + ls -al . [2023-09-26T04:30:57.049Z] total 304 [2023-09-26T04:30:57.049Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 26 04:29 . [2023-09-26T04:30:57.049Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 04:28 .. [2023-09-26T04:30:57.049Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 26 04:28 .dockerignore [2023-09-26T04:30:57.049Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 26 04:30 .git [2023-09-26T04:30:57.049Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 04:28 .github [2023-09-26T04:30:57.049Z] -rw-rw-r-- 1 jenkins jenkins 137 Sep 26 04:28 .gitignore [2023-09-26T04:30:57.049Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 26 04:28 .golangci.yml [2023-09-26T04:30:57.049Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 26 04:28 .semver [2023-09-26T04:30:57.049Z] -rw-rw-r-- 1 jenkins jenkins 44878 Sep 26 04:28 CHANGELOG.md [2023-09-26T04:30:57.049Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 26 04:28 GOVERNANCE.md [2023-09-26T04:30:57.049Z] -rw-rw-r-- 1 jenkins jenkins 885 Sep 26 04:28 Jenkinsfile [2023-09-26T04:30:57.049Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 26 04:28 LICENSE [2023-09-26T04:30:57.049Z] -rw-rw-r-- 1 jenkins jenkins 1842 Sep 26 04:28 Makefile [2023-09-26T04:30:57.049Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 26 04:28 OWNERS.md [2023-09-26T04:30:57.049Z] -rw-rw-r-- 1 jenkins jenkins 4933 Sep 26 04:28 README.md [2023-09-26T04:30:57.049Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 26 04:29 VERSION [2023-09-26T04:30:57.049Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 26 04:28 bin [2023-09-26T04:30:57.049Z] -rw-r--r-- 1 jenkins jenkins 122153 Sep 26 04:30 coverage.out [2023-09-26T04:30:57.049Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 26 04:28 example [2023-09-26T04:30:57.049Z] -rw-rw-r-- 1 jenkins jenkins 3722 Sep 26 04:28 go.mod [2023-09-26T04:30:57.049Z] -rw-rw-r-- 1 jenkins jenkins 34806 Sep 26 04:28 go.sum [2023-09-26T04:30:57.049Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 26 04:28 internal [2023-09-26T04:30:57.049Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 04:28 openapi [2023-09-26T04:30:57.049Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 26 04:28 pkg [2023-09-26T04:30:57.049Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 04:28 snap [2023-09-26T04:30:57.049Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 26 04:28 version.go [2023-09-26T04:30:56.483Z] > git rev-list --no-walk 85ae8cb248a9714bb1627c0ddc1353ce9062c65a # timeout=10 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-26T04:30:57.400Z] + 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=beecc083209292291ce1a377dd21699b2f31740e --label arch=amd64 --label version=0.0.0 . [2023-09-26T04:30:57.400Z] Sending build context to Docker daemon 11.4MB [2023-09-26T04:30:57.400Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-09-26T04:30:57.400Z] Step 2/23 : FROM ${BASE} AS builder [2023-09-26T04:30:57.400Z] ---> 19f5eddd033d [2023-09-26T04:30:57.400Z] Step 3/23 : ARG MAKE=make build [2023-09-26T04:30:57.400Z] ---> Running in 3e206c9ad758 [2023-09-26T04:30:57.415Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-26T04:30:57.415Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-26T04:30:57.415Z] Dload Upload Total Spent Left Speed [2023-09-26T04:30:57.415Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98844 0 --:--:-- --:--:-- --:--:-- 98844 [2023-09-26T04:30:57.711Z] Removing intermediate container 3e206c9ad758 [2023-09-26T04:30:57.711Z] ---> 7601bf6eddde [2023-09-26T04:30:57.711Z] Step 4/23 : WORKDIR /device-sdk-go [2023-09-26T04:30:57.711Z] ---> Running in 3d2e6563b899 [2023-09-26T04:30:57.711Z] Removing intermediate container 3d2e6563b899 [2023-09-26T04:30:57.711Z] ---> fff047368b34 [2023-09-26T04:30:57.711Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-26T04:30:57.711Z] ---> Running in 1cb3ca8a8a76 [2023-09-26T04:30:57.711Z] Removing intermediate container 1cb3ca8a8a76 [2023-09-26T04:30:57.711Z] ---> 406a5a543fd2 [2023-09-26T04:30:57.711Z] Step 6/23 : RUN apk add --update --no-cache make git [Pipeline] sh [2023-09-26T04:30:57.971Z] ---> Running in 69782b94cd0b [2023-09-26T04:30:58.142Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-26T04:30:58.229Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-26T04:30:58.229Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-26T04:30:58.468Z] + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.jsonsudo [2023-09-26T04:30:58.468Z] tee /etc/docker/daemon.new [2023-09-26T04:30:58.468Z] { [2023-09-26T04:30:58.468Z] "registry-mirrors": [ [2023-09-26T04:30:58.468Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-26T04:30:58.468Z] ], [2023-09-26T04:30:58.468Z] "bip": "10.250.0.254/24", [2023-09-26T04:30:58.468Z] "hosts": [ [2023-09-26T04:30:58.468Z] "tcp://0.0.0.0:5555", [2023-09-26T04:30:58.468Z] "unix:///var/run/docker.sock" [2023-09-26T04:30:58.468Z] ], [2023-09-26T04:30:58.468Z] "mtu": 1458, [2023-09-26T04:30:58.468Z] "selinux-enabled": true, [2023-09-26T04:30:58.469Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-26T04:30:58.469Z] } [Pipeline] sh [2023-09-26T04:30:58.491Z] OK: 264 MiB in 52 packages [2023-09-26T04:30:58.791Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-26T04:30:59.057Z] Removing intermediate container 69782b94cd0b [2023-09-26T04:30:59.057Z] ---> 28167f4ceb26 [2023-09-26T04:30:59.057Z] Step 7/23 : COPY go.mod vendor* ./ [2023-09-26T04:30:59.057Z] ---> 4ba5bed1bbe8 [2023-09-26T04:30:59.057Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-26T04:30:59.057Z] ---> Running in ef425a76e9d9 [2023-09-26T04:30:59.114Z] + sudo service docker restart [2023-09-26T04:30:59.625Z] Removing intermediate container ef425a76e9d9 [2023-09-26T04:30:59.625Z] ---> ac07a2d59a96 [2023-09-26T04:30:59.625Z] Step 9/23 : COPY . . [2023-09-26T04:31:00.559Z] ---> c3271f127313 [2023-09-26T04:31:00.559Z] Step 10/23 : RUN ${MAKE} [2023-09-26T04:31:00.559Z] ---> Running in f56dc7b065ef [2023-09-26T04:31:00.819Z] 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 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-26T04:31:17.366Z] provisioning config files... [2023-09-26T04:31:17.389Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/7@tmp/config3955972324760603877tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-26T04:31:17.734Z] ---> docker-login.sh [2023-09-26T04:31:17.734Z] nexus3.edgexfoundry.org:10001 [2023-09-26T04:31:18.004Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-26T04:31:18.273Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-26T04:31:18.273Z] Configure a credential helper to remove this warning. See [2023-09-26T04:31:18.273Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-26T04:31:18.273Z] [2023-09-26T04:31:18.273Z] Login Succeeded [2023-09-26T04:31:18.273Z] nexus3.edgexfoundry.org:10002 [2023-09-26T04:31:18.543Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-26T04:31:18.543Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-26T04:31:18.543Z] Configure a credential helper to remove this warning. See [2023-09-26T04:31:18.543Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-26T04:31:18.543Z] [2023-09-26T04:31:18.543Z] Login Succeeded [2023-09-26T04:31:18.813Z] nexus3.edgexfoundry.org:10003 [2023-09-26T04:31:18.813Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-26T04:31:19.082Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-26T04:31:19.082Z] Configure a credential helper to remove this warning. See [2023-09-26T04:31:19.082Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-26T04:31:19.082Z] [2023-09-26T04:31:19.082Z] Login Succeeded [2023-09-26T04:31:19.082Z] nexus3.edgexfoundry.org:10004 [2023-09-26T04:31:19.351Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-26T04:31:19.351Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-26T04:31:19.351Z] Configure a credential helper to remove this warning. See [2023-09-26T04:31:19.351Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-26T04:31:19.351Z] [2023-09-26T04:31:19.351Z] Login Succeeded [2023-09-26T04:31:19.351Z] docker.io [2023-09-26T04:31:19.619Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-26T04:31:19.887Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-26T04:31:19.887Z] Configure a credential helper to remove this warning. See [2023-09-26T04:31:19.887Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-26T04:31:19.887Z] [2023-09-26T04:31:19.887Z] Login Succeeded [2023-09-26T04:31:19.887Z] ---> docker-login.sh ends [Pipeline] } [2023-09-26T04:31:19.901Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-26T04:31:20.137Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-26T04:31:20.154Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-26T04:31:20.168Z] ========================================================= [2023-09-26T04:31:20.168Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-09-26T04:31:20.168Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-26T04:31:20.509Z] + 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-09-26T04:31:20.778Z] Sending build context to Docker daemon 6.071MB [2023-09-26T04:31:20.778Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-09-26T04:31:20.778Z] Step 2/10 : FROM ${BASE} AS builder [2023-09-26T04:31:21.049Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-26T04:31:21.049Z] 9fda8d8052c6: Pulling fs layer [2023-09-26T04:31:21.049Z] 5d54e960e981: Pulling fs layer [2023-09-26T04:31:21.049Z] c4a7e357bf2a: Pulling fs layer [2023-09-26T04:31:21.049Z] f0e02332f6b5: Pulling fs layer [2023-09-26T04:31:21.049Z] cefa15bbcfad: Pulling fs layer [2023-09-26T04:31:21.049Z] 17808c966233: Pulling fs layer [2023-09-26T04:31:21.049Z] f4c1fc716caa: Pulling fs layer [2023-09-26T04:31:21.049Z] cefa15bbcfad: Waiting [2023-09-26T04:31:21.049Z] 17808c966233: Waiting [2023-09-26T04:31:21.049Z] f4c1fc716caa: Waiting [2023-09-26T04:31:21.049Z] f0e02332f6b5: Waiting [2023-09-26T04:31:21.049Z] 5d54e960e981: Verifying Checksum [2023-09-26T04:31:21.049Z] 5d54e960e981: Download complete [2023-09-26T04:31:21.049Z] f0e02332f6b5: Download complete [2023-09-26T04:31:21.049Z] cefa15bbcfad: Verifying Checksum [2023-09-26T04:31:21.049Z] cefa15bbcfad: Download complete [2023-09-26T04:31:21.049Z] 9fda8d8052c6: Download complete [2023-09-26T04:31:21.638Z] f4c1fc716caa: Verifying Checksum [2023-09-26T04:31:21.638Z] f4c1fc716caa: Download complete [2023-09-26T04:31:21.917Z] 9fda8d8052c6: Pull complete [2023-09-26T04:31:22.505Z] 5d54e960e981: Pull complete [2023-09-26T04:31:22.748Z] Removing intermediate container f56dc7b065ef [2023-09-26T04:31:22.748Z] ---> 896cdb6ac490 [2023-09-26T04:31:22.748Z] Step 11/23 : FROM alpine:3.18 [2023-09-26T04:31:22.748Z] 3.18: Pulling from library/alpine [2023-09-26T04:31:22.748Z] 7264a8db6415: Already exists [2023-09-26T04:31:22.748Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-26T04:31:22.748Z] Status: Downloaded newer image for alpine:3.18 [2023-09-26T04:31:22.748Z] ---> 7e01a0d0a1dc [2023-09-26T04:31:22.748Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-09-26T04:31:22.748Z] ---> Running in 3a8e2488c797 [2023-09-26T04:31:22.748Z] Removing intermediate container 3a8e2488c797 [2023-09-26T04:31:22.748Z] ---> b4410afc98b1 [2023-09-26T04:31:22.748Z] Step 13/23 : RUN apk add --update --no-cache [2023-09-26T04:31:22.748Z] ---> Running in 1df5296c73ee [2023-09-26T04:31:22.748Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-26T04:31:22.748Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-26T04:31:22.748Z] OK: 7 MiB in 15 packages [2023-09-26T04:31:22.748Z] Removing intermediate container 1df5296c73ee [2023-09-26T04:31:22.748Z] ---> 307da313f6ea [2023-09-26T04:31:22.748Z] Step 14/23 : WORKDIR / [2023-09-26T04:31:22.748Z] ---> Running in c485204a0c83 [2023-09-26T04:31:22.748Z] Removing intermediate container c485204a0c83 [2023-09-26T04:31:22.748Z] ---> 600b6d3ff8db [2023-09-26T04:31:22.748Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-09-26T04:31:22.748Z] ---> 7aca6a6a31ee [2023-09-26T04:31:22.748Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-09-26T04:31:22.748Z] ---> c3ebdc5a8a50 [2023-09-26T04:31:22.748Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-09-26T04:31:22.748Z] ---> 42735bfd4a0b [2023-09-26T04:31:22.748Z] Step 18/23 : EXPOSE 59999 [2023-09-26T04:31:22.748Z] ---> Running in e31e2bc0ec74 [2023-09-26T04:31:22.748Z] Removing intermediate container e31e2bc0ec74 [2023-09-26T04:31:22.748Z] ---> d696065c3c4f [2023-09-26T04:31:22.748Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-09-26T04:31:22.748Z] ---> Running in a7d8d3c08733 [2023-09-26T04:31:22.775Z] c4a7e357bf2a: Verifying Checksum [2023-09-26T04:31:22.775Z] c4a7e357bf2a: Download complete [2023-09-26T04:31:23.008Z] Removing intermediate container a7d8d3c08733 [2023-09-26T04:31:23.008Z] ---> dd7cd1ab24a4 [2023-09-26T04:31:23.008Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-26T04:31:23.008Z] ---> Running in 4429435bbfc1 [2023-09-26T04:31:23.008Z] Removing intermediate container 4429435bbfc1 [2023-09-26T04:31:23.008Z] ---> dd0c4f38adba [2023-09-26T04:31:23.008Z] Step 21/23 : LABEL arch=amd64 [2023-09-26T04:31:23.008Z] ---> Running in cb19a111b03b [2023-09-26T04:31:23.268Z] Removing intermediate container cb19a111b03b [2023-09-26T04:31:23.268Z] ---> 9a4998740cf2 [2023-09-26T04:31:23.268Z] Step 22/23 : LABEL git_sha=beecc083209292291ce1a377dd21699b2f31740e [2023-09-26T04:31:23.268Z] ---> Running in 98dffc05a990 [2023-09-26T04:31:23.268Z] Removing intermediate container 98dffc05a990 [2023-09-26T04:31:23.268Z] ---> 9ea029b48405 [2023-09-26T04:31:23.268Z] Step 23/23 : LABEL version=0.0.0 [2023-09-26T04:31:23.268Z] ---> Running in 7ec79748b1e8 [2023-09-26T04:31:23.526Z] Removing intermediate container 7ec79748b1e8 [2023-09-26T04:31:23.526Z] ---> 9382f3b50292 [2023-09-26T04:31:23.526Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-26T04:31:23.526Z] Successfully built 9382f3b50292 [2023-09-26T04:31:23.526Z] 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-09-26T04:31:23.741Z] 17808c966233: Verifying Checksum [2023-09-26T04:31:23.741Z] 17808c966233: Download complete [2023-09-26T04:31:23.979Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-26T04:31:23.979Z] [2023-09-26T04:31:23.979Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-26T04:31:24.281Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-26T04:31:24.281Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-26T04:31:24.281Z] 5eb5b503b376: Pulling fs layer [2023-09-26T04:31:24.281Z] 5c69ac0246d0: Pulling fs layer [2023-09-26T04:31:24.281Z] ec43610c2a17: Pulling fs layer [2023-09-26T04:31:24.281Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-26T04:31:24.281Z] 33b1e0a273af: Pulling fs layer [2023-09-26T04:31:24.281Z] 5d3b04190fa2: Pulling fs layer [2023-09-26T04:31:24.281Z] 2f39f015ded8: Pulling fs layer [2023-09-26T04:31:24.281Z] 5d3b04190fa2: Waiting [2023-09-26T04:31:24.281Z] 2f39f015ded8: Waiting [2023-09-26T04:31:24.281Z] 3a2ae6a8a46f: Waiting [2023-09-26T04:31:24.281Z] 5c69ac0246d0: Verifying Checksum [2023-09-26T04:31:24.281Z] 5c69ac0246d0: Download complete [2023-09-26T04:31:24.281Z] 3a2ae6a8a46f: Verifying Checksum [2023-09-26T04:31:24.281Z] 3a2ae6a8a46f: Download complete [2023-09-26T04:31:24.281Z] 33b1e0a273af: Verifying Checksum [2023-09-26T04:31:24.281Z] 33b1e0a273af: Download complete [2023-09-26T04:31:24.281Z] ec43610c2a17: Verifying Checksum [2023-09-26T04:31:24.281Z] ec43610c2a17: Download complete [2023-09-26T04:31:24.281Z] 5d3b04190fa2: Download complete [2023-09-26T04:31:24.540Z] 5eb5b503b376: Verifying Checksum [2023-09-26T04:31:24.540Z] 5eb5b503b376: Download complete [2023-09-26T04:31:25.107Z] 2f39f015ded8: Verifying Checksum [2023-09-26T04:31:25.107Z] 2f39f015ded8: Download complete [2023-09-26T04:31:26.055Z] 5eb5b503b376: Pull complete [2023-09-26T04:31:26.055Z] 5c69ac0246d0: Pull complete [2023-09-26T04:31:26.621Z] ec43610c2a17: Pull complete [2023-09-26T04:31:26.621Z] 3a2ae6a8a46f: Pull complete [2023-09-26T04:31:26.880Z] 33b1e0a273af: Pull complete [2023-09-26T04:31:27.138Z] 5d3b04190fa2: Pull complete [2023-09-26T04:31:31.318Z] 2f39f015ded8: Pull complete [2023-09-26T04:31:31.318Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-26T04:31:31.318Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-26T04:31:31.318Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-26T04:31:31.403Z] prd-ubuntu20.04-docker-8c-8g-7913 does not seem to be running inside a container [2023-09-26T04:31:31.431Z] $ 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-1515 -v /w/workspace/gexfoundry_device-sdk-go_PR-1515:/w/workspace/gexfoundry_device-sdk-go_PR-1515:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-26T04:31:36.063Z] c4a7e357bf2a: Pull complete [2023-09-26T04:31:36.063Z] f0e02332f6b5: Pull complete [2023-09-26T04:31:36.063Z] cefa15bbcfad: Pull complete [2023-09-26T04:31:36.836Z] $ docker top 082957e3d82750fd08036783e49474d428dd50001e348f68a2ea345dc69e5c77 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-26T04:31:37.234Z] ---> job-cost.sh [2023-09-26T04:31:37.234Z] lf-activate-venv: SKIPPING [2023-09-26T04:31:37.234Z] INFO: No Stack... [2023-09-26T04:31:37.492Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-26T04:31:37.751Z] INFO: Archiving Costs [Pipeline] sh [2023-09-26T04:31:38.036Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1515/archives/cost.csv [2023-09-26T04:31:38.036Z] + cut -d, -f6 [Pipeline] lock [2023-09-26T04:31:38.048Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1515-7-stack-cost] [2023-09-26T04:31:38.054Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1515-7-stack-cost] did not exist. Created. [2023-09-26T04:31:38.054Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1515-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-26T04:31:38.356Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-26T04:31:38.390Z] Stashed 1 file(s) [Pipeline] } [2023-09-26T04:31:38.397Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1515-7-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-26T04:31:38.419Z] $ docker stop --time=1 082957e3d82750fd08036783e49474d428dd50001e348f68a2ea345dc69e5c77 [2023-09-26T04:31:39.583Z] $ docker rm -f --volumes 082957e3d82750fd08036783e49474d428dd50001e348f68a2ea345dc69e5c77 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-26T04:31:42.717Z] 17808c966233: Pull complete [2023-09-26T04:31:43.306Z] f4c1fc716caa: Pull complete [2023-09-26T04:31:43.306Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-09-26T04:31:43.306Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-09-26T04:31:43.306Z] ---> ea914061e18c [2023-09-26T04:31:43.306Z] Step 3/10 : ARG MAKE=make build [2023-09-26T04:31:44.723Z] ---> Running in f59d4da030ef [2023-09-26T04:31:45.001Z] Removing intermediate container f59d4da030ef [2023-09-26T04:31:45.001Z] ---> 9a3de24ed974 [2023-09-26T04:31:45.001Z] Step 4/10 : WORKDIR /device-sdk-go [2023-09-26T04:31:45.268Z] ---> Running in cb0b060e596f [2023-09-26T04:31:45.536Z] Removing intermediate container cb0b060e596f [2023-09-26T04:31:45.536Z] ---> 8e4c879946d6 [2023-09-26T04:31:45.536Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-26T04:31:45.536Z] ---> Running in 87f83946e14c [2023-09-26T04:31:45.815Z] Removing intermediate container 87f83946e14c [2023-09-26T04:31:45.815Z] ---> 0ca4bf47aca1 [2023-09-26T04:31:45.815Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-09-26T04:31:45.815Z] ---> Running in e8fe5a250b25 [2023-09-26T04:31:47.230Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-26T04:31:47.498Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-26T04:31:48.459Z] OK: 266 MiB in 52 packages [2023-09-26T04:31:49.423Z] Removing intermediate container e8fe5a250b25 [2023-09-26T04:31:49.423Z] ---> 55b95355ec44 [2023-09-26T04:31:49.423Z] Step 7/10 : COPY go.mod vendor* ./ [2023-09-26T04:31:49.691Z] ---> 87c1bb5eac1f [2023-09-26T04:31:49.691Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-26T04:31:49.959Z] ---> Running in 1ded0147f13a [2023-09-26T04:32:57.855Z] Removing intermediate container 1ded0147f13a [2023-09-26T04:32:57.855Z] ---> 12e27b0a41d6 [2023-09-26T04:32:57.855Z] Step 9/10 : COPY . . [2023-09-26T04:32:57.855Z] ---> 6310e97a6f74 [2023-09-26T04:32:57.855Z] Step 10/10 : RUN ${MAKE} [2023-09-26T04:32:57.855Z] ---> Running in 8b55efc4c60c [2023-09-26T04:32:57.855Z] noop [2023-09-26T04:32:57.855Z] Removing intermediate container 8b55efc4c60c [2023-09-26T04:32:57.855Z] ---> eb16d76a2278 [2023-09-26T04:32:57.855Z] Successfully built eb16d76a2278 [2023-09-26T04:32:57.855Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-26T04:32:58.215Z] + docker inspect -f . ci-base-image-arm64 [2023-09-26T04:32:58.215Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-26T04:32:58.425Z] prd-ubuntu20.04-docker-arm64-4c-16g-7914 does not seem to be running inside a container [2023-09-26T04:32:58.484Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-26T04:32:59.676Z] $ docker top aee1c24cd4fa24005f8d5a7ec60484d33d593556d16ff14a69957d7b2d2ae927 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-26T04:33:00.502Z] + go version [2023-09-26T04:33:00.502Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-09-26T04:33:00.521Z] $ docker stop --time=1 aee1c24cd4fa24005f8d5a7ec60484d33d593556d16ff14a69957d7b2d2ae927 [2023-09-26T04:33:02.090Z] $ docker rm -f --volumes aee1c24cd4fa24005f8d5a7ec60484d33d593556d16ff14a69957d7b2d2ae927 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-26T04:33:02.599Z] + docker inspect -f . ci-base-image-arm64 [2023-09-26T04:33:02.599Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-26T04:33:02.774Z] prd-ubuntu20.04-docker-arm64-4c-16g-7914 does not seem to be running inside a container [2023-09-26T04:33:02.832Z] $ 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/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-26T04:33:03.947Z] $ docker top 44df283883cb6b641f75ef9e8910ef32d2c9fe134ff4cfd9b2aeb75b61e83471 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-26T04:33:04.764Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/7 [Pipeline] fileExists [Pipeline] sh [2023-09-26T04:33:05.407Z] + make test [2023-09-26T04:33:05.407Z] go test -race -coverprofile=coverage.out ./... [2023-09-26T04:33:37.623Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-09-26T04:35:14.232Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-09-26T04:35:14.232Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-09-26T04:35:14.232Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-09-26T04:35:14.232Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-09-26T04:35:14.232Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-09-26T04:35:15.641Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.198s coverage: 27.6% of statements [2023-09-26T04:35:25.728Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.428s coverage: 81.5% of statements [2023-09-26T04:35:33.924Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-09-26T04:35:33.924Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-09-26T04:35:34.510Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.311s coverage: 86.0% of statements [2023-09-26T04:35:40.014Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-09-26T04:35:40.974Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.503s coverage: 71.8% of statements [2023-09-26T04:35:43.549Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.326s coverage: 14.4% of statements [2023-09-26T04:35:43.549Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 4.190s coverage: 45.9% of statements [2023-09-26T04:35:44.513Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-09-26T04:35:44.513Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-09-26T04:35:45.917Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.452s coverage: 68.5% of statements [2023-09-26T04:35:48.506Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.424s coverage: 89.2% of statements [2023-09-26T04:35:49.464Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-09-26T04:35:50.424Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.220s coverage: 5.5% of statements [2023-09-26T04:35:51.389Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-26T04:35:51.389Z] GO111MODULE=on go vet ./... [2023-09-26T04:37:58.075Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-26T04:37:58.075Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-26T04:37:58.075Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-26T04:37:58.141Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-26T04:37:58.153Z] $ docker stop --time=1 44df283883cb6b641f75ef9e8910ef32d2c9fe134ff4cfd9b2aeb75b61e83471 [2023-09-26T04:38:00.027Z] $ docker rm -f --volumes 44df283883cb6b641f75ef9e8910ef32d2c9fe134ff4cfd9b2aeb75b61e83471 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-26T04:38:01.565Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-26T04:38:01.581Z] Warning: overwriting stash ‘coverage-report’ [2023-09-26T04:38:02.229Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-26T04:38:02.637Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-26T04:38:02.960Z] + ls -al . [2023-09-26T04:38:02.960Z] total 300 [2023-09-26T04:38:02.960Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 26 04:33 . [2023-09-26T04:38:02.960Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 04:30 .. [2023-09-26T04:38:02.960Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 26 04:30 .dockerignore [2023-09-26T04:38:02.960Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 26 04:30 .git [2023-09-26T04:38:02.960Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 04:30 .github [2023-09-26T04:38:02.960Z] -rw-rw-r-- 1 jenkins jenkins 137 Sep 26 04:30 .gitignore [2023-09-26T04:38:02.960Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 26 04:30 .golangci.yml [2023-09-26T04:38:02.960Z] -rw-rw-r-- 1 jenkins jenkins 44878 Sep 26 04:30 CHANGELOG.md [2023-09-26T04:38:02.960Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 26 04:30 GOVERNANCE.md [2023-09-26T04:38:02.960Z] -rw-rw-r-- 1 jenkins jenkins 885 Sep 26 04:30 Jenkinsfile [2023-09-26T04:38:02.960Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 26 04:30 LICENSE [2023-09-26T04:38:02.960Z] -rw-rw-r-- 1 jenkins jenkins 1842 Sep 26 04:30 Makefile [2023-09-26T04:38:02.960Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 26 04:30 OWNERS.md [2023-09-26T04:38:02.960Z] -rw-rw-r-- 1 jenkins jenkins 4933 Sep 26 04:30 README.md [2023-09-26T04:38:02.960Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 26 04:29 VERSION [2023-09-26T04:38:02.960Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 26 04:30 bin [2023-09-26T04:38:02.960Z] -rw-r--r-- 1 jenkins jenkins 122153 Sep 26 04:35 coverage.out [2023-09-26T04:38:02.960Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 26 04:30 example [2023-09-26T04:38:02.960Z] -rw-rw-r-- 1 jenkins jenkins 3722 Sep 26 04:30 go.mod [2023-09-26T04:38:02.960Z] -rw-rw-r-- 1 jenkins jenkins 34806 Sep 26 04:30 go.sum [2023-09-26T04:38:02.960Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 26 04:30 internal [2023-09-26T04:38:02.960Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 04:30 openapi [2023-09-26T04:38:02.960Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 26 04:30 pkg [2023-09-26T04:38:02.960Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 04:30 snap [2023-09-26T04:38:02.960Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 26 04:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-26T04:38:03.291Z] + 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=cb137c4456fd09876703485f57b9a19aa101280c --label arch=arm64 --label version=0.0.0 . [2023-09-26T04:38:03.556Z] Sending build context to Docker daemon 6.194MB [2023-09-26T04:38:03.556Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-09-26T04:38:03.556Z] Step 2/23 : FROM ${BASE} AS builder [2023-09-26T04:38:03.556Z] ---> eb16d76a2278 [2023-09-26T04:38:03.556Z] Step 3/23 : ARG MAKE=make build [2023-09-26T04:38:04.508Z] ---> Running in 0a641f528f2c [2023-09-26T04:38:04.775Z] Removing intermediate container 0a641f528f2c [2023-09-26T04:38:04.775Z] ---> ca866696e261 [2023-09-26T04:38:04.775Z] Step 4/23 : WORKDIR /device-sdk-go [2023-09-26T04:38:04.775Z] ---> Running in 6f42ff28bc9f [2023-09-26T04:38:05.041Z] Removing intermediate container 6f42ff28bc9f [2023-09-26T04:38:05.041Z] ---> 1a63413b506a [2023-09-26T04:38:05.041Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-26T04:38:05.041Z] ---> Running in e3b7f9be71d8 [2023-09-26T04:38:05.310Z] Removing intermediate container e3b7f9be71d8 [2023-09-26T04:38:05.310Z] ---> d83d1e50f82f [2023-09-26T04:38:05.310Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-09-26T04:38:05.580Z] ---> Running in 070d4052ed45 [2023-09-26T04:38:06.536Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-26T04:38:06.801Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-26T04:38:07.755Z] OK: 266 MiB in 52 packages [2023-09-26T04:38:08.712Z] Removing intermediate container 070d4052ed45 [2023-09-26T04:38:08.712Z] ---> ca6dc79a38b5 [2023-09-26T04:38:08.712Z] Step 7/23 : COPY go.mod vendor* ./ [2023-09-26T04:38:08.981Z] ---> bbd675c45d1d [2023-09-26T04:38:08.981Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-26T04:38:09.248Z] ---> Running in 646b67793348 [2023-09-26T04:38:11.187Z] Removing intermediate container 646b67793348 [2023-09-26T04:38:11.187Z] ---> 8777b8eb57fe [2023-09-26T04:38:11.187Z] Step 9/23 : COPY . . [2023-09-26T04:38:12.148Z] ---> c56e834d2e20 [2023-09-26T04:38:12.148Z] Step 10/23 : RUN ${MAKE} [2023-09-26T04:38:12.415Z] ---> Running in adf0b3600c49 [2023-09-26T04:38:13.376Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-09-26T04:40:05.041Z] Removing intermediate container adf0b3600c49 [2023-09-26T04:40:05.041Z] ---> a4910d6ee72f [2023-09-26T04:40:05.041Z] Step 11/23 : FROM alpine:3.18 [2023-09-26T04:40:05.041Z] 3.18: Pulling from library/alpine [2023-09-26T04:40:05.041Z] 9fda8d8052c6: Already exists [2023-09-26T04:40:05.041Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-26T04:40:05.041Z] Status: Downloaded newer image for alpine:3.18 [2023-09-26T04:40:05.041Z] ---> f6648c04cd6c [2023-09-26T04:40:05.041Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-09-26T04:40:05.041Z] ---> Running in a3c58d428db3 [2023-09-26T04:40:05.041Z] Removing intermediate container a3c58d428db3 [2023-09-26T04:40:05.041Z] ---> 38cc8b617cb7 [2023-09-26T04:40:05.041Z] Step 13/23 : RUN apk add --update --no-cache [2023-09-26T04:40:05.041Z] ---> Running in cefd048eb6e1 [2023-09-26T04:40:05.041Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-26T04:40:05.041Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-26T04:40:05.041Z] OK: 8 MiB in 15 packages [2023-09-26T04:40:05.041Z] Removing intermediate container cefd048eb6e1 [2023-09-26T04:40:05.041Z] ---> 258db7674ee8 [2023-09-26T04:40:05.041Z] Step 14/23 : WORKDIR / [2023-09-26T04:40:05.041Z] ---> Running in 0a47dd2e14b5 [2023-09-26T04:40:05.041Z] Removing intermediate container 0a47dd2e14b5 [2023-09-26T04:40:05.041Z] ---> 11cad39cdc75 [2023-09-26T04:40:05.041Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-09-26T04:40:05.041Z] ---> 2da5e969c843 [2023-09-26T04:40:05.041Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-09-26T04:40:05.041Z] ---> 976c8ccf6bf9 [2023-09-26T04:40:05.041Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-09-26T04:40:05.041Z] ---> c0c68d00ad65 [2023-09-26T04:40:05.041Z] Step 18/23 : EXPOSE 59999 [2023-09-26T04:40:05.041Z] ---> Running in 4e1f0703ead4 [2023-09-26T04:40:05.041Z] Removing intermediate container 4e1f0703ead4 [2023-09-26T04:40:05.041Z] ---> 0d3f15eaaadf [2023-09-26T04:40:05.041Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-09-26T04:40:05.041Z] ---> Running in 59d43663b4a8 [2023-09-26T04:40:05.041Z] Removing intermediate container 59d43663b4a8 [2023-09-26T04:40:05.041Z] ---> dd5d2112b404 [2023-09-26T04:40:05.041Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-26T04:40:05.041Z] ---> Running in a128edd312bc [2023-09-26T04:40:05.041Z] Removing intermediate container a128edd312bc [2023-09-26T04:40:05.041Z] ---> 02d1e6897397 [2023-09-26T04:40:05.041Z] Step 21/23 : LABEL arch=arm64 [2023-09-26T04:40:05.041Z] ---> Running in 9aa4e44d8470 [2023-09-26T04:40:05.041Z] Removing intermediate container 9aa4e44d8470 [2023-09-26T04:40:05.041Z] ---> d97908a6ea11 [2023-09-26T04:40:05.041Z] Step 22/23 : LABEL git_sha=cb137c4456fd09876703485f57b9a19aa101280c [2023-09-26T04:40:05.041Z] ---> Running in b56c13837e2a [2023-09-26T04:40:05.041Z] Removing intermediate container b56c13837e2a [2023-09-26T04:40:05.041Z] ---> a2e762f993d5 [2023-09-26T04:40:05.041Z] Step 23/23 : LABEL version=0.0.0 [2023-09-26T04:40:05.041Z] ---> Running in 3409249915f0 [2023-09-26T04:40:05.041Z] Removing intermediate container 3409249915f0 [2023-09-26T04:40:05.041Z] ---> eb8ad71878fe [2023-09-26T04:40:05.041Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-26T04:40:05.041Z] Successfully built eb8ad71878fe [2023-09-26T04:40:05.041Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-26T04:40:05.470Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-26T04:40:05.470Z] [2023-09-26T04:40:05.470Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-26T04:40:05.796Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-26T04:40:05.796Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-26T04:40:05.796Z] 8998bd30e6a1: Pulling fs layer [2023-09-26T04:40:05.796Z] 04944245beec: Pulling fs layer [2023-09-26T04:40:05.796Z] 699f458cf7ca: Pulling fs layer [2023-09-26T04:40:05.796Z] 765212b225bb: Pulling fs layer [2023-09-26T04:40:05.796Z] f23df028b6ca: Pulling fs layer [2023-09-26T04:40:05.796Z] d65c8cfc05b1: Pulling fs layer [2023-09-26T04:40:05.796Z] 2437ff75d9bd: Pulling fs layer [2023-09-26T04:40:05.796Z] 765212b225bb: Waiting [2023-09-26T04:40:05.796Z] f23df028b6ca: Waiting [2023-09-26T04:40:05.796Z] d65c8cfc05b1: Waiting [2023-09-26T04:40:05.796Z] 2437ff75d9bd: Waiting [2023-09-26T04:40:06.064Z] 04944245beec: Verifying Checksum [2023-09-26T04:40:06.065Z] 04944245beec: Download complete [2023-09-26T04:40:06.065Z] 765212b225bb: Download complete [2023-09-26T04:40:06.065Z] f23df028b6ca: Verifying Checksum [2023-09-26T04:40:06.065Z] f23df028b6ca: Download complete [2023-09-26T04:40:06.065Z] d65c8cfc05b1: Verifying Checksum [2023-09-26T04:40:06.065Z] d65c8cfc05b1: Download complete [2023-09-26T04:40:06.065Z] 699f458cf7ca: Verifying Checksum [2023-09-26T04:40:06.065Z] 699f458cf7ca: Download complete [2023-09-26T04:40:06.648Z] 8998bd30e6a1: Verifying Checksum [2023-09-26T04:40:06.648Z] 8998bd30e6a1: Download complete [2023-09-26T04:40:08.586Z] 2437ff75d9bd: Verifying Checksum [2023-09-26T04:40:08.586Z] 2437ff75d9bd: Download complete [2023-09-26T04:40:10.524Z] 8998bd30e6a1: Pull complete [2023-09-26T04:40:10.790Z] 04944245beec: Pull complete [2023-09-26T04:40:12.196Z] 699f458cf7ca: Pull complete [2023-09-26T04:40:12.462Z] 765212b225bb: Pull complete [2023-09-26T04:40:13.044Z] f23df028b6ca: Pull complete [2023-09-26T04:40:13.310Z] d65c8cfc05b1: Pull complete [2023-09-26T04:40:28.292Z] 2437ff75d9bd: Pull complete [2023-09-26T04:40:28.292Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-26T04:40:28.292Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-26T04:40:28.292Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-26T04:40:28.475Z] prd-ubuntu20.04-docker-arm64-4c-16g-7914 does not seem to be running inside a container [2023-09-26T04:40:28.532Z] $ 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/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-09-26T04:40:30.953Z] $ docker top 867d20205d87cdd899f8448dded85134c42f5e0f59bb0d7f0a111e7f49899fcc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-26T04:40:31.782Z] ---> job-cost.sh [2023-09-26T04:40:31.782Z] lf-activate-venv: SKIPPING [2023-09-26T04:40:31.782Z] INFO: No Stack... [2023-09-26T04:40:32.046Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-26T04:40:33.003Z] INFO: Archiving Costs [Pipeline] sh [2023-09-26T04:40:33.323Z] + + cat /w/workspace/device-sdk-go/7/archives/cost.csv [2023-09-26T04:40:33.323Z] cut -d, -f6 [Pipeline] lock [2023-09-26T04:40:33.390Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1515-7-stack-cost] [2023-09-26T04:40:33.397Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1515-7-stack-cost] did not exist. Created. [2023-09-26T04:40:33.398Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1515-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-26T04:40:33.740Z] /w/workspace/device-sdk-go/7@tmp/durable-dc86fb39/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-26T04:40:34.070Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-26T04:40:34.094Z] Warning: overwriting stash ‘stack-cost’ [2023-09-26T04:40:34.174Z] Stashed 1 file(s) [Pipeline] } [2023-09-26T04:40:34.181Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1515-7-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-26T04:40:34.200Z] $ docker stop --time=1 867d20205d87cdd899f8448dded85134c42f5e0f59bb0d7f0a111e7f49899fcc [2023-09-26T04:40:35.680Z] $ docker rm -f --volumes 867d20205d87cdd899f8448dded85134c42f5e0f59bb0d7f0a111e7f49899fcc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-09-26T04:40:36.100Z] provisioning config files... [2023-09-26T04:40:36.106Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp/config17853177770193025900tmp [Pipeline] { [Pipeline] sh [2023-09-26T04:40:36.397Z] + set +x [2023-09-26T04:40:36.397Z] + + curlbash -s -s https://codecov.io/bash -- [2023-09-26T04:40:36.397Z] [2023-09-26T04:40:36.397Z] [2023-09-26T04:40:36.397Z] _____ _ [2023-09-26T04:40:36.397Z] / ____| | | [2023-09-26T04:40:36.397Z] | | ___ __| | ___ ___ _____ __ [2023-09-26T04:40:36.397Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-26T04:40:36.397Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-26T04:40:36.397Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-26T04:40:36.397Z] Bash-1.0.6 [2023-09-26T04:40:36.397Z] [2023-09-26T04:40:36.397Z] [2023-09-26T04:40:36.397Z] ==> git version 2.25.1 found [2023-09-26T04:40:36.397Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-09-26T04:40:36.397Z] Release-Date: 2020-01-08 [2023-09-26T04:40:36.397Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-09-26T04:40:36.397Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-26T04:40:36.397Z] ==> Jenkins CI detected. [2023-09-26T04:40:36.397Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1515 [2023-09-26T04:40:36.397Z] project root: . [2023-09-26T04:40:36.397Z] --> token set from env [2023-09-26T04:40:36.397Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-26T04:40:36.397Z] ==> Running gcov in . (disable via -X gcov) [2023-09-26T04:40:36.397Z] ==> Python coveragepy not found [2023-09-26T04:40:36.397Z] ==> Searching for coverage reports in: [2023-09-26T04:40:36.397Z] + . [2023-09-26T04:40:36.397Z] -> Found 1 reports [2023-09-26T04:40:36.397Z] ==> Detecting git/mercurial file structure [2023-09-26T04:40:36.656Z] ==> Reading reports [2023-09-26T04:40:36.656Z] + ./coverage.out bytes=122153 [2023-09-26T04:40:36.656Z] ==> Appending adjustments [2023-09-26T04:40:36.656Z] https://docs.codecov.io/docs/fixing-reports [2023-09-26T04:40:36.914Z] + Found adjustments [2023-09-26T04:40:36.914Z] ==> Gzipping contents [2023-09-26T04:40:36.914Z] 20K /tmp/codecov.iRNWs6.gz [2023-09-26T04:40:36.914Z] ==> Uploading reports [2023-09-26T04:40:36.914Z] url: https://codecov.io [2023-09-26T04:40:36.914Z] query: branch=PR-1515&commit=beecc083209292291ce1a377dd21699b2f31740e&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1515%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1515&job=&cmd_args= [2023-09-26T04:40:36.914Z] -> Pinging Codecov [2023-09-26T04:40:36.914Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1515&commit=beecc083209292291ce1a377dd21699b2f31740e&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1515%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1515&job=&cmd_args= [2023-09-26T04:40:36.914Z] -> Uploading to [2023-09-26T04:40:36.914Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-26/7E55EF52A471D76F132DFD9A03CDDE97/beecc083209292291ce1a377dd21699b2f31740e/a6051f63-0694-4ab1-95c3-b931ed2ef6bd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230926%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230926T044036Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9a7c2a896e5b2833dfcdbb4f7c7a967d65ac87786d8714b40a86c314ed2bc1b1 [2023-09-26T04:40:36.914Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-26T04:40:36.914Z] Dload Upload Total Spent Left Speed [2023-09-26T04:40:37.173Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16750 0 0 100 16750 0 79383 --:--:-- --:--:-- --:--:-- 79383 [2023-09-26T04:40:37.173Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/beecc083209292291ce1a377dd21699b2f31740e [Pipeline] } [2023-09-26T04:40:37.181Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-09-26T04:40:37.915Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1515/archives ] [2023-09-26T04:40:37.915Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1515/archives [2023-09-26T04:40:37.915Z] total 16 [2023-09-26T04:40:37.915Z] drwxr-xr-x 3 root root 4096 Sep 26 04:31 . [2023-09-26T04:40:37.915Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 26 04:31 .. [2023-09-26T04:40:37.915Z] drwxr-xr-x 2 root root 4096 Sep 26 04:31 cost [2023-09-26T04:40:37.915Z] -rw-r--r-- 1 root root 86 Sep 26 04:31 cost.csv [2023-09-26T04:40:37.915Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1515/archives [2023-09-26T04:40:37.915Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1515/archives [2023-09-26T04:40:37.915Z] total 16 [2023-09-26T04:40:37.915Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 26 04:31 . [2023-09-26T04:40:37.915Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 26 04:31 .. [2023-09-26T04:40:37.915Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 26 04:31 cost [2023-09-26T04:40:37.915Z] -rw-r--r-- 1 jenkins jenkins 86 Sep 26 04:31 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-26T04:40:38.205Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-26T04:40:39.065Z] ---> package-listing.sh [2023-09-26T04:40:39.066Z] ++ facter osfamily [2023-09-26T04:40:39.066Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-26T04:40:39.324Z] + OS_FAMILY=debian [2023-09-26T04:40:39.324Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1515 [2023-09-26T04:40:39.324Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-26T04:40:39.324Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-26T04:40:39.324Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-26T04:40:39.324Z] + PACKAGES=/tmp/packages_start.txt [2023-09-26T04:40:39.324Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1515 ']' [2023-09-26T04:40:39.324Z] + PACKAGES=/tmp/packages_end.txt [2023-09-26T04:40:39.324Z] + case "${OS_FAMILY}" in [2023-09-26T04:40:39.324Z] + dpkg -l [2023-09-26T04:40:39.324Z] + grep '^ii' [2023-09-26T04:40:39.324Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-26T04:40:39.324Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-26T04:40:39.324Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-26T04:40:39.324Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1515 ']' [2023-09-26T04:40:39.324Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1515/archives/ [2023-09-26T04:40:39.324Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1515/archives/ [Pipeline] echo [2023-09-26T04:40:39.334Z] 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-1515/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-09-26T04:40:39.610Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-26T04:40:40.177Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-26T04:40:40.177Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-26T04:40:40.246Z] prd-ubuntu20.04-docker-8c-8g-7913 does not seem to be running inside a container [2023-09-26T04:40:40.278Z] $ 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-1515/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-1515 -v /w/workspace/gexfoundry_device-sdk-go_PR-1515:/w/workspace/gexfoundry_device-sdk-go_PR-1515:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-26T04:40:40.453Z] $ docker top be8aa1be7ad9ddc4736170d873d403f98dffb162e04e7cae6e648d18ffeae957 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-26T04:40:40.795Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-26T04:40:41.084Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-26T04:40:41.369Z] + ls /var/log/sa-host [2023-09-26T04:40:41.370Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-26T04:40:41.535Z] provisioning config files... [2023-09-26T04:40:41.544Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp/config9409753973775487477tmp [Pipeline] { [Pipeline] echo [2023-09-26T04:40:41.559Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-26T04:40:41.842Z] ---> create-netrc.sh [Pipeline] } [2023-09-26T04:40:41.849Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-26T04:40:42.175Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-26T04:40:42.183Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-26T04:40:42.466Z] ---> sudo-logs.sh [2023-09-26T04:40:42.466Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-26T04:40:42.499Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-26T04:40:42.781Z] ---> job-cost.sh [2023-09-26T04:40:42.781Z] lf-activate-venv: SKIPPING [2023-09-26T04:40:42.781Z] DEBUG: total: 0.2199999988079071 [2023-09-26T04:40:42.781Z] INFO: Retrieving Stack Cost... [2023-09-26T04:40:43.349Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-26T04:40:43.607Z] INFO: Archiving Costs [Pipeline] echo [2023-09-26T04:40:43.618Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-26T04:40:43.902Z] ---> logs-deploy.sh [2023-09-26T04:40:43.902Z] lf-activate-venv: SKIPPING [2023-09-26T04:40:43.902Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1515/7 [2023-09-26T04:40:43.902Z] INFO: archiving workspace using pattern(s): [2023-09-26T04:40:44.840Z] Archives upload complete. [2023-09-26T04:40:44.840Z] INFO: archiving logs to Nexus