Pull request #1379 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 39900c86f6a3830286734405649ec7a633f0c638+92ae96e570b0e90887048770798fafa65e025b58 (d059cbf059faf059d3eef72bcf9ed36c6fd95a0b) 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-ssh10356511957280798564.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-ssh13356277201469718002.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1379/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1379/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17134314737541861461.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 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-ssh17886839754445107396.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1379/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1379/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10676507908437633779.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-5116 in /w/workspace/gexfoundry_device-sdk-go_PR-1379 [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-1379 # 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/1379/head:refs/remotes/origin/PR-1379 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 92ae96e570b0e90887048770798fafa65e025b58 into PR head commit 39900c86f6a3830286734405649ec7a633f0c638 Merge succeeded, producing 39900c86f6a3830286734405649ec7a633f0c638 Checking out Revision 39900c86f6a3830286734405649ec7a633f0c638 (PR-1379) > git config core.sparsecheckout # timeout=10 > git checkout -f 39900c86f6a3830286734405649ec7a633f0c638 # 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 92ae96e570b0e90887048770798fafa65e025b58 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 39900c86f6a3830286734405649ec7a633f0c638 # timeout=10 Commit message: "feat: enable regex for executing GET command" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-22T04:34:57.586Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-22T04:34:57.650Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-22T04:34:57.670Z] ========================================================= [2023-03-22T04:34:57.670Z] EdgeX Global Pipelines Version Info [2023-03-22T04:34:57.670Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-22T04:34:58.373Z] ------------------- [2023-03-22T04:34:58.373Z] stable info: [2023-03-22T04:34:58.373Z] ------------------- [2023-03-22T04:34:58.373Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-22T04:34:58.373Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-22T04:34:58.373Z] Message: update stable to v1.0.245 > git rev-list --no-walk d485168dc6a378f4145ae0d9e220042ff0b10d55 # timeout=10 [2023-03-22T04:34:58.941Z] ------------------- [2023-03-22T04:34:58.941Z] experimental info: [2023-03-22T04:34:58.941Z] ------------------- [2023-03-22T04:34:58.941Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-22T04:34:58.941Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-22T04:34:58.941Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-22T04:34:59.112Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-03-22T04:34:59.122Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-03-22T04:34:59.133Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-22T04:34:59.145Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-22T04:34:59.158Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-22T04:34:59.171Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-22T04:34:59.184Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-22T04:34:59.194Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-03-22T04:34:59.211Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-22T04:34:59.225Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-22T04:34:59.235Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-22T04:34:59.245Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-03-22T04:34:59.256Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-22T04:34:59.264Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-22T04:34:59.274Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-22T04:34:59.283Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-03-22T04:34:59.292Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-22T04:34:59.301Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-22T04:34:59.311Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-22T04:34:59.320Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-22T04:34:59.330Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-22T04:34:59.342Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-03-22T04:34:59.350Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-22T04:34:59.359Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-22T04:34:59.368Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-22T04:34:59.378Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-22T04:34:59.387Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-22T04:34:59.396Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1379 [Pipeline] echo [2023-03-22T04:34:59.406Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1379 [Pipeline] echo [2023-03-22T04:34:59.415Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1379 [Pipeline] echo [2023-03-22T04:34:59.424Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 39900c86f6a3830286734405649ec7a633f0c638 [Pipeline] echo [2023-03-22T04:34:59.433Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 39900c8 [Pipeline] echo [2023-03-22T04:34:59.443Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-22T04:34:59.478Z] provisioning config files... [2023-03-22T04:34:59.491Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1379@tmp/config9994487259607052201tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-22T04:34:59.786Z] ---> docker-login.sh [2023-03-22T04:34:59.786Z] nexus3.edgexfoundry.org:10001 [2023-03-22T04:35:00.046Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T04:35:00.046Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T04:35:00.046Z] Configure a credential helper to remove this warning. See [2023-03-22T04:35:00.046Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T04:35:00.046Z] [2023-03-22T04:35:00.046Z] Login Succeeded [2023-03-22T04:35:00.046Z] nexus3.edgexfoundry.org:10002 [2023-03-22T04:35:00.306Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T04:35:00.306Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T04:35:00.306Z] Configure a credential helper to remove this warning. See [2023-03-22T04:35:00.306Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T04:35:00.306Z] [2023-03-22T04:35:00.306Z] Login Succeeded [2023-03-22T04:35:00.306Z] nexus3.edgexfoundry.org:10003 [2023-03-22T04:35:00.306Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T04:35:00.306Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T04:35:00.306Z] Configure a credential helper to remove this warning. See [2023-03-22T04:35:00.306Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T04:35:00.306Z] [2023-03-22T04:35:00.306Z] Login Succeeded [2023-03-22T04:35:00.306Z] nexus3.edgexfoundry.org:10004 [2023-03-22T04:35:00.566Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T04:35:00.566Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T04:35:00.566Z] Configure a credential helper to remove this warning. See [2023-03-22T04:35:00.566Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T04:35:00.566Z] [2023-03-22T04:35:00.566Z] Login Succeeded [2023-03-22T04:35:00.566Z] docker.io [2023-03-22T04:35:00.566Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T04:35:00.828Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T04:35:00.828Z] Configure a credential helper to remove this warning. See [2023-03-22T04:35:00.828Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T04:35:00.828Z] [2023-03-22T04:35:00.828Z] Login Succeeded [2023-03-22T04:35:00.828Z] ---> docker-login.sh ends [Pipeline] } [2023-03-22T04:35:00.837Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-22T04:35:01.213Z] + git rev-list -1 --merges 39900c86f6a3830286734405649ec7a633f0c638~1..39900c86f6a3830286734405649ec7a633f0c638 [Pipeline] echo [2023-03-22T04:35:01.234Z] -----------> git rev-list -1 --merges 39900c86f6a3830286734405649ec7a633f0c638~1..39900c86f6a3830286734405649ec7a633f0c638 39900c86f6a3830286734405649ec7a633f0c638 [false] [Pipeline] sh [2023-03-22T04:35:01.530Z] + git log --format=format:%s -1 39900c86f6a3830286734405649ec7a633f0c638 [Pipeline] echo [2023-03-22T04:35:01.544Z] ========================================================= [2023-03-22T04:35:01.544Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-22T04:35:01.544Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-22T04:35:01.865Z] + git log --format=format:%s -1 39900c86f6a3830286734405649ec7a633f0c638 [Pipeline] echo [2023-03-22T04:35:01.874Z] [semverPrep] GIT_COMMIT: 39900c86f6a3830286734405649ec7a633f0c638, Commit Message: feat: enable regex for executing GET command [Pipeline] echo [2023-03-22T04:35:01.885Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-22T04:35:02.238Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-22T04:35:02.239Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-22T04:35:02.239Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-22T04:35:02.239Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-22T04:35:02.239Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-22T04:35:02.239Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-22T04:35:02.239Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T04:35:02.646Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-22T04:35:02.646Z] [2023-03-22T04:35:02.646Z] 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-22T04:35:02.947Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-22T04:35:02.947Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-22T04:35:02.947Z] b85a868b505f: Pulling fs layer [2023-03-22T04:35:02.947Z] e2be974225ed: Pulling fs layer [2023-03-22T04:35:02.947Z] 339a4e72a1f5: Pulling fs layer [2023-03-22T04:35:02.947Z] 988bab9f4d93: Pulling fs layer [2023-03-22T04:35:02.947Z] 1469e6f7b9e6: Pulling fs layer [2023-03-22T04:35:02.947Z] eaf3925da568: Pulling fs layer [2023-03-22T04:35:02.947Z] bab4dde63d76: Pulling fs layer [2023-03-22T04:35:02.947Z] bde34c3a00c8: Pulling fs layer [2023-03-22T04:35:02.947Z] b352a97aabf1: Pulling fs layer [2023-03-22T04:35:02.947Z] 4872d77fe225: Pulling fs layer [2023-03-22T04:35:02.947Z] 5851b861e8e6: Pulling fs layer [2023-03-22T04:35:02.947Z] eaf3925da568: Waiting [2023-03-22T04:35:02.947Z] bab4dde63d76: Waiting [2023-03-22T04:35:02.947Z] 988bab9f4d93: Waiting [2023-03-22T04:35:02.947Z] 4872d77fe225: Waiting [2023-03-22T04:35:02.947Z] bde34c3a00c8: Waiting [2023-03-22T04:35:02.947Z] b352a97aabf1: Waiting [2023-03-22T04:35:02.947Z] 5851b861e8e6: Waiting [2023-03-22T04:35:02.947Z] 1469e6f7b9e6: Waiting [2023-03-22T04:35:02.947Z] e2be974225ed: Verifying Checksum [2023-03-22T04:35:02.947Z] e2be974225ed: Download complete [2023-03-22T04:35:02.947Z] 988bab9f4d93: Verifying Checksum [2023-03-22T04:35:02.947Z] 988bab9f4d93: Download complete [2023-03-22T04:35:03.207Z] 1469e6f7b9e6: Verifying Checksum [2023-03-22T04:35:03.207Z] 1469e6f7b9e6: Download complete [2023-03-22T04:35:03.207Z] 339a4e72a1f5: Verifying Checksum [2023-03-22T04:35:03.207Z] 339a4e72a1f5: Download complete [2023-03-22T04:35:03.207Z] eaf3925da568: Verifying Checksum [2023-03-22T04:35:03.207Z] eaf3925da568: Download complete [2023-03-22T04:35:03.207Z] bde34c3a00c8: Verifying Checksum [2023-03-22T04:35:03.207Z] bde34c3a00c8: Download complete [2023-03-22T04:35:03.207Z] b352a97aabf1: Download complete [2023-03-22T04:35:03.207Z] 4872d77fe225: Download complete [2023-03-22T04:35:03.207Z] 5851b861e8e6: Verifying Checksum [2023-03-22T04:35:03.207Z] 5851b861e8e6: Download complete [2023-03-22T04:35:03.207Z] b85a868b505f: Verifying Checksum [2023-03-22T04:35:03.207Z] b85a868b505f: Download complete [2023-03-22T04:35:03.773Z] bab4dde63d76: Verifying Checksum [2023-03-22T04:35:03.773Z] bab4dde63d76: Download complete [2023-03-22T04:35:04.710Z] b85a868b505f: Pull complete [2023-03-22T04:35:04.710Z] e2be974225ed: Pull complete [2023-03-22T04:35:05.276Z] 339a4e72a1f5: Pull complete [2023-03-22T04:35:05.277Z] 988bab9f4d93: Pull complete [2023-03-22T04:35:05.534Z] 1469e6f7b9e6: Pull complete [2023-03-22T04:35:07.248Z] eaf3925da568: Pull complete [2023-03-22T04:35:07.511Z] bab4dde63d76: Pull complete [2023-03-22T04:35:07.779Z] bde34c3a00c8: Pull complete [2023-03-22T04:35:07.779Z] b352a97aabf1: Pull complete [2023-03-22T04:35:07.779Z] 4872d77fe225: Pull complete [2023-03-22T04:35:08.040Z] 5851b861e8e6: Pull complete [2023-03-22T04:35:08.040Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-22T04:35:08.040Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-22T04:35:08.040Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T04:35:08.142Z] prd-ubuntu20.04-docker-8c-8g-5116 does not seem to be running inside a container [2023-03-22T04:35:08.183Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1379 -v /w/workspace/gexfoundry_device-sdk-go_PR-1379:/w/workspace/gexfoundry_device-sdk-go_PR-1379:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1379@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1379@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-22T04:35:10.829Z] $ docker top a15fe83381f0d4af23c334c09ab66adf60d3c274f627631acad11faedaa383ef -eo pid,comm [2023-03-22T04:35:10.884Z] 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-22T04:35:10.884Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-22T04:35:10.924Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-22T04:35:10.924Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-22T04:35:11.038Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-22T04:35:11.045Z] $ docker exec a15fe83381f0d4af23c334c09ab66adf60d3c274f627631acad11faedaa383ef ssh-agent [2023-03-22T04:35:11.152Z] SSH_AUTH_SOCK=/tmp/ssh-rPSOxXIboYH1/agent.32 [2023-03-22T04:35:11.152Z] SSH_AGENT_PID=38 [2023-03-22T04:35:11.159Z] Running ssh-add (command line suppressed) [2023-03-22T04:35:11.261Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1379@tmp/private_key_1353297688962029135.key (/w/workspace/gexfoundry_device-sdk-go_PR-1379@tmp/private_key_1353297688962029135.key) [2023-03-22T04:35:11.273Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-22T04:35:11.556Z] + git tag --points-at HEAD [Pipeline] } [2023-03-22T04:35:11.571Z] $ docker exec --env ******** --env ******** a15fe83381f0d4af23c334c09ab66adf60d3c274f627631acad11faedaa383ef ssh-agent -k [2023-03-22T04:35:11.673Z] unset SSH_AUTH_SOCK; [2023-03-22T04:35:11.673Z] unset SSH_AGENT_PID; [2023-03-22T04:35:11.673Z] echo Agent pid 38 killed; [2023-03-22T04:35:11.681Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-22T04:35:11.703Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-22T04:35:11.703Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-22T04:35:11.822Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-22T04:35:11.828Z] $ docker exec a15fe83381f0d4af23c334c09ab66adf60d3c274f627631acad11faedaa383ef ssh-agent [2023-03-22T04:35:11.942Z] SSH_AUTH_SOCK=/tmp/ssh-tCXdEoGxZgSx/agent.70 [2023-03-22T04:35:11.942Z] SSH_AGENT_PID=76 [2023-03-22T04:35:11.948Z] Running ssh-add (command line suppressed) [2023-03-22T04:35:12.059Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1379@tmp/private_key_7910591159238674506.key (/w/workspace/gexfoundry_device-sdk-go_PR-1379@tmp/private_key_7910591159238674506.key) [2023-03-22T04:35:12.071Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-22T04:35:12.372Z] + git semver init [2023-03-22T04:35:12.633Z] 2023-03-22 04:35:12,570 [run_init] DEBUG init version:0.0.0 force:False [2023-03-22T04:35:12.633Z] 2023-03-22 04:35:12,572 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1379/.semver [2023-03-22T04:35:12.633Z] 2023-03-22 04:35:12,572 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1379/.semver [2023-03-22T04:35:12.633Z] 2023-03-22 04:35:12,572 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1379/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1379, universal_newlines=False, shell=None, istream=None) [2023-03-22T04:35:13.572Z] 2023-03-22 04:35:13,527 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1379/.git/info/exclude [2023-03-22T04:35:13.572Z] 2023-03-22 04:35:13,528 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1379/.semver/PR-1379 with force:False [2023-03-22T04:35:13.572Z] 2023-03-22 04:35:13,528 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1379/.semver/PR-1379 [2023-03-22T04:35:13.572Z] 2023-03-22 04:35:13,533 [execute] INFO git cat-file --batch-check [2023-03-22T04:35:13.572Z] 2023-03-22 04:35:13,533 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1379/.semver, universal_newlines=False, shell=None, istream=) [2023-03-22T04:35:13.572Z] 2023-03-22 04:35:13,540 [execute] INFO git cat-file --batch [2023-03-22T04:35:13.572Z] 2023-03-22 04:35:13,540 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1379/.semver, universal_newlines=False, shell=None, istream=) [2023-03-22T04:35:13.572Z] 2023-03-22 04:35:13,546 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1379/.semver/PR-1379 [2023-03-22T04:35:13.572Z] 0.0.0 [Pipeline] } [2023-03-22T04:35:13.586Z] $ docker exec --env ******** --env ******** a15fe83381f0d4af23c334c09ab66adf60d3c274f627631acad11faedaa383ef ssh-agent -k [2023-03-22T04:35:13.685Z] unset SSH_AUTH_SOCK; [2023-03-22T04:35:13.686Z] unset SSH_AGENT_PID; [2023-03-22T04:35:13.686Z] echo Agent pid 76 killed; [2023-03-22T04:35:13.696Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-22T04:35:13.996Z] + git semver [Pipeline] } [2023-03-22T04:35:14.272Z] $ docker stop --time=1 a15fe83381f0d4af23c334c09ab66adf60d3c274f627631acad11faedaa383ef [2023-03-22T04:35:15.597Z] $ docker rm -f --volumes a15fe83381f0d4af23c334c09ab66adf60d3c274f627631acad11faedaa383ef [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-22T04:35:15.934Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-22T04:35:16.127Z] Stashed 1 file(s) [Pipeline] echo [2023-03-22T04:35:16.130Z] [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-22T04:35:16.258Z] provisioning config files... [2023-03-22T04:35:16.265Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1379@tmp/config3184226630496598329tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-22T04:35:16.558Z] ---> docker-login.sh [2023-03-22T04:35:16.558Z] nexus3.edgexfoundry.org:10001 [2023-03-22T04:35:16.558Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T04:35:16.558Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T04:35:16.558Z] Configure a credential helper to remove this warning. See [2023-03-22T04:35:16.558Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T04:35:16.558Z] [2023-03-22T04:35:16.558Z] Login Succeeded [2023-03-22T04:35:16.558Z] nexus3.edgexfoundry.org:10002 [2023-03-22T04:35:16.558Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T04:35:16.558Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T04:35:16.558Z] Configure a credential helper to remove this warning. See [2023-03-22T04:35:16.558Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T04:35:16.558Z] [2023-03-22T04:35:16.558Z] Login Succeeded [2023-03-22T04:35:16.558Z] nexus3.edgexfoundry.org:10003 [2023-03-22T04:35:16.818Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T04:35:16.818Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T04:35:16.818Z] Configure a credential helper to remove this warning. See [2023-03-22T04:35:16.818Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T04:35:16.818Z] [2023-03-22T04:35:16.818Z] Login Succeeded [2023-03-22T04:35:16.818Z] nexus3.edgexfoundry.org:10004 [2023-03-22T04:35:16.818Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T04:35:16.818Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T04:35:16.818Z] Configure a credential helper to remove this warning. See [2023-03-22T04:35:16.818Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T04:35:16.818Z] [2023-03-22T04:35:16.818Z] Login Succeeded [2023-03-22T04:35:16.818Z] docker.io [2023-03-22T04:35:17.078Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T04:35:17.078Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T04:35:17.078Z] Configure a credential helper to remove this warning. See [2023-03-22T04:35:17.078Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T04:35:17.078Z] [2023-03-22T04:35:17.078Z] Login Succeeded [2023-03-22T04:35:17.079Z] ---> docker-login.sh ends [Pipeline] } [2023-03-22T04:35:17.086Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-22T04:35:17.142Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-22T04:35:17.152Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-22T04:35:17.158Z] ========================================================= [2023-03-22T04:35:17.158Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-22T04:35:17.158Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T04:35:17.476Z] + 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-22T04:35:17.476Z] Sending build context to Docker daemon 10.86MB [2023-03-22T04:35:17.476Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-22T04:35:17.476Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-22T04:35:17.476Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-22T04:35:17.476Z] 63b65145d645: Pulling fs layer [2023-03-22T04:35:17.476Z] a2d21d5440eb: Pulling fs layer [2023-03-22T04:35:17.476Z] 935e6c44a52c: Pulling fs layer [2023-03-22T04:35:17.476Z] 94cc34f8dd06: Pulling fs layer [2023-03-22T04:35:17.476Z] 30dea6a524f1: Pulling fs layer [2023-03-22T04:35:17.476Z] a2aff8979fd8: Pulling fs layer [2023-03-22T04:35:17.476Z] 6808be2612f2: Pulling fs layer [2023-03-22T04:35:17.476Z] f25807f1079a: Pulling fs layer [2023-03-22T04:35:17.476Z] a2aff8979fd8: Waiting [2023-03-22T04:35:17.476Z] 94cc34f8dd06: Waiting [2023-03-22T04:35:17.476Z] f25807f1079a: Waiting [2023-03-22T04:35:17.476Z] 6808be2612f2: Waiting [2023-03-22T04:35:17.476Z] 30dea6a524f1: Waiting [2023-03-22T04:35:17.737Z] a2d21d5440eb: Verifying Checksum [2023-03-22T04:35:17.737Z] a2d21d5440eb: Download complete [2023-03-22T04:35:17.737Z] 94cc34f8dd06: Verifying Checksum [2023-03-22T04:35:17.737Z] 94cc34f8dd06: Download complete [2023-03-22T04:35:17.737Z] 30dea6a524f1: Verifying Checksum [2023-03-22T04:35:17.737Z] 30dea6a524f1: Download complete [2023-03-22T04:35:17.737Z] 63b65145d645: Verifying Checksum [2023-03-22T04:35:17.737Z] 63b65145d645: Download complete [2023-03-22T04:35:17.737Z] a2aff8979fd8: Verifying Checksum [2023-03-22T04:35:17.737Z] a2aff8979fd8: Download complete [2023-03-22T04:35:18.000Z] 63b65145d645: Pull complete [2023-03-22T04:35:18.000Z] a2d21d5440eb: Pull complete [2023-03-22T04:35:18.261Z] f25807f1079a: Verifying Checksum [2023-03-22T04:35:18.261Z] f25807f1079a: Download complete [2023-03-22T04:35:18.261Z] 935e6c44a52c: Verifying Checksum [2023-03-22T04:35:18.261Z] 935e6c44a52c: Download complete [2023-03-22T04:35:18.520Z] 6808be2612f2: Verifying Checksum [2023-03-22T04:35:18.520Z] 6808be2612f2: Download complete [2023-03-22T04:35:22.716Z] 935e6c44a52c: Pull complete [2023-03-22T04:35:22.716Z] 94cc34f8dd06: Pull complete [2023-03-22T04:35:22.716Z] 30dea6a524f1: Pull complete [2023-03-22T04:35:22.716Z] a2aff8979fd8: Pull complete [2023-03-22T04:35:24.621Z] 6808be2612f2: Pull complete [2023-03-22T04:35:25.556Z] f25807f1079a: Pull complete [2023-03-22T04:35:25.556Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-22T04:35:25.556Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-22T04:35:25.556Z] ---> 3b553350e43f [2023-03-22T04:35:25.556Z] Step 3/10 : ARG MAKE=make build [2023-03-22T04:35:29.749Z] ---> Running in 3ebc8414c620 [2023-03-22T04:35:29.749Z] Removing intermediate container 3ebc8414c620 [2023-03-22T04:35:29.749Z] ---> 22beae06e44b [2023-03-22T04:35:29.749Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-22T04:35:29.749Z] ---> Running in 2b09cdebf2d8 [2023-03-22T04:35:29.749Z] Removing intermediate container 2b09cdebf2d8 [2023-03-22T04:35:29.749Z] ---> 52d025d18188 [2023-03-22T04:35:29.749Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-22T04:35:29.749Z] ---> Running in 001a450cd7c5 [2023-03-22T04:35:29.749Z] Removing intermediate container 001a450cd7c5 [2023-03-22T04:35:29.749Z] ---> 4ca95a8d8450 [2023-03-22T04:35:29.749Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-22T04:35:29.749Z] ---> Running in 7c8752d94fea [2023-03-22T04:35:30.007Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-22T04:35:30.007Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-22T04:35:30.265Z] OK: 265 MiB in 53 packages [2023-03-22T04:35:30.525Z] Removing intermediate container 7c8752d94fea [2023-03-22T04:35:30.525Z] ---> 4dcd688cac65 [2023-03-22T04:35:30.525Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-22T04:35:30.784Z] ---> b06769b57ef8 [2023-03-22T04:35:30.784Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-22T04:35:30.784Z] ---> Running in 5f76a3bf03e4 [2023-03-22T04:35:31.218Z] Still waiting to schedule task [2023-03-22T04:35:31.219Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-5114’ [2023-03-22T04:36:17.556Z] Removing intermediate container 5f76a3bf03e4 [2023-03-22T04:36:17.556Z] ---> 31c8af9bd00d [2023-03-22T04:36:17.556Z] Step 9/10 : COPY . . [2023-03-22T04:36:17.556Z] ---> c3fda88a3559 [2023-03-22T04:36:17.556Z] Step 10/10 : RUN ${MAKE} [2023-03-22T04:36:17.556Z] ---> Running in 23c65a80f16c [2023-03-22T04:36:17.556Z] noop [2023-03-22T04:36:17.556Z] Removing intermediate container 23c65a80f16c [2023-03-22T04:36:17.556Z] ---> 3269ee8bd0e5 [2023-03-22T04:36:17.556Z] Successfully built 3269ee8bd0e5 [2023-03-22T04:36:17.556Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T04:36:17.865Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-22T04:36:17.866Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T04:36:17.937Z] prd-ubuntu20.04-docker-8c-8g-5116 does not seem to be running inside a container [2023-03-22T04:36:17.971Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1379 -v /w/workspace/gexfoundry_device-sdk-go_PR-1379:/w/workspace/gexfoundry_device-sdk-go_PR-1379:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1379@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1379@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-22T04:36:18.353Z] $ docker top 2fcf9f575f6a4f4177590cbb861d765f990f70e2fadfa4f861f45f3a639f0594 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-22T04:36:18.694Z] + go version [2023-03-22T04:36:18.694Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-22T04:36:18.706Z] $ docker stop --time=1 2fcf9f575f6a4f4177590cbb861d765f990f70e2fadfa4f861f45f3a639f0594 [2023-03-22T04:36:19.985Z] $ docker rm -f --volumes 2fcf9f575f6a4f4177590cbb861d765f990f70e2fadfa4f861f45f3a639f0594 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T04:36:20.381Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-22T04:36:20.381Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T04:36:20.451Z] prd-ubuntu20.04-docker-8c-8g-5116 does not seem to be running inside a container [2023-03-22T04:36:20.485Z] $ 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-1379 -v /w/workspace/gexfoundry_device-sdk-go_PR-1379:/w/workspace/gexfoundry_device-sdk-go_PR-1379:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1379@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1379@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-22T04:36:20.843Z] $ docker top b8ff78a9a8ef9efa9a87e714cb2690537a2022cae0dc74312a8d3404f7151cac -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-22T04:36:21.186Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1379 [Pipeline] fileExists [Pipeline] sh [2023-03-22T04:36:21.480Z] + make test [2023-03-22T04:36:21.480Z] go test -race -coverprofile=coverage.out ./... [2023-03-22T04:36:29.602Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-22T04:36:44.478Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-22T04:36:44.478Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-22T04:36:44.478Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-22T04:36:44.478Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-22T04:36:44.478Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-22T04:36:44.478Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.054s coverage: 27.6% of statements [2023-03-22T04:36:44.478Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-22T04:36:44.478Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-22T04:36:44.478Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.057s coverage: 79.9% of statements [2023-03-22T04:36:44.736Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.081s coverage: 86.0% of statements [2023-03-22T04:36:45.670Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-22T04:36:45.670Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-22T04:36:45.929Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.103s coverage: 75.7% of statements [2023-03-22T04:36:45.929Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-22T04:36:45.929Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-22T04:36:46.875Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-22T04:36:48.778Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.086s coverage: 14.9% of statements [2023-03-22T04:36:48.778Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.092s coverage: 68.5% of statements [2023-03-22T04:36:48.778Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.114s coverage: 89.2% of statements [2023-03-22T04:36:48.778Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.064s coverage: 5.5% of statements [2023-03-22T04:37:10.700Z] GO111MODULE=on go vet ./... [2023-03-22T04:37:14.884Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-22T04:37:14.884Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-22T04:37:14.884Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-22T04:37:14.896Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-22T04:37:14.911Z] $ docker stop --time=1 b8ff78a9a8ef9efa9a87e714cb2690537a2022cae0dc74312a8d3404f7151cac [2023-03-22T04:37:18.224Z] $ docker rm -f --volumes b8ff78a9a8ef9efa9a87e714cb2690537a2022cae0dc74312a8d3404f7151cac [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-22T04:37:18.774Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-22T04:37:18.827Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-22T04:37:19.360Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-22T04:37:19.648Z] + ls -al . [2023-03-22T04:37:19.648Z] total 276 [2023-03-22T04:37:19.648Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 22 04:36 . [2023-03-22T04:37:19.648Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 04:34 .. [2023-03-22T04:37:19.648Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 22 04:34 .dockerignore [2023-03-22T04:37:19.648Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 22 04:35 .git [2023-03-22T04:37:19.648Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 04:34 .github [2023-03-22T04:37:19.648Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 22 04:34 .gitignore [2023-03-22T04:37:19.648Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 22 04:34 .golangci.yml [2023-03-22T04:37:19.648Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 22 04:35 .semver [2023-03-22T04:37:19.648Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 22 04:34 CHANGELOG.md [2023-03-22T04:37:19.648Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 22 04:34 GOVERNANCE.md [2023-03-22T04:37:19.648Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 22 04:34 Jenkinsfile [2023-03-22T04:37:19.648Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 22 04:34 LICENSE [2023-03-22T04:37:19.648Z] -rw-rw-r-- 1 jenkins jenkins 1714 Mar 22 04:34 Makefile [2023-03-22T04:37:19.648Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 22 04:34 OWNERS.md [2023-03-22T04:37:19.648Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 22 04:34 README.md [2023-03-22T04:37:19.648Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 22 04:35 VERSION [2023-03-22T04:37:19.648Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 04:34 bin [2023-03-22T04:37:19.648Z] -rw-r--r-- 1 jenkins jenkins 106556 Mar 22 04:36 coverage.out [2023-03-22T04:37:19.648Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 22 04:34 example [2023-03-22T04:37:19.648Z] -rw-rw-r-- 1 jenkins jenkins 3291 Mar 22 04:34 go.mod [2023-03-22T04:37:19.648Z] -rw-rw-r-- 1 jenkins jenkins 30779 Mar 22 04:34 go.sum [2023-03-22T04:37:19.648Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 22 04:34 internal [2023-03-22T04:37:19.648Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 04:34 openapi [2023-03-22T04:37:19.648Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 22 04:34 pkg [2023-03-22T04:37:19.648Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 04:34 snap [2023-03-22T04:37:19.648Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 22 04:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T04:37:19.951Z] + 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=39900c86f6a3830286734405649ec7a633f0c638 --label arch=amd64 --label version=0.0.0 . [2023-03-22T04:37:19.951Z] Sending build context to Docker daemon 10.97MB [2023-03-22T04:37:19.951Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-03-22T04:37:19.951Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-22T04:37:19.951Z] ---> 3269ee8bd0e5 [2023-03-22T04:37:19.951Z] Step 3/23 : ARG MAKE=make build [2023-03-22T04:37:20.208Z] ---> Running in 1fa7e075f20f [2023-03-22T04:37:20.468Z] Removing intermediate container 1fa7e075f20f [2023-03-22T04:37:20.468Z] ---> 651738b4bf9c [2023-03-22T04:37:20.468Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-22T04:37:20.468Z] ---> Running in 084e2e3d48ca [2023-03-22T04:37:20.468Z] Removing intermediate container 084e2e3d48ca [2023-03-22T04:37:20.468Z] ---> 77d6127b2e84 [2023-03-22T04:37:20.468Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-22T04:37:20.468Z] ---> Running in 04806154f2c3 [2023-03-22T04:37:20.468Z] Removing intermediate container 04806154f2c3 [2023-03-22T04:37:20.468Z] ---> de3d0b4c7901 [2023-03-22T04:37:20.468Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-22T04:37:20.727Z] ---> Running in 3ccbe77b1723 [2023-03-22T04:37:20.985Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-22T04:37:20.985Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-22T04:37:21.245Z] OK: 265 MiB in 53 packages [2023-03-22T04:37:21.505Z] Removing intermediate container 3ccbe77b1723 [2023-03-22T04:37:21.505Z] ---> 5211b5c98efa [2023-03-22T04:37:21.505Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-22T04:37:21.763Z] ---> 9e164b4fe591 [2023-03-22T04:37:21.763Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-22T04:37:21.763Z] ---> Running in 06ca51dcfe7a [2023-03-22T04:37:22.700Z] Removing intermediate container 06ca51dcfe7a [2023-03-22T04:37:22.700Z] ---> bd4d3b1c0a2d [2023-03-22T04:37:22.700Z] Step 9/23 : COPY . . [2023-03-22T04:37:23.266Z] ---> b9e163b64cad [2023-03-22T04:37:23.266Z] Step 10/23 : RUN ${MAKE} [2023-03-22T04:37:23.266Z] ---> Running in f5d7d5a412c8 [2023-03-22T04:37:23.525Z] 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-22T04:37:45.555Z] Removing intermediate container f5d7d5a412c8 [2023-03-22T04:37:45.555Z] ---> b6bf979aca29 [2023-03-22T04:37:45.555Z] Step 11/23 : FROM alpine:3.17 [2023-03-22T04:37:45.555Z] 3.17: Pulling from library/alpine [2023-03-22T04:37:45.555Z] 63b65145d645: Already exists [2023-03-22T04:37:45.555Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-22T04:37:45.555Z] Status: Downloaded newer image for alpine:3.17 [2023-03-22T04:37:45.555Z] ---> b2aa39c304c2 [2023-03-22T04:37:45.555Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-22T04:37:45.555Z] ---> Running in eaee1f0ef53d [2023-03-22T04:37:45.555Z] Removing intermediate container eaee1f0ef53d [2023-03-22T04:37:45.555Z] ---> 1399c496ad1a [2023-03-22T04:37:45.555Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-22T04:37:45.555Z] ---> Running in 0f1cdec4c98d [2023-03-22T04:37:45.555Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-22T04:37:45.555Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-22T04:37:45.555Z] OK: 7 MiB in 15 packages [2023-03-22T04:37:45.555Z] Removing intermediate container 0f1cdec4c98d [2023-03-22T04:37:45.555Z] ---> 199a7d476f1d [2023-03-22T04:37:45.555Z] Step 14/23 : WORKDIR / [2023-03-22T04:37:45.555Z] ---> Running in d47fff764b9d [2023-03-22T04:37:45.555Z] Removing intermediate container d47fff764b9d [2023-03-22T04:37:45.555Z] ---> be445f0f3c48 [2023-03-22T04:37:45.555Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-22T04:37:45.812Z] ---> 34a6d73cf43b [2023-03-22T04:37:45.812Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-22T04:37:46.379Z] ---> bba9b24f4310 [2023-03-22T04:37:46.379Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-22T04:37:46.638Z] ---> e7f7796399a5 [2023-03-22T04:37:46.638Z] Step 18/23 : EXPOSE 59999 [2023-03-22T04:37:46.638Z] ---> Running in 554cef04a98a [2023-03-22T04:37:46.638Z] Removing intermediate container 554cef04a98a [2023-03-22T04:37:46.638Z] ---> 894254acef31 [2023-03-22T04:37:46.638Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-22T04:37:46.638Z] ---> Running in e08f82d351d0 [2023-03-22T04:37:46.897Z] Removing intermediate container e08f82d351d0 [2023-03-22T04:37:46.897Z] ---> b969576a9988 [2023-03-22T04:37:46.897Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-22T04:37:46.897Z] ---> Running in c33e9b0812ad [2023-03-22T04:37:46.897Z] Removing intermediate container c33e9b0812ad [2023-03-22T04:37:46.897Z] ---> e05421e3923d [2023-03-22T04:37:46.897Z] Step 21/23 : LABEL arch=amd64 [2023-03-22T04:37:46.897Z] ---> Running in 1e7c1e944ca0 [2023-03-22T04:37:46.897Z] Removing intermediate container 1e7c1e944ca0 [2023-03-22T04:37:46.897Z] ---> 696c82112fc8 [2023-03-22T04:37:46.897Z] Step 22/23 : LABEL git_sha=39900c86f6a3830286734405649ec7a633f0c638 [2023-03-22T04:37:46.897Z] ---> Running in c461c7800d1d [2023-03-22T04:37:47.156Z] Removing intermediate container c461c7800d1d [2023-03-22T04:37:47.156Z] ---> e34d201d6b03 [2023-03-22T04:37:47.156Z] Step 23/23 : LABEL version=0.0.0 [2023-03-22T04:37:47.156Z] ---> Running in 7cfdc1e2d3f0 [2023-03-22T04:37:47.156Z] Removing intermediate container 7cfdc1e2d3f0 [2023-03-22T04:37:47.156Z] ---> 1104697f3833 [2023-03-22T04:37:47.156Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-22T04:37:47.156Z] Successfully built 1104697f3833 [2023-03-22T04:37:47.156Z] 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-22T04:37:47.561Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-22T04:37:47.561Z] [2023-03-22T04:37:47.561Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T04:37:47.855Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-22T04:37:47.855Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-22T04:37:47.855Z] 5eb5b503b376: Pulling fs layer [2023-03-22T04:37:47.855Z] 5c69ac0246d0: Pulling fs layer [2023-03-22T04:37:47.855Z] ec43610c2a17: Pulling fs layer [2023-03-22T04:37:47.855Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-22T04:37:47.855Z] 33b1e0a273af: Pulling fs layer [2023-03-22T04:37:47.855Z] 5d3b04190fa2: Pulling fs layer [2023-03-22T04:37:47.855Z] 2f39f015ded8: Pulling fs layer [2023-03-22T04:37:47.855Z] 3a2ae6a8a46f: Waiting [2023-03-22T04:37:47.855Z] 5d3b04190fa2: Waiting [2023-03-22T04:37:47.855Z] 33b1e0a273af: Waiting [2023-03-22T04:37:47.855Z] 5c69ac0246d0: Verifying Checksum [2023-03-22T04:37:47.855Z] 5c69ac0246d0: Download complete [2023-03-22T04:37:47.855Z] 3a2ae6a8a46f: Download complete [2023-03-22T04:37:48.116Z] 33b1e0a273af: Verifying Checksum [2023-03-22T04:37:48.116Z] 33b1e0a273af: Download complete [2023-03-22T04:37:48.116Z] ec43610c2a17: Verifying Checksum [2023-03-22T04:37:48.116Z] ec43610c2a17: Download complete [2023-03-22T04:37:48.116Z] 5d3b04190fa2: Verifying Checksum [2023-03-22T04:37:48.116Z] 5d3b04190fa2: Download complete [2023-03-22T04:37:48.116Z] 5eb5b503b376: Verifying Checksum [2023-03-22T04:37:48.116Z] 5eb5b503b376: Download complete [2023-03-22T04:37:48.683Z] 2f39f015ded8: Verifying Checksum [2023-03-22T04:37:48.683Z] 2f39f015ded8: Download complete [2023-03-22T04:37:49.616Z] 5eb5b503b376: Pull complete [2023-03-22T04:37:49.616Z] 5c69ac0246d0: Pull complete [2023-03-22T04:37:50.183Z] ec43610c2a17: Pull complete [2023-03-22T04:37:50.183Z] 3a2ae6a8a46f: Pull complete [2023-03-22T04:37:50.441Z] 33b1e0a273af: Pull complete [2023-03-22T04:37:50.441Z] 5d3b04190fa2: Pull complete [2023-03-22T04:37:55.708Z] 2f39f015ded8: Pull complete [2023-03-22T04:37:55.708Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-22T04:37:55.708Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-22T04:37:55.708Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T04:37:55.800Z] prd-ubuntu20.04-docker-8c-8g-5116 does not seem to be running inside a container [2023-03-22T04:37:55.835Z] $ 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-1379 -v /w/workspace/gexfoundry_device-sdk-go_PR-1379:/w/workspace/gexfoundry_device-sdk-go_PR-1379:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1379@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1379@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-22T04:38:00.728Z] $ docker top 6e92abd1fa192d3c03e85eb5789c59ffe3ba097fb336432fff081a5cb667cd45 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-22T04:38:01.149Z] ---> job-cost.sh [2023-03-22T04:38:01.149Z] lf-activate-venv: SKIPPING [2023-03-22T04:38:01.149Z] INFO: No Stack... [2023-03-22T04:38:01.409Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-22T04:38:01.669Z] INFO: Archiving Costs [Pipeline] sh [2023-03-22T04:38:01.957Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1379/archives/cost.csv [2023-03-22T04:38:01.957Z] + cut -d, -f6 [Pipeline] lock [2023-03-22T04:38:01.968Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1379-8-stack-cost] [2023-03-22T04:38:01.977Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1379-8-stack-cost] did not exist. Created. [2023-03-22T04:38:01.977Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1379-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-22T04:38:02.278Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-22T04:38:02.311Z] Stashed 1 file(s) [Pipeline] } [2023-03-22T04:38:02.320Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1379-8-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-22T04:38:02.339Z] $ docker stop --time=1 6e92abd1fa192d3c03e85eb5789c59ffe3ba097fb336432fff081a5cb667cd45 [2023-03-22T04:38:03.498Z] $ docker rm -f --volumes 6e92abd1fa192d3c03e85eb5789c59ffe3ba097fb336432fff081a5cb667cd45 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-22T04:38:21.628Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5117 in /w/workspace/gexfoundry_device-sdk-go_PR-1379 [Pipeline] { [Pipeline] ws [2023-03-22T04:38:21.638Z] Running in /w/workspace/device-sdk-go/8 [Pipeline] { [Pipeline] checkout [2023-03-22T04:38:21.673Z] The recommended git tool is: git [2023-03-22T04:38:26.890Z] using credential edgex-jenkins-ssh [2023-03-22T04:38:26.908Z] Cloning the remote Git repository [2023-03-22T04:38:26.957Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-03-22T04:38:27.051Z] > git init /w/workspace/device-sdk-go/8 # timeout=10 [2023-03-22T04:38:27.197Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-22T04:38:27.199Z] > git --version # timeout=10 [2023-03-22T04:38:27.222Z] > git --version # 'git version 2.25.1' [2023-03-22T04:38:27.225Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-22T04:38:27.391Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-22T04:38:28.957Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-22T04:38:29.002Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-22T04:38:29.824Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-22T04:38:29.866Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-22T04:38:29.867Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-22T04:38:29.884Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1379/head:refs/remotes/origin/PR-1379 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-22T04:38:30.541Z] Merging remotes/origin/main commit 92ae96e570b0e90887048770798fafa65e025b58 into PR head commit 39900c86f6a3830286734405649ec7a633f0c638 [2023-03-22T04:38:30.819Z] Merge succeeded, producing 39900c86f6a3830286734405649ec7a633f0c638 [2023-03-22T04:38:30.820Z] Checking out Revision 39900c86f6a3830286734405649ec7a633f0c638 (PR-1379) [2023-03-22T04:38:30.562Z] > git config core.sparsecheckout # timeout=10 [2023-03-22T04:38:30.629Z] > git checkout -f 39900c86f6a3830286734405649ec7a633f0c638 # timeout=10 [2023-03-22T04:38:30.739Z] > git remote # timeout=10 [2023-03-22T04:38:30.755Z] > git config --get remote.origin.url # timeout=10 [2023-03-22T04:38:30.770Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-22T04:38:30.782Z] > git merge 92ae96e570b0e90887048770798fafa65e025b58 # timeout=10 [2023-03-22T04:38:30.806Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-22T04:38:30.832Z] > git config core.sparsecheckout # timeout=10 [2023-03-22T04:38:30.847Z] > git checkout -f 39900c86f6a3830286734405649ec7a633f0c638 # timeout=10 [2023-03-22T04:38:34.366Z] Commit message: "feat: enable regex for executing GET command" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-22T04:38:35.215Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-22T04:38:35.215Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-22T04:38:35.215Z] Dload Upload Total Spent Left Speed [2023-03-22T04:38:35.215Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh [2023-03-22T04:38:35.903Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-22T04:38:36.229Z] + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-22T04:38:36.229Z] sudo tee /etc/docker/daemon.new [2023-03-22T04:38:36.229Z] { [2023-03-22T04:38:36.229Z] "registry-mirrors": [ [2023-03-22T04:38:36.229Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-22T04:38:36.229Z] ], [2023-03-22T04:38:36.229Z] "bip": "10.250.0.254/24", [2023-03-22T04:38:36.229Z] "hosts": [ [2023-03-22T04:38:36.229Z] "tcp://0.0.0.0:5555", [2023-03-22T04:38:36.229Z] "unix:///var/run/docker.sock" [2023-03-22T04:38:36.229Z] ], [2023-03-22T04:38:36.229Z] "mtu": 1458, [2023-03-22T04:38:36.229Z] "selinux-enabled": true, [2023-03-22T04:38:36.229Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-22T04:38:36.229Z] } [Pipeline] sh [2023-03-22T04:38:36.556Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-22T04:38:36.877Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-22T04:38:55.116Z] provisioning config files... [2023-03-22T04:38:55.138Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/8@tmp/config10384150684877987989tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-22T04:38:55.473Z] ---> docker-login.sh [2023-03-22T04:38:55.473Z] nexus3.edgexfoundry.org:10001 [2023-03-22T04:38:55.741Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T04:38:56.009Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T04:38:56.009Z] Configure a credential helper to remove this warning. See [2023-03-22T04:38:56.009Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T04:38:56.009Z] [2023-03-22T04:38:56.009Z] Login Succeeded [2023-03-22T04:38:56.009Z] nexus3.edgexfoundry.org:10002 [2023-03-22T04:38:56.278Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T04:38:56.278Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T04:38:56.278Z] Configure a credential helper to remove this warning. See [2023-03-22T04:38:56.278Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T04:38:56.278Z] [2023-03-22T04:38:56.278Z] Login Succeeded [2023-03-22T04:38:56.278Z] nexus3.edgexfoundry.org:10003 [2023-03-22T04:38:56.545Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T04:38:56.813Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T04:38:56.813Z] Configure a credential helper to remove this warning. See [2023-03-22T04:38:56.813Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T04:38:56.813Z] [2023-03-22T04:38:56.813Z] Login Succeeded [2023-03-22T04:38:56.813Z] nexus3.edgexfoundry.org:10004 [2023-03-22T04:38:56.813Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T04:38:57.082Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T04:38:57.082Z] Configure a credential helper to remove this warning. See [2023-03-22T04:38:57.082Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T04:38:57.082Z] [2023-03-22T04:38:57.082Z] Login Succeeded [2023-03-22T04:38:57.082Z] docker.io [2023-03-22T04:38:57.351Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T04:38:57.619Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T04:38:57.619Z] Configure a credential helper to remove this warning. See [2023-03-22T04:38:57.619Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T04:38:57.619Z] [2023-03-22T04:38:57.619Z] Login Succeeded [2023-03-22T04:38:57.619Z] ---> docker-login.sh ends [Pipeline] } [2023-03-22T04:38:57.633Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-22T04:38:57.879Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-22T04:38:57.892Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-22T04:38:57.902Z] ========================================================= [2023-03-22T04:38:57.902Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-22T04:38:57.902Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T04:38:58.238Z] + 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-22T04:38:58.504Z] Sending build context to Docker daemon 5.87MB [2023-03-22T04:38:58.775Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-22T04:38:58.775Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-22T04:38:58.775Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-22T04:38:58.775Z] af6eaf76a39c: Pulling fs layer [2023-03-22T04:38:58.775Z] 55522c791124: Pulling fs layer [2023-03-22T04:38:58.775Z] ce5c4a1c91eb: Pulling fs layer [2023-03-22T04:38:58.775Z] 169dfbe0d373: Pulling fs layer [2023-03-22T04:38:58.775Z] e1ff8fa3b103: Pulling fs layer [2023-03-22T04:38:58.775Z] 52ebb69f0ebf: Pulling fs layer [2023-03-22T04:38:58.775Z] 5abe8eddf0d5: Pulling fs layer [2023-03-22T04:38:58.775Z] e1ff8fa3b103: Waiting [2023-03-22T04:38:58.775Z] 52ebb69f0ebf: Waiting [2023-03-22T04:38:58.775Z] 5abe8eddf0d5: Waiting [2023-03-22T04:38:58.775Z] 169dfbe0d373: Waiting [2023-03-22T04:38:58.775Z] 55522c791124: Verifying Checksum [2023-03-22T04:38:58.775Z] 55522c791124: Download complete [2023-03-22T04:38:58.775Z] 169dfbe0d373: Download complete [2023-03-22T04:38:58.775Z] e1ff8fa3b103: Verifying Checksum [2023-03-22T04:38:58.775Z] e1ff8fa3b103: Download complete [2023-03-22T04:38:59.044Z] af6eaf76a39c: Verifying Checksum [2023-03-22T04:38:59.044Z] af6eaf76a39c: Download complete [2023-03-22T04:39:00.036Z] af6eaf76a39c: Pull complete [2023-03-22T04:39:00.036Z] 5abe8eddf0d5: Verifying Checksum [2023-03-22T04:39:00.036Z] 5abe8eddf0d5: Download complete [2023-03-22T04:39:00.631Z] 55522c791124: Pull complete [2023-03-22T04:39:01.222Z] ce5c4a1c91eb: Verifying Checksum [2023-03-22T04:39:01.222Z] ce5c4a1c91eb: Download complete [2023-03-22T04:39:01.222Z] 52ebb69f0ebf: Verifying Checksum [2023-03-22T04:39:01.222Z] 52ebb69f0ebf: Download complete [2023-03-22T04:39:13.556Z] ce5c4a1c91eb: Pull complete [2023-03-22T04:39:13.556Z] 169dfbe0d373: Pull complete [2023-03-22T04:39:13.556Z] e1ff8fa3b103: Pull complete [2023-03-22T04:39:20.210Z] 52ebb69f0ebf: Pull complete [2023-03-22T04:39:21.189Z] 5abe8eddf0d5: Pull complete [2023-03-22T04:39:21.189Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-22T04:39:21.189Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-22T04:39:21.189Z] ---> 6cb57ee374ae [2023-03-22T04:39:21.189Z] Step 3/10 : ARG MAKE=make build [2023-03-22T04:39:23.175Z] ---> Running in 88f7a29760ba [2023-03-22T04:39:23.175Z] Removing intermediate container 88f7a29760ba [2023-03-22T04:39:23.175Z] ---> 1bc10212a73e [2023-03-22T04:39:23.175Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-22T04:39:23.444Z] ---> Running in 527b17696fb1 [2023-03-22T04:39:23.711Z] Removing intermediate container 527b17696fb1 [2023-03-22T04:39:23.711Z] ---> b809873a1163 [2023-03-22T04:39:23.711Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-22T04:39:23.711Z] ---> Running in 10e1dfa0e540 [2023-03-22T04:39:23.979Z] Removing intermediate container 10e1dfa0e540 [2023-03-22T04:39:23.979Z] ---> 732d24302fb6 [2023-03-22T04:39:23.979Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-22T04:39:23.979Z] ---> Running in a4f82ab47cdc [2023-03-22T04:39:25.387Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-22T04:39:25.652Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-22T04:39:26.610Z] OK: 263 MiB in 53 packages [2023-03-22T04:39:27.571Z] Removing intermediate container a4f82ab47cdc [2023-03-22T04:39:27.572Z] ---> 77d4d01c7afe [2023-03-22T04:39:27.572Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-22T04:39:27.839Z] ---> 428db2e757cc [2023-03-22T04:39:27.839Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-22T04:39:28.112Z] ---> Running in cdb062f3a4fe [2023-03-22T04:40:36.016Z] Removing intermediate container cdb062f3a4fe [2023-03-22T04:40:36.016Z] ---> d6026bbfe552 [2023-03-22T04:40:36.016Z] Step 9/10 : COPY . . [2023-03-22T04:40:36.016Z] ---> e0178355a18c [2023-03-22T04:40:36.016Z] Step 10/10 : RUN ${MAKE} [2023-03-22T04:40:36.016Z] ---> Running in d89af8c63660 [2023-03-22T04:40:36.016Z] noop [2023-03-22T04:40:36.016Z] Removing intermediate container d89af8c63660 [2023-03-22T04:40:36.016Z] ---> 81f6a5dcd9da [2023-03-22T04:40:36.016Z] Successfully built 81f6a5dcd9da [2023-03-22T04:40:36.016Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T04:40:36.354Z] + docker inspect -f . ci-base-image-arm64 [2023-03-22T04:40:36.354Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T04:40:36.547Z] prd-ubuntu20.04-docker-arm64-4c-16g-5117 does not seem to be running inside a container [2023-03-22T04:40:36.619Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-22T04:40:37.754Z] $ docker top 73993a4094323121f14294891c961a560331001c288c004a3ca030933ff09b57 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-22T04:40:38.543Z] + go version [2023-03-22T04:40:38.543Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-22T04:40:38.574Z] $ docker stop --time=1 73993a4094323121f14294891c961a560331001c288c004a3ca030933ff09b57 [2023-03-22T04:40:40.135Z] $ docker rm -f --volumes 73993a4094323121f14294891c961a560331001c288c004a3ca030933ff09b57 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T04:40:40.645Z] + docker inspect -f . ci-base-image-arm64 [2023-03-22T04:40:40.645Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T04:40:40.824Z] prd-ubuntu20.04-docker-arm64-4c-16g-5117 does not seem to be running inside a container [2023-03-22T04:40:40.898Z] $ 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/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-22T04:40:41.943Z] $ docker top 9cd38a0d0ee3c1c4c8cb45f87bc85f0d051a96cedb38f10b725f2cf197632195 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-22T04:40:42.431Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/8 [Pipeline] fileExists [Pipeline] sh [2023-03-22T04:40:42.757Z] + make test [2023-03-22T04:40:42.757Z] go test -race -coverprofile=coverage.out ./... [2023-03-22T04:41:21.633Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-22T04:43:13.269Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-22T04:43:13.269Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-22T04:43:13.269Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-22T04:43:13.269Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-22T04:43:13.269Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-22T04:43:16.617Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.334s coverage: 27.6% of statements [2023-03-22T04:43:16.617Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.260s coverage: 79.9% of statements [2023-03-22T04:43:28.929Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-22T04:43:28.929Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-22T04:43:28.929Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.347s coverage: 86.0% of statements [2023-03-22T04:43:35.579Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-22T04:43:35.579Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.448s coverage: 75.7% of statements [2023-03-22T04:43:39.836Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-22T04:43:40.799Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-22T04:43:40.799Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-22T04:43:42.742Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.243s coverage: 14.9% of statements [2023-03-22T04:43:42.742Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.414s coverage: 68.5% of statements [2023-03-22T04:43:44.697Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.428s coverage: 89.2% of statements [2023-03-22T04:43:46.108Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-22T04:43:46.108Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.231s coverage: 5.5% of statements [2023-03-22T04:43:47.072Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-22T04:43:47.072Z] GO111MODULE=on go vet ./... [2023-03-22T04:46:08.998Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-22T04:46:08.998Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-22T04:46:08.998Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-22T04:46:09.017Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-22T04:46:09.046Z] $ docker stop --time=1 9cd38a0d0ee3c1c4c8cb45f87bc85f0d051a96cedb38f10b725f2cf197632195 [2023-03-22T04:46:10.927Z] $ docker rm -f --volumes 9cd38a0d0ee3c1c4c8cb45f87bc85f0d051a96cedb38f10b725f2cf197632195 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-22T04:46:12.539Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-22T04:46:12.560Z] Warning: overwriting stash ‘coverage-report’ [2023-03-22T04:46:13.138Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-22T04:46:13.515Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-22T04:46:13.833Z] + ls -al . [2023-03-22T04:46:13.833Z] total 272 [2023-03-22T04:46:13.833Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 22 04:40 . [2023-03-22T04:46:13.833Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 04:38 .. [2023-03-22T04:46:13.833Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 22 04:38 .dockerignore [2023-03-22T04:46:13.833Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 22 04:38 .git [2023-03-22T04:46:13.833Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 04:38 .github [2023-03-22T04:46:13.833Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 22 04:38 .gitignore [2023-03-22T04:46:13.833Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 22 04:38 .golangci.yml [2023-03-22T04:46:13.833Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 22 04:38 CHANGELOG.md [2023-03-22T04:46:13.833Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 22 04:38 GOVERNANCE.md [2023-03-22T04:46:13.833Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 22 04:38 Jenkinsfile [2023-03-22T04:46:13.833Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 22 04:38 LICENSE [2023-03-22T04:46:13.833Z] -rw-rw-r-- 1 jenkins jenkins 1714 Mar 22 04:38 Makefile [2023-03-22T04:46:13.833Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 22 04:38 OWNERS.md [2023-03-22T04:46:13.833Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 22 04:38 README.md [2023-03-22T04:46:13.833Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 22 04:35 VERSION [2023-03-22T04:46:13.833Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 04:38 bin [2023-03-22T04:46:13.833Z] -rw-r--r-- 1 jenkins jenkins 106554 Mar 22 04:43 coverage.out [2023-03-22T04:46:13.833Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 22 04:38 example [2023-03-22T04:46:13.833Z] -rw-rw-r-- 1 jenkins jenkins 3291 Mar 22 04:38 go.mod [2023-03-22T04:46:13.833Z] -rw-rw-r-- 1 jenkins jenkins 30779 Mar 22 04:38 go.sum [2023-03-22T04:46:13.833Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 22 04:38 internal [2023-03-22T04:46:13.833Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 04:38 openapi [2023-03-22T04:46:13.833Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 22 04:38 pkg [2023-03-22T04:46:13.833Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 04:38 snap [2023-03-22T04:46:13.833Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 22 04:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T04:46:14.173Z] + 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=39900c86f6a3830286734405649ec7a633f0c638 --label arch=arm64 --label version=0.0.0 . [2023-03-22T04:46:14.769Z] Sending build context to Docker daemon 5.977MB [2023-03-22T04:46:14.769Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-03-22T04:46:14.769Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-22T04:46:14.769Z] ---> 81f6a5dcd9da [2023-03-22T04:46:14.769Z] Step 3/23 : ARG MAKE=make build [2023-03-22T04:46:14.769Z] ---> Running in f07bf48ef21c [2023-03-22T04:46:15.038Z] Removing intermediate container f07bf48ef21c [2023-03-22T04:46:15.038Z] ---> f5000a1445ed [2023-03-22T04:46:15.038Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-22T04:46:15.038Z] ---> Running in 08d899860ec6 [2023-03-22T04:46:15.304Z] Removing intermediate container 08d899860ec6 [2023-03-22T04:46:15.304Z] ---> 82481936c519 [2023-03-22T04:46:15.304Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-22T04:46:15.569Z] ---> Running in 80e05a170fb2 [2023-03-22T04:46:15.836Z] Removing intermediate container 80e05a170fb2 [2023-03-22T04:46:15.836Z] ---> ea5c0fe6fb9f [2023-03-22T04:46:15.836Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-22T04:46:15.836Z] ---> Running in f1b8769e419c [2023-03-22T04:46:16.791Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-22T04:46:17.373Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-22T04:46:18.327Z] OK: 263 MiB in 53 packages [2023-03-22T04:46:19.286Z] Removing intermediate container f1b8769e419c [2023-03-22T04:46:19.286Z] ---> 6624c06872ab [2023-03-22T04:46:19.286Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-22T04:46:19.552Z] ---> 1d37aaac6e04 [2023-03-22T04:46:19.552Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-22T04:46:19.552Z] ---> Running in 539e487e88e1 [2023-03-22T04:46:22.127Z] Removing intermediate container 539e487e88e1 [2023-03-22T04:46:22.127Z] ---> 84a17c42e11e [2023-03-22T04:46:22.127Z] Step 9/23 : COPY . . [2023-03-22T04:46:23.086Z] ---> f9f64f5dfaf1 [2023-03-22T04:46:23.086Z] Step 10/23 : RUN ${MAKE} [2023-03-22T04:46:23.086Z] ---> Running in 35e9d2c8e651 [2023-03-22T04:46:24.042Z] 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-22T04:48:30.685Z] Removing intermediate container 35e9d2c8e651 [2023-03-22T04:48:30.685Z] ---> 262f9c3f4115 [2023-03-22T04:48:30.685Z] Step 11/23 : FROM alpine:3.17 [2023-03-22T04:48:30.685Z] 3.17: Pulling from library/alpine [2023-03-22T04:48:30.685Z] af6eaf76a39c: Already exists [2023-03-22T04:48:30.685Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-22T04:48:30.685Z] Status: Downloaded newer image for alpine:3.17 [2023-03-22T04:48:30.685Z] ---> d74e625d9115 [2023-03-22T04:48:30.685Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-22T04:48:30.685Z] ---> Running in e4a0d45100af [2023-03-22T04:48:30.685Z] Removing intermediate container e4a0d45100af [2023-03-22T04:48:30.685Z] ---> a8e460249d14 [2023-03-22T04:48:30.685Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-22T04:48:30.685Z] ---> Running in 2f211b10c63b [2023-03-22T04:48:30.685Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-22T04:48:30.685Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-22T04:48:30.685Z] OK: 7 MiB in 15 packages [2023-03-22T04:48:30.685Z] Removing intermediate container 2f211b10c63b [2023-03-22T04:48:30.685Z] ---> 922b7867fddb [2023-03-22T04:48:30.685Z] Step 14/23 : WORKDIR / [2023-03-22T04:48:30.685Z] ---> Running in 73dcd34fdf67 [2023-03-22T04:48:30.685Z] Removing intermediate container 73dcd34fdf67 [2023-03-22T04:48:30.685Z] ---> 18001e30fe38 [2023-03-22T04:48:30.685Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-22T04:48:30.951Z] ---> 44744449eae2 [2023-03-22T04:48:30.951Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-22T04:48:32.363Z] ---> 3b2ba1d0f4bd [2023-03-22T04:48:32.363Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-22T04:48:32.947Z] ---> f63896e760fa [2023-03-22T04:48:32.947Z] Step 18/23 : EXPOSE 59999 [2023-03-22T04:48:32.947Z] ---> Running in da9ed54d438e [2023-03-22T04:48:33.215Z] Removing intermediate container da9ed54d438e [2023-03-22T04:48:33.215Z] ---> 22a2714707c1 [2023-03-22T04:48:33.215Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-22T04:48:33.215Z] ---> Running in d6ff483e1a04 [2023-03-22T04:48:33.797Z] Removing intermediate container d6ff483e1a04 [2023-03-22T04:48:33.797Z] ---> 51a859a62997 [2023-03-22T04:48:33.797Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-22T04:48:33.797Z] ---> Running in 70510bd1dacd [2023-03-22T04:48:34.063Z] Removing intermediate container 70510bd1dacd [2023-03-22T04:48:34.063Z] ---> fc9bfe18dad0 [2023-03-22T04:48:34.063Z] Step 21/23 : LABEL arch=arm64 [2023-03-22T04:48:34.063Z] ---> Running in b55d8d852578 [2023-03-22T04:48:34.330Z] Removing intermediate container b55d8d852578 [2023-03-22T04:48:34.330Z] ---> 7cffe3adcfda [2023-03-22T04:48:34.330Z] Step 22/23 : LABEL git_sha=39900c86f6a3830286734405649ec7a633f0c638 [2023-03-22T04:48:34.330Z] ---> Running in 620a5a50c6fc [2023-03-22T04:48:34.599Z] Removing intermediate container 620a5a50c6fc [2023-03-22T04:48:34.599Z] ---> d11b0cf6b794 [2023-03-22T04:48:34.599Z] Step 23/23 : LABEL version=0.0.0 [2023-03-22T04:48:34.866Z] ---> Running in ac36a7302d31 [2023-03-22T04:48:35.133Z] Removing intermediate container ac36a7302d31 [2023-03-22T04:48:35.133Z] ---> 9365e66b23cb [2023-03-22T04:48:35.133Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-22T04:48:35.133Z] Successfully built 9365e66b23cb [2023-03-22T04:48:35.133Z] 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-22T04:48:35.558Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-22T04:48:35.558Z] [2023-03-22T04:48:35.558Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T04:48:35.886Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-22T04:48:35.886Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-22T04:48:35.886Z] 8998bd30e6a1: Pulling fs layer [2023-03-22T04:48:35.886Z] 04944245beec: Pulling fs layer [2023-03-22T04:48:35.886Z] 699f458cf7ca: Pulling fs layer [2023-03-22T04:48:35.886Z] 765212b225bb: Pulling fs layer [2023-03-22T04:48:35.886Z] f23df028b6ca: Pulling fs layer [2023-03-22T04:48:35.886Z] d65c8cfc05b1: Pulling fs layer [2023-03-22T04:48:35.886Z] 2437ff75d9bd: Pulling fs layer [2023-03-22T04:48:35.886Z] f23df028b6ca: Waiting [2023-03-22T04:48:35.886Z] d65c8cfc05b1: Waiting [2023-03-22T04:48:35.886Z] 2437ff75d9bd: Waiting [2023-03-22T04:48:35.886Z] 765212b225bb: Waiting [2023-03-22T04:48:36.154Z] 04944245beec: Verifying Checksum [2023-03-22T04:48:36.154Z] 04944245beec: Download complete [2023-03-22T04:48:36.154Z] 765212b225bb: Verifying Checksum [2023-03-22T04:48:36.154Z] 765212b225bb: Download complete [2023-03-22T04:48:36.154Z] f23df028b6ca: Download complete [2023-03-22T04:48:36.154Z] d65c8cfc05b1: Verifying Checksum [2023-03-22T04:48:36.154Z] d65c8cfc05b1: Download complete [2023-03-22T04:48:36.154Z] 699f458cf7ca: Verifying Checksum [2023-03-22T04:48:36.154Z] 699f458cf7ca: Download complete [2023-03-22T04:48:36.742Z] 8998bd30e6a1: Verifying Checksum [2023-03-22T04:48:36.742Z] 8998bd30e6a1: Download complete [2023-03-22T04:48:38.685Z] 2437ff75d9bd: Verifying Checksum [2023-03-22T04:48:38.685Z] 2437ff75d9bd: Download complete [2023-03-22T04:48:40.626Z] 8998bd30e6a1: Pull complete [2023-03-22T04:48:40.894Z] 04944245beec: Pull complete [2023-03-22T04:48:42.304Z] 699f458cf7ca: Pull complete [2023-03-22T04:48:42.570Z] 765212b225bb: Pull complete [2023-03-22T04:48:43.154Z] f23df028b6ca: Pull complete [2023-03-22T04:48:43.421Z] d65c8cfc05b1: Pull complete [2023-03-22T04:48:58.410Z] 2437ff75d9bd: Pull complete [2023-03-22T04:48:58.410Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-22T04:48:58.410Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-22T04:48:58.410Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T04:48:58.594Z] prd-ubuntu20.04-docker-arm64-4c-16g-5117 does not seem to be running inside a container [2023-03-22T04:48:58.669Z] $ 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/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-22T04:49:01.344Z] $ docker top c7af847889ea3ae48bf0059e2d0f4f7364a5a33e82cd5a5f9224b225a340c09d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-22T04:49:02.162Z] ---> job-cost.sh [2023-03-22T04:49:02.162Z] lf-activate-venv: SKIPPING [2023-03-22T04:49:02.162Z] INFO: No Stack... [2023-03-22T04:49:02.430Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-22T04:49:03.388Z] INFO: Archiving Costs [Pipeline] sh [2023-03-22T04:49:03.708Z] + cat /w/workspace/device-sdk-go/8/archives/cost.csv [2023-03-22T04:49:03.708Z] + cut -d, -f6 [Pipeline] lock [2023-03-22T04:49:04.031Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1379-8-stack-cost] [2023-03-22T04:49:04.037Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1379-8-stack-cost] did not exist. Created. [2023-03-22T04:49:04.038Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1379-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-22T04:49:04.371Z] /w/workspace/device-sdk-go/8@tmp/durable-b5fc46f2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-22T04:49:04.708Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-22T04:49:04.730Z] Warning: overwriting stash ‘stack-cost’ [2023-03-22T04:49:04.788Z] Stashed 1 file(s) [Pipeline] } [2023-03-22T04:49:04.795Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1379-8-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-22T04:49:04.828Z] $ docker stop --time=1 c7af847889ea3ae48bf0059e2d0f4f7364a5a33e82cd5a5f9224b225a340c09d [2023-03-22T04:49:06.302Z] $ docker rm -f --volumes c7af847889ea3ae48bf0059e2d0f4f7364a5a33e82cd5a5f9224b225a340c09d [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-22T04:49:06.682Z] provisioning config files... [2023-03-22T04:49:06.690Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1379@tmp/config11976428889400919875tmp [Pipeline] { [Pipeline] sh [2023-03-22T04:49:07.059Z] + set +x [2023-03-22T04:49:07.059Z] + bash -s -- [2023-03-22T04:49:07.059Z] + curl -s https://codecov.io/bash [2023-03-22T04:49:07.059Z] [2023-03-22T04:49:07.059Z] _____ _ [2023-03-22T04:49:07.059Z] / ____| | | [2023-03-22T04:49:07.059Z] | | ___ __| | ___ ___ _____ __ [2023-03-22T04:49:07.059Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-22T04:49:07.059Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-22T04:49:07.059Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-22T04:49:07.060Z] Bash-1.0.6 [2023-03-22T04:49:07.060Z] [2023-03-22T04:49:07.060Z] [2023-03-22T04:49:07.060Z] ==> git version 2.25.1 found [2023-03-22T04:49:07.060Z] ==> 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-22T04:49:07.060Z] Release-Date: 2020-01-08 [2023-03-22T04:49:07.060Z] 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-22T04:49:07.060Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-22T04:49:07.060Z] ==> Jenkins CI detected. [2023-03-22T04:49:07.060Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1379 [2023-03-22T04:49:07.060Z] project root: . [2023-03-22T04:49:07.060Z] --> token set from env [2023-03-22T04:49:07.060Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-22T04:49:07.060Z] ==> Running gcov in . (disable via -X gcov) [2023-03-22T04:49:07.060Z] ==> Python coveragepy not found [2023-03-22T04:49:07.060Z] ==> Searching for coverage reports in: [2023-03-22T04:49:07.060Z] + . [2023-03-22T04:49:07.060Z] -> Found 1 reports [2023-03-22T04:49:07.060Z] ==> Detecting git/mercurial file structure [2023-03-22T04:49:07.060Z] ==> Reading reports [2023-03-22T04:49:07.060Z] + ./coverage.out bytes=106554 [2023-03-22T04:49:07.060Z] ==> Appending adjustments [2023-03-22T04:49:07.060Z] https://docs.codecov.io/docs/fixing-reports [2023-03-22T04:49:07.318Z] + Found adjustments [2023-03-22T04:49:07.576Z] ==> Gzipping contents [2023-03-22T04:49:07.576Z] 16K /tmp/codecov.JGG6jF.gz [2023-03-22T04:49:07.576Z] ==> Uploading reports [2023-03-22T04:49:07.576Z] url: https://codecov.io [2023-03-22T04:49:07.576Z] query: branch=PR-1379&commit=39900c86f6a3830286734405649ec7a633f0c638&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1379%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1379&job=&cmd_args= [2023-03-22T04:49:07.576Z] -> Pinging Codecov [2023-03-22T04:49:07.577Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1379&commit=39900c86f6a3830286734405649ec7a633f0c638&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1379%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1379&job=&cmd_args= [2023-03-22T04:49:07.577Z] -> Uploading to [2023-03-22T04:49:07.577Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-22/7E55EF52A471D76F132DFD9A03CDDE97/39900c86f6a3830286734405649ec7a633f0c638/651feb72-21f3-4231-957d-1c994d926212.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230322%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230322T044907Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9c6e2682a760dcecc15c6082874383a68ff614c946d1fc6e3a18b3ea7fc088bf [2023-03-22T04:49:07.577Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-22T04:49:07.577Z] Dload Upload Total Spent Left Speed [2023-03-22T04:49:08.094Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15094 0 0 100 15094 0 64781 --:--:-- --:--:-- --:--:-- 64504 100 15094 0 0 100 15094 0 47615 --:--:-- --:--:-- --:--:-- 47465 [2023-03-22T04:49:08.094Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/39900c86f6a3830286734405649ec7a633f0c638 [Pipeline] } [2023-03-22T04:49:08.102Z] 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-22T04:49:08.870Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1379/archives ] [2023-03-22T04:49:08.870Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1379/archives [2023-03-22T04:49:08.870Z] total 16 [2023-03-22T04:49:08.870Z] drwxr-xr-x 3 root root 4096 Mar 22 04:38 . [2023-03-22T04:49:08.870Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 22 04:38 .. [2023-03-22T04:49:08.870Z] drwxr-xr-x 2 root root 4096 Mar 22 04:38 cost [2023-03-22T04:49:08.870Z] -rw-r--r-- 1 root root 86 Mar 22 04:38 cost.csv [2023-03-22T04:49:08.870Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1379/archives [2023-03-22T04:49:08.870Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1379/archives [2023-03-22T04:49:08.870Z] total 16 [2023-03-22T04:49:08.870Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 22 04:38 . [2023-03-22T04:49:08.870Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 22 04:38 .. [2023-03-22T04:49:08.870Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 22 04:38 cost [2023-03-22T04:49:08.870Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 22 04:38 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-22T04:49:09.158Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T04:49:10.012Z] ---> package-listing.sh [2023-03-22T04:49:10.012Z] ++ facter osfamily [2023-03-22T04:49:10.012Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-22T04:49:10.271Z] + OS_FAMILY=debian [2023-03-22T04:49:10.271Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1379 [2023-03-22T04:49:10.271Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-22T04:49:10.271Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-22T04:49:10.271Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-22T04:49:10.271Z] + PACKAGES=/tmp/packages_start.txt [2023-03-22T04:49:10.271Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1379 ']' [2023-03-22T04:49:10.271Z] + PACKAGES=/tmp/packages_end.txt [2023-03-22T04:49:10.271Z] + case "${OS_FAMILY}" in [2023-03-22T04:49:10.271Z] + dpkg -l [2023-03-22T04:49:10.271Z] + grep '^ii' [2023-03-22T04:49:10.271Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-22T04:49:10.271Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-22T04:49:10.271Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-22T04:49:10.271Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1379 ']' [2023-03-22T04:49:10.271Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1379/archives/ [2023-03-22T04:49:10.271Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1379/archives/ [Pipeline] echo [2023-03-22T04:49:10.280Z] 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-1379/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-22T04:49:10.555Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T04:49:11.113Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-22T04:49:11.113Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T04:49:11.189Z] prd-ubuntu20.04-docker-8c-8g-5116 does not seem to be running inside a container [2023-03-22T04:49:11.212Z] $ 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-1379/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-1379 -v /w/workspace/gexfoundry_device-sdk-go_PR-1379:/w/workspace/gexfoundry_device-sdk-go_PR-1379:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1379@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1379@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-22T04:49:11.414Z] $ docker top 6b11211e7e63b3412f8038d82c5afec065fea9d66a00e57ef5bf7a361f8ef984 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-22T04:49:11.770Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-22T04:49:12.055Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-22T04:49:12.340Z] + ls /var/log/sa-host [2023-03-22T04:49:12.340Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-22T04:49:12.410Z] provisioning config files... [2023-03-22T04:49:12.418Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1379@tmp/config10820181111427411072tmp [Pipeline] { [Pipeline] echo [2023-03-22T04:49:12.434Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T04:49:12.714Z] ---> create-netrc.sh [Pipeline] } [2023-03-22T04:49:12.721Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-22T04:49:13.039Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-22T04:49:13.047Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T04:49:13.343Z] ---> sudo-logs.sh [2023-03-22T04:49:13.343Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-22T04:49:13.373Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T04:49:13.655Z] ---> job-cost.sh [2023-03-22T04:49:13.655Z] lf-activate-venv: SKIPPING [2023-03-22T04:49:13.655Z] DEBUG: total: 0.2199999988079071 [2023-03-22T04:49:13.655Z] INFO: Retrieving Stack Cost... [2023-03-22T04:49:13.914Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-22T04:49:14.483Z] INFO: Archiving Costs [Pipeline] echo [2023-03-22T04:49:14.494Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T04:49:14.776Z] ---> logs-deploy.sh [2023-03-22T04:49:14.776Z] lf-activate-venv: SKIPPING [2023-03-22T04:49:14.776Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1379/8 [2023-03-22T04:49:14.776Z] INFO: archiving workspace using pattern(s): [2023-03-22T04:49:15.714Z] Archives upload complete. [2023-03-22T04:49:15.974Z] INFO: archiving logs to Nexus