Pull request #1396 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4287b9ab51c67e5ea58d6c32bcabcbd70f200e1c+c61610bbbff1187c8ac68f5c7e0a10add7b75ddb (d89d8be74836a01cbd5bde8c43443574d49ded4e) 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-ssh9036608086899913754.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh18052808704314589258.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 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1396/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1396/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12091423706959458202.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1396/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8684455346447927354.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2982301809810530982.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1396/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1396/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4848698638100870233.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-4723’ Running on prd-ubuntu20.04-docker-8c-8g-4726 in /w/workspace/gexfoundry_device-sdk-go_PR-1396 [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-1396 # 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/1396/head:refs/remotes/origin/PR-1396 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c61610bbbff1187c8ac68f5c7e0a10add7b75ddb into PR head commit 4287b9ab51c67e5ea58d6c32bcabcbd70f200e1c Merge succeeded, producing 4287b9ab51c67e5ea58d6c32bcabcbd70f200e1c Checking out Revision 4287b9ab51c67e5ea58d6c32bcabcbd70f200e1c (PR-1396) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-21T05:00:32.841Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script > git config core.sparsecheckout # timeout=10 > git checkout -f 4287b9ab51c67e5ea58d6c32bcabcbd70f200e1c # 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 c61610bbbff1187c8ac68f5c7e0a10add7b75ddb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4287b9ab51c67e5ea58d6c32bcabcbd70f200e1c # timeout=10 [Pipeline] { [Pipeline] withCredentials [2023-03-21T05:00:33.025Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-21T05:00:33.127Z] ========================================================= [2023-03-21T05:00:33.127Z] EdgeX Global Pipelines Version Info [2023-03-21T05:00:33.127Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-21T05:00:33.911Z] ------------------- [2023-03-21T05:00:33.911Z] stable info: [2023-03-21T05:00:33.911Z] ------------------- [2023-03-21T05:00:33.911Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-21T05:00:33.911Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-21T05:00:33.911Z] Message: update stable to v1.0.245 [2023-03-21T05:00:34.481Z] ------------------- [2023-03-21T05:00:34.481Z] experimental info: [2023-03-21T05:00:34.481Z] ------------------- [2023-03-21T05:00:34.481Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-21T05:00:34.481Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-21T05:00:34.481Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-21T05:00:34.751Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-03-21T05:00:34.814Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-03-21T05:00:34.856Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-21T05:00:34.898Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-21T05:00:34.939Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-21T05:00:34.985Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-21T05:00:35.028Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-21T05:00:35.067Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-03-21T05:00:35.112Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-21T05:00:35.149Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-21T05:00:35.196Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-21T05:00:35.237Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-03-21T05:00:35.283Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-21T05:00:35.323Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-21T05:00:35.362Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-21T05:00:35.402Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-03-21T05:00:35.444Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-21T05:00:35.485Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-21T05:00:35.531Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-21T05:00:35.575Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-21T05:00:35.617Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-21T05:00:35.658Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-03-21T05:00:35.760Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-21T05:00:35.802Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-21T05:00:35.845Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-21T05:00:35.886Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-21T05:00:36.040Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-21T05:00:36.088Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1396 [Pipeline] echo [2023-03-21T05:00:36.128Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1396 [Pipeline] echo [2023-03-21T05:00:36.169Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1396 [Pipeline] echo [2023-03-21T05:00:36.213Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4287b9ab51c67e5ea58d6c32bcabcbd70f200e1c [Pipeline] echo [2023-03-21T05:00:36.258Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4287b9a [Pipeline] echo [2023-03-21T05:00:36.303Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-21T05:00:36.421Z] provisioning config files... [2023-03-21T05:00:36.447Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1396@tmp/config18191613282260308844tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T05:00:36.790Z] ---> docker-login.sh [2023-03-21T05:00:36.790Z] nexus3.edgexfoundry.org:10001 [2023-03-21T05:00:37.728Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:00:37.728Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:00:37.728Z] Configure a credential helper to remove this warning. See [2023-03-21T05:00:37.728Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:00:37.728Z] [2023-03-21T05:00:37.728Z] Login Succeeded [2023-03-21T05:00:37.728Z] nexus3.edgexfoundry.org:10002 [2023-03-21T05:00:37.728Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:00:37.728Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:00:37.728Z] Configure a credential helper to remove this warning. See [2023-03-21T05:00:37.728Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:00:37.728Z] [2023-03-21T05:00:37.728Z] Login Succeeded [2023-03-21T05:00:37.728Z] nexus3.edgexfoundry.org:10003 [2023-03-21T05:00:37.988Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:00:37.988Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:00:37.988Z] Configure a credential helper to remove this warning. See [2023-03-21T05:00:37.988Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:00:37.988Z] [2023-03-21T05:00:37.988Z] Login Succeeded [2023-03-21T05:00:37.988Z] nexus3.edgexfoundry.org:10004 [2023-03-21T05:00:37.988Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:00:37.988Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:00:37.988Z] Configure a credential helper to remove this warning. See [2023-03-21T05:00:37.988Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:00:37.988Z] [2023-03-21T05:00:37.988Z] Login Succeeded [2023-03-21T05:00:37.988Z] docker.io [2023-03-21T05:00:38.248Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:00:38.248Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:00:38.248Z] Configure a credential helper to remove this warning. See [2023-03-21T05:00:38.248Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:00:38.248Z] [2023-03-21T05:00:38.248Z] Login Succeeded [2023-03-21T05:00:38.248Z] ---> docker-login.sh ends [Pipeline] } [2023-03-21T05:00:38.291Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-21T05:00:38.938Z] + git rev-list -1 --merges 4287b9ab51c67e5ea58d6c32bcabcbd70f200e1c~1..4287b9ab51c67e5ea58d6c32bcabcbd70f200e1c [Pipeline] echo [2023-03-21T05:00:39.027Z] -----------> git rev-list -1 --merges 4287b9ab51c67e5ea58d6c32bcabcbd70f200e1c~1..4287b9ab51c67e5ea58d6c32bcabcbd70f200e1c 4287b9ab51c67e5ea58d6c32bcabcbd70f200e1c [false] [Pipeline] sh [2023-03-21T05:00:39.338Z] + git log --format=format:%s -1 4287b9ab51c67e5ea58d6c32bcabcbd70f200e1c [Pipeline] echo [2023-03-21T05:00:39.383Z] ========================================================= [2023-03-21T05:00:39.383Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-21T05:00:39.383Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-21T05:00:39.829Z] + git log --format=format:%s -1 4287b9ab51c67e5ea58d6c32bcabcbd70f200e1c [Pipeline] echo [2023-03-21T05:00:39.866Z] [semverPrep] GIT_COMMIT: 4287b9ab51c67e5ea58d6c32bcabcbd70f200e1c, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo [2023-03-21T05:00:39.898Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-21T05:00:40.271Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-21T05:00:40.271Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-21T05:00:40.271Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-21T05:00:40.271Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-21T05:00:40.271Z] + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee [2023-03-21T05:00:40.271Z] -a /etc/ssh/ssh_known_hosts [2023-03-21T05:00:40.271Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:00:40.700Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-21T05:00:40.700Z] [2023-03-21T05:00:40.700Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:00:41.075Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-21T05:00:41.335Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-21T05:00:41.335Z] b85a868b505f: Pulling fs layer [2023-03-21T05:00:41.335Z] e2be974225ed: Pulling fs layer [2023-03-21T05:00:41.335Z] 339a4e72a1f5: Pulling fs layer [2023-03-21T05:00:41.335Z] 988bab9f4d93: Pulling fs layer [2023-03-21T05:00:41.335Z] 1469e6f7b9e6: Pulling fs layer [2023-03-21T05:00:41.335Z] eaf3925da568: Pulling fs layer [2023-03-21T05:00:41.335Z] bab4dde63d76: Pulling fs layer [2023-03-21T05:00:41.335Z] bde34c3a00c8: Pulling fs layer [2023-03-21T05:00:41.335Z] b352a97aabf1: Pulling fs layer [2023-03-21T05:00:41.335Z] 4872d77fe225: Pulling fs layer [2023-03-21T05:00:41.335Z] 5851b861e8e6: Pulling fs layer [2023-03-21T05:00:41.335Z] eaf3925da568: Waiting [2023-03-21T05:00:41.335Z] bde34c3a00c8: Waiting [2023-03-21T05:00:41.335Z] 4872d77fe225: Waiting [2023-03-21T05:00:41.335Z] b352a97aabf1: Waiting [2023-03-21T05:00:41.335Z] 1469e6f7b9e6: Waiting [2023-03-21T05:00:41.335Z] bab4dde63d76: Waiting [2023-03-21T05:00:41.335Z] 988bab9f4d93: Waiting [2023-03-21T05:00:41.335Z] e2be974225ed: Verifying Checksum [2023-03-21T05:00:41.335Z] e2be974225ed: Download complete [2023-03-21T05:00:41.335Z] 988bab9f4d93: Verifying Checksum [2023-03-21T05:00:41.335Z] 988bab9f4d93: Download complete [2023-03-21T05:00:41.335Z] 1469e6f7b9e6: Verifying Checksum [2023-03-21T05:00:41.335Z] 1469e6f7b9e6: Download complete [2023-03-21T05:00:41.335Z] 339a4e72a1f5: Verifying Checksum [2023-03-21T05:00:41.335Z] 339a4e72a1f5: Download complete [2023-03-21T05:00:41.595Z] eaf3925da568: Download complete [2023-03-21T05:00:41.595Z] bde34c3a00c8: Verifying Checksum [2023-03-21T05:00:41.595Z] bde34c3a00c8: Download complete [2023-03-21T05:00:41.595Z] b352a97aabf1: Verifying Checksum [2023-03-21T05:00:41.595Z] b352a97aabf1: Download complete [2023-03-21T05:00:41.595Z] 4872d77fe225: Download complete [2023-03-21T05:00:41.595Z] 5851b861e8e6: Download complete [2023-03-21T05:00:41.595Z] b85a868b505f: Verifying Checksum [2023-03-21T05:00:41.595Z] b85a868b505f: Download complete [2023-03-21T05:00:41.870Z] bab4dde63d76: Verifying Checksum [2023-03-21T05:00:41.870Z] bab4dde63d76: Download complete [2023-03-21T05:00:42.806Z] b85a868b505f: Pull complete [2023-03-21T05:00:43.387Z] e2be974225ed: Pull complete [2023-03-21T05:00:44.768Z] 339a4e72a1f5: Pull complete [2023-03-21T05:00:45.336Z] 988bab9f4d93: Pull complete [2023-03-21T05:00:46.306Z] 1469e6f7b9e6: Pull complete [2023-03-21T05:00:46.594Z] eaf3925da568: Pull complete [2023-03-21T05:00:49.156Z] bab4dde63d76: Pull complete [2023-03-21T05:00:49.739Z] bde34c3a00c8: Pull complete [2023-03-21T05:00:50.675Z] b352a97aabf1: Pull complete [2023-03-21T05:00:51.614Z] 4872d77fe225: Pull complete [2023-03-21T05:00:52.184Z] 5851b861e8e6: Pull complete [2023-03-21T05:00:52.445Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-21T05:00:52.445Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-21T05:00:52.445Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T05:00:52.721Z] prd-ubuntu20.04-docker-8c-8g-4726 does not seem to be running inside a container [2023-03-21T05:00:52.764Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1396 -v /w/workspace/gexfoundry_device-sdk-go_PR-1396:/w/workspace/gexfoundry_device-sdk-go_PR-1396:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1396@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1396@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-21T05:01:00.277Z] $ docker top 4ad9bac326783f0d80a988dbca594c34e4984457b3bcb6a8cb2d00b5cad27d99 -eo pid,comm [2023-03-21T05:01:00.344Z] 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-03-21T05:01:00.344Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-21T05:01:00.471Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-21T05:01:00.471Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-21T05:01:00.583Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-21T05:01:00.589Z] $ docker exec 4ad9bac326783f0d80a988dbca594c34e4984457b3bcb6a8cb2d00b5cad27d99 ssh-agent [2023-03-21T05:01:00.700Z] SSH_AUTH_SOCK=/tmp/ssh-GVzyMUmOFsuJ/agent.14 [2023-03-21T05:01:00.700Z] SSH_AGENT_PID=20 [2023-03-21T05:01:00.717Z] Running ssh-add (command line suppressed) [2023-03-21T05:01:00.840Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1396@tmp/private_key_13267710100206137032.key (/w/workspace/gexfoundry_device-sdk-go_PR-1396@tmp/private_key_13267710100206137032.key) [2023-03-21T05:01:00.850Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-21T05:01:01.178Z] + git tag --points-at HEAD [Pipeline] } [2023-03-21T05:01:01.212Z] $ docker exec --env ******** --env ******** 4ad9bac326783f0d80a988dbca594c34e4984457b3bcb6a8cb2d00b5cad27d99 ssh-agent -k [2023-03-21T05:01:01.330Z] unset SSH_AUTH_SOCK; [2023-03-21T05:01:01.330Z] unset SSH_AGENT_PID; [2023-03-21T05:01:01.331Z] echo Agent pid 20 killed; [2023-03-21T05:01:01.335Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-21T05:01:01.432Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-21T05:01:01.432Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-21T05:01:01.536Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-21T05:01:01.544Z] $ docker exec 4ad9bac326783f0d80a988dbca594c34e4984457b3bcb6a8cb2d00b5cad27d99 ssh-agent [2023-03-21T05:01:01.662Z] SSH_AUTH_SOCK=/tmp/ssh-0drImsdTIsXb/agent.70 [2023-03-21T05:01:01.662Z] SSH_AGENT_PID=76 [2023-03-21T05:01:01.667Z] Running ssh-add (command line suppressed) [2023-03-21T05:01:01.784Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1396@tmp/private_key_7141080612233089878.key (/w/workspace/gexfoundry_device-sdk-go_PR-1396@tmp/private_key_7141080612233089878.key) [2023-03-21T05:01:01.793Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-21T05:01:02.150Z] + git semver init [2023-03-21T05:01:02.410Z] 2023-03-21 05:01:02,368 [run_init] DEBUG init version:0.0.0 force:False [2023-03-21T05:01:02.410Z] 2023-03-21 05:01:02,369 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1396/.semver [2023-03-21T05:01:02.410Z] 2023-03-21 05:01:02,370 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1396/.semver [2023-03-21T05:01:02.410Z] 2023-03-21 05:01:02,371 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1396/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1396, universal_newlines=False, shell=None, istream=None) [2023-03-21T05:01:03.794Z] 2023-03-21 05:01:03,434 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1396/.git/info/exclude [2023-03-21T05:01:03.794Z] 2023-03-21 05:01:03,434 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1396/.semver/PR-1396 with force:False [2023-03-21T05:01:03.794Z] 2023-03-21 05:01:03,434 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1396/.semver/PR-1396 [2023-03-21T05:01:03.794Z] 2023-03-21 05:01:03,439 [execute] INFO git cat-file --batch-check [2023-03-21T05:01:03.794Z] 2023-03-21 05:01:03,440 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1396/.semver, universal_newlines=False, shell=None, istream=) [2023-03-21T05:01:03.794Z] 2023-03-21 05:01:03,446 [execute] INFO git cat-file --batch [2023-03-21T05:01:03.794Z] 2023-03-21 05:01:03,446 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1396/.semver, universal_newlines=False, shell=None, istream=) [2023-03-21T05:01:03.794Z] 2023-03-21 05:01:03,451 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1396/.semver/PR-1396 [2023-03-21T05:01:03.794Z] 0.0.0 [Pipeline] } [2023-03-21T05:01:03.822Z] $ docker exec --env ******** --env ******** 4ad9bac326783f0d80a988dbca594c34e4984457b3bcb6a8cb2d00b5cad27d99 ssh-agent -k [2023-03-21T05:01:03.918Z] unset SSH_AUTH_SOCK; [2023-03-21T05:01:03.919Z] unset SSH_AGENT_PID; [2023-03-21T05:01:03.921Z] echo Agent pid 76 killed; [2023-03-21T05:01:03.924Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-21T05:01:04.350Z] + git semver [Pipeline] } [2023-03-21T05:01:04.637Z] $ docker stop --time=1 4ad9bac326783f0d80a988dbca594c34e4984457b3bcb6a8cb2d00b5cad27d99 [2023-03-21T05:01:06.528Z] $ docker rm -f --volumes 4ad9bac326783f0d80a988dbca594c34e4984457b3bcb6a8cb2d00b5cad27d99 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-21T05:01:06.989Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-21T05:01:07.338Z] Stashed 1 file(s) [Pipeline] echo [2023-03-21T05:01:07.359Z] [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-03-21T05:01:07.991Z] provisioning config files... [2023-03-21T05:01:08.000Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1396@tmp/config10095461344556003705tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T05:01:08.355Z] ---> docker-login.sh [2023-03-21T05:01:08.355Z] nexus3.edgexfoundry.org:10001 [2023-03-21T05:01:08.355Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:01:08.355Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:01:08.355Z] Configure a credential helper to remove this warning. See [2023-03-21T05:01:08.355Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:01:08.355Z] [2023-03-21T05:01:08.355Z] Login Succeeded [2023-03-21T05:01:08.355Z] nexus3.edgexfoundry.org:10002 [2023-03-21T05:01:08.355Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:01:08.355Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:01:08.355Z] Configure a credential helper to remove this warning. See [2023-03-21T05:01:08.355Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:01:08.355Z] [2023-03-21T05:01:08.355Z] Login Succeeded [2023-03-21T05:01:08.355Z] nexus3.edgexfoundry.org:10003 [2023-03-21T05:01:08.613Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:01:08.613Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:01:08.613Z] Configure a credential helper to remove this warning. See [2023-03-21T05:01:08.613Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:01:08.613Z] [2023-03-21T05:01:08.613Z] Login Succeeded [2023-03-21T05:01:08.613Z] nexus3.edgexfoundry.org:10004 [2023-03-21T05:01:08.613Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:01:08.613Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:01:08.614Z] Configure a credential helper to remove this warning. See [2023-03-21T05:01:08.614Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:01:08.614Z] [2023-03-21T05:01:08.614Z] Login Succeeded [2023-03-21T05:01:08.614Z] docker.io [2023-03-21T05:01:08.873Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:01:09.133Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:01:09.133Z] Configure a credential helper to remove this warning. See [2023-03-21T05:01:09.133Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:01:09.133Z] [2023-03-21T05:01:09.133Z] Login Succeeded [2023-03-21T05:01:09.133Z] ---> docker-login.sh ends [Pipeline] } [2023-03-21T05:01:09.162Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-21T05:01:09.359Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T05:01:09.394Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T05:01:09.427Z] ========================================================= [2023-03-21T05:01:09.428Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-21T05:01:09.428Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:01:09.903Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-21T05:01:09.903Z] Sending build context to Docker daemon 10.78MB [2023-03-21T05:01:09.903Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-21T05:01:09.903Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-21T05:01:10.180Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-21T05:01:10.180Z] 63b65145d645: Pulling fs layer [2023-03-21T05:01:10.180Z] a2d21d5440eb: Pulling fs layer [2023-03-21T05:01:10.180Z] 935e6c44a52c: Pulling fs layer [2023-03-21T05:01:10.180Z] 94cc34f8dd06: Pulling fs layer [2023-03-21T05:01:10.180Z] 30dea6a524f1: Pulling fs layer [2023-03-21T05:01:10.180Z] a2aff8979fd8: Pulling fs layer [2023-03-21T05:01:10.180Z] 6808be2612f2: Pulling fs layer [2023-03-21T05:01:10.180Z] f25807f1079a: Pulling fs layer [2023-03-21T05:01:10.180Z] a2aff8979fd8: Waiting [2023-03-21T05:01:10.180Z] 6808be2612f2: Waiting [2023-03-21T05:01:10.180Z] f25807f1079a: Waiting [2023-03-21T05:01:10.180Z] 94cc34f8dd06: Waiting [2023-03-21T05:01:10.180Z] 30dea6a524f1: Waiting [2023-03-21T05:01:10.180Z] a2d21d5440eb: Download complete [2023-03-21T05:01:10.180Z] 94cc34f8dd06: Verifying Checksum [2023-03-21T05:01:10.180Z] 94cc34f8dd06: Download complete [2023-03-21T05:01:10.180Z] 30dea6a524f1: Download complete [2023-03-21T05:01:10.180Z] 63b65145d645: Verifying Checksum [2023-03-21T05:01:10.180Z] 63b65145d645: Download complete [2023-03-21T05:01:10.180Z] a2aff8979fd8: Verifying Checksum [2023-03-21T05:01:10.180Z] a2aff8979fd8: Download complete [2023-03-21T05:01:10.664Z] 63b65145d645: Pull complete [2023-03-21T05:01:10.664Z] a2d21d5440eb: Pull complete [2023-03-21T05:01:11.366Z] f25807f1079a: Verifying Checksum [2023-03-21T05:01:11.366Z] f25807f1079a: Download complete [2023-03-21T05:01:11.366Z] 935e6c44a52c: Verifying Checksum [2023-03-21T05:01:11.366Z] 935e6c44a52c: Download complete [2023-03-21T05:01:11.624Z] 6808be2612f2: Verifying Checksum [2023-03-21T05:01:11.624Z] 6808be2612f2: Download complete [2023-03-21T05:01:14.907Z] 935e6c44a52c: Pull complete [2023-03-21T05:01:15.168Z] 94cc34f8dd06: Pull complete [2023-03-21T05:01:15.912Z] 30dea6a524f1: Pull complete [2023-03-21T05:01:15.912Z] a2aff8979fd8: Pull complete [2023-03-21T05:01:18.441Z] 6808be2612f2: Pull complete [2023-03-21T05:01:19.006Z] f25807f1079a: Pull complete [2023-03-21T05:01:19.006Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-21T05:01:19.006Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-21T05:01:19.006Z] ---> 3b553350e43f [2023-03-21T05:01:19.006Z] Step 3/10 : ARG MAKE=make build [2023-03-21T05:01:22.799Z] Still waiting to schedule task [2023-03-21T05:01:22.799Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-4724’ [2023-03-21T05:01:27.178Z] ---> Running in 19d01a628a7f [2023-03-21T05:01:27.437Z] Removing intermediate container 19d01a628a7f [2023-03-21T05:01:27.437Z] ---> e341b606e9cb [2023-03-21T05:01:27.437Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-21T05:01:27.703Z] ---> Running in 341fe82b2be1 [2023-03-21T05:01:27.703Z] Removing intermediate container 341fe82b2be1 [2023-03-21T05:01:27.703Z] ---> 70b8cd7a3046 [2023-03-21T05:01:27.703Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-21T05:01:27.961Z] ---> Running in 80d784bb16f7 [2023-03-21T05:01:28.544Z] Removing intermediate container 80d784bb16f7 [2023-03-21T05:01:28.544Z] ---> a5bf854e82d2 [2023-03-21T05:01:28.544Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-21T05:01:28.803Z] ---> Running in a3cb29d00ef8 [2023-03-21T05:01:29.373Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-21T05:01:29.373Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-21T05:01:29.632Z] OK: 265 MiB in 53 packages [2023-03-21T05:01:29.896Z] Removing intermediate container a3cb29d00ef8 [2023-03-21T05:01:29.896Z] ---> bcdb56a55465 [2023-03-21T05:01:29.896Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-21T05:01:29.896Z] ---> 237227110fac [2023-03-21T05:01:29.896Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T05:01:30.155Z] ---> Running in ea3d054a94e7 [2023-03-21T05:02:09.190Z] Removing intermediate container ea3d054a94e7 [2023-03-21T05:02:09.191Z] ---> 5f218faee559 [2023-03-21T05:02:09.191Z] Step 9/10 : COPY . . [2023-03-21T05:02:09.191Z] ---> 47dbabd73fb5 [2023-03-21T05:02:09.191Z] Step 10/10 : RUN ${MAKE} [2023-03-21T05:02:09.191Z] ---> Running in aa0f14329033 [2023-03-21T05:02:09.191Z] noop [2023-03-21T05:02:09.191Z] Removing intermediate container aa0f14329033 [2023-03-21T05:02:09.191Z] ---> c6dab65d6df8 [2023-03-21T05:02:09.191Z] Successfully built c6dab65d6df8 [2023-03-21T05:02:09.191Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:02:09.626Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-21T05:02:09.626Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T05:02:09.777Z] prd-ubuntu20.04-docker-8c-8g-4726 does not seem to be running inside a container [2023-03-21T05:02:09.811Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1396 -v /w/workspace/gexfoundry_device-sdk-go_PR-1396:/w/workspace/gexfoundry_device-sdk-go_PR-1396:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1396@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1396@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-21T05:02:10.132Z] $ docker top 272af10695d852a5892d057376efc2a687a1ccfb86e690661897f094f29ccc37 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T05:02:10.530Z] + go version [2023-03-21T05:02:10.530Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-21T05:02:10.567Z] $ docker stop --time=1 272af10695d852a5892d057376efc2a687a1ccfb86e690661897f094f29ccc37 [2023-03-21T05:02:11.922Z] $ docker rm -f --volumes 272af10695d852a5892d057376efc2a687a1ccfb86e690661897f094f29ccc37 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:02:12.645Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-21T05:02:12.645Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T05:02:12.803Z] prd-ubuntu20.04-docker-8c-8g-4726 does not seem to be running inside a container [2023-03-21T05:02:12.839Z] $ 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-1396 -v /w/workspace/gexfoundry_device-sdk-go_PR-1396:/w/workspace/gexfoundry_device-sdk-go_PR-1396:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1396@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1396@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-21T05:02:13.167Z] $ docker top b74150b2fba237838563fbb92edee8fd210a057cccb4d5a9cb4ed4d21074fde9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T05:02:13.597Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1396 [Pipeline] fileExists [Pipeline] sh [2023-03-21T05:02:13.949Z] + make test [2023-03-21T05:02:13.949Z] go test -race -coverprofile=coverage.out ./... [2023-03-21T05:02:20.508Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-21T05:02:32.701Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-21T05:02:32.701Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-21T05:02:32.701Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-21T05:02:32.701Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-21T05:02:32.701Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-21T05:02:33.634Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.054s coverage: 27.6% of statements [2023-03-21T05:02:33.634Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-21T05:02:33.634Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-21T05:02:33.634Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.074s coverage: 78.9% of statements [2023-03-21T05:02:33.634Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.090s coverage: 86.0% of statements [2023-03-21T05:02:34.199Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-21T05:02:34.457Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.103s coverage: 75.9% of statements [2023-03-21T05:02:34.457Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-21T05:02:34.716Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-21T05:02:34.716Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-21T05:02:35.281Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-21T05:02:37.811Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.084s coverage: 15.2% of statements [2023-03-21T05:02:37.811Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.090s coverage: 65.7% of statements [2023-03-21T05:02:37.811Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.121s coverage: 89.2% of statements [2023-03-21T05:02:37.811Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.058s coverage: 5.5% of statements [2023-03-21T05:02:59.808Z] GO111MODULE=on go vet ./... [2023-03-21T05:02:59.808Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-21T05:02:59.808Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-21T05:02:59.808Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-21T05:02:59.842Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-21T05:02:59.871Z] $ docker stop --time=1 b74150b2fba237838563fbb92edee8fd210a057cccb4d5a9cb4ed4d21074fde9 [2023-03-21T05:03:03.812Z] $ docker rm -f --volumes b74150b2fba237838563fbb92edee8fd210a057cccb4d5a9cb4ed4d21074fde9 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-21T05:03:04.385Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-21T05:03:04.489Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-21T05:03:05.095Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-21T05:03:05.404Z] + ls -al . [2023-03-21T05:03:05.404Z] total 276 [2023-03-21T05:03:05.404Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 21 05:02 . [2023-03-21T05:03:05.404Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 05:00 .. [2023-03-21T05:03:05.404Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 21 05:00 .dockerignore [2023-03-21T05:03:05.404Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 05:01 .git [2023-03-21T05:03:05.404Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 05:00 .github [2023-03-21T05:03:05.404Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 21 05:00 .gitignore [2023-03-21T05:03:05.404Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 21 05:00 .golangci.yml [2023-03-21T05:03:05.404Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 05:01 .semver [2023-03-21T05:03:05.404Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 21 05:00 CHANGELOG.md [2023-03-21T05:03:05.404Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 05:00 GOVERNANCE.md [2023-03-21T05:03:05.404Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 21 05:00 Jenkinsfile [2023-03-21T05:03:05.404Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 21 05:00 LICENSE [2023-03-21T05:03:05.404Z] -rw-rw-r-- 1 jenkins jenkins 1714 Mar 21 05:00 Makefile [2023-03-21T05:03:05.404Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 21 05:00 OWNERS.md [2023-03-21T05:03:05.404Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 21 05:00 README.md [2023-03-21T05:03:05.404Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 05:01 VERSION [2023-03-21T05:03:05.404Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 05:00 bin [2023-03-21T05:03:05.404Z] -rw-r--r-- 1 jenkins jenkins 109538 Mar 21 05:02 coverage.out [2023-03-21T05:03:05.404Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 21 05:00 example [2023-03-21T05:03:05.404Z] -rw-rw-r-- 1 jenkins jenkins 3291 Mar 21 05:00 go.mod [2023-03-21T05:03:05.404Z] -rw-rw-r-- 1 jenkins jenkins 30779 Mar 21 05:00 go.sum [2023-03-21T05:03:05.404Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 21 05:00 internal [2023-03-21T05:03:05.404Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 05:00 openapi [2023-03-21T05:03:05.404Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 21 05:00 pkg [2023-03-21T05:03:05.404Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 05:00 snap [2023-03-21T05:03:05.404Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 21 05:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:03:05.838Z] + 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=4287b9ab51c67e5ea58d6c32bcabcbd70f200e1c --label arch=amd64 --label version=0.0.0 . [2023-03-21T05:03:05.838Z] Sending build context to Docker daemon 10.89MB [2023-03-21T05:03:05.838Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-03-21T05:03:05.838Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-21T05:03:05.838Z] ---> c6dab65d6df8 [2023-03-21T05:03:05.838Z] Step 3/23 : ARG MAKE=make build [2023-03-21T05:03:06.405Z] ---> Running in 0c3fc547ebc6 [2023-03-21T05:03:06.664Z] Removing intermediate container 0c3fc547ebc6 [2023-03-21T05:03:06.664Z] ---> d9715445fbb5 [2023-03-21T05:03:06.664Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-21T05:03:06.664Z] ---> Running in 7917145b6e36 [2023-03-21T05:03:06.664Z] Removing intermediate container 7917145b6e36 [2023-03-21T05:03:06.664Z] ---> 888dc1873cd3 [2023-03-21T05:03:06.664Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-21T05:03:06.664Z] ---> Running in e6dec6c907c8 [2023-03-21T05:03:06.664Z] Removing intermediate container e6dec6c907c8 [2023-03-21T05:03:06.664Z] ---> be41158b7933 [2023-03-21T05:03:06.664Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-21T05:03:06.664Z] ---> Running in 8445a331417f [2023-03-21T05:03:07.232Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-21T05:03:07.232Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-21T05:03:07.490Z] OK: 265 MiB in 53 packages [2023-03-21T05:03:07.748Z] Removing intermediate container 8445a331417f [2023-03-21T05:03:07.748Z] ---> 89d678b1e537 [2023-03-21T05:03:07.748Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-21T05:03:07.748Z] ---> 4b9e6d3cf793 [2023-03-21T05:03:07.748Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T05:03:07.748Z] ---> Running in 79c5c7e0716f [2023-03-21T05:03:08.680Z] Removing intermediate container 79c5c7e0716f [2023-03-21T05:03:08.680Z] ---> 7d73f4f9b650 [2023-03-21T05:03:08.680Z] Step 9/23 : COPY . . [2023-03-21T05:03:09.247Z] ---> a2592a142bea [2023-03-21T05:03:09.247Z] Step 10/23 : RUN ${MAKE} [2023-03-21T05:03:09.507Z] ---> Running in cea589ac0859 [2023-03-21T05:03:09.766Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-03-21T05:03:31.688Z] Removing intermediate container cea589ac0859 [2023-03-21T05:03:31.688Z] ---> c7732dd94080 [2023-03-21T05:03:31.688Z] Step 11/23 : FROM alpine:3.17 [2023-03-21T05:03:31.946Z] 3.17: Pulling from library/alpine [2023-03-21T05:03:31.946Z] 63b65145d645: Already exists [2023-03-21T05:03:32.204Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-21T05:03:32.204Z] Status: Downloaded newer image for alpine:3.17 [2023-03-21T05:03:32.204Z] ---> b2aa39c304c2 [2023-03-21T05:03:32.204Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-21T05:03:32.770Z] ---> Running in 6903931a82ba [2023-03-21T05:03:33.030Z] Removing intermediate container 6903931a82ba [2023-03-21T05:03:33.030Z] ---> e0d82b43e2df [2023-03-21T05:03:33.030Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-21T05:03:33.598Z] ---> Running in f2959c392dbb [2023-03-21T05:03:34.535Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-21T05:03:34.535Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-21T05:03:34.794Z] OK: 7 MiB in 15 packages [2023-03-21T05:03:36.695Z] Removing intermediate container f2959c392dbb [2023-03-21T05:03:36.695Z] ---> 5f546503f3a0 [2023-03-21T05:03:36.695Z] Step 14/23 : WORKDIR / [2023-03-21T05:03:37.261Z] ---> Running in f2e46225af6e [2023-03-21T05:03:38.637Z] Removing intermediate container f2e46225af6e [2023-03-21T05:03:38.637Z] ---> a612f3c68bb2 [2023-03-21T05:03:38.637Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-21T05:03:38.637Z] ---> af075c895afa [2023-03-21T05:03:38.637Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-21T05:03:39.572Z] ---> a5c8dc972cb4 [2023-03-21T05:03:39.572Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-21T05:03:39.832Z] ---> b305caa0c17d [2023-03-21T05:03:39.832Z] Step 18/23 : EXPOSE 59999 [2023-03-21T05:03:39.832Z] ---> Running in bdf2c5a1133a [2023-03-21T05:03:39.832Z] Removing intermediate container bdf2c5a1133a [2023-03-21T05:03:39.832Z] ---> b5967dbe6c49 [2023-03-21T05:03:39.832Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-21T05:03:40.090Z] ---> Running in 1aa0eab84420 [2023-03-21T05:03:40.090Z] Removing intermediate container 1aa0eab84420 [2023-03-21T05:03:40.090Z] ---> 2c0e594f8d23 [2023-03-21T05:03:40.090Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-21T05:03:40.090Z] ---> Running in 32ce611648ea [2023-03-21T05:03:40.090Z] Removing intermediate container 32ce611648ea [2023-03-21T05:03:40.090Z] ---> ce4c528b93d5 [2023-03-21T05:03:40.090Z] Step 21/23 : LABEL arch=amd64 [2023-03-21T05:03:40.348Z] ---> Running in 47cd0ce6ad82 [2023-03-21T05:03:40.348Z] Removing intermediate container 47cd0ce6ad82 [2023-03-21T05:03:40.348Z] ---> 81873710c286 [2023-03-21T05:03:40.348Z] Step 22/23 : LABEL git_sha=4287b9ab51c67e5ea58d6c32bcabcbd70f200e1c [2023-03-21T05:03:40.348Z] ---> Running in 6d223afe20d1 [2023-03-21T05:03:40.348Z] Removing intermediate container 6d223afe20d1 [2023-03-21T05:03:40.348Z] ---> 751fe3c67bbc [2023-03-21T05:03:40.348Z] Step 23/23 : LABEL version=0.0.0 [2023-03-21T05:03:40.348Z] ---> Running in 5b495e8ad430 [2023-03-21T05:03:40.607Z] Removing intermediate container 5b495e8ad430 [2023-03-21T05:03:40.608Z] ---> 472690f4db39 [2023-03-21T05:03:40.608Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-21T05:03:40.608Z] Successfully built 472690f4db39 [2023-03-21T05:03:40.608Z] 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-03-21T05:03:41.409Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T05:03:41.409Z] [2023-03-21T05:03:41.409Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:03:41.780Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T05:03:41.780Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-21T05:03:41.780Z] 5eb5b503b376: Pulling fs layer [2023-03-21T05:03:41.780Z] 5c69ac0246d0: Pulling fs layer [2023-03-21T05:03:41.780Z] ec43610c2a17: Pulling fs layer [2023-03-21T05:03:41.780Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-21T05:03:41.780Z] 33b1e0a273af: Pulling fs layer [2023-03-21T05:03:41.780Z] 5d3b04190fa2: Pulling fs layer [2023-03-21T05:03:41.780Z] 2f39f015ded8: Pulling fs layer [2023-03-21T05:03:41.780Z] 33b1e0a273af: Waiting [2023-03-21T05:03:41.780Z] 5d3b04190fa2: Waiting [2023-03-21T05:03:41.780Z] 2f39f015ded8: Waiting [2023-03-21T05:03:41.780Z] 3a2ae6a8a46f: Waiting [2023-03-21T05:03:42.046Z] 5c69ac0246d0: Verifying Checksum [2023-03-21T05:03:42.046Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-21T05:03:42.046Z] 3a2ae6a8a46f: Download complete [2023-03-21T05:03:42.308Z] 33b1e0a273af: Verifying Checksum [2023-03-21T05:03:42.308Z] 33b1e0a273af: Download complete [2023-03-21T05:03:42.308Z] ec43610c2a17: Verifying Checksum [2023-03-21T05:03:42.308Z] ec43610c2a17: Download complete [2023-03-21T05:03:42.308Z] 5d3b04190fa2: Verifying Checksum [2023-03-21T05:03:42.308Z] 5d3b04190fa2: Download complete [2023-03-21T05:03:42.308Z] 5eb5b503b376: Download complete [2023-03-21T05:03:42.875Z] 2f39f015ded8: Download complete [2023-03-21T05:03:43.440Z] 5eb5b503b376: Pull complete [2023-03-21T05:03:43.697Z] 5c69ac0246d0: Pull complete [2023-03-21T05:03:44.262Z] ec43610c2a17: Pull complete [2023-03-21T05:03:44.262Z] 3a2ae6a8a46f: Pull complete [2023-03-21T05:03:44.520Z] 33b1e0a273af: Pull complete [2023-03-21T05:03:44.520Z] 5d3b04190fa2: Pull complete [2023-03-21T05:03:48.701Z] 2f39f015ded8: Pull complete [2023-03-21T05:03:48.701Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-21T05:03:48.701Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T05:03:48.701Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T05:03:48.919Z] prd-ubuntu20.04-docker-8c-8g-4726 does not seem to be running inside a container [2023-03-21T05:03:48.953Z] $ 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-1396 -v /w/workspace/gexfoundry_device-sdk-go_PR-1396:/w/workspace/gexfoundry_device-sdk-go_PR-1396:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1396@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1396@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-21T05:03:58.906Z] $ docker top dbfc819b0a0b817edadb872f5b507135a4d60070f00d04970c46ec578a8475f6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T05:03:59.340Z] ---> job-cost.sh [2023-03-21T05:03:59.340Z] lf-activate-venv: SKIPPING [2023-03-21T05:03:59.340Z] INFO: No Stack... [2023-03-21T05:03:59.907Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-21T05:04:00.166Z] INFO: Archiving Costs [Pipeline] sh [2023-03-21T05:04:00.479Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1396/archives/cost.csv [2023-03-21T05:04:00.479Z] + cut -d, -f6 [Pipeline] lock [2023-03-21T05:04:00.518Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1396-1-stack-cost] [2023-03-21T05:04:00.529Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1396-1-stack-cost] did not exist. Created. [2023-03-21T05:04:00.529Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1396-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-21T05:04:00.916Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-21T05:04:00.966Z] Stashed 1 file(s) [Pipeline] } [2023-03-21T05:04:00.993Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1396-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-21T05:04:01.075Z] $ docker stop --time=1 dbfc819b0a0b817edadb872f5b507135a4d60070f00d04970c46ec578a8475f6 [2023-03-21T05:04:02.236Z] $ docker rm -f --volumes dbfc819b0a0b817edadb872f5b507135a4d60070f00d04970c46ec578a8475f6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-21T05:04:09.289Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4732 in /w/workspace/gexfoundry_device-sdk-go_PR-1396 [Pipeline] { [Pipeline] ws [2023-03-21T05:04:09.348Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-03-21T05:04:09.427Z] The recommended git tool is: git [2023-03-21T05:04:18.852Z] using credential edgex-jenkins-ssh [2023-03-21T05:04:18.875Z] Cloning the remote Git repository [2023-03-21T05:04:18.974Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-03-21T05:04:19.175Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-03-21T05:04:19.599Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-21T05:04:19.601Z] > git --version # timeout=10 [2023-03-21T05:04:19.666Z] > git --version # 'git version 2.25.1' [2023-03-21T05:04:19.672Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-21T05:04:20.135Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-21T05:04:22.388Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-21T05:04:22.429Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-21T05:04:24.347Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-21T05:04:24.413Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-21T05:04:24.414Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-21T05:04:24.432Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1396/head:refs/remotes/origin/PR-1396 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-21T05:04:25.108Z] Merging remotes/origin/main commit c61610bbbff1187c8ac68f5c7e0a10add7b75ddb into PR head commit 4287b9ab51c67e5ea58d6c32bcabcbd70f200e1c [2023-03-21T05:04:25.685Z] Merge succeeded, producing 4287b9ab51c67e5ea58d6c32bcabcbd70f200e1c [2023-03-21T05:04:25.685Z] Checking out Revision 4287b9ab51c67e5ea58d6c32bcabcbd70f200e1c (PR-1396) [2023-03-21T05:04:25.127Z] > git config core.sparsecheckout # timeout=10 [2023-03-21T05:04:25.227Z] > git checkout -f 4287b9ab51c67e5ea58d6c32bcabcbd70f200e1c # timeout=10 [2023-03-21T05:04:25.411Z] > git remote # timeout=10 [2023-03-21T05:04:25.469Z] > git config --get remote.origin.url # timeout=10 [2023-03-21T05:04:25.495Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-21T05:04:25.516Z] > git merge c61610bbbff1187c8ac68f5c7e0a10add7b75ddb # timeout=10 [2023-03-21T05:04:25.599Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-21T05:04:25.706Z] > git config core.sparsecheckout # timeout=10 [2023-03-21T05:04:25.769Z] > git checkout -f 4287b9ab51c67e5ea58d6c32bcabcbd70f200e1c # timeout=10 [2023-03-21T05:04:26.555Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3" [2023-03-21T05:04:26.627Z] > git --version # timeout=10 [2023-03-21T05:04:26.650Z] > git --version # 'git version 2.25.1' [2023-03-21T05:04:26.670Z] fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-21T05:04:27.847Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-21T05:04:27.847Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-21T05:04:27.847Z] Dload Upload Total Spent Left Speed [2023-03-21T05:04:27.847Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 211k 0 --:--:-- --:--:-- --:--:-- 211k [Pipeline] sh [2023-03-21T05:04:28.649Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-21T05:04:29.029Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-21T05:04:29.029Z] + sudo tee /etc/docker/daemon.new [2023-03-21T05:04:29.029Z] { [2023-03-21T05:04:29.029Z] "registry-mirrors": [ [2023-03-21T05:04:29.029Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-21T05:04:29.029Z] ], [2023-03-21T05:04:29.029Z] "bip": "10.250.0.254/24", [2023-03-21T05:04:29.029Z] "hosts": [ [2023-03-21T05:04:29.029Z] "tcp://0.0.0.0:5555", [2023-03-21T05:04:29.029Z] "unix:///var/run/docker.sock" [2023-03-21T05:04:29.029Z] ], [2023-03-21T05:04:29.029Z] "mtu": 1458, [2023-03-21T05:04:29.029Z] "selinux-enabled": true, [2023-03-21T05:04:29.029Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-21T05:04:29.029Z] } [Pipeline] sh [2023-03-21T05:04:29.390Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-21T05:04:29.758Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-21T05:04:48.135Z] provisioning config files... [2023-03-21T05:04:48.169Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config13707499882392907301tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T05:04:48.797Z] ---> docker-login.sh [2023-03-21T05:04:48.797Z] nexus3.edgexfoundry.org:10001 [2023-03-21T05:04:49.088Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:04:49.368Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:04:49.368Z] Configure a credential helper to remove this warning. See [2023-03-21T05:04:49.368Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:04:49.368Z] [2023-03-21T05:04:49.368Z] Login Succeeded [2023-03-21T05:04:49.368Z] nexus3.edgexfoundry.org:10002 [2023-03-21T05:04:49.642Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:04:49.642Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:04:49.642Z] Configure a credential helper to remove this warning. See [2023-03-21T05:04:49.642Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:04:49.642Z] [2023-03-21T05:04:49.642Z] Login Succeeded [2023-03-21T05:04:49.642Z] nexus3.edgexfoundry.org:10003 [2023-03-21T05:04:49.918Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:04:50.199Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:04:50.199Z] Configure a credential helper to remove this warning. See [2023-03-21T05:04:50.199Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:04:50.199Z] [2023-03-21T05:04:50.199Z] Login Succeeded [2023-03-21T05:04:50.199Z] nexus3.edgexfoundry.org:10004 [2023-03-21T05:04:50.482Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:04:50.482Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:04:50.482Z] Configure a credential helper to remove this warning. See [2023-03-21T05:04:50.482Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:04:50.482Z] [2023-03-21T05:04:50.482Z] Login Succeeded [2023-03-21T05:04:50.482Z] docker.io [2023-03-21T05:04:50.758Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:04:51.032Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:04:51.032Z] Configure a credential helper to remove this warning. See [2023-03-21T05:04:51.032Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:04:51.032Z] [2023-03-21T05:04:51.032Z] Login Succeeded [2023-03-21T05:04:51.032Z] ---> docker-login.sh ends [Pipeline] } [2023-03-21T05:04:51.067Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-21T05:04:51.503Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T05:04:51.538Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T05:04:51.573Z] ========================================================= [2023-03-21T05:04:51.574Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-21T05:04:51.574Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:04:52.079Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-21T05:04:52.702Z] Sending build context to Docker daemon 5.794MB [2023-03-21T05:04:52.702Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-21T05:04:52.702Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-21T05:04:52.702Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-21T05:04:52.702Z] af6eaf76a39c: Pulling fs layer [2023-03-21T05:04:52.702Z] 55522c791124: Pulling fs layer [2023-03-21T05:04:52.702Z] ce5c4a1c91eb: Pulling fs layer [2023-03-21T05:04:52.702Z] 169dfbe0d373: Pulling fs layer [2023-03-21T05:04:52.702Z] e1ff8fa3b103: Pulling fs layer [2023-03-21T05:04:52.702Z] 52ebb69f0ebf: Pulling fs layer [2023-03-21T05:04:52.702Z] 5abe8eddf0d5: Pulling fs layer [2023-03-21T05:04:52.702Z] 169dfbe0d373: Waiting [2023-03-21T05:04:52.702Z] e1ff8fa3b103: Waiting [2023-03-21T05:04:52.702Z] 52ebb69f0ebf: Waiting [2023-03-21T05:04:52.702Z] 5abe8eddf0d5: Waiting [2023-03-21T05:04:52.987Z] 55522c791124: Verifying Checksum [2023-03-21T05:04:52.987Z] 55522c791124: Download complete [2023-03-21T05:04:52.987Z] 169dfbe0d373: Verifying Checksum [2023-03-21T05:04:52.987Z] 169dfbe0d373: Download complete [2023-03-21T05:04:52.987Z] e1ff8fa3b103: Verifying Checksum [2023-03-21T05:04:52.987Z] e1ff8fa3b103: Download complete [2023-03-21T05:04:52.987Z] af6eaf76a39c: Download complete [2023-03-21T05:04:54.430Z] af6eaf76a39c: Pull complete [2023-03-21T05:04:54.430Z] 5abe8eddf0d5: Verifying Checksum [2023-03-21T05:04:54.430Z] 5abe8eddf0d5: Download complete [2023-03-21T05:04:54.704Z] 55522c791124: Pull complete [2023-03-21T05:04:55.686Z] ce5c4a1c91eb: Verifying Checksum [2023-03-21T05:04:55.686Z] ce5c4a1c91eb: Download complete [2023-03-21T05:04:56.053Z] 52ebb69f0ebf: Verifying Checksum [2023-03-21T05:04:56.053Z] 52ebb69f0ebf: Download complete [2023-03-21T05:05:08.466Z] ce5c4a1c91eb: Pull complete [2023-03-21T05:05:08.466Z] 169dfbe0d373: Pull complete [2023-03-21T05:05:08.466Z] e1ff8fa3b103: Pull complete [2023-03-21T05:05:15.182Z] 52ebb69f0ebf: Pull complete [2023-03-21T05:05:17.130Z] 5abe8eddf0d5: Pull complete [2023-03-21T05:05:17.130Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-21T05:05:17.130Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-21T05:05:17.130Z] ---> 6cb57ee374ae [2023-03-21T05:05:17.130Z] Step 3/10 : ARG MAKE=make build [2023-03-21T05:05:19.087Z] ---> Running in b7b68dfd134f [2023-03-21T05:05:19.675Z] Removing intermediate container b7b68dfd134f [2023-03-21T05:05:19.675Z] ---> 66112fa81e22 [2023-03-21T05:05:19.675Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-21T05:05:19.675Z] ---> Running in 56029a129515 [2023-03-21T05:05:19.949Z] Removing intermediate container 56029a129515 [2023-03-21T05:05:19.949Z] ---> 83dbe295d7f2 [2023-03-21T05:05:19.949Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-21T05:05:19.949Z] ---> Running in 97fe92ce6662 [2023-03-21T05:05:20.218Z] Removing intermediate container 97fe92ce6662 [2023-03-21T05:05:20.218Z] ---> f0fb92df4e29 [2023-03-21T05:05:20.218Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-21T05:05:20.487Z] ---> Running in eaf63a187b27 [2023-03-21T05:05:21.488Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-21T05:05:22.454Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-21T05:05:23.430Z] OK: 263 MiB in 53 packages [2023-03-21T05:05:24.404Z] Removing intermediate container eaf63a187b27 [2023-03-21T05:05:24.404Z] ---> b65798e0588e [2023-03-21T05:05:24.404Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-21T05:05:24.689Z] ---> 0b62ddbead61 [2023-03-21T05:05:24.689Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T05:05:24.958Z] ---> Running in f0bc583226a2 [2023-03-21T05:06:24.479Z] Removing intermediate container f0bc583226a2 [2023-03-21T05:06:24.479Z] ---> 362965082029 [2023-03-21T05:06:24.479Z] Step 9/10 : COPY . . [2023-03-21T05:06:25.453Z] ---> b11de35f21bb [2023-03-21T05:06:25.453Z] Step 10/10 : RUN ${MAKE} [2023-03-21T05:06:25.453Z] ---> Running in 0b92d8c08740 [2023-03-21T05:06:26.421Z] noop [2023-03-21T05:06:27.842Z] Removing intermediate container 0b92d8c08740 [2023-03-21T05:06:27.842Z] ---> 2b5813555d89 [2023-03-21T05:06:27.842Z] Successfully built 2b5813555d89 [2023-03-21T05:06:27.842Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:06:28.339Z] + docker inspect -f . ci-base-image-arm64 [2023-03-21T05:06:28.339Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T05:06:28.644Z] prd-ubuntu20.04-docker-arm64-4c-16g-4732 does not seem to be running inside a container [2023-03-21T05:06:28.717Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-21T05:06:30.010Z] $ docker top eae4839321c3a3c1b2382cade8533a16e25ed2a20a94ad90024a39480df1404c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T05:06:30.913Z] + go version [2023-03-21T05:06:30.913Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-21T05:06:30.948Z] $ docker stop --time=1 eae4839321c3a3c1b2382cade8533a16e25ed2a20a94ad90024a39480df1404c [2023-03-21T05:06:32.648Z] $ docker rm -f --volumes eae4839321c3a3c1b2382cade8533a16e25ed2a20a94ad90024a39480df1404c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:06:33.522Z] + docker inspect -f . ci-base-image-arm64 [2023-03-21T05:06:33.522Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T05:06:33.805Z] prd-ubuntu20.04-docker-arm64-4c-16g-4732 does not seem to be running inside a container [2023-03-21T05:06:33.877Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-21T05:06:35.149Z] $ docker top 35a45049ddef744a8bcdb457bb980c6a936b9da5c87269a0af1c9c1ad320598a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T05:06:36.064Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-03-21T05:06:36.775Z] + make test [2023-03-21T05:06:36.776Z] go test -race -coverprofile=coverage.out ./... [2023-03-21T05:07:23.654Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-21T05:09:30.378Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-21T05:09:30.378Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-21T05:09:30.378Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-21T05:09:30.378Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-21T05:09:30.378Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-21T05:09:40.474Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.252s coverage: 27.6% of statements [2023-03-21T05:09:40.743Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.293s coverage: 78.9% of statements [2023-03-21T05:09:53.078Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-21T05:09:53.078Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-21T05:09:53.078Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.398s coverage: 86.0% of statements [2023-03-21T05:09:57.362Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-21T05:09:57.363Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-21T05:09:57.363Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.561s coverage: 75.9% of statements [2023-03-21T05:10:00.722Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.290s coverage: 15.2% of statements [2023-03-21T05:10:02.680Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-21T05:10:02.680Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-21T05:10:03.271Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.490s coverage: 65.7% of statements [2023-03-21T05:10:05.235Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.528s coverage: 89.2% of statements [2023-03-21T05:10:08.624Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-21T05:10:08.895Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.268s coverage: 5.5% of statements [2023-03-21T05:10:09.869Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-21T05:10:09.869Z] GO111MODULE=on go vet ./... [2023-03-21T05:13:01.711Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-21T05:13:01.711Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-21T05:13:01.711Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-21T05:13:01.751Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-21T05:13:01.777Z] $ docker stop --time=1 35a45049ddef744a8bcdb457bb980c6a936b9da5c87269a0af1c9c1ad320598a [2023-03-21T05:13:03.767Z] $ docker rm -f --volumes 35a45049ddef744a8bcdb457bb980c6a936b9da5c87269a0af1c9c1ad320598a [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-21T05:13:05.584Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-21T05:13:05.618Z] Warning: overwriting stash ‘coverage-report’ [2023-03-21T05:13:06.286Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-21T05:13:06.874Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-21T05:13:07.220Z] + ls -al . [2023-03-21T05:13:07.221Z] total 272 [2023-03-21T05:13:07.221Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 21 05:06 . [2023-03-21T05:13:07.221Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 05:04 .. [2023-03-21T05:13:07.221Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 21 05:04 .dockerignore [2023-03-21T05:13:07.221Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 05:04 .git [2023-03-21T05:13:07.221Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 05:04 .github [2023-03-21T05:13:07.221Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 21 05:04 .gitignore [2023-03-21T05:13:07.221Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 21 05:04 .golangci.yml [2023-03-21T05:13:07.221Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 21 05:04 CHANGELOG.md [2023-03-21T05:13:07.221Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 05:04 GOVERNANCE.md [2023-03-21T05:13:07.221Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 21 05:04 Jenkinsfile [2023-03-21T05:13:07.221Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 21 05:04 LICENSE [2023-03-21T05:13:07.221Z] -rw-rw-r-- 1 jenkins jenkins 1714 Mar 21 05:04 Makefile [2023-03-21T05:13:07.221Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 21 05:04 OWNERS.md [2023-03-21T05:13:07.221Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 21 05:04 README.md [2023-03-21T05:13:07.221Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 05:01 VERSION [2023-03-21T05:13:07.221Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 05:04 bin [2023-03-21T05:13:07.221Z] -rw-r--r-- 1 jenkins jenkins 109536 Mar 21 05:10 coverage.out [2023-03-21T05:13:07.221Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 21 05:04 example [2023-03-21T05:13:07.221Z] -rw-rw-r-- 1 jenkins jenkins 3291 Mar 21 05:04 go.mod [2023-03-21T05:13:07.221Z] -rw-rw-r-- 1 jenkins jenkins 30779 Mar 21 05:04 go.sum [2023-03-21T05:13:07.221Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 21 05:04 internal [2023-03-21T05:13:07.221Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 05:04 openapi [2023-03-21T05:13:07.221Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 21 05:04 pkg [2023-03-21T05:13:07.221Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 05:04 snap [2023-03-21T05:13:07.221Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 21 05:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:13:07.641Z] + 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=4287b9ab51c67e5ea58d6c32bcabcbd70f200e1c --label arch=arm64 --label version=0.0.0 . [2023-03-21T05:13:08.232Z] Sending build context to Docker daemon 5.904MB [2023-03-21T05:13:08.233Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-03-21T05:13:08.233Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-21T05:13:08.233Z] ---> 2b5813555d89 [2023-03-21T05:13:08.233Z] Step 3/23 : ARG MAKE=make build [2023-03-21T05:13:08.233Z] ---> Running in 372fe4dfb82d [2023-03-21T05:13:08.825Z] Removing intermediate container 372fe4dfb82d [2023-03-21T05:13:08.825Z] ---> 809d58975ae8 [2023-03-21T05:13:08.825Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-21T05:13:08.825Z] ---> Running in d7d8f51111ad [2023-03-21T05:13:09.093Z] Removing intermediate container d7d8f51111ad [2023-03-21T05:13:09.093Z] ---> 0a15b6216083 [2023-03-21T05:13:09.093Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-21T05:13:09.093Z] ---> Running in 9fa0f656c3c6 [2023-03-21T05:13:09.682Z] Removing intermediate container 9fa0f656c3c6 [2023-03-21T05:13:09.682Z] ---> 450f9aae962f [2023-03-21T05:13:09.682Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-21T05:13:09.682Z] ---> Running in edc7815063e8 [2023-03-21T05:13:10.649Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-21T05:13:11.616Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-21T05:13:12.579Z] OK: 263 MiB in 53 packages [2023-03-21T05:13:16.975Z] Removing intermediate container edc7815063e8 [2023-03-21T05:13:16.975Z] ---> a434b0af3ba8 [2023-03-21T05:13:16.975Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-21T05:13:17.267Z] ---> 12791406e718 [2023-03-21T05:13:17.267Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T05:13:17.542Z] ---> Running in 41f641d27184 [2023-03-21T05:13:20.902Z] Removing intermediate container 41f641d27184 [2023-03-21T05:13:20.902Z] ---> 5de5fa79b862 [2023-03-21T05:13:20.902Z] Step 9/23 : COPY . . [2023-03-21T05:13:21.489Z] ---> 31ba1d5ec545 [2023-03-21T05:13:21.489Z] Step 10/23 : RUN ${MAKE} [2023-03-21T05:13:21.756Z] ---> Running in df553525af17 [2023-03-21T05:13:22.722Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-03-21T05:15:59.467Z] Removing intermediate container df553525af17 [2023-03-21T05:15:59.467Z] ---> c7e2b2a71a39 [2023-03-21T05:15:59.467Z] Step 11/23 : FROM alpine:3.17 [2023-03-21T05:15:59.467Z] 3.17: Pulling from library/alpine [2023-03-21T05:15:59.467Z] af6eaf76a39c: Already exists [2023-03-21T05:15:59.467Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-21T05:15:59.467Z] Status: Downloaded newer image for alpine:3.17 [2023-03-21T05:15:59.467Z] ---> d74e625d9115 [2023-03-21T05:15:59.467Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-21T05:15:59.467Z] ---> Running in 6b45080bebc3 [2023-03-21T05:15:59.467Z] Removing intermediate container 6b45080bebc3 [2023-03-21T05:15:59.467Z] ---> 982946a1dac7 [2023-03-21T05:15:59.467Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-21T05:15:59.467Z] ---> Running in 4cc1bcc89121 [2023-03-21T05:15:59.467Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-21T05:15:59.467Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-21T05:15:59.467Z] OK: 7 MiB in 15 packages [2023-03-21T05:15:59.467Z] Removing intermediate container 4cc1bcc89121 [2023-03-21T05:15:59.467Z] ---> 45023e99efbf [2023-03-21T05:15:59.467Z] Step 14/23 : WORKDIR / [2023-03-21T05:15:59.467Z] ---> Running in f9815eb8a231 [2023-03-21T05:15:59.467Z] Removing intermediate container f9815eb8a231 [2023-03-21T05:15:59.467Z] ---> b334ec3b4e6a [2023-03-21T05:15:59.467Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-21T05:15:59.467Z] ---> 2bf4568edc66 [2023-03-21T05:15:59.467Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-21T05:15:59.467Z] ---> 3c1abe14ab60 [2023-03-21T05:15:59.467Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-21T05:15:59.467Z] ---> ebdd55ff3a77 [2023-03-21T05:15:59.467Z] Step 18/23 : EXPOSE 59999 [2023-03-21T05:15:59.467Z] ---> Running in 091a3f4d7f50 [2023-03-21T05:15:59.467Z] Removing intermediate container 091a3f4d7f50 [2023-03-21T05:15:59.467Z] ---> 872b64b3c6c4 [2023-03-21T05:15:59.467Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-21T05:15:59.467Z] ---> Running in db96ed088539 [2023-03-21T05:15:59.467Z] Removing intermediate container db96ed088539 [2023-03-21T05:15:59.467Z] ---> cb91ee2bc772 [2023-03-21T05:15:59.467Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-21T05:15:59.467Z] ---> Running in 0daf9fbe5652 [2023-03-21T05:15:59.467Z] Removing intermediate container 0daf9fbe5652 [2023-03-21T05:15:59.467Z] ---> 050b91f4278a [2023-03-21T05:15:59.467Z] Step 21/23 : LABEL arch=arm64 [2023-03-21T05:15:59.467Z] ---> Running in bc6fd50157b4 [2023-03-21T05:15:59.467Z] Removing intermediate container bc6fd50157b4 [2023-03-21T05:15:59.467Z] ---> 024deb350b3b [2023-03-21T05:15:59.467Z] Step 22/23 : LABEL git_sha=4287b9ab51c67e5ea58d6c32bcabcbd70f200e1c [2023-03-21T05:15:59.467Z] ---> Running in 9f238379c2d6 [2023-03-21T05:15:59.467Z] Removing intermediate container 9f238379c2d6 [2023-03-21T05:15:59.467Z] ---> d173c4a7d294 [2023-03-21T05:15:59.467Z] Step 23/23 : LABEL version=0.0.0 [2023-03-21T05:15:59.467Z] ---> Running in 3e6040c2d2fa [2023-03-21T05:15:59.467Z] Removing intermediate container 3e6040c2d2fa [2023-03-21T05:15:59.467Z] ---> e42f67018278 [2023-03-21T05:15:59.467Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-21T05:15:59.467Z] Successfully built e42f67018278 [2023-03-21T05:15:59.467Z] 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-03-21T05:16:00.273Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-21T05:16:00.273Z] [2023-03-21T05:16:00.273Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:16:00.679Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-21T05:16:00.679Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-21T05:16:00.679Z] 8998bd30e6a1: Pulling fs layer [2023-03-21T05:16:00.680Z] 04944245beec: Pulling fs layer [2023-03-21T05:16:00.680Z] 699f458cf7ca: Pulling fs layer [2023-03-21T05:16:00.680Z] 765212b225bb: Pulling fs layer [2023-03-21T05:16:00.680Z] f23df028b6ca: Pulling fs layer [2023-03-21T05:16:00.680Z] d65c8cfc05b1: Pulling fs layer [2023-03-21T05:16:00.680Z] 2437ff75d9bd: Pulling fs layer [2023-03-21T05:16:00.680Z] f23df028b6ca: Waiting [2023-03-21T05:16:00.680Z] d65c8cfc05b1: Waiting [2023-03-21T05:16:00.680Z] 765212b225bb: Waiting [2023-03-21T05:16:00.680Z] 2437ff75d9bd: Waiting [2023-03-21T05:16:00.949Z] 04944245beec: Verifying Checksum [2023-03-21T05:16:00.949Z] 04944245beec: Download complete [2023-03-21T05:16:00.949Z] 765212b225bb: Download complete [2023-03-21T05:16:00.949Z] f23df028b6ca: Verifying Checksum [2023-03-21T05:16:00.949Z] f23df028b6ca: Download complete [2023-03-21T05:16:00.949Z] d65c8cfc05b1: Verifying Checksum [2023-03-21T05:16:00.949Z] d65c8cfc05b1: Download complete [2023-03-21T05:16:01.217Z] 699f458cf7ca: Verifying Checksum [2023-03-21T05:16:01.217Z] 699f458cf7ca: Download complete [2023-03-21T05:16:01.484Z] 8998bd30e6a1: Verifying Checksum [2023-03-21T05:16:01.484Z] 8998bd30e6a1: Download complete [2023-03-21T05:16:04.072Z] 2437ff75d9bd: Verifying Checksum [2023-03-21T05:16:04.072Z] 2437ff75d9bd: Download complete [2023-03-21T05:16:05.031Z] 8998bd30e6a1: Pull complete [2023-03-21T05:16:05.613Z] 04944245beec: Pull complete [2023-03-21T05:16:07.016Z] 699f458cf7ca: Pull complete [2023-03-21T05:16:07.016Z] 765212b225bb: Pull complete [2023-03-21T05:16:07.598Z] f23df028b6ca: Pull complete [2023-03-21T05:16:07.865Z] d65c8cfc05b1: Pull complete [2023-03-21T05:16:20.161Z] 2437ff75d9bd: Pull complete [2023-03-21T05:16:20.161Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-21T05:16:20.161Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-21T05:16:20.161Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T05:16:20.543Z] prd-ubuntu20.04-docker-arm64-4c-16g-4732 does not seem to be running inside a container [2023-03-21T05:16:20.597Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-21T05:16:23.045Z] $ docker top 93ddc6781a0d155d6250dde694347079501ae87c4cc3467c451d85995af94a2b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T05:16:23.636Z] ---> job-cost.sh [2023-03-21T05:16:23.903Z] lf-activate-venv: SKIPPING [2023-03-21T05:16:23.903Z] INFO: No Stack... [2023-03-21T05:16:24.484Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-21T05:16:25.063Z] INFO: Archiving Costs [Pipeline] sh [2023-03-21T05:16:25.402Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2023-03-21T05:16:25.402Z] + cut -d, -f6 [Pipeline] lock [2023-03-21T05:16:25.489Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1396-1-stack-cost] [2023-03-21T05:16:25.494Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1396-1-stack-cost] did not exist. Created. [2023-03-21T05:16:25.494Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1396-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-21T05:16:25.905Z] /w/workspace/device-sdk-go/1@tmp/durable-f1786931/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-21T05:16:26.253Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-21T05:16:26.292Z] Warning: overwriting stash ‘stack-cost’ [2023-03-21T05:16:26.350Z] Stashed 1 file(s) [Pipeline] } [2023-03-21T05:16:26.365Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1396-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-21T05:16:26.440Z] $ docker stop --time=1 93ddc6781a0d155d6250dde694347079501ae87c4cc3467c451d85995af94a2b [2023-03-21T05:16:27.902Z] $ docker rm -f --volumes 93ddc6781a0d155d6250dde694347079501ae87c4cc3467c451d85995af94a2b [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-03-21T05:16:28.836Z] provisioning config files... [2023-03-21T05:16:28.843Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1396@tmp/config13397242348924770102tmp [Pipeline] { [Pipeline] sh [2023-03-21T05:16:29.181Z] + set +x [2023-03-21T05:16:29.181Z] + bash -s -- [2023-03-21T05:16:29.181Z] + curl -s https://codecov.io/bash [2023-03-21T05:16:29.181Z] [2023-03-21T05:16:29.181Z] _____ _ [2023-03-21T05:16:29.181Z] / ____| | | [2023-03-21T05:16:29.181Z] | | ___ __| | ___ ___ _____ __ [2023-03-21T05:16:29.181Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-21T05:16:29.181Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-21T05:16:29.181Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-21T05:16:29.181Z] Bash-1.0.6 [2023-03-21T05:16:29.181Z] [2023-03-21T05:16:29.181Z] [2023-03-21T05:16:29.181Z] ==> git version 2.25.1 found [2023-03-21T05:16:29.181Z] ==> 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-03-21T05:16:29.181Z] Release-Date: 2020-01-08 [2023-03-21T05:16:29.181Z] 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-03-21T05:16:29.181Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-21T05:16:29.181Z] ==> Jenkins CI detected. [2023-03-21T05:16:29.181Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1396 [2023-03-21T05:16:29.181Z] project root: . [2023-03-21T05:16:29.181Z] --> token set from env [2023-03-21T05:16:29.181Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-21T05:16:29.181Z] ==> Running gcov in . (disable via -X gcov) [2023-03-21T05:16:29.181Z] ==> Python coveragepy not found [2023-03-21T05:16:29.181Z] ==> Searching for coverage reports in: [2023-03-21T05:16:29.181Z] + . [2023-03-21T05:16:29.181Z] -> Found 1 reports [2023-03-21T05:16:29.181Z] ==> Detecting git/mercurial file structure [2023-03-21T05:16:29.181Z] ==> Reading reports [2023-03-21T05:16:29.181Z] + ./coverage.out bytes=109536 [2023-03-21T05:16:29.181Z] ==> Appending adjustments [2023-03-21T05:16:29.181Z] https://docs.codecov.io/docs/fixing-reports [2023-03-21T05:16:29.441Z] + Found adjustments [2023-03-21T05:16:29.441Z] ==> Gzipping contents [2023-03-21T05:16:29.441Z] 16K /tmp/codecov.qDSI1j.gz [2023-03-21T05:16:29.441Z] ==> Uploading reports [2023-03-21T05:16:29.441Z] url: https://codecov.io [2023-03-21T05:16:29.441Z] query: branch=PR-1396&commit=4287b9ab51c67e5ea58d6c32bcabcbd70f200e1c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1396%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1396&job=&cmd_args= [2023-03-21T05:16:29.700Z] -> Pinging Codecov [2023-03-21T05:16:29.700Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1396&commit=4287b9ab51c67e5ea58d6c32bcabcbd70f200e1c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1396%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1396&job=&cmd_args= [2023-03-21T05:16:29.700Z] -> Uploading to [2023-03-21T05:16:29.700Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-21/7E55EF52A471D76F132DFD9A03CDDE97/4287b9ab51c67e5ea58d6c32bcabcbd70f200e1c/a97d214b-a727-4cd1-ad36-12ceb1e3ffe2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230321%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230321T051629Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c79402ac4520bda42410c1ead8deb08eb2a387cdfbdbe65526481112e2fb3a8f [2023-03-21T05:16:29.700Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-21T05:16:29.700Z] Dload Upload Total Spent Left Speed [2023-03-21T05:16:29.960Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15212 0 0 100 15212 0 58507 --:--:-- --:--:-- --:--:-- 58507 [2023-03-21T05:16:29.960Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/4287b9ab51c67e5ea58d6c32bcabcbd70f200e1c [Pipeline] } [2023-03-21T05:16:29.987Z] 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-03-21T05:16:31.797Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1396/archives ] [2023-03-21T05:16:31.798Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1396/archives [2023-03-21T05:16:31.798Z] total 16 [2023-03-21T05:16:31.798Z] drwxr-xr-x 3 root root 4096 Mar 21 05:04 . [2023-03-21T05:16:31.798Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 21 05:04 .. [2023-03-21T05:16:31.798Z] drwxr-xr-x 2 root root 4096 Mar 21 05:04 cost [2023-03-21T05:16:31.798Z] -rw-r--r-- 1 root root 86 Mar 21 05:04 cost.csv [2023-03-21T05:16:31.798Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1396/archives [2023-03-21T05:16:31.798Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1396/archives [2023-03-21T05:16:31.798Z] total 16 [2023-03-21T05:16:31.798Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 05:04 . [2023-03-21T05:16:31.798Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 21 05:04 .. [2023-03-21T05:16:31.798Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 21 05:04 cost [2023-03-21T05:16:31.798Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 21 05:04 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-21T05:16:32.125Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T05:16:33.002Z] ---> package-listing.sh [2023-03-21T05:16:33.002Z] ++ facter osfamily [2023-03-21T05:16:33.002Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-21T05:16:33.262Z] + OS_FAMILY=debian [2023-03-21T05:16:33.262Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1396 [2023-03-21T05:16:33.262Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-21T05:16:33.262Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-21T05:16:33.262Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-21T05:16:33.262Z] + PACKAGES=/tmp/packages_start.txt [2023-03-21T05:16:33.262Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1396 ']' [2023-03-21T05:16:33.262Z] + PACKAGES=/tmp/packages_end.txt [2023-03-21T05:16:33.262Z] + case "${OS_FAMILY}" in [2023-03-21T05:16:33.262Z] + dpkg -l [2023-03-21T05:16:33.262Z] + grep '^ii' [2023-03-21T05:16:33.262Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-21T05:16:33.262Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-21T05:16:33.262Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-21T05:16:33.262Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1396 ']' [2023-03-21T05:16:33.262Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1396/archives/ [2023-03-21T05:16:33.262Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1396/archives/ [Pipeline] echo [2023-03-21T05:16:33.297Z] 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-1396/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-21T05:16:33.590Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:16:34.216Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T05:16:34.216Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T05:16:34.359Z] prd-ubuntu20.04-docker-8c-8g-4726 does not seem to be running inside a container [2023-03-21T05:16:34.384Z] $ 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-1396/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-1396 -v /w/workspace/gexfoundry_device-sdk-go_PR-1396:/w/workspace/gexfoundry_device-sdk-go_PR-1396:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1396@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1396@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-21T05:16:34.641Z] $ docker top 26a5b1163a1776949115be7c8d56eaf75d311c166319b85ae03e0c8fcf4b8d52 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T05:16:35.030Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-21T05:16:35.342Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-21T05:16:35.655Z] + ls /var/log/sa-host [2023-03-21T05:16:35.655Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-21T05:16:35.787Z] provisioning config files... [2023-03-21T05:16:35.795Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1396@tmp/config12475390775312216584tmp [Pipeline] { [Pipeline] echo [2023-03-21T05:16:35.853Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T05:16:36.174Z] ---> create-netrc.sh [Pipeline] } [2023-03-21T05:16:36.202Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-21T05:16:36.604Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-21T05:16:36.636Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T05:16:36.958Z] ---> sudo-logs.sh [2023-03-21T05:16:36.958Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-21T05:16:37.048Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T05:16:37.362Z] ---> job-cost.sh [2023-03-21T05:16:37.362Z] lf-activate-venv: SKIPPING [2023-03-21T05:16:37.362Z] DEBUG: total: 0.2199999988079071 [2023-03-21T05:16:37.362Z] INFO: Retrieving Stack Cost... [2023-03-21T05:16:37.622Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-21T05:16:38.191Z] INFO: Archiving Costs [Pipeline] echo [2023-03-21T05:16:38.228Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T05:16:38.542Z] ---> logs-deploy.sh [2023-03-21T05:16:38.543Z] lf-activate-venv: SKIPPING [2023-03-21T05:16:38.543Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1396/1 [2023-03-21T05:16:38.543Z] INFO: archiving workspace using pattern(s): [2023-03-21T05:16:39.480Z] Archives upload complete. [2023-03-21T05:16:39.480Z] INFO: archiving logs to Nexus