Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 360cbe07352af3bef2e3444345287b1a08e21f05+d73da920b9fd3a52132699998633ff8aee3aa256 (bb5e601f763cb479fb4759bc2245a630c4588377) 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-ssh4289619257538356957.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-ssh13483822299663700195.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-1415/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-1415/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11284051244154826046.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-ssh997984610762280614.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-1415/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-1415/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11523853301507530665.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7145 in /w/workspace/gexfoundry_device-sdk-go_PR-1415 [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-1415 # 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/1415/head:refs/remotes/origin/PR-1415 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit d73da920b9fd3a52132699998633ff8aee3aa256 into PR head commit 360cbe07352af3bef2e3444345287b1a08e21f05 Merge succeeded, producing 8c8f37d25054249a5ae2d73df70026c3aa6dfadd Checking out Revision 8c8f37d25054249a5ae2d73df70026c3aa6dfadd (PR-1415) > git config core.sparsecheckout # timeout=10 > git checkout -f 360cbe07352af3bef2e3444345287b1a08e21f05 # 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 d73da920b9fd3a52132699998633ff8aee3aa256 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8c8f37d25054249a5ae2d73df70026c3aa6dfadd # timeout=10 Commit message: "Merge commit 'd73da920b9fd3a52132699998633ff8aee3aa256' into HEAD" > git rev-list --no-walk 360cbe07352af3bef2e3444345287b1a08e21f05 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-07T18:41:33.794Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-07T18:41:33.847Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-07T18:41:33.863Z] ========================================================= [2023-04-07T18:41:33.863Z] EdgeX Global Pipelines Version Info [2023-04-07T18:41:33.863Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-07T18:41:34.577Z] ------------------- [2023-04-07T18:41:34.577Z] stable info: [2023-04-07T18:41:34.577Z] ------------------- [2023-04-07T18:41:34.577Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-04-07T18:41:34.577Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-04-07T18:41:34.577Z] Message: update stable to v1.0.245 [2023-04-07T18:41:35.147Z] ------------------- [2023-04-07T18:41:35.147Z] experimental info: [2023-04-07T18:41:35.147Z] ------------------- [2023-04-07T18:41:35.147Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-07T18:41:35.147Z] Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 [2023-04-07T18:41:35.147Z] Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-07T18:41:35.307Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-04-07T18:41:35.322Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-04-07T18:41:35.338Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-07T18:41:35.354Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-07T18:41:35.367Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-07T18:41:35.381Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-07T18:41:35.392Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-07T18:41:35.405Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-04-07T18:41:35.416Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-07T18:41:35.427Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-07T18:41:35.442Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-07T18:41:35.453Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-04-07T18:41:35.466Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-07T18:41:35.479Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-07T18:41:35.489Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-07T18:41:35.501Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-04-07T18:41:35.514Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-07T18:41:35.526Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-07T18:41:35.538Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-07T18:41:35.553Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-07T18:41:35.567Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-04-07T18:41:35.581Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-04-07T18:41:35.591Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-07T18:41:35.605Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-07T18:41:35.628Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-07T18:41:35.644Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-07T18:41:35.654Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-07T18:41:35.664Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1415 [Pipeline] echo [2023-04-07T18:41:35.673Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1415 [Pipeline] echo [2023-04-07T18:41:35.682Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1415 [Pipeline] echo [2023-04-07T18:41:35.690Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8c8f37d25054249a5ae2d73df70026c3aa6dfadd [Pipeline] echo [2023-04-07T18:41:35.698Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8c8f37d [Pipeline] echo [2023-04-07T18:41:35.711Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-07T18:41:35.755Z] provisioning config files... [2023-04-07T18:41:35.767Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1415@tmp/config177231450596150063tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-07T18:41:36.071Z] ---> docker-login.sh [2023-04-07T18:41:36.071Z] nexus3.edgexfoundry.org:10001 [2023-04-07T18:41:37.012Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T18:41:37.012Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T18:41:37.012Z] Configure a credential helper to remove this warning. See [2023-04-07T18:41:37.012Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T18:41:37.012Z] [2023-04-07T18:41:37.012Z] Login Succeeded [2023-04-07T18:41:37.012Z] nexus3.edgexfoundry.org:10002 [2023-04-07T18:41:37.286Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T18:41:37.286Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T18:41:37.286Z] Configure a credential helper to remove this warning. See [2023-04-07T18:41:37.286Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T18:41:37.286Z] [2023-04-07T18:41:37.286Z] Login Succeeded [2023-04-07T18:41:37.286Z] nexus3.edgexfoundry.org:10003 [2023-04-07T18:41:37.286Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T18:41:37.286Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T18:41:37.286Z] Configure a credential helper to remove this warning. See [2023-04-07T18:41:37.286Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T18:41:37.286Z] [2023-04-07T18:41:37.286Z] Login Succeeded [2023-04-07T18:41:37.286Z] nexus3.edgexfoundry.org:10004 [2023-04-07T18:41:37.286Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T18:41:37.547Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T18:41:37.547Z] Configure a credential helper to remove this warning. See [2023-04-07T18:41:37.547Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T18:41:37.547Z] [2023-04-07T18:41:37.547Z] Login Succeeded [2023-04-07T18:41:37.547Z] docker.io [2023-04-07T18:41:37.547Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T18:41:37.807Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T18:41:37.807Z] Configure a credential helper to remove this warning. See [2023-04-07T18:41:37.807Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T18:41:37.807Z] [2023-04-07T18:41:37.807Z] Login Succeeded [2023-04-07T18:41:37.807Z] ---> docker-login.sh ends [Pipeline] } [2023-04-07T18:41:37.817Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-07T18:41:38.186Z] + git rev-list -1 --merges 8c8f37d25054249a5ae2d73df70026c3aa6dfadd~1..8c8f37d25054249a5ae2d73df70026c3aa6dfadd [Pipeline] echo [2023-04-07T18:41:38.229Z] -----------> git rev-list -1 --merges 8c8f37d25054249a5ae2d73df70026c3aa6dfadd~1..8c8f37d25054249a5ae2d73df70026c3aa6dfadd 8c8f37d25054249a5ae2d73df70026c3aa6dfadd [2023-04-07T18:41:38.229Z] 8c8f37d25054249a5ae2d73df70026c3aa6dfadd [false] [Pipeline] sh [2023-04-07T18:41:38.523Z] + git log --format=format:%s -1 8c8f37d25054249a5ae2d73df70026c3aa6dfadd [Pipeline] echo [2023-04-07T18:41:38.537Z] ========================================================= [2023-04-07T18:41:38.537Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-07T18:41:38.537Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-07T18:41:38.856Z] + git log --format=format:%s -1 8c8f37d25054249a5ae2d73df70026c3aa6dfadd [Pipeline] echo [2023-04-07T18:41:38.868Z] [semverPrep] GIT_COMMIT: 8c8f37d25054249a5ae2d73df70026c3aa6dfadd, Commit Message: Merge commit 'd73da920b9fd3a52132699998633ff8aee3aa256' into HEAD [Pipeline] echo [2023-04-07T18:41:38.876Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-07T18:41:39.254Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-07T18:41:39.254Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-07T18:41:39.254Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-07T18:41:39.254Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-07T18:41:39.254Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-07T18:41:39.254Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-07T18:41:39.254Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-07T18:41:39.670Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-07T18:41:39.670Z] [2023-04-07T18:41:39.670Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-07T18:41:39.996Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-07T18:41:40.261Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-07T18:41:40.261Z] b85a868b505f: Pulling fs layer [2023-04-07T18:41:40.261Z] e2be974225ed: Pulling fs layer [2023-04-07T18:41:40.261Z] 339a4e72a1f5: Pulling fs layer [2023-04-07T18:41:40.261Z] 988bab9f4d93: Pulling fs layer [2023-04-07T18:41:40.261Z] 1469e6f7b9e6: Pulling fs layer [2023-04-07T18:41:40.261Z] eaf3925da568: Pulling fs layer [2023-04-07T18:41:40.261Z] bab4dde63d76: Pulling fs layer [2023-04-07T18:41:40.261Z] bde34c3a00c8: Pulling fs layer [2023-04-07T18:41:40.261Z] b352a97aabf1: Pulling fs layer [2023-04-07T18:41:40.261Z] 4872d77fe225: Pulling fs layer [2023-04-07T18:41:40.261Z] 5851b861e8e6: Pulling fs layer [2023-04-07T18:41:40.261Z] eaf3925da568: Waiting [2023-04-07T18:41:40.261Z] 5851b861e8e6: Waiting [2023-04-07T18:41:40.261Z] 4872d77fe225: Waiting [2023-04-07T18:41:40.261Z] bab4dde63d76: Waiting [2023-04-07T18:41:40.261Z] bde34c3a00c8: Waiting [2023-04-07T18:41:40.261Z] 988bab9f4d93: Waiting [2023-04-07T18:41:40.261Z] b352a97aabf1: Waiting [2023-04-07T18:41:40.261Z] 1469e6f7b9e6: Waiting [2023-04-07T18:41:40.261Z] e2be974225ed: Download complete [2023-04-07T18:41:40.261Z] 988bab9f4d93: Verifying Checksum [2023-04-07T18:41:40.261Z] 988bab9f4d93: Download complete [2023-04-07T18:41:40.533Z] 339a4e72a1f5: Verifying Checksum [2023-04-07T18:41:40.533Z] 339a4e72a1f5: Download complete [2023-04-07T18:41:40.533Z] 1469e6f7b9e6: Verifying Checksum [2023-04-07T18:41:40.533Z] 1469e6f7b9e6: Download complete [2023-04-07T18:41:40.533Z] eaf3925da568: Download complete [2023-04-07T18:41:40.533Z] bde34c3a00c8: Verifying Checksum [2023-04-07T18:41:40.533Z] bde34c3a00c8: Download complete [2023-04-07T18:41:40.533Z] b352a97aabf1: Download complete [2023-04-07T18:41:40.533Z] 4872d77fe225: Verifying Checksum [2023-04-07T18:41:40.533Z] 4872d77fe225: Download complete [2023-04-07T18:41:40.533Z] 5851b861e8e6: Download complete [2023-04-07T18:41:40.533Z] b85a868b505f: Verifying Checksum [2023-04-07T18:41:40.533Z] b85a868b505f: Download complete [2023-04-07T18:41:40.793Z] bab4dde63d76: Verifying Checksum [2023-04-07T18:41:40.793Z] bab4dde63d76: Download complete [2023-04-07T18:41:41.729Z] b85a868b505f: Pull complete [2023-04-07T18:41:41.988Z] e2be974225ed: Pull complete [2023-04-07T18:41:42.556Z] 339a4e72a1f5: Pull complete [2023-04-07T18:41:42.556Z] 988bab9f4d93: Pull complete [2023-04-07T18:41:42.816Z] 1469e6f7b9e6: Pull complete [2023-04-07T18:41:43.075Z] eaf3925da568: Pull complete [2023-04-07T18:41:44.979Z] bab4dde63d76: Pull complete [2023-04-07T18:41:44.979Z] bde34c3a00c8: Pull complete [2023-04-07T18:41:44.979Z] b352a97aabf1: Pull complete [2023-04-07T18:41:44.979Z] 4872d77fe225: Pull complete [2023-04-07T18:41:44.979Z] 5851b861e8e6: Pull complete [2023-04-07T18:41:44.979Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-07T18:41:44.980Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-07T18:41:44.980Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-07T18:41:45.100Z] prd-ubuntu20.04-docker-8c-8g-7145 does not seem to be running inside a container [2023-04-07T18:41:45.135Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1415 -v /w/workspace/gexfoundry_device-sdk-go_PR-1415:/w/workspace/gexfoundry_device-sdk-go_PR-1415:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1415@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1415@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-07T18:41:49.743Z] $ docker top 8b4d112f3504b6bbdf48a1c174dcca9c6f7b44287d342496169605ce1c3da152 -eo pid,comm [2023-04-07T18:41:49.801Z] 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-04-07T18:41:49.801Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-07T18:41:49.836Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-07T18:41:49.836Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-07T18:41:49.978Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-07T18:41:49.984Z] $ docker exec 8b4d112f3504b6bbdf48a1c174dcca9c6f7b44287d342496169605ce1c3da152 ssh-agent [2023-04-07T18:41:50.096Z] SSH_AUTH_SOCK=/tmp/ssh-YwfAegVKY0lo/agent.31 [2023-04-07T18:41:50.096Z] SSH_AGENT_PID=37 [2023-04-07T18:41:50.104Z] Running ssh-add (command line suppressed) [2023-04-07T18:41:50.206Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1415@tmp/private_key_1515401815565411141.key (/w/workspace/gexfoundry_device-sdk-go_PR-1415@tmp/private_key_1515401815565411141.key) [2023-04-07T18:41:50.218Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-07T18:41:50.505Z] + git tag --points-at HEAD [Pipeline] } [2023-04-07T18:41:50.527Z] $ docker exec --env ******** --env ******** 8b4d112f3504b6bbdf48a1c174dcca9c6f7b44287d342496169605ce1c3da152 ssh-agent -k [2023-04-07T18:41:50.621Z] unset SSH_AUTH_SOCK; [2023-04-07T18:41:50.621Z] unset SSH_AGENT_PID; [2023-04-07T18:41:50.621Z] echo Agent pid 37 killed; [2023-04-07T18:41:50.629Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-07T18:41:50.651Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-07T18:41:50.651Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-07T18:41:50.756Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-07T18:41:50.762Z] $ docker exec 8b4d112f3504b6bbdf48a1c174dcca9c6f7b44287d342496169605ce1c3da152 ssh-agent [2023-04-07T18:41:50.872Z] SSH_AUTH_SOCK=/tmp/ssh-a0LCZ6Cm7Yeo/agent.70 [2023-04-07T18:41:50.872Z] SSH_AGENT_PID=76 [2023-04-07T18:41:50.876Z] Running ssh-add (command line suppressed) [2023-04-07T18:41:50.981Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1415@tmp/private_key_16215728918916733984.key (/w/workspace/gexfoundry_device-sdk-go_PR-1415@tmp/private_key_16215728918916733984.key) [2023-04-07T18:41:50.993Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-07T18:41:51.275Z] + git semver init [2023-04-07T18:41:51.536Z] 2023-04-07 18:41:51,485 [run_init] DEBUG init version:0.0.0 force:False [2023-04-07T18:41:51.536Z] 2023-04-07 18:41:51,487 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1415/.semver [2023-04-07T18:41:51.536Z] 2023-04-07 18:41:51,488 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1415/.semver [2023-04-07T18:41:51.536Z] 2023-04-07 18:41:51,489 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1415/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1415, universal_newlines=False, shell=None, istream=None) [2023-04-07T18:41:52.521Z] 2023-04-07 18:41:52,420 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1415/.git/info/exclude [2023-04-07T18:41:52.521Z] 2023-04-07 18:41:52,420 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1415/.semver/PR-1415 with force:False [2023-04-07T18:41:52.521Z] 2023-04-07 18:41:52,420 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1415/.semver/PR-1415 [2023-04-07T18:41:52.521Z] 2023-04-07 18:41:52,424 [execute] INFO git cat-file --batch-check [2023-04-07T18:41:52.521Z] 2023-04-07 18:41:52,425 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1415/.semver, universal_newlines=False, shell=None, istream=) [2023-04-07T18:41:52.521Z] 2023-04-07 18:41:52,431 [execute] INFO git cat-file --batch [2023-04-07T18:41:52.521Z] 2023-04-07 18:41:52,431 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1415/.semver, universal_newlines=False, shell=None, istream=) [2023-04-07T18:41:52.521Z] 2023-04-07 18:41:52,435 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1415/.semver/PR-1415 [2023-04-07T18:41:52.521Z] 0.0.0 [Pipeline] } [2023-04-07T18:41:52.542Z] $ docker exec --env ******** --env ******** 8b4d112f3504b6bbdf48a1c174dcca9c6f7b44287d342496169605ce1c3da152 ssh-agent -k [2023-04-07T18:41:52.680Z] unset SSH_AUTH_SOCK; [2023-04-07T18:41:52.681Z] unset SSH_AGENT_PID; [2023-04-07T18:41:52.681Z] echo Agent pid 76 killed; [2023-04-07T18:41:52.688Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-07T18:41:52.991Z] + git semver [Pipeline] } [2023-04-07T18:41:53.267Z] $ docker stop --time=1 8b4d112f3504b6bbdf48a1c174dcca9c6f7b44287d342496169605ce1c3da152 [2023-04-07T18:41:54.588Z] $ docker rm -f --volumes 8b4d112f3504b6bbdf48a1c174dcca9c6f7b44287d342496169605ce1c3da152 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-07T18:41:54.923Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-07T18:41:55.127Z] Stashed 1 file(s) [Pipeline] echo [2023-04-07T18:41:55.129Z] [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-04-07T18:41:55.251Z] provisioning config files... [2023-04-07T18:41:55.260Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1415@tmp/config1958871122945236903tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-07T18:41:55.555Z] ---> docker-login.sh [2023-04-07T18:41:55.555Z] nexus3.edgexfoundry.org:10001 [2023-04-07T18:41:55.555Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T18:41:55.555Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T18:41:55.555Z] Configure a credential helper to remove this warning. See [2023-04-07T18:41:55.555Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T18:41:55.555Z] [2023-04-07T18:41:55.555Z] Login Succeeded [2023-04-07T18:41:55.555Z] nexus3.edgexfoundry.org:10002 [2023-04-07T18:41:55.555Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T18:41:55.555Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T18:41:55.555Z] Configure a credential helper to remove this warning. See [2023-04-07T18:41:55.555Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T18:41:55.555Z] [2023-04-07T18:41:55.555Z] Login Succeeded [2023-04-07T18:41:55.555Z] nexus3.edgexfoundry.org:10003 [2023-04-07T18:41:55.813Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T18:41:55.813Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T18:41:55.813Z] Configure a credential helper to remove this warning. See [2023-04-07T18:41:55.813Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T18:41:55.813Z] [2023-04-07T18:41:55.813Z] Login Succeeded [2023-04-07T18:41:55.813Z] nexus3.edgexfoundry.org:10004 [2023-04-07T18:41:55.813Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T18:41:55.813Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T18:41:55.813Z] Configure a credential helper to remove this warning. See [2023-04-07T18:41:55.813Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T18:41:55.813Z] [2023-04-07T18:41:55.813Z] Login Succeeded [2023-04-07T18:41:55.813Z] docker.io [2023-04-07T18:41:55.813Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T18:41:56.072Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T18:41:56.072Z] Configure a credential helper to remove this warning. See [2023-04-07T18:41:56.072Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T18:41:56.072Z] [2023-04-07T18:41:56.072Z] Login Succeeded [2023-04-07T18:41:56.072Z] ---> docker-login.sh ends [Pipeline] } [2023-04-07T18:41:56.082Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-07T18:41:56.133Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-07T18:41:56.145Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-07T18:41:56.152Z] ========================================================= [2023-04-07T18:41:56.152Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-07T18:41:56.152Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-07T18:41:56.463Z] + 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-04-07T18:41:56.463Z] Sending build context to Docker daemon 10.94MB [2023-04-07T18:41:56.463Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-04-07T18:41:56.463Z] Step 2/10 : FROM ${BASE} AS builder [2023-04-07T18:41:56.724Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-07T18:41:56.724Z] 63b65145d645: Pulling fs layer [2023-04-07T18:41:56.724Z] a2d21d5440eb: Pulling fs layer [2023-04-07T18:41:56.724Z] 935e6c44a52c: Pulling fs layer [2023-04-07T18:41:56.724Z] 94cc34f8dd06: Pulling fs layer [2023-04-07T18:41:56.724Z] 30dea6a524f1: Pulling fs layer [2023-04-07T18:41:56.724Z] a2aff8979fd8: Pulling fs layer [2023-04-07T18:41:56.724Z] 6808be2612f2: Pulling fs layer [2023-04-07T18:41:56.724Z] f25807f1079a: Pulling fs layer [2023-04-07T18:41:56.724Z] 30dea6a524f1: Waiting [2023-04-07T18:41:56.724Z] 94cc34f8dd06: Waiting [2023-04-07T18:41:56.724Z] a2aff8979fd8: Waiting [2023-04-07T18:41:56.724Z] a2d21d5440eb: Download complete [2023-04-07T18:41:56.724Z] 94cc34f8dd06: Download complete [2023-04-07T18:41:56.724Z] 30dea6a524f1: Verifying Checksum [2023-04-07T18:41:56.724Z] 30dea6a524f1: Download complete [2023-04-07T18:41:56.724Z] 63b65145d645: Verifying Checksum [2023-04-07T18:41:56.724Z] 63b65145d645: Download complete [2023-04-07T18:41:56.724Z] a2aff8979fd8: Verifying Checksum [2023-04-07T18:41:56.724Z] a2aff8979fd8: Download complete [2023-04-07T18:41:56.985Z] 63b65145d645: Pull complete [2023-04-07T18:41:56.985Z] a2d21d5440eb: Pull complete [2023-04-07T18:41:56.985Z] f25807f1079a: Verifying Checksum [2023-04-07T18:41:56.985Z] f25807f1079a: Download complete [2023-04-07T18:41:57.243Z] 935e6c44a52c: Verifying Checksum [2023-04-07T18:41:57.243Z] 935e6c44a52c: Download complete [2023-04-07T18:41:57.502Z] 6808be2612f2: Verifying Checksum [2023-04-07T18:41:57.502Z] 6808be2612f2: Download complete [2023-04-07T18:42:00.788Z] 935e6c44a52c: Pull complete [2023-04-07T18:42:00.788Z] 94cc34f8dd06: Pull complete [2023-04-07T18:42:00.788Z] 30dea6a524f1: Pull complete [2023-04-07T18:42:01.046Z] a2aff8979fd8: Pull complete [2023-04-07T18:42:03.577Z] 6808be2612f2: Pull complete [2023-04-07T18:42:04.144Z] f25807f1079a: Pull complete [2023-04-07T18:42:04.144Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-04-07T18:42:04.144Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-07T18:42:04.144Z] ---> 3b553350e43f [2023-04-07T18:42:04.144Z] Step 3/10 : ARG MAKE=make build [2023-04-07T18:42:09.455Z] ---> Running in a155be4cfab1 [2023-04-07T18:42:09.715Z] Removing intermediate container a155be4cfab1 [2023-04-07T18:42:09.715Z] ---> 88b90aac5348 [2023-04-07T18:42:09.715Z] Step 4/10 : WORKDIR /device-sdk-go [2023-04-07T18:42:09.715Z] ---> Running in e36e0ae76ff1 [2023-04-07T18:42:09.973Z] Removing intermediate container e36e0ae76ff1 [2023-04-07T18:42:09.973Z] ---> 12cf7d836b24 [2023-04-07T18:42:09.973Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-04-07T18:42:09.973Z] ---> Running in 38be4c489f47 [2023-04-07T18:42:09.973Z] Removing intermediate container 38be4c489f47 [2023-04-07T18:42:09.973Z] ---> daab08e083d8 [2023-04-07T18:42:09.973Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-04-07T18:42:09.973Z] ---> Running in 0227e7a8df78 [2023-04-07T18:42:10.207Z] Still waiting to schedule task [2023-04-07T18:42:10.207Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-04-07T18:42:10.232Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-07T18:42:10.490Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-07T18:42:10.749Z] OK: 265 MiB in 53 packages [2023-04-07T18:42:11.008Z] Removing intermediate container 0227e7a8df78 [2023-04-07T18:42:11.008Z] ---> 8b418213f59a [2023-04-07T18:42:11.008Z] Step 7/10 : COPY go.mod vendor* ./ [2023-04-07T18:42:11.580Z] ---> 8c5603e042e9 [2023-04-07T18:42:11.580Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-07T18:42:11.580Z] ---> Running in cfed3d9ed53a [2023-04-07T18:42:50.360Z] Removing intermediate container cfed3d9ed53a [2023-04-07T18:42:50.360Z] ---> 00483d975fd7 [2023-04-07T18:42:50.360Z] Step 9/10 : COPY . . [2023-04-07T18:42:50.360Z] ---> 235e7f2a086b [2023-04-07T18:42:50.360Z] Step 10/10 : RUN ${MAKE} [2023-04-07T18:42:50.360Z] ---> Running in 20c9f946950b [2023-04-07T18:42:50.360Z] noop [2023-04-07T18:42:50.360Z] Removing intermediate container 20c9f946950b [2023-04-07T18:42:50.360Z] ---> 20fd4ce884b9 [2023-04-07T18:42:50.360Z] Successfully built 20fd4ce884b9 [2023-04-07T18:42:50.360Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-07T18:42:50.671Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-07T18:42:50.671Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-07T18:42:50.740Z] prd-ubuntu20.04-docker-8c-8g-7145 does not seem to be running inside a container [2023-04-07T18:42:50.770Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1415 -v /w/workspace/gexfoundry_device-sdk-go_PR-1415:/w/workspace/gexfoundry_device-sdk-go_PR-1415:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1415@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1415@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 ******** ci-base-image-x86_64 cat [2023-04-07T18:42:51.159Z] $ docker top bd43b1bfbc1f94fac3ab91efd3805a6d6f68d818b5ebd3bf81377e0dec830ca6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-07T18:42:51.493Z] + go version [2023-04-07T18:42:51.493Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-07T18:42:51.505Z] $ docker stop --time=1 bd43b1bfbc1f94fac3ab91efd3805a6d6f68d818b5ebd3bf81377e0dec830ca6 [2023-04-07T18:42:52.913Z] $ docker rm -f --volumes bd43b1bfbc1f94fac3ab91efd3805a6d6f68d818b5ebd3bf81377e0dec830ca6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-07T18:42:53.369Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-07T18:42:53.369Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-07T18:42:53.442Z] prd-ubuntu20.04-docker-8c-8g-7145 does not seem to be running inside a container [2023-04-07T18:42:53.477Z] $ 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-1415 -v /w/workspace/gexfoundry_device-sdk-go_PR-1415:/w/workspace/gexfoundry_device-sdk-go_PR-1415:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1415@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1415@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 ******** ci-base-image-x86_64 cat [2023-04-07T18:42:53.810Z] $ docker top acab033bc5c1c77ae9045f1be6c7a5ce487d6f433d4a2c0b036b8c07fdc0677a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-07T18:42:54.152Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1415 [Pipeline] fileExists [Pipeline] sh [2023-04-07T18:42:54.445Z] + make test [2023-04-07T18:42:54.445Z] go test -race -coverprofile=coverage.out ./... [2023-04-07T18:43:01.010Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-04-07T18:43:15.869Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-04-07T18:43:15.869Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-04-07T18:43:15.869Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-04-07T18:43:15.869Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-04-07T18:43:15.869Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-04-07T18:43:15.869Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.053s coverage: 27.6% of statements [2023-04-07T18:43:15.869Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-04-07T18:43:15.869Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-04-07T18:43:15.869Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.051s coverage: 79.9% of statements [2023-04-07T18:43:15.869Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.080s coverage: 86.0% of statements [2023-04-07T18:43:16.128Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-04-07T18:43:16.128Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-04-07T18:43:16.385Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.109s coverage: 77.5% of statements [2023-04-07T18:43:16.385Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-04-07T18:43:16.385Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-04-07T18:43:17.320Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-04-07T18:43:19.221Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.116s coverage: 14.6% of statements [2023-04-07T18:43:19.221Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.075s coverage: 68.5% of statements [2023-04-07T18:43:19.221Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.105s coverage: 89.2% of statements [2023-04-07T18:43:19.221Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.061s coverage: 5.6% of statements [2023-04-07T18:43:41.151Z] GO111MODULE=on go vet ./... [2023-04-07T18:43:41.151Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-07T18:43:41.151Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-07T18:43:41.151Z] ./bin/test-attribution-txt.sh [2023-04-07T18:43:41.151Z] An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo [2023-04-07T18:43:41.171Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-07T18:43:41.187Z] $ docker stop --time=1 acab033bc5c1c77ae9045f1be6c7a5ce487d6f433d4a2c0b036b8c07fdc0677a [2023-04-07T18:43:45.692Z] $ docker rm -f --volumes acab033bc5c1c77ae9045f1be6c7a5ce487d6f433d4a2c0b036b8c07fdc0677a [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-07T18:43:46.209Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-07T18:43:46.270Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-04-07T18:43:46.783Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-07T18:43:47.069Z] + ls -al . [2023-04-07T18:43:47.069Z] total 272 [2023-04-07T18:43:47.069Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 7 18:42 . [2023-04-07T18:43:47.069Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 18:41 .. [2023-04-07T18:43:47.069Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 7 18:41 .dockerignore [2023-04-07T18:43:47.069Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 18:41 .git [2023-04-07T18:43:47.069Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 18:41 .github [2023-04-07T18:43:47.069Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 7 18:41 .gitignore [2023-04-07T18:43:47.069Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 7 18:41 .golangci.yml [2023-04-07T18:43:47.069Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 7 18:41 .semver [2023-04-07T18:43:47.069Z] -rw-rw-r-- 1 jenkins jenkins 31677 Apr 7 18:41 CHANGELOG.md [2023-04-07T18:43:47.069Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 7 18:41 GOVERNANCE.md [2023-04-07T18:43:47.069Z] -rw-rw-r-- 1 jenkins jenkins 885 Apr 7 18:41 Jenkinsfile [2023-04-07T18:43:47.069Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 7 18:41 LICENSE [2023-04-07T18:43:47.069Z] -rw-rw-r-- 1 jenkins jenkins 1714 Apr 7 18:41 Makefile [2023-04-07T18:43:47.069Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 7 18:41 OWNERS.md [2023-04-07T18:43:47.069Z] -rw-rw-r-- 1 jenkins jenkins 4891 Apr 7 18:41 README.md [2023-04-07T18:43:47.069Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 7 18:41 VERSION [2023-04-07T18:43:47.069Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 18:41 bin [2023-04-07T18:43:47.069Z] -rw-r--r-- 1 jenkins jenkins 105787 Apr 7 18:43 coverage.out [2023-04-07T18:43:47.069Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 7 18:41 example [2023-04-07T18:43:47.069Z] -rw-rw-r-- 1 jenkins jenkins 3246 Apr 7 18:41 go.mod [2023-04-07T18:43:47.069Z] -rw-rw-r-- 1 jenkins jenkins 31006 Apr 7 18:41 go.sum [2023-04-07T18:43:47.069Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 7 18:41 internal [2023-04-07T18:43:47.069Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 18:41 openapi [2023-04-07T18:43:47.069Z] drwxrwxr-x 6 jenkins jenkins 4096 Apr 7 18:41 pkg [2023-04-07T18:43:47.069Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 18:41 snap [2023-04-07T18:43:47.069Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 7 18:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-07T18:43:47.377Z] + 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=8c8f37d25054249a5ae2d73df70026c3aa6dfadd --label arch=amd64 --label version=0.0.0 . [2023-04-07T18:43:47.377Z] Sending build context to Docker daemon 11.05MB [2023-04-07T18:43:47.377Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-04-07T18:43:47.377Z] Step 2/23 : FROM ${BASE} AS builder [2023-04-07T18:43:47.377Z] ---> 20fd4ce884b9 [2023-04-07T18:43:47.377Z] Step 3/23 : ARG MAKE=make build [2023-04-07T18:43:47.636Z] ---> Running in 3761b3847f53 [2023-04-07T18:43:47.636Z] Removing intermediate container 3761b3847f53 [2023-04-07T18:43:47.636Z] ---> a1bc5a7d50a1 [2023-04-07T18:43:47.637Z] Step 4/23 : WORKDIR /device-sdk-go [2023-04-07T18:43:47.637Z] ---> Running in 016b41de738a [2023-04-07T18:43:47.895Z] Removing intermediate container 016b41de738a [2023-04-07T18:43:47.895Z] ---> 9f53c746fa81 [2023-04-07T18:43:47.895Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-04-07T18:43:47.895Z] ---> Running in dcef031e7123 [2023-04-07T18:43:47.895Z] Removing intermediate container dcef031e7123 [2023-04-07T18:43:47.895Z] ---> 3cdd61781e6c [2023-04-07T18:43:47.895Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-04-07T18:43:47.895Z] ---> Running in 684e8968a86e [2023-04-07T18:43:48.157Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-07T18:43:48.417Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-07T18:43:48.684Z] OK: 265 MiB in 53 packages [2023-04-07T18:43:49.252Z] Removing intermediate container 684e8968a86e [2023-04-07T18:43:49.252Z] ---> 351e62e8e383 [2023-04-07T18:43:49.252Z] Step 7/23 : COPY go.mod vendor* ./ [2023-04-07T18:43:49.510Z] ---> 558566ebc6f1 [2023-04-07T18:43:49.510Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-07T18:43:49.771Z] ---> Running in b2ed830cd5e8 [2023-04-07T18:43:51.149Z] Removing intermediate container b2ed830cd5e8 [2023-04-07T18:43:51.149Z] ---> 762ccea32a9f [2023-04-07T18:43:51.149Z] Step 9/23 : COPY . . [2023-04-07T18:43:51.718Z] ---> cafae535066e [2023-04-07T18:43:51.718Z] Step 10/23 : RUN ${MAKE} [2023-04-07T18:43:51.718Z] ---> Running in 0c906eb47348 [2023-04-07T18:43:52.028Z] 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-04-07T18:44:02.175Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7147 in /w/workspace/gexfoundry_device-sdk-go_PR-1415 [Pipeline] { [Pipeline] ws [2023-04-07T18:44:02.186Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2023-04-07T18:44:02.226Z] The recommended git tool is: git [2023-04-07T18:44:10.138Z] Removing intermediate container 0c906eb47348 [2023-04-07T18:44:10.138Z] ---> 38b5d1af461d [2023-04-07T18:44:10.138Z] Step 11/23 : FROM alpine:3.17 [2023-04-07T18:44:10.138Z] 3.17: Pulling from library/alpine [2023-04-07T18:44:10.138Z] f56be85fc22e: Pulling fs layer [2023-04-07T18:44:10.138Z] f56be85fc22e: Verifying Checksum [2023-04-07T18:44:10.138Z] f56be85fc22e: Download complete [2023-04-07T18:44:10.440Z] f56be85fc22e: Pull complete [2023-04-07T18:44:10.440Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-07T18:44:10.440Z] Status: Downloaded newer image for alpine:3.17 [2023-04-07T18:44:10.440Z] ---> 9ed4aefc74f6 [2023-04-07T18:44:10.440Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-04-07T18:44:10.478Z] using credential edgex-jenkins-ssh [2023-04-07T18:44:10.497Z] Cloning the remote Git repository [2023-04-07T18:44:10.698Z] ---> Running in 6f657312f553 [2023-04-07T18:44:10.698Z] Removing intermediate container 6f657312f553 [2023-04-07T18:44:10.698Z] ---> 0aff76666116 [2023-04-07T18:44:10.698Z] Step 13/23 : RUN apk add --update --no-cache [2023-04-07T18:44:10.698Z] ---> Running in f1ff8a5cf852 [2023-04-07T18:44:10.956Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-07T18:44:11.215Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-07T18:44:11.473Z] OK: 7 MiB in 15 packages [2023-04-07T18:44:10.541Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-04-07T18:44:10.658Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2023-04-07T18:44:10.899Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-04-07T18:44:10.900Z] > git --version # timeout=10 [2023-04-07T18:44:10.931Z] > git --version # 'git version 2.25.1' [2023-04-07T18:44:10.934Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-07T18:44:11.169Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-07T18:44:11.736Z] Removing intermediate container f1ff8a5cf852 [2023-04-07T18:44:11.736Z] ---> 43cacda98bde [2023-04-07T18:44:11.736Z] Step 14/23 : WORKDIR / [2023-04-07T18:44:11.736Z] ---> Running in e319d095be61 [2023-04-07T18:44:11.736Z] Removing intermediate container e319d095be61 [2023-04-07T18:44:11.736Z] ---> d3554fee043a [2023-04-07T18:44:11.736Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-04-07T18:44:11.994Z] ---> 65f324421674 [2023-04-07T18:44:11.994Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-04-07T18:44:12.560Z] ---> 14a6e09f8f48 [2023-04-07T18:44:12.560Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-04-07T18:44:12.818Z] ---> 10a7fe6543d3 [2023-04-07T18:44:12.818Z] Step 18/23 : EXPOSE 59999 [2023-04-07T18:44:12.818Z] ---> Running in 63ce254b6e1b [2023-04-07T18:44:12.818Z] Removing intermediate container 63ce254b6e1b [2023-04-07T18:44:12.818Z] ---> 2472bc949cac [2023-04-07T18:44:12.818Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-04-07T18:44:12.818Z] ---> Running in 025aa99799a9 [2023-04-07T18:44:12.818Z] Removing intermediate container 025aa99799a9 [2023-04-07T18:44:12.818Z] ---> cb4bcdf5881f [2023-04-07T18:44:12.818Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-07T18:44:12.818Z] ---> Running in 04608519a290 [2023-04-07T18:44:13.082Z] Removing intermediate container 04608519a290 [2023-04-07T18:44:13.082Z] ---> 287edd7aa30f [2023-04-07T18:44:13.082Z] Step 21/23 : LABEL arch=amd64 [2023-04-07T18:44:13.082Z] ---> Running in 5a493e4a32aa [2023-04-07T18:44:13.082Z] Removing intermediate container 5a493e4a32aa [2023-04-07T18:44:13.082Z] ---> f2db130a09ab [2023-04-07T18:44:13.082Z] Step 22/23 : LABEL git_sha=8c8f37d25054249a5ae2d73df70026c3aa6dfadd [2023-04-07T18:44:13.082Z] ---> Running in 247fce9a5602 [2023-04-07T18:44:13.082Z] Removing intermediate container 247fce9a5602 [2023-04-07T18:44:13.082Z] ---> 854b9e91f611 [2023-04-07T18:44:13.082Z] Step 23/23 : LABEL version=0.0.0 [2023-04-07T18:44:13.082Z] ---> Running in 3a4261f81ac7 [2023-04-07T18:44:13.340Z] Removing intermediate container 3a4261f81ac7 [2023-04-07T18:44:13.340Z] ---> 5b4f4fb93897 [2023-04-07T18:44:13.340Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-07T18:44:13.340Z] Successfully built 5b4f4fb93897 [2023-04-07T18:44:13.340Z] 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-04-07T18:44:13.774Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-07T18:44:13.774Z] [2023-04-07T18:44:13.774Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-07T18:44:14.075Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-07T18:44:14.075Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-07T18:44:14.075Z] 5eb5b503b376: Pulling fs layer [2023-04-07T18:44:14.075Z] 5c69ac0246d0: Pulling fs layer [2023-04-07T18:44:14.075Z] ec43610c2a17: Pulling fs layer [2023-04-07T18:44:14.075Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-07T18:44:14.075Z] 33b1e0a273af: Pulling fs layer [2023-04-07T18:44:14.075Z] 3a2ae6a8a46f: Waiting [2023-04-07T18:44:14.075Z] 5d3b04190fa2: Pulling fs layer [2023-04-07T18:44:14.075Z] 2f39f015ded8: Pulling fs layer [2023-04-07T18:44:14.075Z] 5d3b04190fa2: Waiting [2023-04-07T18:44:14.075Z] 2f39f015ded8: Waiting [2023-04-07T18:44:14.075Z] 33b1e0a273af: Waiting [2023-04-07T18:44:14.075Z] 5c69ac0246d0: Download complete [2023-04-07T18:44:14.075Z] 3a2ae6a8a46f: Verifying Checksum [2023-04-07T18:44:14.075Z] 3a2ae6a8a46f: Download complete [2023-04-07T18:44:14.075Z] 33b1e0a273af: Verifying Checksum [2023-04-07T18:44:14.075Z] 33b1e0a273af: Download complete [2023-04-07T18:44:14.075Z] ec43610c2a17: Verifying Checksum [2023-04-07T18:44:14.075Z] ec43610c2a17: Download complete [2023-04-07T18:44:14.075Z] 5d3b04190fa2: Verifying Checksum [2023-04-07T18:44:14.075Z] 5d3b04190fa2: Download complete [2023-04-07T18:44:14.332Z] 5eb5b503b376: Download complete [2023-04-07T18:44:12.935Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-04-07T18:44:12.983Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-07T18:44:13.924Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-04-07T18:44:13.965Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-04-07T18:44:13.965Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-07T18:44:13.986Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1415/head:refs/remotes/origin/PR-1415 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-04-07T18:44:14.673Z] Merging remotes/origin/main commit d73da920b9fd3a52132699998633ff8aee3aa256 into PR head commit 360cbe07352af3bef2e3444345287b1a08e21f05 [2023-04-07T18:44:14.896Z] 2f39f015ded8: Download complete [2023-04-07T18:44:15.048Z] Merge succeeded, producing 3b0e3432566791b11b12beefc053c15366b99601 [2023-04-07T18:44:15.049Z] Checking out Revision 3b0e3432566791b11b12beefc053c15366b99601 (PR-1415) [2023-04-07T18:44:15.462Z] 5eb5b503b376: Pull complete [2023-04-07T18:44:15.462Z] 5c69ac0246d0: Pull complete [2023-04-07T18:44:14.692Z] > git config core.sparsecheckout # timeout=10 [2023-04-07T18:44:14.766Z] > git checkout -f 360cbe07352af3bef2e3444345287b1a08e21f05 # timeout=10 [2023-04-07T18:44:14.881Z] > git remote # timeout=10 [2023-04-07T18:44:14.898Z] > git config --get remote.origin.url # timeout=10 [2023-04-07T18:44:14.920Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-07T18:44:14.935Z] > git merge d73da920b9fd3a52132699998633ff8aee3aa256 # timeout=10 [2023-04-07T18:44:15.028Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-04-07T18:44:15.057Z] > git config core.sparsecheckout # timeout=10 [2023-04-07T18:44:15.084Z] > git checkout -f 3b0e3432566791b11b12beefc053c15366b99601 # timeout=10 [2023-04-07T18:44:16.027Z] ec43610c2a17: Pull complete [2023-04-07T18:44:16.027Z] 3a2ae6a8a46f: Pull complete [2023-04-07T18:44:16.284Z] 33b1e0a273af: Pull complete [2023-04-07T18:44:16.284Z] 5d3b04190fa2: Pull complete [2023-04-07T18:44:18.610Z] Commit message: "Merge commit 'd73da920b9fd3a52132699998633ff8aee3aa256' into HEAD" [2023-04-07T18:44:18.621Z] > git rev-list --no-walk 360cbe07352af3bef2e3444345287b1a08e21f05 # timeout=10 [2023-04-07T18:44:19.037Z] [2023-04-07T18:44:19.037Z] GitHub has been notified of this commit’s build result [2023-04-07T18:44:19.037Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-07T18:44:19.558Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-07T18:44:19.558Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-07T18:44:19.558Z] Dload Upload Total Spent Left Speed [2023-04-07T18:44:19.558Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 91078 0 --:--:-- --:--:-- --:--:-- 91078 [Pipeline] sh [2023-04-07T18:44:20.330Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-07T18:44:20.477Z] 2f39f015ded8: Pull complete [2023-04-07T18:44:20.477Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-07T18:44:20.477Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-07T18:44:20.477Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-07T18:44:20.557Z] prd-ubuntu20.04-docker-8c-8g-7145 does not seem to be running inside a container [2023-04-07T18:44:20.587Z] $ 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-1415 -v /w/workspace/gexfoundry_device-sdk-go_PR-1415:/w/workspace/gexfoundry_device-sdk-go_PR-1415:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1415@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1415@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-07T18:44:20.684Z] + sudo tee /etc/docker/daemon.new [2023-04-07T18:44:20.684Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-07T18:44:20.684Z] { [2023-04-07T18:44:20.684Z] "registry-mirrors": [ [2023-04-07T18:44:20.684Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-07T18:44:20.684Z] ], [2023-04-07T18:44:20.684Z] "bip": "10.250.0.254/24", [2023-04-07T18:44:20.684Z] "hosts": [ [2023-04-07T18:44:20.684Z] "tcp://0.0.0.0:5555", [2023-04-07T18:44:20.684Z] "unix:///var/run/docker.sock" [2023-04-07T18:44:20.684Z] ], [2023-04-07T18:44:20.684Z] "mtu": 1458, [2023-04-07T18:44:20.684Z] "selinux-enabled": true, [2023-04-07T18:44:20.684Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-07T18:44:20.684Z] } [2023-04-07T18:44:23.803Z] $ docker top 3184e7ced0e3b4c696198fd4458f456d4a0ef2e259bdc50f7304ed47268256af -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] libraryResource [Pipeline] sh [2023-04-07T18:44:24.173Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-07T18:44:24.251Z] ---> job-cost.sh [2023-04-07T18:44:24.251Z] lf-activate-venv: SKIPPING [2023-04-07T18:44:24.251Z] INFO: No Stack... [2023-04-07T18:44:24.505Z] + sudo service docker restart [2023-04-07T18:44:24.509Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-07T18:44:24.767Z] INFO: Archiving Costs [Pipeline] sh [2023-04-07T18:44:25.053Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1415/archives/cost.csv [2023-04-07T18:44:25.053Z] + cut -d, -f6 [Pipeline] lock [2023-04-07T18:44:25.066Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1415-3-stack-cost] [2023-04-07T18:44:25.073Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1415-3-stack-cost] did not exist. Created. [2023-04-07T18:44:25.074Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1415-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-07T18:44:25.371Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-07T18:44:25.406Z] Stashed 1 file(s) [Pipeline] } [2023-04-07T18:44:25.412Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1415-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-07T18:44:25.430Z] $ docker stop --time=1 3184e7ced0e3b4c696198fd4458f456d4a0ef2e259bdc50f7304ed47268256af [2023-04-07T18:44:26.581Z] $ docker rm -f --volumes 3184e7ced0e3b4c696198fd4458f456d4a0ef2e259bdc50f7304ed47268256af [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-07T18:44:42.776Z] provisioning config files... [2023-04-07T18:44:42.806Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config7644892476659549927tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-07T18:44:43.161Z] ---> docker-login.sh [2023-04-07T18:44:43.161Z] nexus3.edgexfoundry.org:10001 [2023-04-07T18:44:43.749Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T18:44:43.749Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T18:44:43.749Z] Configure a credential helper to remove this warning. See [2023-04-07T18:44:43.749Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T18:44:43.749Z] [2023-04-07T18:44:43.749Z] Login Succeeded [2023-04-07T18:44:43.749Z] nexus3.edgexfoundry.org:10002 [2023-04-07T18:44:44.020Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T18:44:44.020Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T18:44:44.020Z] Configure a credential helper to remove this warning. See [2023-04-07T18:44:44.020Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T18:44:44.020Z] [2023-04-07T18:44:44.020Z] Login Succeeded [2023-04-07T18:44:44.020Z] nexus3.edgexfoundry.org:10003 [2023-04-07T18:44:44.292Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T18:44:44.563Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T18:44:44.563Z] Configure a credential helper to remove this warning. See [2023-04-07T18:44:44.563Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T18:44:44.563Z] [2023-04-07T18:44:44.563Z] Login Succeeded [2023-04-07T18:44:44.563Z] nexus3.edgexfoundry.org:10004 [2023-04-07T18:44:44.835Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T18:44:44.835Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T18:44:44.835Z] Configure a credential helper to remove this warning. See [2023-04-07T18:44:44.835Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T18:44:44.835Z] [2023-04-07T18:44:44.835Z] Login Succeeded [2023-04-07T18:44:44.835Z] docker.io [2023-04-07T18:44:45.107Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T18:44:45.376Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T18:44:45.376Z] Configure a credential helper to remove this warning. See [2023-04-07T18:44:45.376Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T18:44:45.376Z] [2023-04-07T18:44:45.376Z] Login Succeeded [2023-04-07T18:44:45.376Z] ---> docker-login.sh ends [Pipeline] } [2023-04-07T18:44:45.391Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-07T18:44:45.650Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-07T18:44:45.667Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-07T18:44:45.676Z] ========================================================= [2023-04-07T18:44:45.676Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-07T18:44:45.676Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-07T18:44:46.028Z] + 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-04-07T18:44:46.298Z] Sending build context to Docker daemon 5.874MB [2023-04-07T18:44:46.568Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-04-07T18:44:46.568Z] Step 2/10 : FROM ${BASE} AS builder [2023-04-07T18:44:46.568Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-07T18:44:46.568Z] af6eaf76a39c: Pulling fs layer [2023-04-07T18:44:46.568Z] 55522c791124: Pulling fs layer [2023-04-07T18:44:46.568Z] ce5c4a1c91eb: Pulling fs layer [2023-04-07T18:44:46.568Z] 169dfbe0d373: Pulling fs layer [2023-04-07T18:44:46.568Z] e1ff8fa3b103: Pulling fs layer [2023-04-07T18:44:46.568Z] 52ebb69f0ebf: Pulling fs layer [2023-04-07T18:44:46.568Z] 5abe8eddf0d5: Pulling fs layer [2023-04-07T18:44:46.568Z] 169dfbe0d373: Waiting [2023-04-07T18:44:46.568Z] e1ff8fa3b103: Waiting [2023-04-07T18:44:46.568Z] 52ebb69f0ebf: Waiting [2023-04-07T18:44:46.568Z] 5abe8eddf0d5: Waiting [2023-04-07T18:44:46.568Z] 55522c791124: Download complete [2023-04-07T18:44:46.568Z] 169dfbe0d373: Verifying Checksum [2023-04-07T18:44:46.568Z] 169dfbe0d373: Download complete [2023-04-07T18:44:46.835Z] e1ff8fa3b103: Download complete [2023-04-07T18:44:46.835Z] af6eaf76a39c: Verifying Checksum [2023-04-07T18:44:46.835Z] af6eaf76a39c: Download complete [2023-04-07T18:44:47.829Z] 5abe8eddf0d5: Verifying Checksum [2023-04-07T18:44:47.829Z] 5abe8eddf0d5: Download complete [2023-04-07T18:44:47.829Z] af6eaf76a39c: Pull complete [2023-04-07T18:44:48.421Z] 55522c791124: Pull complete [2023-04-07T18:44:49.388Z] ce5c4a1c91eb: Verifying Checksum [2023-04-07T18:44:49.388Z] ce5c4a1c91eb: Download complete [2023-04-07T18:44:49.388Z] 52ebb69f0ebf: Verifying Checksum [2023-04-07T18:44:49.388Z] 52ebb69f0ebf: Download complete [2023-04-07T18:45:01.733Z] ce5c4a1c91eb: Pull complete [2023-04-07T18:45:01.733Z] 169dfbe0d373: Pull complete [2023-04-07T18:45:01.733Z] e1ff8fa3b103: Pull complete [2023-04-07T18:45:07.089Z] 52ebb69f0ebf: Pull complete [2023-04-07T18:45:09.051Z] 5abe8eddf0d5: Pull complete [2023-04-07T18:45:09.051Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-04-07T18:45:09.051Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-07T18:45:09.051Z] ---> 6cb57ee374ae [2023-04-07T18:45:09.051Z] Step 3/10 : ARG MAKE=make build [2023-04-07T18:45:11.010Z] ---> Running in 86aa00d84c7b [2023-04-07T18:45:11.278Z] Removing intermediate container 86aa00d84c7b [2023-04-07T18:45:11.278Z] ---> a7701bc81e4d [2023-04-07T18:45:11.278Z] Step 4/10 : WORKDIR /device-sdk-go [2023-04-07T18:45:11.554Z] ---> Running in 5fe31db8daa6 [2023-04-07T18:45:11.842Z] Removing intermediate container 5fe31db8daa6 [2023-04-07T18:45:11.842Z] ---> 3f3387a34e06 [2023-04-07T18:45:11.842Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-04-07T18:45:12.110Z] ---> Running in 149cb7867a8b [2023-04-07T18:45:12.386Z] Removing intermediate container 149cb7867a8b [2023-04-07T18:45:12.386Z] ---> 86e10219ab91 [2023-04-07T18:45:12.386Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-04-07T18:45:12.659Z] ---> Running in 5f1115556064 [2023-04-07T18:45:13.622Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-07T18:45:14.217Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-07T18:45:15.189Z] OK: 263 MiB in 53 packages [2023-04-07T18:45:16.160Z] Removing intermediate container 5f1115556064 [2023-04-07T18:45:16.160Z] ---> f8bafdd2bf2b [2023-04-07T18:45:16.160Z] Step 7/10 : COPY go.mod vendor* ./ [2023-04-07T18:45:16.752Z] ---> a782a02b1700 [2023-04-07T18:45:16.752Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-07T18:45:17.021Z] ---> Running in 3263fdc11216 [2023-04-07T18:46:14.090Z] Removing intermediate container 3263fdc11216 [2023-04-07T18:46:14.090Z] ---> 843cf419a0d1 [2023-04-07T18:46:14.090Z] Step 9/10 : COPY . . [2023-04-07T18:46:14.090Z] ---> 641b8acf1b6c [2023-04-07T18:46:14.090Z] Step 10/10 : RUN ${MAKE} [2023-04-07T18:46:14.360Z] ---> Running in 31fc0f1d09ae [2023-04-07T18:46:15.332Z] noop [2023-04-07T18:46:15.921Z] Removing intermediate container 31fc0f1d09ae [2023-04-07T18:46:15.921Z] ---> be9c49346cbd [2023-04-07T18:46:15.921Z] Successfully built be9c49346cbd [2023-04-07T18:46:15.921Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-07T18:46:16.281Z] + docker inspect -f . ci-base-image-arm64 [2023-04-07T18:46:16.281Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-07T18:46:16.499Z] prd-ubuntu20.04-docker-arm64-4c-16g-7147 does not seem to be running inside a container [2023-04-07T18:46:16.572Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 ******** ci-base-image-arm64 cat [2023-04-07T18:46:18.453Z] $ docker top b629bfbffddce378ffafec89cce03c185de87da7a236d995fc28ad800329faf2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-07T18:46:19.297Z] + go version [2023-04-07T18:46:19.297Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-07T18:46:19.320Z] $ docker stop --time=1 b629bfbffddce378ffafec89cce03c185de87da7a236d995fc28ad800329faf2 [2023-04-07T18:46:20.924Z] $ docker rm -f --volumes b629bfbffddce378ffafec89cce03c185de87da7a236d995fc28ad800329faf2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-07T18:46:21.473Z] + docker inspect -f . ci-base-image-arm64 [2023-04-07T18:46:21.473Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-07T18:46:21.657Z] prd-ubuntu20.04-docker-arm64-4c-16g-7147 does not seem to be running inside a container [2023-04-07T18:46:21.731Z] $ 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/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 ******** ci-base-image-arm64 cat [2023-04-07T18:46:23.020Z] $ docker top 94645cd8339a994956b0bf79009cc8f13936a3e1a1e242eadb299960df619517 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-07T18:46:23.841Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/3 [Pipeline] fileExists [Pipeline] sh [2023-04-07T18:46:24.485Z] + make test [2023-04-07T18:46:24.485Z] go test -race -coverprofile=coverage.out ./... [2023-04-07T18:47:11.379Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-04-07T18:49:03.044Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-04-07T18:49:03.044Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-04-07T18:49:03.044Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-04-07T18:49:03.044Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-04-07T18:49:03.044Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-04-07T18:49:09.706Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.235s coverage: 27.6% of statements [2023-04-07T18:49:10.667Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.263s coverage: 79.9% of statements [2023-04-07T18:49:20.751Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-04-07T18:49:20.752Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-04-07T18:49:20.752Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.394s coverage: 86.0% of statements [2023-04-07T18:49:25.021Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-04-07T18:49:25.289Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-04-07T18:49:25.557Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.490s coverage: 77.5% of statements [2023-04-07T18:49:28.903Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.277s coverage: 14.6% of statements [2023-04-07T18:49:30.319Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-04-07T18:49:30.319Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-04-07T18:49:30.905Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.401s coverage: 68.5% of statements [2023-04-07T18:49:33.495Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.494s coverage: 89.2% of statements [2023-04-07T18:49:36.194Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-04-07T18:49:36.463Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.271s coverage: 5.6% of statements [2023-04-07T18:49:37.450Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-04-07T18:49:37.450Z] GO111MODULE=on go vet ./... [2023-04-07T18:51:59.201Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-07T18:51:59.201Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-07T18:51:59.201Z] ./bin/test-attribution-txt.sh [2023-04-07T18:51:59.201Z] An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo [2023-04-07T18:51:59.220Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-07T18:51:59.234Z] $ docker stop --time=1 94645cd8339a994956b0bf79009cc8f13936a3e1a1e242eadb299960df619517 [2023-04-07T18:52:02.775Z] $ docker rm -f --volumes 94645cd8339a994956b0bf79009cc8f13936a3e1a1e242eadb299960df619517 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-07T18:52:04.324Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-07T18:52:04.348Z] Warning: overwriting stash ‘coverage-report’ [2023-04-07T18:52:04.996Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-07T18:52:05.376Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-07T18:52:05.695Z] + ls -al . [2023-04-07T18:52:05.695Z] total 268 [2023-04-07T18:52:05.695Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 7 18:46 . [2023-04-07T18:52:05.695Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 18:44 .. [2023-04-07T18:52:05.695Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 7 18:44 .dockerignore [2023-04-07T18:52:05.695Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 18:44 .git [2023-04-07T18:52:05.695Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 18:44 .github [2023-04-07T18:52:05.695Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 7 18:44 .gitignore [2023-04-07T18:52:05.695Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 7 18:44 .golangci.yml [2023-04-07T18:52:05.695Z] -rw-rw-r-- 1 jenkins jenkins 31677 Apr 7 18:44 CHANGELOG.md [2023-04-07T18:52:05.695Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 7 18:44 GOVERNANCE.md [2023-04-07T18:52:05.695Z] -rw-rw-r-- 1 jenkins jenkins 885 Apr 7 18:44 Jenkinsfile [2023-04-07T18:52:05.695Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 7 18:44 LICENSE [2023-04-07T18:52:05.695Z] -rw-rw-r-- 1 jenkins jenkins 1714 Apr 7 18:44 Makefile [2023-04-07T18:52:05.695Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 7 18:44 OWNERS.md [2023-04-07T18:52:05.695Z] -rw-rw-r-- 1 jenkins jenkins 4891 Apr 7 18:44 README.md [2023-04-07T18:52:05.695Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 7 18:41 VERSION [2023-04-07T18:52:05.695Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 18:44 bin [2023-04-07T18:52:05.695Z] -rw-r--r-- 1 jenkins jenkins 105786 Apr 7 18:49 coverage.out [2023-04-07T18:52:05.695Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 7 18:44 example [2023-04-07T18:52:05.695Z] -rw-rw-r-- 1 jenkins jenkins 3246 Apr 7 18:44 go.mod [2023-04-07T18:52:05.695Z] -rw-rw-r-- 1 jenkins jenkins 31006 Apr 7 18:44 go.sum [2023-04-07T18:52:05.695Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 7 18:44 internal [2023-04-07T18:52:05.695Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 18:44 openapi [2023-04-07T18:52:05.695Z] drwxrwxr-x 6 jenkins jenkins 4096 Apr 7 18:44 pkg [2023-04-07T18:52:05.695Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 18:44 snap [2023-04-07T18:52:05.695Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 7 18:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-07T18:52:06.029Z] + 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=3b0e3432566791b11b12beefc053c15366b99601 --label arch=arm64 --label version=0.0.0 . [2023-04-07T18:52:06.625Z] Sending build context to Docker daemon 5.98MB [2023-04-07T18:52:06.625Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-04-07T18:52:06.625Z] Step 2/23 : FROM ${BASE} AS builder [2023-04-07T18:52:06.625Z] ---> be9c49346cbd [2023-04-07T18:52:06.625Z] Step 3/23 : ARG MAKE=make build [2023-04-07T18:52:06.625Z] ---> Running in d330b12e15e7 [2023-04-07T18:52:06.895Z] Removing intermediate container d330b12e15e7 [2023-04-07T18:52:06.895Z] ---> bb88d9732b17 [2023-04-07T18:52:06.895Z] Step 4/23 : WORKDIR /device-sdk-go [2023-04-07T18:52:07.164Z] ---> Running in 2d1cc988b9b3 [2023-04-07T18:52:07.431Z] Removing intermediate container 2d1cc988b9b3 [2023-04-07T18:52:07.431Z] ---> 0adb96c837dc [2023-04-07T18:52:07.431Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-04-07T18:52:07.431Z] ---> Running in efcf8eec40c3 [2023-04-07T18:52:07.702Z] Removing intermediate container efcf8eec40c3 [2023-04-07T18:52:07.702Z] ---> 286988952289 [2023-04-07T18:52:07.702Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-04-07T18:52:07.702Z] ---> Running in 02d0085d1137 [2023-04-07T18:52:08.684Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-07T18:52:09.643Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-07T18:52:10.607Z] OK: 263 MiB in 53 packages [2023-04-07T18:52:11.571Z] Removing intermediate container 02d0085d1137 [2023-04-07T18:52:11.571Z] ---> 0170f63049ed [2023-04-07T18:52:11.571Z] Step 7/23 : COPY go.mod vendor* ./ [2023-04-07T18:52:12.157Z] ---> d74a72bcaa8d [2023-04-07T18:52:12.157Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-07T18:52:12.157Z] ---> Running in 3ae9ce3df493 [2023-04-07T18:52:14.742Z] Removing intermediate container 3ae9ce3df493 [2023-04-07T18:52:14.742Z] ---> 906dfeaecea8 [2023-04-07T18:52:14.742Z] Step 9/23 : COPY . . [2023-04-07T18:52:16.156Z] ---> 6804a5023067 [2023-04-07T18:52:16.156Z] Step 10/23 : RUN ${MAKE} [2023-04-07T18:52:16.156Z] ---> Running in 4cb41a91510f [2023-04-07T18:52:17.118Z] 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-04-07T18:54:38.812Z] Removing intermediate container 4cb41a91510f [2023-04-07T18:54:38.813Z] ---> b3a18bbad922 [2023-04-07T18:54:38.813Z] Step 11/23 : FROM alpine:3.17 [2023-04-07T18:54:38.813Z] 3.17: Pulling from library/alpine [2023-04-07T18:54:38.813Z] c41833b44d91: Pulling fs layer [2023-04-07T18:54:38.813Z] c41833b44d91: Verifying Checksum [2023-04-07T18:54:38.813Z] c41833b44d91: Download complete [2023-04-07T18:54:38.813Z] c41833b44d91: Pull complete [2023-04-07T18:54:38.813Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-07T18:54:38.813Z] Status: Downloaded newer image for alpine:3.17 [2023-04-07T18:54:38.813Z] ---> 51e60588ff2c [2023-04-07T18:54:38.813Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-04-07T18:54:38.813Z] ---> Running in cb86ef39d2a8 [2023-04-07T18:54:38.813Z] Removing intermediate container cb86ef39d2a8 [2023-04-07T18:54:38.813Z] ---> 9be031f3d30f [2023-04-07T18:54:38.813Z] Step 13/23 : RUN apk add --update --no-cache [2023-04-07T18:54:38.813Z] ---> Running in dad78400a2dd [2023-04-07T18:54:38.813Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-07T18:54:38.813Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-07T18:54:38.813Z] OK: 7 MiB in 15 packages [2023-04-07T18:54:38.813Z] Removing intermediate container dad78400a2dd [2023-04-07T18:54:38.813Z] ---> 2f0567ba6547 [2023-04-07T18:54:38.813Z] Step 14/23 : WORKDIR / [2023-04-07T18:54:38.813Z] ---> Running in 0586fce1d0dc [2023-04-07T18:54:38.813Z] Removing intermediate container 0586fce1d0dc [2023-04-07T18:54:38.813Z] ---> 540288d5c5a8 [2023-04-07T18:54:38.813Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-04-07T18:54:38.813Z] ---> 6774531dd69d [2023-04-07T18:54:38.813Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-04-07T18:54:38.813Z] ---> 071c6eae7e1c [2023-04-07T18:54:38.813Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-04-07T18:54:38.813Z] ---> f23d76f30cf8 [2023-04-07T18:54:38.813Z] Step 18/23 : EXPOSE 59999 [2023-04-07T18:54:38.813Z] ---> Running in 7fa86d19687c [2023-04-07T18:54:38.813Z] Removing intermediate container 7fa86d19687c [2023-04-07T18:54:38.813Z] ---> fa63b591109c [2023-04-07T18:54:38.813Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-04-07T18:54:38.813Z] ---> Running in c5ce916a0896 [2023-04-07T18:54:39.081Z] Removing intermediate container c5ce916a0896 [2023-04-07T18:54:39.081Z] ---> e261e7ed3cdf [2023-04-07T18:54:39.081Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-07T18:54:39.357Z] ---> Running in 6de1db789083 [2023-04-07T18:54:39.625Z] Removing intermediate container 6de1db789083 [2023-04-07T18:54:39.625Z] ---> 5544edb98cc3 [2023-04-07T18:54:39.625Z] Step 21/23 : LABEL arch=arm64 [2023-04-07T18:54:39.625Z] ---> Running in ed126c8a61b5 [2023-04-07T18:54:39.895Z] Removing intermediate container ed126c8a61b5 [2023-04-07T18:54:39.895Z] ---> 005efc37662c [2023-04-07T18:54:39.895Z] Step 22/23 : LABEL git_sha=3b0e3432566791b11b12beefc053c15366b99601 [2023-04-07T18:54:40.165Z] ---> Running in eee056d8ee2a [2023-04-07T18:54:40.435Z] Removing intermediate container eee056d8ee2a [2023-04-07T18:54:40.435Z] ---> a0d44fc30e37 [2023-04-07T18:54:40.435Z] Step 23/23 : LABEL version=0.0.0 [2023-04-07T18:54:40.435Z] ---> Running in f9f0f6e1d98f [2023-04-07T18:54:40.703Z] Removing intermediate container f9f0f6e1d98f [2023-04-07T18:54:40.703Z] ---> d05522e8f096 [2023-04-07T18:54:40.703Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-07T18:54:40.703Z] Successfully built d05522e8f096 [2023-04-07T18:54:40.703Z] 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-04-07T18:54:41.137Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-07T18:54:41.137Z] [2023-04-07T18:54:41.137Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-07T18:54:41.471Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-07T18:54:41.471Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-07T18:54:41.471Z] 8998bd30e6a1: Pulling fs layer [2023-04-07T18:54:41.471Z] 04944245beec: Pulling fs layer [2023-04-07T18:54:41.471Z] 699f458cf7ca: Pulling fs layer [2023-04-07T18:54:41.471Z] 765212b225bb: Pulling fs layer [2023-04-07T18:54:41.471Z] f23df028b6ca: Pulling fs layer [2023-04-07T18:54:41.471Z] d65c8cfc05b1: Pulling fs layer [2023-04-07T18:54:41.471Z] 2437ff75d9bd: Pulling fs layer [2023-04-07T18:54:41.471Z] 765212b225bb: Waiting [2023-04-07T18:54:41.471Z] d65c8cfc05b1: Waiting [2023-04-07T18:54:41.471Z] 2437ff75d9bd: Waiting [2023-04-07T18:54:41.471Z] f23df028b6ca: Waiting [2023-04-07T18:54:41.738Z] 04944245beec: Verifying Checksum [2023-04-07T18:54:41.738Z] 04944245beec: Download complete [2023-04-07T18:54:41.738Z] 765212b225bb: Verifying Checksum [2023-04-07T18:54:41.738Z] 765212b225bb: Download complete [2023-04-07T18:54:41.738Z] f23df028b6ca: Verifying Checksum [2023-04-07T18:54:41.738Z] f23df028b6ca: Download complete [2023-04-07T18:54:41.738Z] d65c8cfc05b1: Verifying Checksum [2023-04-07T18:54:41.738Z] d65c8cfc05b1: Download complete [2023-04-07T18:54:42.008Z] 699f458cf7ca: Download complete [2023-04-07T18:54:42.275Z] 8998bd30e6a1: Download complete [2023-04-07T18:54:44.861Z] 2437ff75d9bd: Verifying Checksum [2023-04-07T18:54:44.861Z] 2437ff75d9bd: Download complete [2023-04-07T18:54:46.268Z] 8998bd30e6a1: Pull complete [2023-04-07T18:54:46.853Z] 04944245beec: Pull complete [2023-04-07T18:54:48.262Z] 699f458cf7ca: Pull complete [2023-04-07T18:54:48.262Z] 765212b225bb: Pull complete [2023-04-07T18:54:48.845Z] f23df028b6ca: Pull complete [2023-04-07T18:54:49.112Z] d65c8cfc05b1: Pull complete [2023-04-07T18:55:04.142Z] 2437ff75d9bd: Pull complete [2023-04-07T18:55:04.142Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-07T18:55:04.142Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-07T18:55:04.142Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-07T18:55:04.332Z] prd-ubuntu20.04-docker-arm64-4c-16g-7147 does not seem to be running inside a container [2023-04-07T18:55:04.401Z] $ 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/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-04-07T18:55:07.330Z] $ docker top b2533e9589abe4e2f43d450d6323f31eb3843503a9bbe758d9a7e584bfb978ab -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-07T18:55:08.152Z] ---> job-cost.sh [2023-04-07T18:55:08.152Z] lf-activate-venv: SKIPPING [2023-04-07T18:55:08.152Z] INFO: No Stack... [2023-04-07T18:55:08.732Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-07T18:55:09.313Z] INFO: Archiving Costs [Pipeline] sh [2023-04-07T18:55:09.631Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [2023-04-07T18:55:09.632Z] + cut -d, -f6 [Pipeline] lock [2023-04-07T18:55:09.689Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1415-3-stack-cost] [2023-04-07T18:55:09.695Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1415-3-stack-cost] did not exist. Created. [2023-04-07T18:55:09.695Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1415-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-07T18:55:10.027Z] /w/workspace/device-sdk-go/3@tmp/durable-e0419788/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-07T18:55:10.357Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-07T18:55:10.377Z] Warning: overwriting stash ‘stack-cost’ [2023-04-07T18:55:10.438Z] Stashed 1 file(s) [Pipeline] } [2023-04-07T18:55:10.448Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1415-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-07T18:55:10.468Z] $ docker stop --time=1 b2533e9589abe4e2f43d450d6323f31eb3843503a9bbe758d9a7e584bfb978ab [2023-04-07T18:55:11.941Z] $ docker rm -f --volumes b2533e9589abe4e2f43d450d6323f31eb3843503a9bbe758d9a7e584bfb978ab [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-04-07T18:55:12.327Z] provisioning config files... [2023-04-07T18:55:12.334Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1415@tmp/config16429764910428974916tmp [Pipeline] { [Pipeline] sh [2023-04-07T18:55:12.627Z] + set +x [2023-04-07T18:55:12.627Z] + curl -s https://codecov.io/bash+ [2023-04-07T18:55:12.627Z] bash -s -- [2023-04-07T18:55:12.627Z] [2023-04-07T18:55:12.627Z] _____ _ [2023-04-07T18:55:12.627Z] / ____| | | [2023-04-07T18:55:12.627Z] | | ___ __| | ___ ___ _____ __ [2023-04-07T18:55:12.627Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-04-07T18:55:12.627Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-04-07T18:55:12.627Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-04-07T18:55:12.627Z] Bash-1.0.6 [2023-04-07T18:55:12.627Z] [2023-04-07T18:55:12.627Z] [2023-04-07T18:55:12.627Z] ==> git version 2.25.1 found [2023-04-07T18:55:12.627Z] ==> 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-04-07T18:55:12.627Z] Release-Date: 2020-01-08 [2023-04-07T18:55:12.627Z] 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-04-07T18:55:12.627Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-04-07T18:55:12.627Z] ==> Jenkins CI detected. [2023-04-07T18:55:12.627Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1415 [2023-04-07T18:55:12.627Z] project root: . [2023-04-07T18:55:12.627Z] --> token set from env [2023-04-07T18:55:12.627Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-04-07T18:55:12.627Z] ==> Running gcov in . (disable via -X gcov) [2023-04-07T18:55:12.886Z] ==> Python coveragepy not found [2023-04-07T18:55:12.886Z] ==> Searching for coverage reports in: [2023-04-07T18:55:12.886Z] + . [2023-04-07T18:55:12.886Z] -> Found 1 reports [2023-04-07T18:55:12.886Z] ==> Detecting git/mercurial file structure [2023-04-07T18:55:12.886Z] ==> Reading reports [2023-04-07T18:55:12.886Z] + ./coverage.out bytes=105786 [2023-04-07T18:55:12.886Z] ==> Appending adjustments [2023-04-07T18:55:12.886Z] https://docs.codecov.io/docs/fixing-reports [2023-04-07T18:55:13.146Z] + Found adjustments [2023-04-07T18:55:13.146Z] ==> Gzipping contents [2023-04-07T18:55:13.146Z] 16K /tmp/codecov.csroe8.gz [2023-04-07T18:55:13.146Z] ==> Uploading reports [2023-04-07T18:55:13.146Z] url: https://codecov.io [2023-04-07T18:55:13.146Z] query: branch=PR-1415&commit=8c8f37d25054249a5ae2d73df70026c3aa6dfadd&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1415%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1415&job=&cmd_args= [2023-04-07T18:55:13.146Z] -> Pinging Codecov [2023-04-07T18:55:13.146Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1415&commit=8c8f37d25054249a5ae2d73df70026c3aa6dfadd&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1415%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1415&job=&cmd_args= [2023-04-07T18:55:13.146Z] -> Uploading to [2023-04-07T18:55:13.146Z] https://storage.googleapis.com/codecov/v4/raw/2023-04-07/7E55EF52A471D76F132DFD9A03CDDE97/8c8f37d25054249a5ae2d73df70026c3aa6dfadd/dabdfbbc-cc28-43a0-bbf4-b5d5a4e6b33d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230407%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230407T185513Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ecc6c1d7917e136b7b068006109d156199cd942794100860318babd08ab58b0f [2023-04-07T18:55:13.146Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-07T18:55:13.146Z] Dload Upload Total Spent Left Speed [2023-04-07T18:55:13.714Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14929 0 0 100 14929 0 52752 --:--:-- --:--:-- --:--:-- 52752 [2023-04-07T18:55:13.714Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/8c8f37d25054249a5ae2d73df70026c3aa6dfadd [Pipeline] } [2023-04-07T18:55:13.721Z] 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-04-07T18:55:14.449Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1415/archives ] [2023-04-07T18:55:14.449Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1415/archives [2023-04-07T18:55:14.449Z] total 16 [2023-04-07T18:55:14.449Z] drwxr-xr-x 3 root root 4096 Apr 7 18:44 . [2023-04-07T18:55:14.449Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 7 18:44 .. [2023-04-07T18:55:14.449Z] drwxr-xr-x 2 root root 4096 Apr 7 18:44 cost [2023-04-07T18:55:14.449Z] -rw-r--r-- 1 root root 86 Apr 7 18:44 cost.csv [2023-04-07T18:55:14.449Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1415/archives [2023-04-07T18:55:14.449Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1415/archives [2023-04-07T18:55:14.449Z] total 16 [2023-04-07T18:55:14.449Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 7 18:44 . [2023-04-07T18:55:14.449Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 7 18:44 .. [2023-04-07T18:55:14.449Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 7 18:44 cost [2023-04-07T18:55:14.449Z] -rw-r--r-- 1 jenkins jenkins 86 Apr 7 18:44 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-07T18:55:14.741Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-07T18:55:15.597Z] ---> package-listing.sh [2023-04-07T18:55:15.597Z] ++ facter osfamily [2023-04-07T18:55:15.597Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-07T18:55:15.856Z] + OS_FAMILY=debian [2023-04-07T18:55:15.856Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1415 [2023-04-07T18:55:15.856Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-07T18:55:15.856Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-07T18:55:15.856Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-07T18:55:15.856Z] + PACKAGES=/tmp/packages_start.txt [2023-04-07T18:55:15.856Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1415 ']' [2023-04-07T18:55:15.856Z] + PACKAGES=/tmp/packages_end.txt [2023-04-07T18:55:15.856Z] + case "${OS_FAMILY}" in [2023-04-07T18:55:15.856Z] + dpkg -l [2023-04-07T18:55:15.856Z] + grep '^ii' [2023-04-07T18:55:15.856Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-07T18:55:15.856Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-07T18:55:15.856Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-07T18:55:15.856Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1415 ']' [2023-04-07T18:55:15.856Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1415/archives/ [2023-04-07T18:55:15.856Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1415/archives/ [Pipeline] echo [2023-04-07T18:55:15.865Z] 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-1415/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-04-07T18:55:16.140Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-07T18:55:16.692Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-07T18:55:16.692Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-07T18:55:16.764Z] prd-ubuntu20.04-docker-8c-8g-7145 does not seem to be running inside a container [2023-04-07T18:55:16.794Z] $ 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-1415/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-1415 -v /w/workspace/gexfoundry_device-sdk-go_PR-1415:/w/workspace/gexfoundry_device-sdk-go_PR-1415:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1415@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1415@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-lftools-log-publisher:latest cat [2023-04-07T18:55:16.994Z] $ docker top a9b68017877b72822c5734319a07834f332266ca693d722afb63535951580a4a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-07T18:55:17.335Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-07T18:55:17.622Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-07T18:55:17.906Z] + ls /var/log/sa-host [2023-04-07T18:55:17.906Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-07T18:55:18.047Z] provisioning config files... [2023-04-07T18:55:18.056Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1415@tmp/config17313393490934589196tmp [Pipeline] { [Pipeline] echo [2023-04-07T18:55:18.070Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-07T18:55:18.359Z] ---> create-netrc.sh [Pipeline] } [2023-04-07T18:55:18.366Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-07T18:55:18.696Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-07T18:55:18.704Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-07T18:55:18.999Z] ---> sudo-logs.sh [2023-04-07T18:55:18.999Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-07T18:55:19.044Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-07T18:55:19.326Z] ---> job-cost.sh [2023-04-07T18:55:19.326Z] lf-activate-venv: SKIPPING [2023-04-07T18:55:19.326Z] DEBUG: total: 0.2199999988079071 [2023-04-07T18:55:19.326Z] INFO: Retrieving Stack Cost... [2023-04-07T18:55:19.893Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-07T18:55:20.152Z] INFO: Archiving Costs [Pipeline] echo [2023-04-07T18:55:20.163Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-07T18:55:20.453Z] ---> logs-deploy.sh [2023-04-07T18:55:20.453Z] lf-activate-venv: SKIPPING [2023-04-07T18:55:20.453Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1415/3 [2023-04-07T18:55:20.453Z] INFO: archiving workspace using pattern(s): [2023-04-07T18:55:21.398Z] Archives upload complete. [2023-04-07T18:55:21.398Z] INFO: archiving logs to Nexus