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 95b100dc0b0f73b4ada5d8470512ecbb5b810b74+c61610bbbff1187c8ac68f5c7e0a10add7b75ddb (8445cef480c4c75f4c59ed1b32888e2bd8af927e) 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-ssh16379335002130335967.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-ssh2747225255188304206.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-ssh1297838732058368012.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-ssh3304764637510604135.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-ssh9553245810783722498.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-4781 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 c61610bbbff1187c8ac68f5c7e0a10add7b75ddb into PR head commit 95b100dc0b0f73b4ada5d8470512ecbb5b810b74 Merge succeeded, producing 95b100dc0b0f73b4ada5d8470512ecbb5b810b74 Checking out Revision 95b100dc0b0f73b4ada5d8470512ecbb5b810b74 (PR-1379) > git config core.sparsecheckout # timeout=10 > git checkout -f 95b100dc0b0f73b4ada5d8470512ecbb5b810b74 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge c61610bbbff1187c8ac68f5c7e0a10add7b75ddb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 95b100dc0b0f73b4ada5d8470512ecbb5b810b74 # timeout=10 Commit message: "feat: enable regex for executing GET command" First time build. Skipping changelog. > git rev-list --no-walk aae4d1a1d74f2c64cf58ab0bece5b9cd83356be1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-21T09:02:08.095Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-21T09:02:08.132Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-21T09:02:08.146Z] ========================================================= [2023-03-21T09:02:08.146Z] EdgeX Global Pipelines Version Info [2023-03-21T09:02:08.146Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-21T09:02:08.867Z] ------------------- [2023-03-21T09:02:08.867Z] stable info: [2023-03-21T09:02:08.867Z] ------------------- [2023-03-21T09:02:08.867Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-21T09:02:08.867Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-21T09:02:08.867Z] Message: update stable to v1.0.245 [2023-03-21T09:02:09.443Z] ------------------- [2023-03-21T09:02:09.443Z] experimental info: [2023-03-21T09:02:09.443Z] ------------------- [2023-03-21T09:02:09.443Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-21T09:02:09.443Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-21T09:02:09.443Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-21T09:02:09.614Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-03-21T09:02:09.629Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-03-21T09:02:09.640Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-21T09:02:09.652Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-21T09:02:09.666Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-21T09:02:09.681Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-21T09:02:09.690Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-21T09:02:09.701Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-03-21T09:02:09.712Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-21T09:02:09.723Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-21T09:02:09.734Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-21T09:02:09.744Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-03-21T09:02:09.755Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-21T09:02:09.766Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-21T09:02:09.777Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-21T09:02:09.788Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-03-21T09:02:09.798Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-21T09:02:09.808Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-21T09:02:09.820Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-21T09:02:09.830Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-21T09:02:09.841Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-21T09:02:09.852Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-03-21T09:02:09.863Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-21T09:02:09.874Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-21T09:02:09.885Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-21T09:02:09.900Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-21T09:02:09.912Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-21T09:02:09.923Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1379 [Pipeline] echo [2023-03-21T09:02:09.934Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1379 [Pipeline] echo [2023-03-21T09:02:09.944Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1379 [Pipeline] echo [2023-03-21T09:02:09.955Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 95b100dc0b0f73b4ada5d8470512ecbb5b810b74 [Pipeline] echo [2023-03-21T09:02:09.966Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 95b100d [Pipeline] echo [2023-03-21T09:02:09.980Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-21T09:02:10.026Z] provisioning config files... [2023-03-21T09:02:10.042Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1379@tmp/config17444347810046187946tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T09:02:10.342Z] ---> docker-login.sh [2023-03-21T09:02:10.342Z] nexus3.edgexfoundry.org:10001 [2023-03-21T09:02:10.603Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T09:02:10.603Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T09:02:10.603Z] Configure a credential helper to remove this warning. See [2023-03-21T09:02:10.603Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T09:02:10.603Z] [2023-03-21T09:02:10.603Z] Login Succeeded [2023-03-21T09:02:10.603Z] nexus3.edgexfoundry.org:10002 [2023-03-21T09:02:10.603Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T09:02:10.865Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T09:02:10.865Z] Configure a credential helper to remove this warning. See [2023-03-21T09:02:10.865Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T09:02:10.865Z] [2023-03-21T09:02:10.865Z] Login Succeeded [2023-03-21T09:02:10.865Z] nexus3.edgexfoundry.org:10003 [2023-03-21T09:02:10.865Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T09:02:10.865Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T09:02:10.865Z] Configure a credential helper to remove this warning. See [2023-03-21T09:02:10.865Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T09:02:10.865Z] [2023-03-21T09:02:10.865Z] Login Succeeded [2023-03-21T09:02:10.865Z] nexus3.edgexfoundry.org:10004 [2023-03-21T09:02:10.865Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T09:02:10.865Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T09:02:10.865Z] Configure a credential helper to remove this warning. See [2023-03-21T09:02:10.865Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T09:02:10.865Z] [2023-03-21T09:02:11.126Z] Login Succeeded [2023-03-21T09:02:11.126Z] docker.io [2023-03-21T09:02:11.126Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T09:02:11.386Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T09:02:11.386Z] Configure a credential helper to remove this warning. See [2023-03-21T09:02:11.386Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T09:02:11.386Z] [2023-03-21T09:02:11.386Z] Login Succeeded [2023-03-21T09:02:11.386Z] ---> docker-login.sh ends [Pipeline] } [2023-03-21T09:02:11.395Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-21T09:02:11.776Z] + git rev-list -1 --merges 95b100dc0b0f73b4ada5d8470512ecbb5b810b74~1..95b100dc0b0f73b4ada5d8470512ecbb5b810b74 [Pipeline] echo [2023-03-21T09:02:11.818Z] -----------> git rev-list -1 --merges 95b100dc0b0f73b4ada5d8470512ecbb5b810b74~1..95b100dc0b0f73b4ada5d8470512ecbb5b810b74 95b100dc0b0f73b4ada5d8470512ecbb5b810b74 [false] [Pipeline] sh [2023-03-21T09:02:12.102Z] + git log --format=format:%s -1 95b100dc0b0f73b4ada5d8470512ecbb5b810b74 [Pipeline] echo [2023-03-21T09:02:12.116Z] ========================================================= [2023-03-21T09:02:12.116Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-21T09:02:12.116Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-21T09:02:12.434Z] + git log --format=format:%s -1 95b100dc0b0f73b4ada5d8470512ecbb5b810b74 [Pipeline] echo [2023-03-21T09:02:12.444Z] [semverPrep] GIT_COMMIT: 95b100dc0b0f73b4ada5d8470512ecbb5b810b74, Commit Message: feat: enable regex for executing GET command [Pipeline] echo [2023-03-21T09:02:12.454Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-21T09:02:12.804Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-21T09:02:12.804Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-21T09:02:12.804Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-21T09:02:12.804Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-21T09:02:12.804Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-21T09:02:12.804Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-21T09:02:12.804Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T09:02:13.203Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-21T09:02:13.203Z] [2023-03-21T09:02:13.203Z] 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-21T09:02:13.503Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-21T09:02:13.503Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-21T09:02:13.503Z] b85a868b505f: Pulling fs layer [2023-03-21T09:02:13.503Z] e2be974225ed: Pulling fs layer [2023-03-21T09:02:13.503Z] 339a4e72a1f5: Pulling fs layer [2023-03-21T09:02:13.504Z] 988bab9f4d93: Pulling fs layer [2023-03-21T09:02:13.504Z] 1469e6f7b9e6: Pulling fs layer [2023-03-21T09:02:13.504Z] eaf3925da568: Pulling fs layer [2023-03-21T09:02:13.504Z] bab4dde63d76: Pulling fs layer [2023-03-21T09:02:13.504Z] bde34c3a00c8: Pulling fs layer [2023-03-21T09:02:13.504Z] b352a97aabf1: Pulling fs layer [2023-03-21T09:02:13.504Z] 4872d77fe225: Pulling fs layer [2023-03-21T09:02:13.504Z] 5851b861e8e6: Pulling fs layer [2023-03-21T09:02:13.504Z] bab4dde63d76: Waiting [2023-03-21T09:02:13.504Z] bde34c3a00c8: Waiting [2023-03-21T09:02:13.504Z] b352a97aabf1: Waiting [2023-03-21T09:02:13.504Z] 4872d77fe225: Waiting [2023-03-21T09:02:13.504Z] 5851b861e8e6: Waiting [2023-03-21T09:02:13.504Z] 988bab9f4d93: Waiting [2023-03-21T09:02:13.504Z] 1469e6f7b9e6: Waiting [2023-03-21T09:02:13.504Z] eaf3925da568: Waiting [2023-03-21T09:02:13.504Z] e2be974225ed: Verifying Checksum [2023-03-21T09:02:13.504Z] e2be974225ed: Download complete [2023-03-21T09:02:13.504Z] 988bab9f4d93: Verifying Checksum [2023-03-21T09:02:13.504Z] 988bab9f4d93: Download complete [2023-03-21T09:02:13.764Z] 339a4e72a1f5: Verifying Checksum [2023-03-21T09:02:13.764Z] 339a4e72a1f5: Download complete [2023-03-21T09:02:13.764Z] eaf3925da568: Verifying Checksum [2023-03-21T09:02:13.764Z] eaf3925da568: Download complete [2023-03-21T09:02:13.764Z] 1469e6f7b9e6: Verifying Checksum [2023-03-21T09:02:13.764Z] 1469e6f7b9e6: Download complete [2023-03-21T09:02:13.764Z] bde34c3a00c8: Download complete [2023-03-21T09:02:13.764Z] b352a97aabf1: Verifying Checksum [2023-03-21T09:02:13.764Z] b352a97aabf1: Download complete [2023-03-21T09:02:13.764Z] 4872d77fe225: Verifying Checksum [2023-03-21T09:02:13.764Z] 4872d77fe225: Download complete [2023-03-21T09:02:13.764Z] 5851b861e8e6: Verifying Checksum [2023-03-21T09:02:13.764Z] 5851b861e8e6: Download complete [2023-03-21T09:02:13.764Z] b85a868b505f: Download complete [2023-03-21T09:02:14.023Z] bab4dde63d76: Verifying Checksum [2023-03-21T09:02:14.024Z] bab4dde63d76: Download complete [2023-03-21T09:02:14.963Z] b85a868b505f: Pull complete [2023-03-21T09:02:15.224Z] e2be974225ed: Pull complete [2023-03-21T09:02:15.484Z] 339a4e72a1f5: Pull complete [2023-03-21T09:02:15.743Z] 988bab9f4d93: Pull complete [2023-03-21T09:02:16.004Z] 1469e6f7b9e6: Pull complete [2023-03-21T09:02:16.004Z] eaf3925da568: Pull complete [2023-03-21T09:02:17.913Z] bab4dde63d76: Pull complete [2023-03-21T09:02:17.913Z] bde34c3a00c8: Pull complete [2023-03-21T09:02:17.913Z] b352a97aabf1: Pull complete [2023-03-21T09:02:18.182Z] 4872d77fe225: Pull complete [2023-03-21T09:02:18.182Z] 5851b861e8e6: Pull complete [2023-03-21T09:02:18.182Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-21T09:02:18.182Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-21T09:02:18.182Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T09:02:18.288Z] prd-ubuntu20.04-docker-8c-8g-4781 does not seem to be running inside a container [2023-03-21T09:02:18.322Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-21T09:02:20.457Z] $ docker top 8f60d7d16b29bf85b59ba65c31e5f93cccef5afb6c13555594b4a3a74b73ea96 -eo pid,comm [2023-03-21T09:02:20.514Z] 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-21T09:02:20.514Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-21T09:02:20.560Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-21T09:02:20.560Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-21T09:02:20.671Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-21T09:02:20.676Z] $ docker exec 8f60d7d16b29bf85b59ba65c31e5f93cccef5afb6c13555594b4a3a74b73ea96 ssh-agent [2023-03-21T09:02:20.783Z] SSH_AUTH_SOCK=/tmp/ssh-UslEYwXbaRCM/agent.32 [2023-03-21T09:02:20.783Z] SSH_AGENT_PID=38 [2023-03-21T09:02:20.790Z] Running ssh-add (command line suppressed) [2023-03-21T09:02:20.901Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1379@tmp/private_key_5588898505465851771.key (/w/workspace/gexfoundry_device-sdk-go_PR-1379@tmp/private_key_5588898505465851771.key) [2023-03-21T09:02:20.914Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-21T09:02:21.214Z] + git tag --points-at HEAD [Pipeline] } [2023-03-21T09:02:21.227Z] $ docker exec --env ******** --env ******** 8f60d7d16b29bf85b59ba65c31e5f93cccef5afb6c13555594b4a3a74b73ea96 ssh-agent -k [2023-03-21T09:02:21.325Z] unset SSH_AUTH_SOCK; [2023-03-21T09:02:21.326Z] unset SSH_AGENT_PID; [2023-03-21T09:02:21.326Z] echo Agent pid 38 killed; [2023-03-21T09:02:21.338Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-21T09:02:21.361Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-21T09:02:21.361Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-21T09:02:21.472Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-21T09:02:21.476Z] $ docker exec 8f60d7d16b29bf85b59ba65c31e5f93cccef5afb6c13555594b4a3a74b73ea96 ssh-agent [2023-03-21T09:02:21.592Z] SSH_AUTH_SOCK=/tmp/ssh-dhK3MpdvmlSb/agent.71 [2023-03-21T09:02:21.592Z] SSH_AGENT_PID=78 [2023-03-21T09:02:21.597Z] Running ssh-add (command line suppressed) [2023-03-21T09:02:21.696Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1379@tmp/private_key_13138181223486781362.key (/w/workspace/gexfoundry_device-sdk-go_PR-1379@tmp/private_key_13138181223486781362.key) [2023-03-21T09:02:21.707Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-21T09:02:21.996Z] + git semver init [2023-03-21T09:02:22.255Z] 2023-03-21 09:02:22,181 [run_init] DEBUG init version:0.0.0 force:False [2023-03-21T09:02:22.255Z] 2023-03-21 09:02:22,182 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1379/.semver [2023-03-21T09:02:22.255Z] 2023-03-21 09:02:22,182 [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-21T09:02:22.255Z] 2023-03-21 09:02:22,182 [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-21T09:02:23.194Z] 2023-03-21 09:02:23,082 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1379/.git/info/exclude [2023-03-21T09:02:23.194Z] 2023-03-21 09:02:23,083 [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-21T09:02:23.194Z] 2023-03-21 09:02:23,083 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1379/.semver/PR-1379 [2023-03-21T09:02:23.194Z] 2023-03-21 09:02:23,087 [execute] INFO git cat-file --batch-check [2023-03-21T09:02:23.194Z] 2023-03-21 09:02:23,088 [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-21T09:02:23.194Z] 2023-03-21 09:02:23,093 [execute] INFO git cat-file --batch [2023-03-21T09:02:23.194Z] 2023-03-21 09:02:23,094 [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-21T09:02:23.194Z] 2023-03-21 09:02:23,099 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1379/.semver/PR-1379 [2023-03-21T09:02:23.194Z] 0.0.0 [Pipeline] } [2023-03-21T09:02:23.205Z] $ docker exec --env ******** --env ******** 8f60d7d16b29bf85b59ba65c31e5f93cccef5afb6c13555594b4a3a74b73ea96 ssh-agent -k [2023-03-21T09:02:23.304Z] unset SSH_AUTH_SOCK; [2023-03-21T09:02:23.304Z] unset SSH_AGENT_PID; [2023-03-21T09:02:23.304Z] echo Agent pid 78 killed; [2023-03-21T09:02:23.315Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-21T09:02:23.617Z] + git semver [Pipeline] } [2023-03-21T09:02:23.894Z] $ docker stop --time=1 8f60d7d16b29bf85b59ba65c31e5f93cccef5afb6c13555594b4a3a74b73ea96 [2023-03-21T09:02:25.210Z] $ docker rm -f --volumes 8f60d7d16b29bf85b59ba65c31e5f93cccef5afb6c13555594b4a3a74b73ea96 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-21T09:02:25.555Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-21T09:02:25.753Z] Stashed 1 file(s) [Pipeline] echo [2023-03-21T09:02:25.756Z] [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-21T09:02:25.906Z] provisioning config files... [2023-03-21T09:02:25.915Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1379@tmp/config946009812153821593tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T09:02:26.208Z] ---> docker-login.sh [2023-03-21T09:02:26.208Z] nexus3.edgexfoundry.org:10001 [2023-03-21T09:02:26.208Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T09:02:26.208Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T09:02:26.208Z] Configure a credential helper to remove this warning. See [2023-03-21T09:02:26.208Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T09:02:26.208Z] [2023-03-21T09:02:26.208Z] Login Succeeded [2023-03-21T09:02:26.208Z] nexus3.edgexfoundry.org:10002 [2023-03-21T09:02:26.208Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T09:02:26.467Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T09:02:26.467Z] Configure a credential helper to remove this warning. See [2023-03-21T09:02:26.467Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T09:02:26.467Z] [2023-03-21T09:02:26.467Z] Login Succeeded [2023-03-21T09:02:26.467Z] nexus3.edgexfoundry.org:10003 [2023-03-21T09:02:26.467Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T09:02:26.467Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T09:02:26.467Z] Configure a credential helper to remove this warning. See [2023-03-21T09:02:26.467Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T09:02:26.467Z] [2023-03-21T09:02:26.467Z] Login Succeeded [2023-03-21T09:02:26.467Z] nexus3.edgexfoundry.org:10004 [2023-03-21T09:02:26.467Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T09:02:26.467Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T09:02:26.467Z] Configure a credential helper to remove this warning. See [2023-03-21T09:02:26.467Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T09:02:26.467Z] [2023-03-21T09:02:26.467Z] Login Succeeded [2023-03-21T09:02:26.467Z] docker.io [2023-03-21T09:02:26.727Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T09:02:26.727Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T09:02:26.727Z] Configure a credential helper to remove this warning. See [2023-03-21T09:02:26.727Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T09:02:26.727Z] [2023-03-21T09:02:26.727Z] Login Succeeded [2023-03-21T09:02:26.727Z] ---> docker-login.sh ends [Pipeline] } [2023-03-21T09:02:26.734Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-21T09:02:26.793Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T09:02:26.804Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T09:02:26.810Z] ========================================================= [2023-03-21T09:02:26.810Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-21T09:02:26.810Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T09:02:27.110Z] + 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-21T09:02:27.110Z] Sending build context to Docker daemon 10.83MB [2023-03-21T09:02:27.110Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-21T09:02:27.110Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-21T09:02:27.110Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-21T09:02:27.110Z] 63b65145d645: Pulling fs layer [2023-03-21T09:02:27.110Z] a2d21d5440eb: Pulling fs layer [2023-03-21T09:02:27.110Z] 935e6c44a52c: Pulling fs layer [2023-03-21T09:02:27.110Z] 94cc34f8dd06: Pulling fs layer [2023-03-21T09:02:27.110Z] 30dea6a524f1: Pulling fs layer [2023-03-21T09:02:27.110Z] a2aff8979fd8: Pulling fs layer [2023-03-21T09:02:27.110Z] 6808be2612f2: Pulling fs layer [2023-03-21T09:02:27.110Z] f25807f1079a: Pulling fs layer [2023-03-21T09:02:27.369Z] 6808be2612f2: Waiting [2023-03-21T09:02:27.369Z] a2aff8979fd8: Waiting [2023-03-21T09:02:27.369Z] f25807f1079a: Waiting [2023-03-21T09:02:27.369Z] 94cc34f8dd06: Waiting [2023-03-21T09:02:27.369Z] a2d21d5440eb: Download complete [2023-03-21T09:02:27.369Z] 94cc34f8dd06: Verifying Checksum [2023-03-21T09:02:27.369Z] 94cc34f8dd06: Download complete [2023-03-21T09:02:27.369Z] 30dea6a524f1: Verifying Checksum [2023-03-21T09:02:27.369Z] 30dea6a524f1: Download complete [2023-03-21T09:02:27.369Z] 63b65145d645: Verifying Checksum [2023-03-21T09:02:27.369Z] 63b65145d645: Download complete [2023-03-21T09:02:27.369Z] a2aff8979fd8: Verifying Checksum [2023-03-21T09:02:27.369Z] a2aff8979fd8: Download complete [2023-03-21T09:02:27.635Z] 63b65145d645: Pull complete [2023-03-21T09:02:27.635Z] a2d21d5440eb: Pull complete [2023-03-21T09:02:27.897Z] f25807f1079a: Verifying Checksum [2023-03-21T09:02:27.897Z] f25807f1079a: Download complete [2023-03-21T09:02:27.897Z] 935e6c44a52c: Verifying Checksum [2023-03-21T09:02:27.897Z] 935e6c44a52c: Download complete [2023-03-21T09:02:28.157Z] 6808be2612f2: Verifying Checksum [2023-03-21T09:02:28.157Z] 6808be2612f2: Download complete [2023-03-21T09:02:31.449Z] 935e6c44a52c: Pull complete [2023-03-21T09:02:31.449Z] 94cc34f8dd06: Pull complete [2023-03-21T09:02:31.449Z] 30dea6a524f1: Pull complete [2023-03-21T09:02:31.449Z] a2aff8979fd8: Pull complete [2023-03-21T09:02:33.356Z] 6808be2612f2: Pull complete [2023-03-21T09:02:33.920Z] f25807f1079a: Pull complete [2023-03-21T09:02:34.179Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-21T09:02:34.179Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-21T09:02:34.179Z] ---> 3b553350e43f [2023-03-21T09:02:34.179Z] Step 3/10 : ARG MAKE=make build [2023-03-21T09:02:37.473Z] ---> Running in e2b17fdffa10 [2023-03-21T09:02:37.473Z] Removing intermediate container e2b17fdffa10 [2023-03-21T09:02:37.473Z] ---> ecfcee1dba98 [2023-03-21T09:02:37.473Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-21T09:02:37.473Z] ---> Running in ce87c3663561 [2023-03-21T09:02:37.473Z] Removing intermediate container ce87c3663561 [2023-03-21T09:02:37.473Z] ---> 6b3e870f69eb [2023-03-21T09:02:37.473Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-21T09:02:37.733Z] ---> Running in 1036b9a61500 [2023-03-21T09:02:37.733Z] Removing intermediate container 1036b9a61500 [2023-03-21T09:02:37.733Z] ---> d2aeab4d2054 [2023-03-21T09:02:37.733Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-21T09:02:37.733Z] ---> Running in ffcac11f5eb3 [2023-03-21T09:02:37.992Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-21T09:02:38.251Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-21T09:02:38.512Z] OK: 265 MiB in 53 packages [2023-03-21T09:02:38.771Z] Removing intermediate container ffcac11f5eb3 [2023-03-21T09:02:38.771Z] ---> a759549ff16c [2023-03-21T09:02:38.771Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-21T09:02:38.771Z] ---> ebef70c7431b [2023-03-21T09:02:38.771Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T09:02:38.771Z] ---> Running in 0a4606db483c [2023-03-21T09:02:40.862Z] Still waiting to schedule task [2023-03-21T09:02:40.863Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-21T09:03:17.548Z] Removing intermediate container 0a4606db483c [2023-03-21T09:03:17.548Z] ---> b20bd5a1b7ad [2023-03-21T09:03:17.548Z] Step 9/10 : COPY . . [2023-03-21T09:03:17.548Z] ---> 7885fdabb001 [2023-03-21T09:03:17.548Z] Step 10/10 : RUN ${MAKE} [2023-03-21T09:03:17.548Z] ---> Running in d4e0554b62ea [2023-03-21T09:03:17.548Z] noop [2023-03-21T09:03:17.548Z] Removing intermediate container d4e0554b62ea [2023-03-21T09:03:17.548Z] ---> 279eee73c826 [2023-03-21T09:03:17.548Z] Successfully built 279eee73c826 [2023-03-21T09:03:17.548Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T09:03:17.862Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-21T09:03:17.862Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T09:03:17.960Z] prd-ubuntu20.04-docker-8c-8g-4781 does not seem to be running inside a container [2023-03-21T09:03:17.997Z] $ 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 ******** ci-base-image-x86_64 cat [2023-03-21T09:03:18.412Z] $ docker top 7000ba42519f006091ee80bc1c960f22d050b62f1565b00a18ba1594721c0900 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T09:03:18.748Z] + go version [2023-03-21T09:03:18.748Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-21T09:03:18.763Z] $ docker stop --time=1 7000ba42519f006091ee80bc1c960f22d050b62f1565b00a18ba1594721c0900 [2023-03-21T09:03:20.046Z] $ docker rm -f --volumes 7000ba42519f006091ee80bc1c960f22d050b62f1565b00a18ba1594721c0900 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T09:03:20.448Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-21T09:03:20.448Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T09:03:20.525Z] prd-ubuntu20.04-docker-8c-8g-4781 does not seem to be running inside a container [2023-03-21T09:03:20.561Z] $ 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 ******** ci-base-image-x86_64 cat [2023-03-21T09:03:20.896Z] $ docker top 1b14bcad32e23a4abb147da00ea4998c21a25a3fd5a23ae1c1ae1574ad45381e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T09:03:21.238Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1379 [Pipeline] fileExists [Pipeline] sh [2023-03-21T09:03:21.530Z] + make test [2023-03-21T09:03:21.530Z] go test -race -coverprofile=coverage.out ./... [2023-03-21T09:03:28.088Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-21T09:03:42.974Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-21T09:03:42.974Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-21T09:03:42.974Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-21T09:03:42.974Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-21T09:03:42.974Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-21T09:03:42.974Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.049s coverage: 27.6% of statements [2023-03-21T09:03:42.974Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-21T09:03:42.974Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-21T09:03:42.974Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.058s coverage: 79.9% of statements [2023-03-21T09:03:42.974Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.085s coverage: 86.0% of statements [2023-03-21T09:03:42.974Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-21T09:03:42.974Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-21T09:03:42.974Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.114s coverage: 75.9% of statements [2023-03-21T09:03:43.231Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-21T09:03:43.231Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-21T09:03:43.796Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-21T09:03:45.703Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.063s coverage: 15.1% of statements [2023-03-21T09:03:45.703Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.076s coverage: 65.7% of statements [2023-03-21T09:03:45.703Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.112s coverage: 89.2% of statements [2023-03-21T09:03:45.703Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.060s coverage: 5.5% of statements [2023-03-21T09:04:07.635Z] GO111MODULE=on go vet ./... [2023-03-21T09:04:08.569Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-21T09:04:08.569Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-21T09:04:08.569Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-21T09:04:08.581Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-21T09:04:08.601Z] $ docker stop --time=1 1b14bcad32e23a4abb147da00ea4998c21a25a3fd5a23ae1c1ae1574ad45381e [2023-03-21T09:04:11.924Z] $ docker rm -f --volumes 1b14bcad32e23a4abb147da00ea4998c21a25a3fd5a23ae1c1ae1574ad45381e [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-21T09:04:12.461Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-21T09:04:12.544Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-21T09:04:13.047Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-21T09:04:13.328Z] + ls -al . [2023-03-21T09:04:13.328Z] total 276 [2023-03-21T09:04:13.328Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 21 09:03 . [2023-03-21T09:04:13.328Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 09:01 .. [2023-03-21T09:04:13.328Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 21 09:01 .dockerignore [2023-03-21T09:04:13.328Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 09:02 .git [2023-03-21T09:04:13.328Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 09:01 .github [2023-03-21T09:04:13.328Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 21 09:01 .gitignore [2023-03-21T09:04:13.328Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 21 09:01 .golangci.yml [2023-03-21T09:04:13.328Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 09:02 .semver [2023-03-21T09:04:13.328Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 21 09:01 CHANGELOG.md [2023-03-21T09:04:13.328Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 09:01 GOVERNANCE.md [2023-03-21T09:04:13.328Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 21 09:01 Jenkinsfile [2023-03-21T09:04:13.328Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 21 09:01 LICENSE [2023-03-21T09:04:13.328Z] -rw-rw-r-- 1 jenkins jenkins 1714 Mar 21 09:01 Makefile [2023-03-21T09:04:13.328Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 21 09:01 OWNERS.md [2023-03-21T09:04:13.328Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 21 09:01 README.md [2023-03-21T09:04:13.328Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 09:02 VERSION [2023-03-21T09:04:13.328Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 09:01 bin [2023-03-21T09:04:13.328Z] -rw-r--r-- 1 jenkins jenkins 110048 Mar 21 09:03 coverage.out [2023-03-21T09:04:13.328Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 21 09:01 example [2023-03-21T09:04:13.328Z] -rw-rw-r-- 1 jenkins jenkins 3291 Mar 21 09:01 go.mod [2023-03-21T09:04:13.328Z] -rw-rw-r-- 1 jenkins jenkins 30841 Mar 21 09:01 go.sum [2023-03-21T09:04:13.328Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 21 09:01 internal [2023-03-21T09:04:13.328Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 09:01 openapi [2023-03-21T09:04:13.328Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 21 09:01 pkg [2023-03-21T09:04:13.328Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 09:01 snap [2023-03-21T09:04:13.328Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 21 09:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T09:04:13.636Z] + 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=95b100dc0b0f73b4ada5d8470512ecbb5b810b74 --label arch=amd64 --label version=0.0.0 . [2023-03-21T09:04:13.636Z] Sending build context to Docker daemon 10.94MB [2023-03-21T09:04:13.636Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-03-21T09:04:13.636Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-21T09:04:13.636Z] ---> 279eee73c826 [2023-03-21T09:04:13.636Z] Step 3/23 : ARG MAKE=make build [2023-03-21T09:04:13.895Z] ---> Running in dc3d4a273d1f [2023-03-21T09:04:13.895Z] Removing intermediate container dc3d4a273d1f [2023-03-21T09:04:13.895Z] ---> d36b8d7b55a7 [2023-03-21T09:04:13.895Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-21T09:04:13.895Z] ---> Running in 7cd3b351efee [2023-03-21T09:04:13.895Z] Removing intermediate container 7cd3b351efee [2023-03-21T09:04:13.895Z] ---> d5bebc416e86 [2023-03-21T09:04:13.895Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-21T09:04:14.154Z] ---> Running in 033d4d10d319 [2023-03-21T09:04:14.154Z] Removing intermediate container 033d4d10d319 [2023-03-21T09:04:14.154Z] ---> bde87baf628b [2023-03-21T09:04:14.154Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-21T09:04:14.154Z] ---> Running in 56e70a268c65 [2023-03-21T09:04:14.413Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-21T09:04:14.671Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-21T09:04:14.671Z] OK: 265 MiB in 53 packages [2023-03-21T09:04:14.930Z] Removing intermediate container 56e70a268c65 [2023-03-21T09:04:14.930Z] ---> 5274de9238cb [2023-03-21T09:04:14.930Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-21T09:04:15.189Z] ---> e17ef2565b81 [2023-03-21T09:04:15.189Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T09:04:15.189Z] ---> Running in 269f88bbbcd1 [2023-03-21T09:04:16.126Z] Removing intermediate container 269f88bbbcd1 [2023-03-21T09:04:16.126Z] ---> 491f338a6421 [2023-03-21T09:04:16.126Z] Step 9/23 : COPY . . [2023-03-21T09:04:16.398Z] ---> e38ce1156ffe [2023-03-21T09:04:16.398Z] Step 10/23 : RUN ${MAKE} [2023-03-21T09:04:16.657Z] ---> Running in a689da1b6aef [2023-03-21T09:04:16.916Z] 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-21T09:04:38.853Z] Removing intermediate container a689da1b6aef [2023-03-21T09:04:38.853Z] ---> f4f5a102958b [2023-03-21T09:04:38.853Z] Step 11/23 : FROM alpine:3.17 [2023-03-21T09:04:38.853Z] 3.17: Pulling from library/alpine [2023-03-21T09:04:38.853Z] 63b65145d645: Already exists [2023-03-21T09:04:38.853Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-21T09:04:38.853Z] Status: Downloaded newer image for alpine:3.17 [2023-03-21T09:04:38.853Z] ---> b2aa39c304c2 [2023-03-21T09:04:38.853Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-21T09:04:38.853Z] ---> Running in 123ed7648f77 [2023-03-21T09:04:38.853Z] Removing intermediate container 123ed7648f77 [2023-03-21T09:04:38.853Z] ---> 5a4001d876a7 [2023-03-21T09:04:38.853Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-21T09:04:38.853Z] ---> Running in 9821ca2a83ca [2023-03-21T09:04:38.853Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-21T09:04:38.853Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-21T09:04:38.853Z] OK: 7 MiB in 15 packages [2023-03-21T09:04:38.853Z] Removing intermediate container 9821ca2a83ca [2023-03-21T09:04:38.853Z] ---> 6a7087284118 [2023-03-21T09:04:38.853Z] Step 14/23 : WORKDIR / [2023-03-21T09:04:38.853Z] ---> Running in 81ecc378002c [2023-03-21T09:04:38.853Z] Removing intermediate container 81ecc378002c [2023-03-21T09:04:38.853Z] ---> 627d5adc337a [2023-03-21T09:04:38.853Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-21T09:04:38.853Z] ---> e212a9147b2f [2023-03-21T09:04:38.853Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-21T09:04:38.853Z] ---> 65a143cbe9ed [2023-03-21T09:04:38.853Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-21T09:04:38.853Z] ---> 7c78fafefd4d [2023-03-21T09:04:38.853Z] Step 18/23 : EXPOSE 59999 [2023-03-21T09:04:38.853Z] ---> Running in d22644ed546d [2023-03-21T09:04:38.853Z] Removing intermediate container d22644ed546d [2023-03-21T09:04:38.853Z] ---> 1cdcdde74786 [2023-03-21T09:04:38.853Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-21T09:04:38.853Z] ---> Running in f10d786b075e [2023-03-21T09:04:38.853Z] Removing intermediate container f10d786b075e [2023-03-21T09:04:38.853Z] ---> 6847dd2d07d1 [2023-03-21T09:04:38.853Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-21T09:04:38.853Z] ---> Running in 925ffc9408e7 [2023-03-21T09:04:38.853Z] Removing intermediate container 925ffc9408e7 [2023-03-21T09:04:38.853Z] ---> 441073f8bf15 [2023-03-21T09:04:38.853Z] Step 21/23 : LABEL arch=amd64 [2023-03-21T09:04:38.853Z] ---> Running in 1b3e5e8b1d08 [2023-03-21T09:04:38.853Z] Removing intermediate container 1b3e5e8b1d08 [2023-03-21T09:04:38.853Z] ---> 949979e6fcef [2023-03-21T09:04:38.853Z] Step 22/23 : LABEL git_sha=95b100dc0b0f73b4ada5d8470512ecbb5b810b74 [2023-03-21T09:04:38.853Z] ---> Running in b1a7a9fe32b0 [2023-03-21T09:04:38.853Z] Removing intermediate container b1a7a9fe32b0 [2023-03-21T09:04:38.853Z] ---> 12e6259991f2 [2023-03-21T09:04:38.853Z] Step 23/23 : LABEL version=0.0.0 [2023-03-21T09:04:38.853Z] ---> Running in 43ab90cbe895 [2023-03-21T09:04:38.853Z] Removing intermediate container 43ab90cbe895 [2023-03-21T09:04:38.853Z] ---> e399c6b7938b [2023-03-21T09:04:38.853Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-21T09:04:38.853Z] Successfully built e399c6b7938b [2023-03-21T09:04:38.853Z] 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-21T09:04:39.277Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T09:04:39.277Z] [2023-03-21T09:04:39.277Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T09:04:39.576Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T09:04:39.576Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-21T09:04:39.576Z] 5eb5b503b376: Pulling fs layer [2023-03-21T09:04:39.576Z] 5c69ac0246d0: Pulling fs layer [2023-03-21T09:04:39.576Z] ec43610c2a17: Pulling fs layer [2023-03-21T09:04:39.576Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-21T09:04:39.576Z] 33b1e0a273af: Pulling fs layer [2023-03-21T09:04:39.576Z] 5d3b04190fa2: Pulling fs layer [2023-03-21T09:04:39.576Z] 2f39f015ded8: Pulling fs layer [2023-03-21T09:04:39.576Z] 3a2ae6a8a46f: Waiting [2023-03-21T09:04:39.576Z] 5d3b04190fa2: Waiting [2023-03-21T09:04:39.576Z] 2f39f015ded8: Waiting [2023-03-21T09:04:39.576Z] 33b1e0a273af: Waiting [2023-03-21T09:04:39.576Z] 5c69ac0246d0: Download complete [2023-03-21T09:04:39.576Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-21T09:04:39.576Z] 3a2ae6a8a46f: Download complete [2023-03-21T09:04:39.835Z] ec43610c2a17: Verifying Checksum [2023-03-21T09:04:39.835Z] ec43610c2a17: Download complete [2023-03-21T09:04:39.835Z] 5d3b04190fa2: Verifying Checksum [2023-03-21T09:04:39.835Z] 5d3b04190fa2: Download complete [2023-03-21T09:04:39.835Z] 33b1e0a273af: Verifying Checksum [2023-03-21T09:04:39.835Z] 33b1e0a273af: Download complete [2023-03-21T09:04:39.835Z] 5eb5b503b376: Verifying Checksum [2023-03-21T09:04:39.835Z] 5eb5b503b376: Download complete [2023-03-21T09:04:40.402Z] 2f39f015ded8: Verifying Checksum [2023-03-21T09:04:40.402Z] 2f39f015ded8: Download complete [2023-03-21T09:04:40.966Z] 5eb5b503b376: Pull complete [2023-03-21T09:04:40.966Z] 5c69ac0246d0: Pull complete [2023-03-21T09:04:41.532Z] ec43610c2a17: Pull complete [2023-03-21T09:04:41.532Z] 3a2ae6a8a46f: Pull complete [2023-03-21T09:04:41.789Z] 33b1e0a273af: Pull complete [2023-03-21T09:04:41.789Z] 5d3b04190fa2: Pull complete [2023-03-21T09:04:45.971Z] 2f39f015ded8: Pull complete [2023-03-21T09:04:45.971Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-21T09:04:45.971Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T09:04:45.971Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T09:04:46.055Z] prd-ubuntu20.04-docker-8c-8g-4781 does not seem to be running inside a container [2023-03-21T09:04:46.097Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-21T09:04:49.516Z] $ docker top 118df0b3813d4b4e0b016327cac96a84f1769954235d8adbc828f317b476a9dc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T09:04:49.894Z] ---> job-cost.sh [2023-03-21T09:04:49.894Z] lf-activate-venv: SKIPPING [2023-03-21T09:04:49.894Z] INFO: No Stack... [2023-03-21T09:04:50.152Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-21T09:04:50.411Z] INFO: Archiving Costs [Pipeline] sh [2023-03-21T09:04:50.699Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1379/archives/cost.csv [2023-03-21T09:04:50.699Z] + cut -d, -f6 [Pipeline] lock [2023-03-21T09:04:50.712Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1379-5-stack-cost] [2023-03-21T09:04:50.723Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1379-5-stack-cost] did not exist. Created. [2023-03-21T09:04:50.723Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1379-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-21T09:04:51.025Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-21T09:04:51.055Z] Stashed 1 file(s) [Pipeline] } [2023-03-21T09:04:51.061Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1379-5-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-21T09:04:51.083Z] $ docker stop --time=1 118df0b3813d4b4e0b016327cac96a84f1769954235d8adbc828f317b476a9dc [2023-03-21T09:04:52.227Z] $ docker rm -f --volumes 118df0b3813d4b4e0b016327cac96a84f1769954235d8adbc828f317b476a9dc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-21T09:06:15.947Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4783 in /w/workspace/gexfoundry_device-sdk-go_PR-1379 [Pipeline] { [Pipeline] ws [2023-03-21T09:06:15.954Z] Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout [2023-03-21T09:06:15.981Z] The recommended git tool is: git [2023-03-21T09:06:21.490Z] using credential edgex-jenkins-ssh [2023-03-21T09:06:21.514Z] Cloning the remote Git repository [2023-03-21T09:06:21.566Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-03-21T09:06:21.663Z] > git init /w/workspace/device-sdk-go/5 # timeout=10 [2023-03-21T09:06:21.824Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-21T09:06:21.825Z] > git --version # timeout=10 [2023-03-21T09:06:21.849Z] > git --version # 'git version 2.25.1' [2023-03-21T09:06:21.851Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-21T09:06:22.014Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-21T09:06:23.556Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-21T09:06:23.582Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-21T09:06:24.413Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-21T09:06:24.448Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-21T09:06:24.449Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-21T09:06:24.465Z] > 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-21T09:06:25.126Z] Merging remotes/origin/main commit c61610bbbff1187c8ac68f5c7e0a10add7b75ddb into PR head commit 95b100dc0b0f73b4ada5d8470512ecbb5b810b74 [2023-03-21T09:06:25.417Z] Merge succeeded, producing 95b100dc0b0f73b4ada5d8470512ecbb5b810b74 [2023-03-21T09:06:25.418Z] Checking out Revision 95b100dc0b0f73b4ada5d8470512ecbb5b810b74 (PR-1379) [2023-03-21T09:06:25.146Z] > git config core.sparsecheckout # timeout=10 [2023-03-21T09:06:25.226Z] > git checkout -f 95b100dc0b0f73b4ada5d8470512ecbb5b810b74 # timeout=10 [2023-03-21T09:06:25.328Z] > git remote # timeout=10 [2023-03-21T09:06:25.349Z] > git config --get remote.origin.url # timeout=10 [2023-03-21T09:06:25.365Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-21T09:06:25.380Z] > git merge c61610bbbff1187c8ac68f5c7e0a10add7b75ddb # timeout=10 [2023-03-21T09:06:25.405Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-21T09:06:25.427Z] > git config core.sparsecheckout # timeout=10 [2023-03-21T09:06:25.443Z] > git checkout -f 95b100dc0b0f73b4ada5d8470512ecbb5b810b74 # timeout=10 [2023-03-21T09:06:28.910Z] 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-21T09:06:29.807Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-21T09:06:29.807Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-21T09:06:29.807Z] Dload Upload Total Spent Left Speed [2023-03-21T09:06:29.807Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 83339 0 --:--:-- --:--:-- --:--:-- 83339 [Pipeline] sh [2023-03-21T09:06:30.561Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-21T09:06:30.893Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-21T09:06:30.893Z] + sudo tee /etc/docker/daemon.new [2023-03-21T09:06:30.893Z] { [2023-03-21T09:06:30.893Z] "registry-mirrors": [ [2023-03-21T09:06:30.893Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-21T09:06:30.893Z] ], [2023-03-21T09:06:30.893Z] "bip": "10.250.0.254/24", [2023-03-21T09:06:30.893Z] "hosts": [ [2023-03-21T09:06:30.893Z] "tcp://0.0.0.0:5555", [2023-03-21T09:06:30.893Z] "unix:///var/run/docker.sock" [2023-03-21T09:06:30.893Z] ], [2023-03-21T09:06:30.893Z] "mtu": 1458, [2023-03-21T09:06:30.893Z] "selinux-enabled": true, [2023-03-21T09:06:30.893Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-21T09:06:30.893Z] } [Pipeline] sh [2023-03-21T09:06:31.241Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-21T09:06:31.585Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-21T09:06:49.830Z] provisioning config files... [2023-03-21T09:06:49.859Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config5624177853459219323tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T09:06:50.210Z] ---> docker-login.sh [2023-03-21T09:06:50.210Z] nexus3.edgexfoundry.org:10001 [2023-03-21T09:06:50.488Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T09:06:50.770Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T09:06:50.770Z] Configure a credential helper to remove this warning. See [2023-03-21T09:06:50.770Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T09:06:50.770Z] [2023-03-21T09:06:50.770Z] Login Succeeded [2023-03-21T09:06:50.770Z] nexus3.edgexfoundry.org:10002 [2023-03-21T09:06:51.040Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T09:06:51.317Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T09:06:51.317Z] Configure a credential helper to remove this warning. See [2023-03-21T09:06:51.317Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T09:06:51.317Z] [2023-03-21T09:06:51.317Z] Login Succeeded [2023-03-21T09:06:51.317Z] nexus3.edgexfoundry.org:10003 [2023-03-21T09:06:51.317Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T09:06:51.585Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T09:06:51.585Z] Configure a credential helper to remove this warning. See [2023-03-21T09:06:51.585Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T09:06:51.585Z] [2023-03-21T09:06:51.585Z] Login Succeeded [2023-03-21T09:06:51.585Z] nexus3.edgexfoundry.org:10004 [2023-03-21T09:06:51.852Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T09:06:51.852Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T09:06:51.852Z] Configure a credential helper to remove this warning. See [2023-03-21T09:06:51.852Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T09:06:51.852Z] [2023-03-21T09:06:51.852Z] Login Succeeded [2023-03-21T09:06:51.852Z] docker.io [2023-03-21T09:06:52.121Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T09:06:52.387Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T09:06:52.387Z] Configure a credential helper to remove this warning. See [2023-03-21T09:06:52.387Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T09:06:52.387Z] [2023-03-21T09:06:52.387Z] Login Succeeded [2023-03-21T09:06:52.387Z] ---> docker-login.sh ends [Pipeline] } [2023-03-21T09:06:52.400Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-21T09:06:52.656Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T09:06:52.666Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T09:06:52.674Z] ========================================================= [2023-03-21T09:06:52.674Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-21T09:06:52.674Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T09:06:53.008Z] + 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-21T09:06:53.276Z] Sending build context to Docker daemon 5.837MB [2023-03-21T09:06:53.276Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-21T09:06:53.276Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-21T09:06:53.548Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-21T09:06:53.548Z] af6eaf76a39c: Pulling fs layer [2023-03-21T09:06:53.548Z] 55522c791124: Pulling fs layer [2023-03-21T09:06:53.548Z] ce5c4a1c91eb: Pulling fs layer [2023-03-21T09:06:53.548Z] 169dfbe0d373: Pulling fs layer [2023-03-21T09:06:53.548Z] e1ff8fa3b103: Pulling fs layer [2023-03-21T09:06:53.548Z] 52ebb69f0ebf: Pulling fs layer [2023-03-21T09:06:53.548Z] 5abe8eddf0d5: Pulling fs layer [2023-03-21T09:06:53.548Z] e1ff8fa3b103: Waiting [2023-03-21T09:06:53.548Z] 52ebb69f0ebf: Waiting [2023-03-21T09:06:53.548Z] 169dfbe0d373: Waiting [2023-03-21T09:06:53.548Z] 5abe8eddf0d5: Waiting [2023-03-21T09:06:53.548Z] 55522c791124: Verifying Checksum [2023-03-21T09:06:53.548Z] 169dfbe0d373: Verifying Checksum [2023-03-21T09:06:53.548Z] 169dfbe0d373: Download complete [2023-03-21T09:06:53.548Z] e1ff8fa3b103: Verifying Checksum [2023-03-21T09:06:53.548Z] e1ff8fa3b103: Download complete [2023-03-21T09:06:53.548Z] af6eaf76a39c: Verifying Checksum [2023-03-21T09:06:53.548Z] af6eaf76a39c: Download complete [2023-03-21T09:06:55.005Z] 5abe8eddf0d5: Verifying Checksum [2023-03-21T09:06:55.005Z] 5abe8eddf0d5: Download complete [2023-03-21T09:06:55.005Z] af6eaf76a39c: Pull complete [2023-03-21T09:06:55.277Z] 55522c791124: Pull complete [2023-03-21T09:06:56.250Z] ce5c4a1c91eb: Verifying Checksum [2023-03-21T09:06:56.250Z] ce5c4a1c91eb: Download complete [2023-03-21T09:06:56.250Z] 52ebb69f0ebf: Verifying Checksum [2023-03-21T09:06:56.250Z] 52ebb69f0ebf: Download complete [2023-03-21T09:07:08.582Z] ce5c4a1c91eb: Pull complete [2023-03-21T09:07:08.582Z] 169dfbe0d373: Pull complete [2023-03-21T09:07:08.582Z] e1ff8fa3b103: Pull complete [2023-03-21T09:07:13.939Z] 52ebb69f0ebf: Pull complete [2023-03-21T09:07:15.346Z] 5abe8eddf0d5: Pull complete [2023-03-21T09:07:15.617Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-21T09:07:15.617Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-21T09:07:15.617Z] ---> 6cb57ee374ae [2023-03-21T09:07:15.617Z] Step 3/10 : ARG MAKE=make build [2023-03-21T09:07:17.570Z] ---> Running in 2a71b86ec63c [2023-03-21T09:07:17.570Z] Removing intermediate container 2a71b86ec63c [2023-03-21T09:07:17.570Z] ---> 40f126c17654 [2023-03-21T09:07:17.570Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-21T09:07:17.838Z] ---> Running in 3eb821a4f35d [2023-03-21T09:07:18.104Z] Removing intermediate container 3eb821a4f35d [2023-03-21T09:07:18.104Z] ---> 570cdfdfd6c7 [2023-03-21T09:07:18.104Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-21T09:07:18.104Z] ---> Running in 332fdbb845b8 [2023-03-21T09:07:18.371Z] Removing intermediate container 332fdbb845b8 [2023-03-21T09:07:18.371Z] ---> 42591f312ae0 [2023-03-21T09:07:18.371Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-21T09:07:18.642Z] ---> Running in 90a891e873dd [2023-03-21T09:07:19.601Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-21T09:07:20.186Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-21T09:07:21.147Z] OK: 263 MiB in 53 packages [2023-03-21T09:07:22.105Z] Removing intermediate container 90a891e873dd [2023-03-21T09:07:22.105Z] ---> 2917e2fa34e2 [2023-03-21T09:07:22.105Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-21T09:07:22.371Z] ---> 15d2e03dcc27 [2023-03-21T09:07:22.371Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T09:07:22.648Z] ---> Running in b8a1ff69804b [2023-03-21T09:08:30.543Z] Removing intermediate container b8a1ff69804b [2023-03-21T09:08:30.543Z] ---> 82ea7f044593 [2023-03-21T09:08:30.543Z] Step 9/10 : COPY . . [2023-03-21T09:08:30.543Z] ---> 7fdce63641d4 [2023-03-21T09:08:30.543Z] Step 10/10 : RUN ${MAKE} [2023-03-21T09:08:30.543Z] ---> Running in fcd4ff152406 [2023-03-21T09:08:30.543Z] noop [2023-03-21T09:08:30.543Z] Removing intermediate container fcd4ff152406 [2023-03-21T09:08:30.543Z] ---> b2583017bef1 [2023-03-21T09:08:30.543Z] Successfully built b2583017bef1 [2023-03-21T09:08:30.543Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T09:08:30.901Z] + docker inspect -f . ci-base-image-arm64 [2023-03-21T09:08:30.901Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T09:08:31.122Z] prd-ubuntu20.04-docker-arm64-4c-16g-4783 does not seem to be running inside a container [2023-03-21T09:08:31.193Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-21T09:08:32.421Z] $ docker top e167e5673330f5bae90aa3ca384d185ccc2c13201e72ff3b88bf85146431bcbb -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T09:08:33.245Z] + go version [2023-03-21T09:08:33.245Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-21T09:08:33.272Z] $ docker stop --time=1 e167e5673330f5bae90aa3ca384d185ccc2c13201e72ff3b88bf85146431bcbb [2023-03-21T09:08:34.900Z] $ docker rm -f --volumes e167e5673330f5bae90aa3ca384d185ccc2c13201e72ff3b88bf85146431bcbb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T09:08:35.445Z] + docker inspect -f . ci-base-image-arm64 [2023-03-21T09:08:35.445Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T09:08:35.643Z] prd-ubuntu20.04-docker-arm64-4c-16g-4783 does not seem to be running inside a container [2023-03-21T09:08:35.724Z] $ 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/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-21T09:08:36.987Z] $ docker top 5c23178c8b27665a513fbeb6f2a4077776257aa0098c1663c7cd35c24b82acfa -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T09:08:37.827Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/5 [Pipeline] fileExists [Pipeline] sh [2023-03-21T09:08:38.164Z] + make test [2023-03-21T09:08:38.164Z] go test -race -coverprofile=coverage.out ./... [2023-03-21T09:09:25.024Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-21T09:11:31.708Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-21T09:11:31.708Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-21T09:11:31.708Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-21T09:11:31.708Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-21T09:11:31.708Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-21T09:11:31.708Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.206s coverage: 27.6% of statements [2023-03-21T09:11:31.708Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.279s coverage: 79.9% of statements [2023-03-21T09:11:38.341Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-21T09:11:38.341Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-21T09:11:38.341Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.352s coverage: 86.0% of statements [2023-03-21T09:11:43.676Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-21T09:11:43.676Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-21T09:11:43.676Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.436s coverage: 75.9% of statements [2023-03-21T09:11:46.255Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.249s coverage: 15.1% of statements [2023-03-21T09:11:48.195Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-21T09:11:48.195Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-21T09:11:48.780Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.397s coverage: 65.7% of statements [2023-03-21T09:11:50.739Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.476s coverage: 89.2% of statements [2023-03-21T09:11:53.321Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-21T09:11:53.321Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.234s coverage: 5.5% of statements [2023-03-21T09:11:53.903Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-21T09:11:53.903Z] GO111MODULE=on go vet ./... [2023-03-21T09:14:15.616Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-21T09:14:15.616Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-21T09:14:15.616Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-21T09:14:15.635Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-21T09:14:15.654Z] $ docker stop --time=1 5c23178c8b27665a513fbeb6f2a4077776257aa0098c1663c7cd35c24b82acfa [2023-03-21T09:14:17.550Z] $ docker rm -f --volumes 5c23178c8b27665a513fbeb6f2a4077776257aa0098c1663c7cd35c24b82acfa [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-21T09:14:19.060Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-21T09:14:19.113Z] Warning: overwriting stash ‘coverage-report’ [2023-03-21T09:14:19.759Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-21T09:14:20.150Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-21T09:14:20.487Z] + ls -al . [2023-03-21T09:14:20.487Z] total 272 [2023-03-21T09:14:20.487Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 21 09:08 . [2023-03-21T09:14:20.487Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 09:06 .. [2023-03-21T09:14:20.487Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 21 09:06 .dockerignore [2023-03-21T09:14:20.487Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 09:06 .git [2023-03-21T09:14:20.487Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 09:06 .github [2023-03-21T09:14:20.487Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 21 09:06 .gitignore [2023-03-21T09:14:20.487Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 21 09:06 .golangci.yml [2023-03-21T09:14:20.487Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 21 09:06 CHANGELOG.md [2023-03-21T09:14:20.487Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 09:06 GOVERNANCE.md [2023-03-21T09:14:20.487Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 21 09:06 Jenkinsfile [2023-03-21T09:14:20.487Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 21 09:06 LICENSE [2023-03-21T09:14:20.487Z] -rw-rw-r-- 1 jenkins jenkins 1714 Mar 21 09:06 Makefile [2023-03-21T09:14:20.487Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 21 09:06 OWNERS.md [2023-03-21T09:14:20.487Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 21 09:06 README.md [2023-03-21T09:14:20.487Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 09:02 VERSION [2023-03-21T09:14:20.487Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 09:06 bin [2023-03-21T09:14:20.487Z] -rw-r--r-- 1 jenkins jenkins 110048 Mar 21 09:11 coverage.out [2023-03-21T09:14:20.487Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 21 09:06 example [2023-03-21T09:14:20.487Z] -rw-rw-r-- 1 jenkins jenkins 3291 Mar 21 09:06 go.mod [2023-03-21T09:14:20.487Z] -rw-rw-r-- 1 jenkins jenkins 30841 Mar 21 09:06 go.sum [2023-03-21T09:14:20.487Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 21 09:06 internal [2023-03-21T09:14:20.487Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 09:06 openapi [2023-03-21T09:14:20.487Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 21 09:06 pkg [2023-03-21T09:14:20.487Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 09:06 snap [2023-03-21T09:14:20.487Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 21 09:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T09:14:20.845Z] + 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=95b100dc0b0f73b4ada5d8470512ecbb5b810b74 --label arch=arm64 --label version=0.0.0 . [2023-03-21T09:14:21.436Z] Sending build context to Docker daemon 5.948MB [2023-03-21T09:14:21.436Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-03-21T09:14:21.436Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-21T09:14:21.436Z] ---> b2583017bef1 [2023-03-21T09:14:21.436Z] Step 3/23 : ARG MAKE=make build [2023-03-21T09:14:21.436Z] ---> Running in b9221ea90009 [2023-03-21T09:14:21.701Z] Removing intermediate container b9221ea90009 [2023-03-21T09:14:21.701Z] ---> 296fc360e459 [2023-03-21T09:14:21.701Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-21T09:14:21.969Z] ---> Running in 07a27c907685 [2023-03-21T09:14:22.237Z] Removing intermediate container 07a27c907685 [2023-03-21T09:14:22.237Z] ---> 1e78a5d8e724 [2023-03-21T09:14:22.237Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-21T09:14:22.237Z] ---> Running in 5f7b2e339e7e [2023-03-21T09:14:22.504Z] Removing intermediate container 5f7b2e339e7e [2023-03-21T09:14:22.504Z] ---> b9313f1f6559 [2023-03-21T09:14:22.504Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-21T09:14:22.504Z] ---> Running in e0b885a23883 [2023-03-21T09:14:23.468Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-21T09:14:24.050Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-21T09:14:25.012Z] OK: 263 MiB in 53 packages [2023-03-21T09:14:25.972Z] Removing intermediate container e0b885a23883 [2023-03-21T09:14:25.972Z] ---> 251f234fa144 [2023-03-21T09:14:25.972Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-21T09:14:26.557Z] ---> 4103fdd6f976 [2023-03-21T09:14:26.557Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T09:14:26.557Z] ---> Running in 944a94367336 [2023-03-21T09:14:29.140Z] Removing intermediate container 944a94367336 [2023-03-21T09:14:29.140Z] ---> 1564c4bd5602 [2023-03-21T09:14:29.140Z] Step 9/23 : COPY . . [2023-03-21T09:14:30.552Z] ---> 48fb097a6d4b [2023-03-21T09:14:30.552Z] Step 10/23 : RUN ${MAKE} [2023-03-21T09:14:30.827Z] ---> Running in 81e98b499f70 [2023-03-21T09:14:31.789Z] 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-21T09:16:53.457Z] Removing intermediate container 81e98b499f70 [2023-03-21T09:16:53.457Z] ---> 528b0a236854 [2023-03-21T09:16:53.457Z] Step 11/23 : FROM alpine:3.17 [2023-03-21T09:16:53.457Z] 3.17: Pulling from library/alpine [2023-03-21T09:16:53.457Z] af6eaf76a39c: Already exists [2023-03-21T09:16:53.457Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-21T09:16:53.457Z] Status: Downloaded newer image for alpine:3.17 [2023-03-21T09:16:53.457Z] ---> d74e625d9115 [2023-03-21T09:16:53.457Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-21T09:16:53.457Z] ---> Running in 5f44617f50ec [2023-03-21T09:16:53.457Z] Removing intermediate container 5f44617f50ec [2023-03-21T09:16:53.457Z] ---> 65a2067b4940 [2023-03-21T09:16:53.457Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-21T09:16:53.457Z] ---> Running in 481cda6f5f7d [2023-03-21T09:16:53.457Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-21T09:16:53.457Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-21T09:16:53.457Z] OK: 7 MiB in 15 packages [2023-03-21T09:16:53.457Z] Removing intermediate container 481cda6f5f7d [2023-03-21T09:16:53.457Z] ---> fcf80996777c [2023-03-21T09:16:53.457Z] Step 14/23 : WORKDIR / [2023-03-21T09:16:53.457Z] ---> Running in 1b744dd2a884 [2023-03-21T09:16:53.457Z] Removing intermediate container 1b744dd2a884 [2023-03-21T09:16:53.457Z] ---> 32e2af3391a8 [2023-03-21T09:16:53.457Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-21T09:16:53.457Z] ---> f6d116d74fb8 [2023-03-21T09:16:53.457Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-21T09:16:53.457Z] ---> ca1ecd0c6475 [2023-03-21T09:16:53.457Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-21T09:16:53.457Z] ---> 6f5399253b0c [2023-03-21T09:16:53.457Z] Step 18/23 : EXPOSE 59999 [2023-03-21T09:16:53.457Z] ---> Running in ab2ba0effd75 [2023-03-21T09:16:53.457Z] Removing intermediate container ab2ba0effd75 [2023-03-21T09:16:53.457Z] ---> 1788de332efd [2023-03-21T09:16:53.457Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-21T09:16:53.457Z] ---> Running in 0a68613c3cab [2023-03-21T09:16:53.457Z] Removing intermediate container 0a68613c3cab [2023-03-21T09:16:53.457Z] ---> e4614a9fbe38 [2023-03-21T09:16:53.457Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-21T09:16:53.457Z] ---> Running in 162d2b1f3ccd [2023-03-21T09:16:53.457Z] Removing intermediate container 162d2b1f3ccd [2023-03-21T09:16:53.457Z] ---> e30c35eb4db2 [2023-03-21T09:16:53.457Z] Step 21/23 : LABEL arch=arm64 [2023-03-21T09:16:53.457Z] ---> Running in 9cb0a97933b1 [2023-03-21T09:16:53.457Z] Removing intermediate container 9cb0a97933b1 [2023-03-21T09:16:53.457Z] ---> 14436b057217 [2023-03-21T09:16:53.457Z] Step 22/23 : LABEL git_sha=95b100dc0b0f73b4ada5d8470512ecbb5b810b74 [2023-03-21T09:16:53.457Z] ---> Running in b1a505bbceb5 [2023-03-21T09:16:53.457Z] Removing intermediate container b1a505bbceb5 [2023-03-21T09:16:53.457Z] ---> 33065a1b65df [2023-03-21T09:16:53.457Z] Step 23/23 : LABEL version=0.0.0 [2023-03-21T09:16:53.457Z] ---> Running in ac3c4f4fb7cc [2023-03-21T09:16:53.457Z] Removing intermediate container ac3c4f4fb7cc [2023-03-21T09:16:53.457Z] ---> 6b441d04ac40 [2023-03-21T09:16:53.457Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-21T09:16:53.457Z] Successfully built 6b441d04ac40 [2023-03-21T09:16:53.457Z] 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-21T09:16:53.854Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-21T09:16:53.854Z] [2023-03-21T09:16:53.854Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T09:16:54.176Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-21T09:16:54.176Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-21T09:16:54.176Z] 8998bd30e6a1: Pulling fs layer [2023-03-21T09:16:54.176Z] 04944245beec: Pulling fs layer [2023-03-21T09:16:54.176Z] 699f458cf7ca: Pulling fs layer [2023-03-21T09:16:54.176Z] 765212b225bb: Pulling fs layer [2023-03-21T09:16:54.176Z] f23df028b6ca: Pulling fs layer [2023-03-21T09:16:54.176Z] d65c8cfc05b1: Pulling fs layer [2023-03-21T09:16:54.176Z] 2437ff75d9bd: Pulling fs layer [2023-03-21T09:16:54.176Z] 2437ff75d9bd: Waiting [2023-03-21T09:16:54.176Z] 765212b225bb: Waiting [2023-03-21T09:16:54.176Z] d65c8cfc05b1: Waiting [2023-03-21T09:16:54.176Z] f23df028b6ca: Waiting [2023-03-21T09:16:54.446Z] 04944245beec: Verifying Checksum [2023-03-21T09:16:54.446Z] 04944245beec: Download complete [2023-03-21T09:16:54.446Z] 765212b225bb: Verifying Checksum [2023-03-21T09:16:54.446Z] 765212b225bb: Download complete [2023-03-21T09:16:54.446Z] f23df028b6ca: Download complete [2023-03-21T09:16:54.446Z] d65c8cfc05b1: Verifying Checksum [2023-03-21T09:16:54.446Z] d65c8cfc05b1: Download complete [2023-03-21T09:16:54.446Z] 699f458cf7ca: Verifying Checksum [2023-03-21T09:16:54.446Z] 699f458cf7ca: Download complete [2023-03-21T09:16:55.029Z] 8998bd30e6a1: Download complete [2023-03-21T09:16:56.971Z] 2437ff75d9bd: Verifying Checksum [2023-03-21T09:16:56.971Z] 2437ff75d9bd: Download complete [2023-03-21T09:16:58.374Z] 8998bd30e6a1: Pull complete [2023-03-21T09:16:58.955Z] 04944245beec: Pull complete [2023-03-21T09:17:02.296Z] 699f458cf7ca: Pull complete [2023-03-21T09:17:02.563Z] 765212b225bb: Pull complete [2023-03-21T09:17:03.521Z] f23df028b6ca: Pull complete [2023-03-21T09:17:03.521Z] d65c8cfc05b1: Pull complete [2023-03-21T09:17:18.504Z] 2437ff75d9bd: Pull complete [2023-03-21T09:17:18.504Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-21T09:17:18.504Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-21T09:17:18.504Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T09:17:18.683Z] prd-ubuntu20.04-docker-arm64-4c-16g-4783 does not seem to be running inside a container [2023-03-21T09:17:18.754Z] $ 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/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-21T09:17:21.317Z] $ docker top ebff41eb5e0f730589ca00a0e9834da66a91f3bc1f13e846e63af0902019eee0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T09:17:22.127Z] ---> job-cost.sh [2023-03-21T09:17:22.127Z] lf-activate-venv: SKIPPING [2023-03-21T09:17:22.127Z] INFO: No Stack... [2023-03-21T09:17:22.393Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-21T09:17:23.348Z] INFO: Archiving Costs [Pipeline] sh [2023-03-21T09:17:23.666Z] + cat /w/workspace/device-sdk-go/5/archives/cost.csv [2023-03-21T09:17:23.666Z] + cut -d, -f6 [Pipeline] lock [2023-03-21T09:17:23.982Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1379-5-stack-cost] [2023-03-21T09:17:23.991Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1379-5-stack-cost] did not exist. Created. [2023-03-21T09:17:23.991Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1379-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-21T09:17:24.335Z] /w/workspace/device-sdk-go/5@tmp/durable-d24d834b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-21T09:17:24.991Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-21T09:17:25.005Z] Warning: overwriting stash ‘stack-cost’ [2023-03-21T09:17:25.060Z] Stashed 1 file(s) [Pipeline] } [2023-03-21T09:17:25.067Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1379-5-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-21T09:17:25.088Z] $ docker stop --time=1 ebff41eb5e0f730589ca00a0e9834da66a91f3bc1f13e846e63af0902019eee0 [2023-03-21T09:17:26.596Z] $ docker rm -f --volumes ebff41eb5e0f730589ca00a0e9834da66a91f3bc1f13e846e63af0902019eee0 [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-21T09:17:27.005Z] provisioning config files... [2023-03-21T09:17:27.011Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1379@tmp/config11575387595785897989tmp [Pipeline] { [Pipeline] sh [2023-03-21T09:17:27.299Z] + set +x [2023-03-21T09:17:27.299Z] + + bashcurl -s -s -- https://codecov.io/bash [2023-03-21T09:17:27.299Z] [2023-03-21T09:17:27.299Z] [2023-03-21T09:17:27.299Z] _____ _ [2023-03-21T09:17:27.299Z] / ____| | | [2023-03-21T09:17:27.299Z] | | ___ __| | ___ ___ _____ __ [2023-03-21T09:17:27.299Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-21T09:17:27.299Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-21T09:17:27.299Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-21T09:17:27.299Z] Bash-1.0.6 [2023-03-21T09:17:27.299Z] [2023-03-21T09:17:27.299Z] [2023-03-21T09:17:27.299Z] ==> git version 2.25.1 found [2023-03-21T09:17:27.299Z] ==> 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-21T09:17:27.299Z] Release-Date: 2020-01-08 [2023-03-21T09:17:27.299Z] 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-21T09:17:27.299Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-21T09:17:27.299Z] ==> Jenkins CI detected. [2023-03-21T09:17:27.299Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1379 [2023-03-21T09:17:27.299Z] project root: . [2023-03-21T09:17:27.299Z] --> token set from env [2023-03-21T09:17:27.299Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-21T09:17:27.299Z] ==> Running gcov in . (disable via -X gcov) [2023-03-21T09:17:27.299Z] ==> Python coveragepy not found [2023-03-21T09:17:27.299Z] ==> Searching for coverage reports in: [2023-03-21T09:17:27.299Z] + . [2023-03-21T09:17:27.299Z] -> Found 1 reports [2023-03-21T09:17:27.299Z] ==> Detecting git/mercurial file structure [2023-03-21T09:17:27.557Z] ==> Reading reports [2023-03-21T09:17:27.557Z] + ./coverage.out bytes=110048 [2023-03-21T09:17:27.557Z] ==> Appending adjustments [2023-03-21T09:17:27.557Z] https://docs.codecov.io/docs/fixing-reports [2023-03-21T09:17:27.817Z] + Found adjustments [2023-03-21T09:17:27.817Z] ==> Gzipping contents [2023-03-21T09:17:27.817Z] 16K /tmp/codecov.RRyckq.gz [2023-03-21T09:17:27.817Z] ==> Uploading reports [2023-03-21T09:17:27.817Z] url: https://codecov.io [2023-03-21T09:17:27.817Z] query: branch=PR-1379&commit=95b100dc0b0f73b4ada5d8470512ecbb5b810b74&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1379%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1379&job=&cmd_args= [2023-03-21T09:17:27.817Z] -> Pinging Codecov [2023-03-21T09:17:27.817Z] 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=95b100dc0b0f73b4ada5d8470512ecbb5b810b74&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1379%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1379&job=&cmd_args= [2023-03-21T09:17:27.817Z] -> Uploading to [2023-03-21T09:17:27.817Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-21/7E55EF52A471D76F132DFD9A03CDDE97/95b100dc0b0f73b4ada5d8470512ecbb5b810b74/45d7519f-58d7-4731-8821-2c5a550ec3c9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230321%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230321T091727Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=81eb8313e59c7c2215b8a8357898fe27ff4eb60b307dba6a3e4625020e3c7152 [2023-03-21T09:17:27.817Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-21T09:17:27.817Z] Dload Upload Total Spent Left Speed [2023-03-21T09:17:28.076Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15271 0 0 100 15271 0 64163 --:--:-- --:--:-- --:--:-- 64163 [2023-03-21T09:17:28.076Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/95b100dc0b0f73b4ada5d8470512ecbb5b810b74 [Pipeline] } [2023-03-21T09:17:28.089Z] 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-21T09:17:28.840Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1379/archives ] [2023-03-21T09:17:28.841Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1379/archives [2023-03-21T09:17:28.841Z] total 16 [2023-03-21T09:17:28.841Z] drwxr-xr-x 3 root root 4096 Mar 21 09:04 . [2023-03-21T09:17:28.841Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 21 09:04 .. [2023-03-21T09:17:28.841Z] drwxr-xr-x 2 root root 4096 Mar 21 09:04 cost [2023-03-21T09:17:28.841Z] -rw-r--r-- 1 root root 86 Mar 21 09:04 cost.csv [2023-03-21T09:17:28.841Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1379/archives [2023-03-21T09:17:28.841Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1379/archives [2023-03-21T09:17:28.841Z] total 16 [2023-03-21T09:17:28.841Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 09:04 . [2023-03-21T09:17:28.841Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 21 09:04 .. [2023-03-21T09:17:28.841Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 21 09:04 cost [2023-03-21T09:17:28.841Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 21 09:04 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-21T09:17:29.128Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T09:17:29.987Z] ---> package-listing.sh [2023-03-21T09:17:29.987Z] ++ facter osfamily [2023-03-21T09:17:29.987Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-21T09:17:30.247Z] + OS_FAMILY=debian [2023-03-21T09:17:30.247Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1379 [2023-03-21T09:17:30.247Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-21T09:17:30.247Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-21T09:17:30.247Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-21T09:17:30.247Z] + PACKAGES=/tmp/packages_start.txt [2023-03-21T09:17:30.247Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1379 ']' [2023-03-21T09:17:30.247Z] + PACKAGES=/tmp/packages_end.txt [2023-03-21T09:17:30.247Z] + case "${OS_FAMILY}" in [2023-03-21T09:17:30.247Z] + dpkg -l [2023-03-21T09:17:30.247Z] + grep '^ii' [2023-03-21T09:17:30.247Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-21T09:17:30.247Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-21T09:17:30.247Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-21T09:17:30.247Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1379 ']' [2023-03-21T09:17:30.247Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1379/archives/ [2023-03-21T09:17:30.247Z] + 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-21T09:17:30.258Z] 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-21T09:17:30.537Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T09:17:31.095Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T09:17:31.095Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T09:17:31.162Z] prd-ubuntu20.04-docker-8c-8g-4781 does not seem to be running inside a container [2023-03-21T09:17:31.205Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-21T09:17:31.387Z] $ docker top 4580257c7d6da4d01dab73328f37b2d34947e999c6bdc98de0faa5d0494336f8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T09:17:31.737Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-21T09:17:32.023Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-21T09:17:32.309Z] + ls /var/log/sa-host [2023-03-21T09:17:32.309Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-21T09:17:32.458Z] provisioning config files... [2023-03-21T09:17:32.466Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1379@tmp/config16066688401881820790tmp [Pipeline] { [Pipeline] echo [2023-03-21T09:17:32.477Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T09:17:32.760Z] ---> create-netrc.sh [Pipeline] } [2023-03-21T09:17:32.767Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-21T09:17:33.138Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-21T09:17:33.148Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T09:17:33.431Z] ---> sudo-logs.sh [2023-03-21T09:17:33.431Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-21T09:17:33.460Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T09:17:33.743Z] ---> job-cost.sh [2023-03-21T09:17:33.743Z] lf-activate-venv: SKIPPING [2023-03-21T09:17:33.743Z] DEBUG: total: 0.2199999988079071 [2023-03-21T09:17:33.743Z] INFO: Retrieving Stack Cost... [2023-03-21T09:17:34.314Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-21T09:17:34.572Z] INFO: Archiving Costs [Pipeline] echo [2023-03-21T09:17:34.584Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T09:17:34.863Z] ---> logs-deploy.sh [2023-03-21T09:17:34.863Z] lf-activate-venv: SKIPPING [2023-03-21T09:17:34.863Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1379/5 [2023-03-21T09:17:34.863Z] INFO: archiving workspace using pattern(s): [2023-03-21T09:17:35.809Z] Archives upload complete. [2023-03-21T09:17:35.809Z] INFO: archiving logs to Nexus