Pull request #1290 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d3de483628447c790c441951d81749b8105ae43c+1acc2ef1c1fa5446d2eac6cbaedb918f3ccab223 (d5aec95d6847bf655621052d9d99ff86a8e54adb) 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-ssh15400546545761897985.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh18032130092288852553.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-1290/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-1290/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15030643674724853555.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh6494098533380903364.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-1290/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-1290/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9434135656653025909.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.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-4526 in /w/workspace/gexfoundry_device-sdk-go_PR-1290 [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-1290 # 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/1290/head:refs/remotes/origin/PR-1290 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 1acc2ef1c1fa5446d2eac6cbaedb918f3ccab223 into PR head commit d3de483628447c790c441951d81749b8105ae43c Merge succeeded, producing d3de483628447c790c441951d81749b8105ae43c Checking out Revision d3de483628447c790c441951d81749b8105ae43c (PR-1290) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-04T10:28:09.569Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-04T10:28:09.638Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-04T10:28:09.656Z] ========================================================= [2023-02-04T10:28:09.656Z] EdgeX Global Pipelines Version Info [2023-02-04T10:28:09.656Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f d3de483628447c790c441951d81749b8105ae43c # 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 1acc2ef1c1fa5446d2eac6cbaedb918f3ccab223 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d3de483628447c790c441951d81749b8105ae43c # timeout=10 > git rev-list --no-walk e4df03aca69ea0fc84b8f87768e6dc95f5667feb # timeout=10 [2023-02-04T10:28:10.378Z] ------------------- [2023-02-04T10:28:10.378Z] stable info: [2023-02-04T10:28:10.378Z] ------------------- [2023-02-04T10:28:10.378Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-04T10:28:10.378Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-04T10:28:10.378Z] Message: update stable to v1.0.244 [2023-02-04T10:28:10.950Z] ------------------- [2023-02-04T10:28:10.950Z] experimental info: [2023-02-04T10:28:10.950Z] ------------------- [2023-02-04T10:28:10.950Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-04T10:28:10.950Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-04T10:28:10.950Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-04T10:28:11.101Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-02-04T10:28:11.115Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-02-04T10:28:11.125Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-04T10:28:11.137Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-04T10:28:11.149Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-04T10:28:11.163Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-04T10:28:11.174Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-04T10:28:11.186Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-02-04T10:28:11.201Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-04T10:28:11.220Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-04T10:28:11.236Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-04T10:28:11.253Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-02-04T10:28:11.264Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-04T10:28:11.278Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-04T10:28:11.291Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-04T10:28:11.307Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-02-04T10:28:11.324Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-04T10:28:11.334Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-04T10:28:11.346Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-04T10:28:11.360Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-04T10:28:11.369Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-02-04T10:28:11.386Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-02-04T10:28:11.402Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-04T10:28:11.417Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-04T10:28:11.428Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-04T10:28:11.439Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-04T10:28:11.455Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-04T10:28:11.472Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1290 [Pipeline] echo [2023-02-04T10:28:11.481Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1290 [Pipeline] echo [2023-02-04T10:28:11.493Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1290 [Pipeline] echo [2023-02-04T10:28:11.507Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d3de483628447c790c441951d81749b8105ae43c [Pipeline] echo [2023-02-04T10:28:11.519Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d3de483 [Pipeline] echo [2023-02-04T10:28:11.531Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-04T10:28:11.572Z] provisioning config files... [2023-02-04T10:28:11.587Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1290@tmp/config5650698345897597027tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-04T10:28:11.892Z] ---> docker-login.sh [2023-02-04T10:28:11.892Z] nexus3.edgexfoundry.org:10001 [2023-02-04T10:28:12.151Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-04T10:28:12.151Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-04T10:28:12.151Z] Configure a credential helper to remove this warning. See [2023-02-04T10:28:12.151Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-04T10:28:12.151Z] [2023-02-04T10:28:12.151Z] Login Succeeded [2023-02-04T10:28:12.151Z] nexus3.edgexfoundry.org:10002 [2023-02-04T10:28:12.412Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-04T10:28:12.412Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-04T10:28:12.412Z] Configure a credential helper to remove this warning. See [2023-02-04T10:28:12.412Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-04T10:28:12.412Z] [2023-02-04T10:28:12.412Z] Login Succeeded [2023-02-04T10:28:12.412Z] nexus3.edgexfoundry.org:10003 [2023-02-04T10:28:12.412Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-04T10:28:12.412Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-04T10:28:12.412Z] Configure a credential helper to remove this warning. See [2023-02-04T10:28:12.412Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-04T10:28:12.412Z] [2023-02-04T10:28:12.412Z] Login Succeeded [2023-02-04T10:28:12.412Z] nexus3.edgexfoundry.org:10004 [2023-02-04T10:28:12.677Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-04T10:28:12.677Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-04T10:28:12.677Z] Configure a credential helper to remove this warning. See [2023-02-04T10:28:12.677Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-04T10:28:12.677Z] [2023-02-04T10:28:12.677Z] Login Succeeded [2023-02-04T10:28:12.677Z] docker.io [2023-02-04T10:28:12.677Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-04T10:28:12.939Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-04T10:28:12.939Z] Configure a credential helper to remove this warning. See [2023-02-04T10:28:12.939Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-04T10:28:12.939Z] [2023-02-04T10:28:12.939Z] Login Succeeded [2023-02-04T10:28:12.939Z] ---> docker-login.sh ends [Pipeline] } [2023-02-04T10:28:12.946Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-04T10:28:13.312Z] + git rev-list -1 --merges d3de483628447c790c441951d81749b8105ae43c~1..d3de483628447c790c441951d81749b8105ae43c [Pipeline] echo [2023-02-04T10:28:13.360Z] -----------> git rev-list -1 --merges d3de483628447c790c441951d81749b8105ae43c~1..d3de483628447c790c441951d81749b8105ae43c d3de483628447c790c441951d81749b8105ae43c [false] [Pipeline] sh [2023-02-04T10:28:13.661Z] + git log --format=format:%s -1 d3de483628447c790c441951d81749b8105ae43c [Pipeline] echo [2023-02-04T10:28:13.674Z] ========================================================= [2023-02-04T10:28:13.674Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-04T10:28:13.674Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-04T10:28:14.007Z] + git log --format=format:%s -1 d3de483628447c790c441951d81749b8105ae43c [Pipeline] echo [2023-02-04T10:28:14.018Z] [semverPrep] GIT_COMMIT: d3de483628447c790c441951d81749b8105ae43c, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2023-02-04T10:28:14.026Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-04T10:28:14.377Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-04T10:28:14.378Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-04T10:28:14.378Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-04T10:28:14.378Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-04T10:28:14.378Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-04T10:28:14.378Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-04T10:28:14.378Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-04T10:28:14.732Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-04T10:28:14.732Z] [2023-02-04T10:28:14.732Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-04T10:28:15.031Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-04T10:28:15.031Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-04T10:28:15.031Z] b85a868b505f: Pulling fs layer [2023-02-04T10:28:15.031Z] e2be974225ed: Pulling fs layer [2023-02-04T10:28:15.031Z] 339a4e72a1f5: Pulling fs layer [2023-02-04T10:28:15.031Z] 988bab9f4d93: Pulling fs layer [2023-02-04T10:28:15.031Z] 1469e6f7b9e6: Pulling fs layer [2023-02-04T10:28:15.031Z] eaf3925da568: Pulling fs layer [2023-02-04T10:28:15.031Z] bab4dde63d76: Pulling fs layer [2023-02-04T10:28:15.031Z] bde34c3a00c8: Pulling fs layer [2023-02-04T10:28:15.031Z] b352a97aabf1: Pulling fs layer [2023-02-04T10:28:15.031Z] 4872d77fe225: Pulling fs layer [2023-02-04T10:28:15.031Z] 5851b861e8e6: Pulling fs layer [2023-02-04T10:28:15.031Z] bab4dde63d76: Waiting [2023-02-04T10:28:15.031Z] 988bab9f4d93: Waiting [2023-02-04T10:28:15.031Z] 1469e6f7b9e6: Waiting [2023-02-04T10:28:15.031Z] 4872d77fe225: Waiting [2023-02-04T10:28:15.031Z] bde34c3a00c8: Waiting [2023-02-04T10:28:15.031Z] 5851b861e8e6: Waiting [2023-02-04T10:28:15.031Z] b352a97aabf1: Waiting [2023-02-04T10:28:15.031Z] eaf3925da568: Waiting [2023-02-04T10:28:15.031Z] e2be974225ed: Download complete [2023-02-04T10:28:15.031Z] 988bab9f4d93: Verifying Checksum [2023-02-04T10:28:15.031Z] 988bab9f4d93: Download complete [2023-02-04T10:28:15.297Z] 1469e6f7b9e6: Verifying Checksum [2023-02-04T10:28:15.297Z] 1469e6f7b9e6: Download complete [2023-02-04T10:28:15.297Z] eaf3925da568: Verifying Checksum [2023-02-04T10:28:15.297Z] eaf3925da568: Download complete [2023-02-04T10:28:15.297Z] 339a4e72a1f5: Verifying Checksum [2023-02-04T10:28:15.297Z] 339a4e72a1f5: Download complete [2023-02-04T10:28:15.297Z] bde34c3a00c8: Verifying Checksum [2023-02-04T10:28:15.297Z] bde34c3a00c8: Download complete [2023-02-04T10:28:15.297Z] b352a97aabf1: Download complete [2023-02-04T10:28:15.297Z] 4872d77fe225: Verifying Checksum [2023-02-04T10:28:15.297Z] 4872d77fe225: Download complete [2023-02-04T10:28:15.556Z] b85a868b505f: Verifying Checksum [2023-02-04T10:28:15.556Z] b85a868b505f: Download complete [2023-02-04T10:28:15.556Z] 5851b861e8e6: Verifying Checksum [2023-02-04T10:28:15.556Z] 5851b861e8e6: Download complete [2023-02-04T10:28:15.814Z] bab4dde63d76: Verifying Checksum [2023-02-04T10:28:15.814Z] bab4dde63d76: Download complete [2023-02-04T10:28:16.753Z] b85a868b505f: Pull complete [2023-02-04T10:28:16.753Z] e2be974225ed: Pull complete [2023-02-04T10:28:17.012Z] 339a4e72a1f5: Pull complete [2023-02-04T10:28:17.012Z] 988bab9f4d93: Pull complete [2023-02-04T10:28:17.271Z] 1469e6f7b9e6: Pull complete [2023-02-04T10:28:17.531Z] eaf3925da568: Pull complete [2023-02-04T10:28:18.906Z] bab4dde63d76: Pull complete [2023-02-04T10:28:18.906Z] bde34c3a00c8: Pull complete [2023-02-04T10:28:19.165Z] b352a97aabf1: Pull complete [2023-02-04T10:28:19.165Z] 4872d77fe225: Pull complete [2023-02-04T10:28:19.165Z] 5851b861e8e6: Pull complete [2023-02-04T10:28:19.165Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-04T10:28:19.165Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-04T10:28:19.165Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-04T10:28:19.252Z] prd-ubuntu20.04-docker-8c-8g-4526 does not seem to be running inside a container [2023-02-04T10:28:19.273Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1290 -v /w/workspace/gexfoundry_device-sdk-go_PR-1290:/w/workspace/gexfoundry_device-sdk-go_PR-1290:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1290@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1290@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-04T10:28:20.663Z] $ docker top 14c84fe7fc2b95cacaaa84a37e012a0b75d3d9c5dd6b39fc70d2a2f382c74912 -eo pid,comm [2023-02-04T10:28:20.723Z] 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-02-04T10:28:20.723Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-04T10:28:20.762Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-04T10:28:20.762Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-04T10:28:20.874Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-04T10:28:20.871Z] $ docker exec 14c84fe7fc2b95cacaaa84a37e012a0b75d3d9c5dd6b39fc70d2a2f382c74912 ssh-agent [2023-02-04T10:28:20.998Z] SSH_AUTH_SOCK=/tmp/ssh-MvPQB2bldrJk/agent.31 [2023-02-04T10:28:20.998Z] SSH_AGENT_PID=37 [2023-02-04T10:28:21.004Z] Running ssh-add (command line suppressed) [2023-02-04T10:28:21.102Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1290@tmp/private_key_2516824382395839561.key (/w/workspace/gexfoundry_device-sdk-go_PR-1290@tmp/private_key_2516824382395839561.key) [2023-02-04T10:28:21.119Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-04T10:28:21.405Z] + git tag --points-at HEAD [Pipeline] } [2023-02-04T10:28:21.412Z] $ docker exec --env ******** --env ******** 14c84fe7fc2b95cacaaa84a37e012a0b75d3d9c5dd6b39fc70d2a2f382c74912 ssh-agent -k [2023-02-04T10:28:21.504Z] unset SSH_AUTH_SOCK; [2023-02-04T10:28:21.505Z] unset SSH_AGENT_PID; [2023-02-04T10:28:21.505Z] echo Agent pid 37 killed; [2023-02-04T10:28:21.519Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-04T10:28:21.541Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-04T10:28:21.541Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-04T10:28:21.650Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-04T10:28:21.648Z] $ docker exec 14c84fe7fc2b95cacaaa84a37e012a0b75d3d9c5dd6b39fc70d2a2f382c74912 ssh-agent [2023-02-04T10:28:21.758Z] SSH_AUTH_SOCK=/tmp/ssh-JwFfQgsNIzhd/agent.69 [2023-02-04T10:28:21.758Z] SSH_AGENT_PID=76 [2023-02-04T10:28:21.763Z] Running ssh-add (command line suppressed) [2023-02-04T10:28:21.857Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1290@tmp/private_key_4695717555390587399.key (/w/workspace/gexfoundry_device-sdk-go_PR-1290@tmp/private_key_4695717555390587399.key) [2023-02-04T10:28:21.874Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-04T10:28:22.213Z] + git semver init [2023-02-04T10:28:22.472Z] 2023-02-04 10:28:22,374 [run_init] DEBUG init version:0.0.0 force:False [2023-02-04T10:28:22.472Z] 2023-02-04 10:28:22,375 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1290/.semver [2023-02-04T10:28:22.472Z] 2023-02-04 10:28:22,375 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1290/.semver [2023-02-04T10:28:22.472Z] 2023-02-04 10:28:22,375 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1290/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1290, universal_newlines=False, shell=None, istream=None) [2023-02-04T10:28:23.410Z] 2023-02-04 10:28:23,367 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1290/.git/info/exclude [2023-02-04T10:28:23.410Z] 2023-02-04 10:28:23,368 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1290/.semver/PR-1290 with force:False [2023-02-04T10:28:23.410Z] 2023-02-04 10:28:23,368 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1290/.semver/PR-1290 [2023-02-04T10:28:23.410Z] 2023-02-04 10:28:23,372 [execute] INFO git cat-file --batch-check [2023-02-04T10:28:23.410Z] 2023-02-04 10:28:23,373 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1290/.semver, universal_newlines=False, shell=None, istream=) [2023-02-04T10:28:23.410Z] 2023-02-04 10:28:23,380 [execute] INFO git cat-file --batch [2023-02-04T10:28:23.410Z] 2023-02-04 10:28:23,380 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1290/.semver, universal_newlines=False, shell=None, istream=) [2023-02-04T10:28:23.410Z] 2023-02-04 10:28:23,385 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1290/.semver/PR-1290 [2023-02-04T10:28:23.410Z] 0.0.0 [Pipeline] } [2023-02-04T10:28:23.417Z] $ docker exec --env ******** --env ******** 14c84fe7fc2b95cacaaa84a37e012a0b75d3d9c5dd6b39fc70d2a2f382c74912 ssh-agent -k [2023-02-04T10:28:23.514Z] unset SSH_AUTH_SOCK; [2023-02-04T10:28:23.515Z] unset SSH_AGENT_PID; [2023-02-04T10:28:23.515Z] echo Agent pid 76 killed; [2023-02-04T10:28:23.528Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-04T10:28:23.828Z] + git semver [Pipeline] } [2023-02-04T10:28:24.097Z] $ docker stop --time=1 14c84fe7fc2b95cacaaa84a37e012a0b75d3d9c5dd6b39fc70d2a2f382c74912 [2023-02-04T10:28:25.386Z] $ docker rm -f --volumes 14c84fe7fc2b95cacaaa84a37e012a0b75d3d9c5dd6b39fc70d2a2f382c74912 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-04T10:28:25.726Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-04T10:28:25.925Z] Stashed 1 file(s) [Pipeline] echo [2023-02-04T10:28:25.928Z] [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-02-04T10:28:26.055Z] provisioning config files... [2023-02-04T10:28:26.064Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1290@tmp/config1456930228244249694tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-04T10:28:26.358Z] ---> docker-login.sh [2023-02-04T10:28:26.358Z] nexus3.edgexfoundry.org:10001 [2023-02-04T10:28:26.358Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-04T10:28:26.358Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-04T10:28:26.358Z] Configure a credential helper to remove this warning. See [2023-02-04T10:28:26.358Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-04T10:28:26.358Z] [2023-02-04T10:28:26.358Z] Login Succeeded [2023-02-04T10:28:26.358Z] nexus3.edgexfoundry.org:10002 [2023-02-04T10:28:26.358Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-04T10:28:26.358Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-04T10:28:26.358Z] Configure a credential helper to remove this warning. See [2023-02-04T10:28:26.358Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-04T10:28:26.358Z] [2023-02-04T10:28:26.358Z] Login Succeeded [2023-02-04T10:28:26.358Z] nexus3.edgexfoundry.org:10003 [2023-02-04T10:28:26.617Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-04T10:28:26.617Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-04T10:28:26.617Z] Configure a credential helper to remove this warning. See [2023-02-04T10:28:26.617Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-04T10:28:26.617Z] [2023-02-04T10:28:26.617Z] Login Succeeded [2023-02-04T10:28:26.617Z] nexus3.edgexfoundry.org:10004 [2023-02-04T10:28:26.617Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-04T10:28:26.617Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-04T10:28:26.617Z] Configure a credential helper to remove this warning. See [2023-02-04T10:28:26.617Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-04T10:28:26.617Z] [2023-02-04T10:28:26.617Z] Login Succeeded [2023-02-04T10:28:26.617Z] docker.io [2023-02-04T10:28:26.876Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-04T10:28:26.876Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-04T10:28:26.876Z] Configure a credential helper to remove this warning. See [2023-02-04T10:28:26.876Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-04T10:28:26.876Z] [2023-02-04T10:28:26.876Z] Login Succeeded [2023-02-04T10:28:26.876Z] ---> docker-login.sh ends [Pipeline] } [2023-02-04T10:28:26.884Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-04T10:28:26.933Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-04T10:28:26.946Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-04T10:28:26.955Z] ========================================================= [2023-02-04T10:28:26.956Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-04T10:28:26.956Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-04T10:28:27.271Z] + 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.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-04T10:28:27.271Z] Sending build context to Docker daemon 10.49MB [2023-02-04T10:28:27.271Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-04T10:28:27.271Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-04T10:28:27.271Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-04T10:28:27.271Z] 213ec9aee27d: Pulling fs layer [2023-02-04T10:28:27.271Z] 4583459ba037: Pulling fs layer [2023-02-04T10:28:27.271Z] 93c1e223e6f2: Pulling fs layer [2023-02-04T10:28:27.271Z] 53926ce57604: Pulling fs layer [2023-02-04T10:28:27.271Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-04T10:28:27.271Z] 22ff95d597cd: Pulling fs layer [2023-02-04T10:28:27.271Z] 12d6caf4c0d1: Pulling fs layer [2023-02-04T10:28:27.271Z] 96b7cbca73a9: Pulling fs layer [2023-02-04T10:28:27.272Z] a7acece74701: Pulling fs layer [2023-02-04T10:28:27.272Z] 53926ce57604: Waiting [2023-02-04T10:28:27.272Z] 21b2b0c7a3f4: Waiting [2023-02-04T10:28:27.272Z] 96b7cbca73a9: Waiting [2023-02-04T10:28:27.272Z] 22ff95d597cd: Waiting [2023-02-04T10:28:27.272Z] 12d6caf4c0d1: Waiting [2023-02-04T10:28:27.272Z] 93c1e223e6f2: Verifying Checksum [2023-02-04T10:28:27.272Z] 93c1e223e6f2: Download complete [2023-02-04T10:28:27.272Z] 4583459ba037: Verifying Checksum [2023-02-04T10:28:27.272Z] 4583459ba037: Download complete [2023-02-04T10:28:27.534Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-04T10:28:27.534Z] 21b2b0c7a3f4: Download complete [2023-02-04T10:28:27.534Z] 22ff95d597cd: Verifying Checksum [2023-02-04T10:28:27.534Z] 22ff95d597cd: Download complete [2023-02-04T10:28:27.534Z] 213ec9aee27d: Verifying Checksum [2023-02-04T10:28:27.535Z] 12d6caf4c0d1: Verifying Checksum [2023-02-04T10:28:27.535Z] 12d6caf4c0d1: Download complete [2023-02-04T10:28:27.535Z] 213ec9aee27d: Pull complete [2023-02-04T10:28:27.801Z] 4583459ba037: Pull complete [2023-02-04T10:28:27.801Z] 93c1e223e6f2: Pull complete [2023-02-04T10:28:28.419Z] a7acece74701: Verifying Checksum [2023-02-04T10:28:28.419Z] a7acece74701: Download complete [2023-02-04T10:28:28.678Z] 53926ce57604: Verifying Checksum [2023-02-04T10:28:28.678Z] 53926ce57604: Download complete [2023-02-04T10:28:28.678Z] 96b7cbca73a9: Verifying Checksum [2023-02-04T10:28:28.678Z] 96b7cbca73a9: Download complete [2023-02-04T10:28:31.964Z] 53926ce57604: Pull complete [2023-02-04T10:28:32.223Z] 21b2b0c7a3f4: Pull complete [2023-02-04T10:28:32.223Z] 22ff95d597cd: Pull complete [2023-02-04T10:28:32.223Z] 12d6caf4c0d1: Pull complete [2023-02-04T10:28:34.121Z] 96b7cbca73a9: Pull complete [2023-02-04T10:28:35.056Z] a7acece74701: Pull complete [2023-02-04T10:28:35.056Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-04T10:28:35.056Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-04T10:28:35.056Z] ---> db6d94c90886 [2023-02-04T10:28:35.056Z] Step 3/10 : ARG MAKE=make build [2023-02-04T10:28:36.435Z] ---> Running in b2a63e1b7ba0 [2023-02-04T10:28:36.435Z] Removing intermediate container b2a63e1b7ba0 [2023-02-04T10:28:36.435Z] ---> 3f865113437d [2023-02-04T10:28:36.435Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-04T10:28:36.435Z] ---> Running in 54d0956a8004 [2023-02-04T10:28:36.435Z] Removing intermediate container 54d0956a8004 [2023-02-04T10:28:36.435Z] ---> e961eb37ca69 [2023-02-04T10:28:36.435Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-04T10:28:36.435Z] ---> Running in 0e0c03d76d63 [2023-02-04T10:28:36.696Z] Removing intermediate container 0e0c03d76d63 [2023-02-04T10:28:36.696Z] ---> aa0b55accd0b [2023-02-04T10:28:36.696Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-04T10:28:36.696Z] ---> Running in 40ec125390ca [2023-02-04T10:28:36.954Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-04T10:28:37.213Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-04T10:28:37.472Z] OK: 211 MiB in 51 packages [2023-02-04T10:28:37.731Z] Removing intermediate container 40ec125390ca [2023-02-04T10:28:37.731Z] ---> cc07fd4bffbd [2023-02-04T10:28:37.731Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-04T10:28:37.731Z] ---> 8aa813b800eb [2023-02-04T10:28:37.731Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-04T10:28:37.989Z] ---> Running in 98e1f4833430 [2023-02-04T10:28:41.009Z] Still waiting to schedule task [2023-02-04T10:28:41.010Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-02-04T10:28:59.925Z] Removing intermediate container 98e1f4833430 [2023-02-04T10:28:59.925Z] ---> 0050c8ac7580 [2023-02-04T10:28:59.925Z] Step 9/10 : COPY . . [2023-02-04T10:28:59.925Z] ---> 63ce7cf0b77b [2023-02-04T10:28:59.925Z] Step 10/10 : RUN ${MAKE} [2023-02-04T10:28:59.925Z] ---> Running in 5fcce0674eb5 [2023-02-04T10:29:00.183Z] noop [2023-02-04T10:29:00.752Z] Removing intermediate container 5fcce0674eb5 [2023-02-04T10:29:00.752Z] ---> 83540052e24a [2023-02-04T10:29:00.752Z] Successfully built 83540052e24a [2023-02-04T10:29:00.752Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-04T10:29:01.076Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-04T10:29:01.076Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-04T10:29:01.155Z] prd-ubuntu20.04-docker-8c-8g-4526 does not seem to be running inside a container [2023-02-04T10:29:01.195Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1290 -v /w/workspace/gexfoundry_device-sdk-go_PR-1290:/w/workspace/gexfoundry_device-sdk-go_PR-1290:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1290@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1290@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 ******** ci-base-image-x86_64 cat [2023-02-04T10:29:01.556Z] $ docker top b01de3ee595c3cb8224b1f30f823e71a19d9dc2ee032175282fe02cc5fda201d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-04T10:29:01.890Z] + go version [2023-02-04T10:29:01.890Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-04T10:29:01.906Z] $ docker stop --time=1 b01de3ee595c3cb8224b1f30f823e71a19d9dc2ee032175282fe02cc5fda201d [2023-02-04T10:29:03.181Z] $ docker rm -f --volumes b01de3ee595c3cb8224b1f30f823e71a19d9dc2ee032175282fe02cc5fda201d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-04T10:29:03.593Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-04T10:29:03.593Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-04T10:29:03.663Z] prd-ubuntu20.04-docker-8c-8g-4526 does not seem to be running inside a container [2023-02-04T10:29:03.700Z] $ 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-1290 -v /w/workspace/gexfoundry_device-sdk-go_PR-1290:/w/workspace/gexfoundry_device-sdk-go_PR-1290:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1290@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1290@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 ******** ci-base-image-x86_64 cat [2023-02-04T10:29:04.017Z] $ docker top d70e95eae3bb94787c466477f58eda248d14b4e8876a370f9ddf4adb21c1253f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-04T10:29:04.349Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1290 [Pipeline] fileExists [Pipeline] sh [2023-02-04T10:29:04.650Z] + make test [2023-02-04T10:29:04.650Z] go test -race -coverprofile=coverage.out ./... [2023-02-04T10:29:11.212Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-04T10:29:23.405Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-04T10:29:23.405Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-04T10:29:23.405Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-04T10:29:23.405Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-04T10:29:23.405Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-04T10:29:23.405Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.055s coverage: 27.6% of statements [2023-02-04T10:29:23.405Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.066s coverage: 78.9% of statements [2023-02-04T10:29:23.405Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-04T10:29:23.405Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.089s coverage: 70.2% of statements [2023-02-04T10:29:23.405Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-04T10:29:23.405Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-04T10:29:23.667Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.130s coverage: 59.8% of statements [2023-02-04T10:29:23.667Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-04T10:29:23.667Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-02-04T10:29:23.667Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-04T10:29:23.667Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.092s coverage: 65.1% of statements [2023-02-04T10:29:23.667Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-04T10:29:23.667Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-04T10:29:23.667Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.729s coverage: 89.2% of statements [2023-02-04T10:29:23.667Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-04T10:29:23.667Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.055s coverage: 4.7% of statements [2023-02-04T10:29:23.667Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-04T10:29:38.590Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-02-04T10:29:38.590Z] GO111MODULE=on go vet ./... [2023-02-04T10:29:41.117Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-04T10:29:41.117Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-04T10:29:41.117Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-04T10:29:41.131Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-04T10:29:41.149Z] $ docker stop --time=1 d70e95eae3bb94787c466477f58eda248d14b4e8876a370f9ddf4adb21c1253f [2023-02-04T10:29:43.143Z] $ docker rm -f --volumes d70e95eae3bb94787c466477f58eda248d14b4e8876a370f9ddf4adb21c1253f [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-04T10:29:43.619Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-04T10:29:43.681Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-04T10:29:44.097Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-04T10:29:44.380Z] + ls -al . [2023-02-04T10:29:44.380Z] total 272 [2023-02-04T10:29:44.380Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 4 10:29 . [2023-02-04T10:29:44.380Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 4 10:28 .. [2023-02-04T10:29:44.380Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 4 10:28 .dockerignore [2023-02-04T10:29:44.380Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 4 10:29 .git [2023-02-04T10:29:44.380Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 4 10:28 .github [2023-02-04T10:29:44.380Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 4 10:28 .gitignore [2023-02-04T10:29:44.380Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 4 10:28 .golangci.yml [2023-02-04T10:29:44.380Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 4 10:28 .semver [2023-02-04T10:29:44.380Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 4 10:28 CHANGELOG.md [2023-02-04T10:29:44.381Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 4 10:28 GOVERNANCE.md [2023-02-04T10:29:44.381Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 4 10:28 Jenkinsfile [2023-02-04T10:29:44.381Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 4 10:28 LICENSE [2023-02-04T10:29:44.381Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 4 10:28 Makefile [2023-02-04T10:29:44.381Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 4 10:28 OWNERS.md [2023-02-04T10:29:44.381Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 4 10:28 README.md [2023-02-04T10:29:44.381Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 4 10:28 VERSION [2023-02-04T10:29:44.381Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 4 10:28 bin [2023-02-04T10:29:44.381Z] -rw-r--r-- 1 jenkins jenkins 99762 Feb 4 10:29 coverage.out [2023-02-04T10:29:44.381Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 4 10:28 example [2023-02-04T10:29:44.381Z] -rw-rw-r-- 1 jenkins jenkins 3264 Feb 4 10:28 go.mod [2023-02-04T10:29:44.381Z] -rw-rw-r-- 1 jenkins jenkins 32817 Feb 4 10:28 go.sum [2023-02-04T10:29:44.381Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 4 10:28 internal [2023-02-04T10:29:44.381Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 4 10:28 openapi [2023-02-04T10:29:44.381Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 4 10:28 pkg [2023-02-04T10:29:44.381Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 4 10:28 snap [2023-02-04T10:29:44.381Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 4 10:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-04T10:29:44.742Z] + 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=d3de483628447c790c441951d81749b8105ae43c --label arch=amd64 --label version=0.0.0 . [2023-02-04T10:29:44.742Z] Sending build context to Docker daemon 10.59MB [2023-02-04T10:29:44.742Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-04T10:29:44.742Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-04T10:29:44.742Z] ---> 83540052e24a [2023-02-04T10:29:44.742Z] Step 3/23 : ARG MAKE=make build [2023-02-04T10:29:44.742Z] ---> Running in 910780cd70f3 [2023-02-04T10:29:45.023Z] Removing intermediate container 910780cd70f3 [2023-02-04T10:29:45.023Z] ---> 3c6b40f0a5a5 [2023-02-04T10:29:45.023Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-04T10:29:45.023Z] ---> Running in 8c24603e0730 [2023-02-04T10:29:45.023Z] Removing intermediate container 8c24603e0730 [2023-02-04T10:29:45.023Z] ---> 9a785bd9a654 [2023-02-04T10:29:45.023Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-04T10:29:45.023Z] ---> Running in 9df276ce9828 [2023-02-04T10:29:45.023Z] Removing intermediate container 9df276ce9828 [2023-02-04T10:29:45.023Z] ---> 0c6f1b0955bc [2023-02-04T10:29:45.023Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-04T10:29:45.304Z] ---> Running in ab86ae25d8a6 [2023-02-04T10:29:45.592Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-04T10:29:45.592Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-04T10:29:45.862Z] OK: 211 MiB in 51 packages [2023-02-04T10:29:46.121Z] Removing intermediate container ab86ae25d8a6 [2023-02-04T10:29:46.121Z] ---> e2e99caedb23 [2023-02-04T10:29:46.121Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-04T10:29:46.381Z] ---> f2522688bfb2 [2023-02-04T10:29:46.381Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-04T10:29:46.381Z] ---> Running in a9bf7839bef8 [2023-02-04T10:29:47.320Z] Removing intermediate container a9bf7839bef8 [2023-02-04T10:29:47.320Z] ---> 4aaf6a7d76cc [2023-02-04T10:29:47.320Z] Step 9/23 : COPY . . [2023-02-04T10:29:47.591Z] ---> 57c0370fba8d [2023-02-04T10:29:47.591Z] Step 10/23 : RUN ${MAKE} [2023-02-04T10:29:47.591Z] ---> Running in dfc45045bc07 [2023-02-04T10:29:47.850Z] 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-02-04T10:30:05.929Z] Removing intermediate container dfc45045bc07 [2023-02-04T10:30:05.929Z] ---> 4dcb1113da0b [2023-02-04T10:30:05.929Z] Step 11/23 : FROM alpine:3.16 [2023-02-04T10:30:05.929Z] 3.16: Pulling from library/alpine [2023-02-04T10:30:05.929Z] ca7dd9ec2225: Pulling fs layer [2023-02-04T10:30:05.929Z] ca7dd9ec2225: Verifying Checksum [2023-02-04T10:30:05.929Z] ca7dd9ec2225: Download complete [2023-02-04T10:30:05.929Z] ca7dd9ec2225: Pull complete [2023-02-04T10:30:05.929Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-02-04T10:30:05.929Z] Status: Downloaded newer image for alpine:3.16 [2023-02-04T10:30:05.929Z] ---> bfe296a52501 [2023-02-04T10:30:05.929Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-04T10:30:05.929Z] ---> Running in 67fa9d9280d6 [2023-02-04T10:30:05.929Z] Removing intermediate container 67fa9d9280d6 [2023-02-04T10:30:05.929Z] ---> 0880e1232346 [2023-02-04T10:30:05.929Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-04T10:30:05.929Z] ---> Running in 80ff2c27bb21 [2023-02-04T10:30:05.929Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-04T10:30:06.188Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-04T10:30:06.447Z] OK: 6 MiB in 14 packages [2023-02-04T10:30:06.707Z] Removing intermediate container 80ff2c27bb21 [2023-02-04T10:30:06.707Z] ---> 116d1671fce6 [2023-02-04T10:30:06.707Z] Step 14/23 : WORKDIR / [2023-02-04T10:30:06.707Z] ---> Running in 19b1dadf3119 [2023-02-04T10:30:06.966Z] Removing intermediate container 19b1dadf3119 [2023-02-04T10:30:06.966Z] ---> e317b1585160 [2023-02-04T10:30:06.966Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-04T10:30:06.966Z] ---> 00cf77d6789d [2023-02-04T10:30:06.967Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-04T10:30:07.534Z] ---> 0c8d6b52f234 [2023-02-04T10:30:07.534Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-04T10:30:07.534Z] ---> cf24ec25a257 [2023-02-04T10:30:07.534Z] Step 18/23 : EXPOSE 59999 [2023-02-04T10:30:07.534Z] ---> Running in 297456ed7fbe [2023-02-04T10:30:07.794Z] Removing intermediate container 297456ed7fbe [2023-02-04T10:30:07.794Z] ---> 3333fd07b0d0 [2023-02-04T10:30:07.794Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-04T10:30:07.794Z] ---> Running in 5ee94c1b558d [2023-02-04T10:30:07.794Z] Removing intermediate container 5ee94c1b558d [2023-02-04T10:30:07.794Z] ---> a3cfe0718f64 [2023-02-04T10:30:07.794Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-04T10:30:07.794Z] ---> Running in 877d41cbc22f [2023-02-04T10:30:08.053Z] Removing intermediate container 877d41cbc22f [2023-02-04T10:30:08.053Z] ---> dc055f81c887 [2023-02-04T10:30:08.053Z] Step 21/23 : LABEL arch=amd64 [2023-02-04T10:30:08.053Z] ---> Running in fa2fca88fecb [2023-02-04T10:30:08.053Z] Removing intermediate container fa2fca88fecb [2023-02-04T10:30:08.053Z] ---> 4d1a2f0575fb [2023-02-04T10:30:08.053Z] Step 22/23 : LABEL git_sha=d3de483628447c790c441951d81749b8105ae43c [2023-02-04T10:30:08.053Z] ---> Running in 1dc65a6f8149 [2023-02-04T10:30:08.053Z] Removing intermediate container 1dc65a6f8149 [2023-02-04T10:30:08.053Z] ---> 16b349d79bf8 [2023-02-04T10:30:08.053Z] Step 23/23 : LABEL version=0.0.0 [2023-02-04T10:30:08.053Z] ---> Running in 646f0a03b22b [2023-02-04T10:30:08.311Z] Removing intermediate container 646f0a03b22b [2023-02-04T10:30:08.311Z] ---> 091be509e583 [2023-02-04T10:30:08.311Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-04T10:30:08.311Z] Successfully built 091be509e583 [2023-02-04T10:30:08.311Z] 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-02-04T10:30:08.729Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-04T10:30:08.729Z] [2023-02-04T10:30:08.729Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-04T10:30:09.039Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-04T10:30:09.039Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-04T10:30:09.039Z] 5eb5b503b376: Pulling fs layer [2023-02-04T10:30:09.039Z] 5c69ac0246d0: Pulling fs layer [2023-02-04T10:30:09.039Z] ec43610c2a17: Pulling fs layer [2023-02-04T10:30:09.039Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-04T10:30:09.039Z] 33b1e0a273af: Pulling fs layer [2023-02-04T10:30:09.039Z] 5d3b04190fa2: Pulling fs layer [2023-02-04T10:30:09.039Z] 2f39f015ded8: Pulling fs layer [2023-02-04T10:30:09.039Z] 33b1e0a273af: Waiting [2023-02-04T10:30:09.039Z] 5d3b04190fa2: Waiting [2023-02-04T10:30:09.039Z] 3a2ae6a8a46f: Waiting [2023-02-04T10:30:09.039Z] 5c69ac0246d0: Verifying Checksum [2023-02-04T10:30:09.039Z] 5c69ac0246d0: Download complete [2023-02-04T10:30:09.039Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-04T10:30:09.039Z] 3a2ae6a8a46f: Download complete [2023-02-04T10:30:09.308Z] 33b1e0a273af: Verifying Checksum [2023-02-04T10:30:09.308Z] 33b1e0a273af: Download complete [2023-02-04T10:30:09.308Z] ec43610c2a17: Verifying Checksum [2023-02-04T10:30:09.308Z] ec43610c2a17: Download complete [2023-02-04T10:30:09.308Z] 5d3b04190fa2: Verifying Checksum [2023-02-04T10:30:09.308Z] 5d3b04190fa2: Download complete [2023-02-04T10:30:09.570Z] 5eb5b503b376: Verifying Checksum [2023-02-04T10:30:09.570Z] 5eb5b503b376: Download complete [2023-02-04T10:30:10.151Z] 2f39f015ded8: Verifying Checksum [2023-02-04T10:30:10.151Z] 2f39f015ded8: Download complete [2023-02-04T10:30:10.408Z] 5eb5b503b376: Pull complete [2023-02-04T10:30:10.667Z] 5c69ac0246d0: Pull complete [2023-02-04T10:30:10.925Z] ec43610c2a17: Pull complete [2023-02-04T10:30:10.925Z] 3a2ae6a8a46f: Pull complete [2023-02-04T10:30:11.184Z] 33b1e0a273af: Pull complete [2023-02-04T10:30:11.184Z] 5d3b04190fa2: Pull complete [2023-02-04T10:30:15.362Z] 2f39f015ded8: Pull complete [2023-02-04T10:30:15.362Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-04T10:30:15.362Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-04T10:30:15.362Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-04T10:30:15.435Z] prd-ubuntu20.04-docker-8c-8g-4526 does not seem to be running inside a container [2023-02-04T10:30:15.456Z] $ 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-1290 -v /w/workspace/gexfoundry_device-sdk-go_PR-1290:/w/workspace/gexfoundry_device-sdk-go_PR-1290:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1290@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1290@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-02-04T10:30:16.868Z] $ docker top 78172d32908d3f615913032db605dbe4b63ba37845bdc408d1325a48b4fceebc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-04T10:30:17.234Z] ---> job-cost.sh [2023-02-04T10:30:17.234Z] lf-activate-venv: SKIPPING [2023-02-04T10:30:17.234Z] INFO: No Stack... [2023-02-04T10:30:17.493Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-04T10:30:18.062Z] INFO: Archiving Costs [Pipeline] sh [2023-02-04T10:30:18.354Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1290/archives/cost.csv [2023-02-04T10:30:18.354Z] + cut -d, -f6 [Pipeline] lock [2023-02-04T10:30:18.369Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1290-7-stack-cost] [2023-02-04T10:30:18.375Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1290-7-stack-cost] did not exist. Created. [2023-02-04T10:30:18.375Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1290-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-04T10:30:18.676Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-04T10:30:18.711Z] Stashed 1 file(s) [Pipeline] } [2023-02-04T10:30:18.718Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1290-7-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-04T10:30:18.725Z] $ docker stop --time=1 78172d32908d3f615913032db605dbe4b63ba37845bdc408d1325a48b4fceebc [2023-02-04T10:30:19.883Z] $ docker rm -f --volumes 78172d32908d3f615913032db605dbe4b63ba37845bdc408d1325a48b4fceebc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-04T10:31:27.121Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4527 in /w/workspace/gexfoundry_device-sdk-go_PR-1290 [Pipeline] { [Pipeline] ws [2023-02-04T10:31:27.133Z] Running in /w/workspace/device-sdk-go/7 [Pipeline] { [Pipeline] checkout [2023-02-04T10:31:27.164Z] The recommended git tool is: git [2023-02-04T10:31:32.824Z] using credential edgex-jenkins-ssh [2023-02-04T10:31:32.839Z] Cloning the remote Git repository [2023-02-04T10:31:32.887Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-02-04T10:31:32.965Z] > git init /w/workspace/device-sdk-go/7 # timeout=10 [2023-02-04T10:31:33.126Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-04T10:31:33.128Z] > git --version # timeout=10 [2023-02-04T10:31:33.151Z] > git --version # 'git version 2.25.1' [2023-02-04T10:31:33.153Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-04T10:31:33.217Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-04T10:31:34.794Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-04T10:31:34.824Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-04T10:31:35.737Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-04T10:31:35.800Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-04T10:31:35.801Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-04T10:31:35.818Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1290/head:refs/remotes/origin/PR-1290 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-04T10:31:36.353Z] Merging remotes/origin/main commit 1acc2ef1c1fa5446d2eac6cbaedb918f3ccab223 into PR head commit d3de483628447c790c441951d81749b8105ae43c [2023-02-04T10:31:36.607Z] Merge succeeded, producing d3de483628447c790c441951d81749b8105ae43c [2023-02-04T10:31:36.607Z] Checking out Revision d3de483628447c790c441951d81749b8105ae43c (PR-1290) [2023-02-04T10:31:37.194Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2023-02-04T10:31:36.375Z] > git config core.sparsecheckout # timeout=10 [2023-02-04T10:31:36.395Z] > git checkout -f d3de483628447c790c441951d81749b8105ae43c # timeout=10 [2023-02-04T10:31:36.510Z] > git remote # timeout=10 [2023-02-04T10:31:36.532Z] > git config --get remote.origin.url # timeout=10 [2023-02-04T10:31:36.549Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-04T10:31:36.564Z] > git merge 1acc2ef1c1fa5446d2eac6cbaedb918f3ccab223 # timeout=10 [2023-02-04T10:31:36.589Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-04T10:31:36.617Z] > git config core.sparsecheckout # timeout=10 [2023-02-04T10:31:36.634Z] > git checkout -f d3de483628447c790c441951d81749b8105ae43c # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-04T10:31:38.107Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-04T10:31:38.107Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-04T10:31:38.107Z] Dload Upload Total Spent Left Speed [2023-02-04T10:31:38.107Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 222k 0 --:--:-- --:--:-- --:--:-- 222k [Pipeline] sh [2023-02-04T10:31:38.707Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-04T10:31:39.040Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-04T10:31:39.040Z] + sudo tee /etc/docker/daemon.new [2023-02-04T10:31:39.040Z] { [2023-02-04T10:31:39.040Z] "registry-mirrors": [ [2023-02-04T10:31:39.040Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-04T10:31:39.040Z] ], [2023-02-04T10:31:39.040Z] "bip": "10.250.0.254/24", [2023-02-04T10:31:39.040Z] "hosts": [ [2023-02-04T10:31:39.040Z] "tcp://0.0.0.0:5555", [2023-02-04T10:31:39.040Z] "unix:///var/run/docker.sock" [2023-02-04T10:31:39.040Z] ], [2023-02-04T10:31:39.040Z] "mtu": 1458, [2023-02-04T10:31:39.040Z] "selinux-enabled": true, [2023-02-04T10:31:39.040Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-04T10:31:39.040Z] } [Pipeline] sh [2023-02-04T10:31:39.371Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-04T10:31:39.723Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-04T10:31:58.016Z] provisioning config files... [2023-02-04T10:31:58.048Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/7@tmp/config17079356426760283660tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-04T10:31:58.418Z] ---> docker-login.sh [2023-02-04T10:31:58.418Z] nexus3.edgexfoundry.org:10001 [2023-02-04T10:31:58.688Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-04T10:31:58.961Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-04T10:31:58.961Z] Configure a credential helper to remove this warning. See [2023-02-04T10:31:58.961Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-04T10:31:58.961Z] [2023-02-04T10:31:58.961Z] Login Succeeded [2023-02-04T10:31:58.961Z] nexus3.edgexfoundry.org:10002 [2023-02-04T10:31:59.232Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-04T10:31:59.507Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-04T10:31:59.507Z] Configure a credential helper to remove this warning. See [2023-02-04T10:31:59.507Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-04T10:31:59.507Z] [2023-02-04T10:31:59.507Z] Login Succeeded [2023-02-04T10:31:59.507Z] nexus3.edgexfoundry.org:10003 [2023-02-04T10:31:59.777Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-04T10:31:59.777Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-04T10:31:59.777Z] Configure a credential helper to remove this warning. See [2023-02-04T10:31:59.777Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-04T10:31:59.777Z] [2023-02-04T10:31:59.777Z] Login Succeeded [2023-02-04T10:31:59.777Z] nexus3.edgexfoundry.org:10004 [2023-02-04T10:32:00.046Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-04T10:32:00.319Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-04T10:32:00.319Z] Configure a credential helper to remove this warning. See [2023-02-04T10:32:00.319Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-04T10:32:00.319Z] [2023-02-04T10:32:00.319Z] Login Succeeded [2023-02-04T10:32:00.319Z] docker.io [2023-02-04T10:32:00.591Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-04T10:32:00.861Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-04T10:32:00.861Z] Configure a credential helper to remove this warning. See [2023-02-04T10:32:00.861Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-04T10:32:00.861Z] [2023-02-04T10:32:00.861Z] Login Succeeded [2023-02-04T10:32:00.861Z] ---> docker-login.sh ends [Pipeline] } [2023-02-04T10:32:00.877Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-04T10:32:01.183Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-04T10:32:01.194Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-04T10:32:01.202Z] ========================================================= [2023-02-04T10:32:01.202Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-04T10:32:01.202Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-04T10:32:01.556Z] + 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.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-04T10:32:02.155Z] Sending build context to Docker daemon 5.632MB [2023-02-04T10:32:02.155Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-04T10:32:02.155Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-04T10:32:03.123Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-04T10:32:03.123Z] 9b18e9b68314: Pulling fs layer [2023-02-04T10:32:03.123Z] 35d82f9e3411: Pulling fs layer [2023-02-04T10:32:03.123Z] e16973657156: Pulling fs layer [2023-02-04T10:32:03.123Z] fc693d55d65f: Pulling fs layer [2023-02-04T10:32:03.123Z] 7e9fc2657dce: Pulling fs layer [2023-02-04T10:32:03.123Z] dda99020689f: Pulling fs layer [2023-02-04T10:32:03.123Z] db1c61fa0a46: Pulling fs layer [2023-02-04T10:32:03.123Z] 891c053d2c06: Pulling fs layer [2023-02-04T10:32:03.123Z] 7e9fc2657dce: Waiting [2023-02-04T10:32:03.123Z] dda99020689f: Waiting [2023-02-04T10:32:03.123Z] db1c61fa0a46: Waiting [2023-02-04T10:32:03.123Z] 891c053d2c06: Waiting [2023-02-04T10:32:03.123Z] fc693d55d65f: Waiting [2023-02-04T10:32:03.123Z] e16973657156: Download complete [2023-02-04T10:32:03.123Z] 35d82f9e3411: Verifying Checksum [2023-02-04T10:32:03.123Z] 35d82f9e3411: Download complete [2023-02-04T10:32:03.123Z] 7e9fc2657dce: Download complete [2023-02-04T10:32:03.123Z] dda99020689f: Download complete [2023-02-04T10:32:03.123Z] 9b18e9b68314: Verifying Checksum [2023-02-04T10:32:04.103Z] 9b18e9b68314: Pull complete [2023-02-04T10:32:04.103Z] 891c053d2c06: Verifying Checksum [2023-02-04T10:32:04.103Z] 891c053d2c06: Download complete [2023-02-04T10:32:04.697Z] 35d82f9e3411: Pull complete [2023-02-04T10:32:04.968Z] e16973657156: Pull complete [2023-02-04T10:32:05.239Z] db1c61fa0a46: Verifying Checksum [2023-02-04T10:32:05.239Z] db1c61fa0a46: Download complete [2023-02-04T10:32:05.825Z] fc693d55d65f: Verifying Checksum [2023-02-04T10:32:05.825Z] fc693d55d65f: Download complete [2023-02-04T10:32:18.193Z] fc693d55d65f: Pull complete [2023-02-04T10:32:18.463Z] 7e9fc2657dce: Pull complete [2023-02-04T10:32:18.732Z] dda99020689f: Pull complete [2023-02-04T10:32:25.412Z] db1c61fa0a46: Pull complete [2023-02-04T10:32:28.775Z] 891c053d2c06: Pull complete [2023-02-04T10:32:28.775Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-04T10:32:28.775Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-04T10:32:28.775Z] ---> f96f9c87975a [2023-02-04T10:32:28.775Z] Step 3/10 : ARG MAKE=make build [2023-02-04T10:32:30.757Z] ---> Running in eff18e8b861a [2023-02-04T10:32:31.032Z] Removing intermediate container eff18e8b861a [2023-02-04T10:32:31.032Z] ---> fb6523ba79e0 [2023-02-04T10:32:31.032Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-04T10:32:31.032Z] ---> Running in e534233f9733 [2023-02-04T10:32:31.329Z] Removing intermediate container e534233f9733 [2023-02-04T10:32:31.329Z] ---> 8083ad489079 [2023-02-04T10:32:31.329Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-04T10:32:31.329Z] ---> Running in b8d9caa323f1 [2023-02-04T10:32:31.600Z] Removing intermediate container b8d9caa323f1 [2023-02-04T10:32:31.600Z] ---> 075be20ff0d9 [2023-02-04T10:32:31.600Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-04T10:32:31.867Z] ---> Running in 8841ed65830b [2023-02-04T10:32:33.302Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-04T10:32:33.302Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-04T10:32:34.268Z] OK: 221 MiB in 51 packages [2023-02-04T10:32:35.236Z] Removing intermediate container 8841ed65830b [2023-02-04T10:32:35.236Z] ---> 965529a56bb7 [2023-02-04T10:32:35.236Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-04T10:32:35.824Z] ---> 7e1256a2b260 [2023-02-04T10:32:35.824Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-04T10:32:35.824Z] ---> Running in 7900e6650d79 [2023-02-04T10:33:43.738Z] Removing intermediate container 7900e6650d79 [2023-02-04T10:33:43.738Z] ---> cd9503b92fdf [2023-02-04T10:33:43.738Z] Step 9/10 : COPY . . [2023-02-04T10:33:43.738Z] ---> 289a22cc351d [2023-02-04T10:33:43.738Z] Step 10/10 : RUN ${MAKE} [2023-02-04T10:33:43.738Z] ---> Running in 5d5bc7de9a03 [2023-02-04T10:33:43.738Z] noop [2023-02-04T10:33:44.005Z] Removing intermediate container 5d5bc7de9a03 [2023-02-04T10:33:44.005Z] ---> 5e9a6cd2169c [2023-02-04T10:33:44.005Z] Successfully built 5e9a6cd2169c [2023-02-04T10:33:44.005Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-04T10:33:44.361Z] + docker inspect -f . ci-base-image-arm64 [2023-02-04T10:33:44.361Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-04T10:33:44.560Z] prd-ubuntu20.04-docker-arm64-4c-16g-4527 does not seem to be running inside a container [2023-02-04T10:33:44.627Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-04T10:33:45.836Z] $ docker top 1e2dbf58e10c2c69e7f2e6aa71e315fa3881f74724d76f63011e1cc4aaea955d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-04T10:33:46.662Z] + go version [2023-02-04T10:33:46.662Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-04T10:33:46.686Z] $ docker stop --time=1 1e2dbf58e10c2c69e7f2e6aa71e315fa3881f74724d76f63011e1cc4aaea955d [2023-02-04T10:33:48.325Z] $ docker rm -f --volumes 1e2dbf58e10c2c69e7f2e6aa71e315fa3881f74724d76f63011e1cc4aaea955d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-04T10:33:48.878Z] + docker inspect -f . ci-base-image-arm64 [2023-02-04T10:33:48.878Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-04T10:33:49.070Z] prd-ubuntu20.04-docker-arm64-4c-16g-4527 does not seem to be running inside a container [2023-02-04T10:33:49.140Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-04T10:33:50.328Z] $ docker top 37cf4317449c237d4ee122aee7cddc74bc4b1ce564ff8704e2b55b88ce90d0d6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-04T10:33:51.178Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/7 [Pipeline] fileExists [Pipeline] sh [2023-02-04T10:33:51.825Z] + make test [2023-02-04T10:33:51.826Z] go test -race -coverprofile=coverage.out ./... [2023-02-04T10:34:30.703Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-04T10:36:29.048Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-04T10:36:29.048Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-04T10:36:29.048Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-04T10:36:29.048Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-04T10:36:29.048Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-04T10:36:37.261Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.651s coverage: 27.6% of statements [2023-02-04T10:36:38.667Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.523s coverage: 78.9% of statements [2023-02-04T10:36:38.667Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-04T10:36:38.667Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.550s coverage: 70.2% of statements [2023-02-04T10:36:38.667Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-04T10:36:38.667Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-04T10:36:51.005Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.518s coverage: 59.8% of statements [2023-02-04T10:36:51.005Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-04T10:36:51.005Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-02-04T10:36:51.005Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-04T10:36:51.005Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.471s coverage: 65.1% of statements [2023-02-04T10:36:51.005Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-04T10:36:51.005Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-04T10:36:51.005Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 4.286s coverage: 89.2% of statements [2023-02-04T10:36:51.005Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-04T10:36:51.005Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.351s coverage: 4.7% of statements [2023-02-04T10:36:51.005Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-04T10:36:51.005Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-04T10:36:51.005Z] GO111MODULE=on go vet ./... [2023-02-04T10:38:27.679Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-04T10:38:27.679Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-04T10:38:27.679Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-04T10:38:27.700Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-04T10:38:27.718Z] $ docker stop --time=1 37cf4317449c237d4ee122aee7cddc74bc4b1ce564ff8704e2b55b88ce90d0d6 [2023-02-04T10:38:29.491Z] $ docker rm -f --volumes 37cf4317449c237d4ee122aee7cddc74bc4b1ce564ff8704e2b55b88ce90d0d6 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-04T10:38:30.753Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-04T10:38:30.777Z] Warning: overwriting stash ‘coverage-report’ [2023-02-04T10:38:31.329Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-04T10:38:31.717Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-04T10:38:32.030Z] + ls -al . [2023-02-04T10:38:32.030Z] total 268 [2023-02-04T10:38:32.030Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 4 10:33 . [2023-02-04T10:38:32.030Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 4 10:31 .. [2023-02-04T10:38:32.030Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 4 10:31 .dockerignore [2023-02-04T10:38:32.030Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 4 10:31 .git [2023-02-04T10:38:32.030Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 4 10:31 .github [2023-02-04T10:38:32.030Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 4 10:31 .gitignore [2023-02-04T10:38:32.030Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 4 10:31 .golangci.yml [2023-02-04T10:38:32.030Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 4 10:31 CHANGELOG.md [2023-02-04T10:38:32.030Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 4 10:31 GOVERNANCE.md [2023-02-04T10:38:32.030Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 4 10:31 Jenkinsfile [2023-02-04T10:38:32.030Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 4 10:31 LICENSE [2023-02-04T10:38:32.030Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 4 10:31 Makefile [2023-02-04T10:38:32.030Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 4 10:31 OWNERS.md [2023-02-04T10:38:32.030Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 4 10:31 README.md [2023-02-04T10:38:32.030Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 4 10:28 VERSION [2023-02-04T10:38:32.030Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 4 10:31 bin [2023-02-04T10:38:32.030Z] -rw-r--r-- 1 jenkins jenkins 99762 Feb 4 10:36 coverage.out [2023-02-04T10:38:32.030Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 4 10:31 example [2023-02-04T10:38:32.030Z] -rw-rw-r-- 1 jenkins jenkins 3264 Feb 4 10:31 go.mod [2023-02-04T10:38:32.030Z] -rw-rw-r-- 1 jenkins jenkins 32817 Feb 4 10:31 go.sum [2023-02-04T10:38:32.030Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 4 10:31 internal [2023-02-04T10:38:32.030Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 4 10:31 openapi [2023-02-04T10:38:32.030Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 4 10:31 pkg [2023-02-04T10:38:32.030Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 4 10:31 snap [2023-02-04T10:38:32.030Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 4 10:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-04T10:38:32.367Z] + 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=d3de483628447c790c441951d81749b8105ae43c --label arch=arm64 --label version=0.0.0 . [2023-02-04T10:38:32.640Z] Sending build context to Docker daemon 5.732MB [2023-02-04T10:38:32.640Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-04T10:38:32.640Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-04T10:38:32.640Z] ---> 5e9a6cd2169c [2023-02-04T10:38:32.640Z] Step 3/23 : ARG MAKE=make build [2023-02-04T10:38:32.909Z] ---> Running in a24d617103a0 [2023-02-04T10:38:33.176Z] Removing intermediate container a24d617103a0 [2023-02-04T10:38:33.176Z] ---> ad4120eb6c9b [2023-02-04T10:38:33.176Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-04T10:38:33.176Z] ---> Running in 52f90104366e [2023-02-04T10:38:33.770Z] Removing intermediate container 52f90104366e [2023-02-04T10:38:33.770Z] ---> af4bd268308d [2023-02-04T10:38:33.770Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-04T10:38:33.770Z] ---> Running in e7163a59c4b9 [2023-02-04T10:38:34.037Z] Removing intermediate container e7163a59c4b9 [2023-02-04T10:38:34.037Z] ---> c7c3a1a521d6 [2023-02-04T10:38:34.037Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-04T10:38:34.037Z] ---> Running in a93cefe81d1d [2023-02-04T10:38:34.998Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-04T10:38:35.263Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-04T10:38:36.217Z] OK: 221 MiB in 51 packages [2023-02-04T10:38:37.175Z] Removing intermediate container a93cefe81d1d [2023-02-04T10:38:37.175Z] ---> 86aecc3dd535 [2023-02-04T10:38:37.176Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-04T10:38:39.755Z] ---> df4188b49d9b [2023-02-04T10:38:39.755Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-04T10:38:39.755Z] ---> Running in 2342e280ec4c [2023-02-04T10:38:41.690Z] Removing intermediate container 2342e280ec4c [2023-02-04T10:38:41.690Z] ---> 368f686cf5e5 [2023-02-04T10:38:41.690Z] Step 9/23 : COPY . . [2023-02-04T10:38:42.644Z] ---> 15e2ad4ae33a [2023-02-04T10:38:42.644Z] Step 10/23 : RUN ${MAKE} [2023-02-04T10:38:42.911Z] ---> Running in 24080da02e6f [2023-02-04T10:38:43.870Z] 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-02-04T10:40:52.079Z] Removing intermediate container 24080da02e6f [2023-02-04T10:40:52.079Z] ---> 0f6e1687f5e9 [2023-02-04T10:40:52.079Z] Step 11/23 : FROM alpine:3.16 [2023-02-04T10:40:52.079Z] 3.16: Pulling from library/alpine [2023-02-04T10:40:52.079Z] 6875df1f5354: Pulling fs layer [2023-02-04T10:40:52.079Z] 6875df1f5354: Verifying Checksum [2023-02-04T10:40:52.079Z] 6875df1f5354: Download complete [2023-02-04T10:40:52.079Z] 6875df1f5354: Pull complete [2023-02-04T10:40:52.079Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-02-04T10:40:52.079Z] Status: Downloaded newer image for alpine:3.16 [2023-02-04T10:40:52.079Z] ---> 2b4661558fb8 [2023-02-04T10:40:52.079Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-04T10:40:52.079Z] ---> Running in 02c69e34a21b [2023-02-04T10:40:52.079Z] Removing intermediate container 02c69e34a21b [2023-02-04T10:40:52.079Z] ---> b9a46edc6d6f [2023-02-04T10:40:52.079Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-04T10:40:52.079Z] ---> Running in 15e7ca1ff7c3 [2023-02-04T10:40:52.079Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-04T10:40:52.079Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-04T10:40:52.079Z] OK: 5 MiB in 14 packages [2023-02-04T10:40:52.079Z] Removing intermediate container 15e7ca1ff7c3 [2023-02-04T10:40:52.079Z] ---> 950c120e37c3 [2023-02-04T10:40:52.079Z] Step 14/23 : WORKDIR / [2023-02-04T10:40:52.079Z] ---> Running in 1fdde817b6bf [2023-02-04T10:40:52.079Z] Removing intermediate container 1fdde817b6bf [2023-02-04T10:40:52.079Z] ---> 33e3f034a824 [2023-02-04T10:40:52.079Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-04T10:40:52.079Z] ---> ac0c94b9e3ff [2023-02-04T10:40:52.079Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-04T10:40:52.079Z] ---> 1f7b25ce66a7 [2023-02-04T10:40:52.079Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-04T10:40:52.079Z] ---> 8f6f94ddeefd [2023-02-04T10:40:52.079Z] Step 18/23 : EXPOSE 59999 [2023-02-04T10:40:52.079Z] ---> Running in b98c3732ee8b [2023-02-04T10:40:52.079Z] Removing intermediate container b98c3732ee8b [2023-02-04T10:40:52.079Z] ---> f8f188aa1c8c [2023-02-04T10:40:52.079Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-04T10:40:52.079Z] ---> Running in 5ee55f1aa010 [2023-02-04T10:40:52.079Z] Removing intermediate container 5ee55f1aa010 [2023-02-04T10:40:52.079Z] ---> 46dee1aa5b7b [2023-02-04T10:40:52.079Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-04T10:40:52.079Z] ---> Running in db1a1947fc1f [2023-02-04T10:40:52.079Z] Removing intermediate container db1a1947fc1f [2023-02-04T10:40:52.079Z] ---> 939c19a61880 [2023-02-04T10:40:52.079Z] Step 21/23 : LABEL arch=arm64 [2023-02-04T10:40:52.079Z] ---> Running in cfcbcd4b1016 [2023-02-04T10:40:52.079Z] Removing intermediate container cfcbcd4b1016 [2023-02-04T10:40:52.079Z] ---> 255b75b0359e [2023-02-04T10:40:52.079Z] Step 22/23 : LABEL git_sha=d3de483628447c790c441951d81749b8105ae43c [2023-02-04T10:40:52.079Z] ---> Running in 5140bd23b81b [2023-02-04T10:40:52.079Z] Removing intermediate container 5140bd23b81b [2023-02-04T10:40:52.079Z] ---> 17b5a54983da [2023-02-04T10:40:52.079Z] Step 23/23 : LABEL version=0.0.0 [2023-02-04T10:40:52.079Z] ---> Running in 46b65b522f89 [2023-02-04T10:40:52.079Z] Removing intermediate container 46b65b522f89 [2023-02-04T10:40:52.079Z] ---> 506dd356f6cd [2023-02-04T10:40:52.079Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-04T10:40:52.079Z] Successfully built 506dd356f6cd [2023-02-04T10:40:52.079Z] 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-02-04T10:40:52.487Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-04T10:40:52.487Z] [2023-02-04T10:40:52.487Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-04T10:40:52.817Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-04T10:40:52.817Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-04T10:40:52.817Z] 8998bd30e6a1: Pulling fs layer [2023-02-04T10:40:52.817Z] 04944245beec: Pulling fs layer [2023-02-04T10:40:52.817Z] 699f458cf7ca: Pulling fs layer [2023-02-04T10:40:52.817Z] 765212b225bb: Pulling fs layer [2023-02-04T10:40:52.817Z] f23df028b6ca: Pulling fs layer [2023-02-04T10:40:52.817Z] d65c8cfc05b1: Pulling fs layer [2023-02-04T10:40:52.817Z] 2437ff75d9bd: Pulling fs layer [2023-02-04T10:40:52.817Z] f23df028b6ca: Waiting [2023-02-04T10:40:52.817Z] d65c8cfc05b1: Waiting [2023-02-04T10:40:52.817Z] 2437ff75d9bd: Waiting [2023-02-04T10:40:52.817Z] 765212b225bb: Waiting [2023-02-04T10:40:53.085Z] 04944245beec: Verifying Checksum [2023-02-04T10:40:53.085Z] 04944245beec: Download complete [2023-02-04T10:40:53.085Z] 765212b225bb: Verifying Checksum [2023-02-04T10:40:53.085Z] 765212b225bb: Download complete [2023-02-04T10:40:53.085Z] f23df028b6ca: Download complete [2023-02-04T10:40:53.085Z] d65c8cfc05b1: Verifying Checksum [2023-02-04T10:40:53.085Z] d65c8cfc05b1: Download complete [2023-02-04T10:40:53.355Z] 699f458cf7ca: Verifying Checksum [2023-02-04T10:40:53.355Z] 699f458cf7ca: Download complete [2023-02-04T10:40:53.726Z] 8998bd30e6a1: Verifying Checksum [2023-02-04T10:40:53.726Z] 8998bd30e6a1: Download complete [2023-02-04T10:40:56.421Z] 2437ff75d9bd: Verifying Checksum [2023-02-04T10:40:56.421Z] 2437ff75d9bd: Download complete [2023-02-04T10:40:57.855Z] 8998bd30e6a1: Pull complete [2023-02-04T10:41:00.433Z] 04944245beec: Pull complete [2023-02-04T10:41:01.843Z] 699f458cf7ca: Pull complete [2023-02-04T10:41:02.110Z] 765212b225bb: Pull complete [2023-02-04T10:41:02.695Z] f23df028b6ca: Pull complete [2023-02-04T10:41:02.964Z] d65c8cfc05b1: Pull complete [2023-02-04T10:41:17.954Z] 2437ff75d9bd: Pull complete [2023-02-04T10:41:17.954Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-04T10:41:17.954Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-04T10:41:17.954Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-04T10:41:18.172Z] prd-ubuntu20.04-docker-arm64-4c-16g-4527 does not seem to be running inside a container [2023-02-04T10:41:18.237Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-04T10:41:20.656Z] $ docker top 4483c4e44343797724f30a0857e61bb6b75d41eebd1faee5d5f56c2c4225596e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-04T10:41:21.492Z] ---> job-cost.sh [2023-02-04T10:41:21.492Z] lf-activate-venv: SKIPPING [2023-02-04T10:41:21.492Z] INFO: No Stack... [2023-02-04T10:41:21.757Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-04T10:41:22.711Z] INFO: Archiving Costs [Pipeline] sh [2023-02-04T10:41:23.029Z] + cat /w/workspace/device-sdk-go/7/archives/cost.csv [2023-02-04T10:41:23.029Z] + cut -d, -f6 [Pipeline] lock [2023-02-04T10:41:23.100Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1290-7-stack-cost] [2023-02-04T10:41:23.106Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1290-7-stack-cost] did not exist. Created. [2023-02-04T10:41:23.106Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1290-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-04T10:41:23.757Z] /w/workspace/device-sdk-go/7@tmp/durable-5b747c23/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-04T10:41:24.086Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-04T10:41:24.110Z] Warning: overwriting stash ‘stack-cost’ [2023-02-04T10:41:24.173Z] Stashed 1 file(s) [Pipeline] } [2023-02-04T10:41:24.182Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1290-7-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-04T10:41:24.203Z] $ docker stop --time=1 4483c4e44343797724f30a0857e61bb6b75d41eebd1faee5d5f56c2c4225596e [2023-02-04T10:41:27.153Z] $ docker rm -f --volumes 4483c4e44343797724f30a0857e61bb6b75d41eebd1faee5d5f56c2c4225596e [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-02-04T10:41:27.507Z] provisioning config files... [2023-02-04T10:41:27.512Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1290@tmp/config12007407021607165518tmp [Pipeline] { [Pipeline] sh [2023-02-04T10:41:27.798Z] + set +x [2023-02-04T10:41:27.798Z] + curl -s https://codecov.io/bash [2023-02-04T10:41:27.798Z] + bash -s -- [2023-02-04T10:41:27.798Z] [2023-02-04T10:41:27.798Z] _____ _ [2023-02-04T10:41:27.798Z] / ____| | | [2023-02-04T10:41:27.798Z] | | ___ __| | ___ ___ _____ __ [2023-02-04T10:41:27.798Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-04T10:41:27.798Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-04T10:41:27.798Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-04T10:41:27.798Z] Bash-1.0.6 [2023-02-04T10:41:27.798Z] [2023-02-04T10:41:27.798Z] [2023-02-04T10:41:27.798Z] ==> git version 2.25.1 found [2023-02-04T10:41:27.798Z] ==> 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-02-04T10:41:27.798Z] Release-Date: 2020-01-08 [2023-02-04T10:41:27.798Z] 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-02-04T10:41:27.798Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-04T10:41:27.798Z] ==> Jenkins CI detected. [2023-02-04T10:41:27.798Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1290 [2023-02-04T10:41:27.798Z] project root: . [2023-02-04T10:41:27.798Z] --> token set from env [2023-02-04T10:41:27.798Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-04T10:41:27.798Z] ==> Running gcov in . (disable via -X gcov) [2023-02-04T10:41:27.798Z] ==> Python coveragepy not found [2023-02-04T10:41:27.798Z] ==> Searching for coverage reports in: [2023-02-04T10:41:27.798Z] + . [2023-02-04T10:41:27.798Z] -> Found 1 reports [2023-02-04T10:41:27.798Z] ==> Detecting git/mercurial file structure [2023-02-04T10:41:27.798Z] ==> Reading reports [2023-02-04T10:41:27.798Z] + ./coverage.out bytes=99762 [2023-02-04T10:41:27.798Z] ==> Appending adjustments [2023-02-04T10:41:27.798Z] https://docs.codecov.io/docs/fixing-reports [2023-02-04T10:41:28.057Z] + Found adjustments [2023-02-04T10:41:28.057Z] ==> Gzipping contents [2023-02-04T10:41:28.057Z] 16K /tmp/codecov.FkvqyU.gz [2023-02-04T10:41:28.317Z] ==> Uploading reports [2023-02-04T10:41:28.317Z] url: https://codecov.io [2023-02-04T10:41:28.317Z] query: branch=PR-1290&commit=d3de483628447c790c441951d81749b8105ae43c&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1290%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1290&job=&cmd_args= [2023-02-04T10:41:28.317Z] -> Pinging Codecov [2023-02-04T10:41:28.317Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1290&commit=d3de483628447c790c441951d81749b8105ae43c&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1290%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1290&job=&cmd_args= [2023-02-04T10:41:28.576Z] -> Uploading to [2023-02-04T10:41:28.576Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-04/7E55EF52A471D76F132DFD9A03CDDE97/d3de483628447c790c441951d81749b8105ae43c/4f3e8084-9d7c-416d-ab3e-e4917dc6f245.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230204%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230204T104128Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f2b31a5f07eff3d3cb5eec7af16df9400be43df39a219b0d8e5461f13bbb9198 [2023-02-04T10:41:28.576Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-04T10:41:28.576Z] Dload Upload Total Spent Left Speed [2023-02-04T10:41:28.835Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14423 0 0 100 14423 0 65262 --:--:-- --:--:-- --:--:-- 64968 100 14423 0 0 100 14423 0 49906 --:--:-- --:--:-- --:--:-- 49734 [2023-02-04T10:41:28.835Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/d3de483628447c790c441951d81749b8105ae43c [Pipeline] } [2023-02-04T10:41:28.844Z] 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-02-04T10:41:29.576Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1290/archives ] [2023-02-04T10:41:29.576Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1290/archives [2023-02-04T10:41:29.576Z] total 16 [2023-02-04T10:41:29.576Z] drwxr-xr-x 3 root root 4096 Feb 4 10:30 . [2023-02-04T10:41:29.576Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 4 10:30 .. [2023-02-04T10:41:29.576Z] drwxr-xr-x 2 root root 4096 Feb 4 10:30 cost [2023-02-04T10:41:29.576Z] -rw-r--r-- 1 root root 86 Feb 4 10:30 cost.csv [2023-02-04T10:41:29.576Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1290/archives [2023-02-04T10:41:29.576Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1290/archives [2023-02-04T10:41:29.576Z] total 16 [2023-02-04T10:41:29.576Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 4 10:30 . [2023-02-04T10:41:29.576Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 4 10:30 .. [2023-02-04T10:41:29.576Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 4 10:30 cost [2023-02-04T10:41:29.576Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 4 10:30 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-04T10:41:29.873Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-04T10:41:30.735Z] ---> package-listing.sh [2023-02-04T10:41:30.735Z] ++ facter osfamily [2023-02-04T10:41:30.735Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-04T10:41:30.994Z] + OS_FAMILY=debian [2023-02-04T10:41:30.994Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1290 [2023-02-04T10:41:30.994Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-04T10:41:30.994Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-04T10:41:30.994Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-04T10:41:30.994Z] + PACKAGES=/tmp/packages_start.txt [2023-02-04T10:41:30.994Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1290 ']' [2023-02-04T10:41:30.994Z] + PACKAGES=/tmp/packages_end.txt [2023-02-04T10:41:30.994Z] + case "${OS_FAMILY}" in [2023-02-04T10:41:30.994Z] + dpkg -l [2023-02-04T10:41:30.994Z] + grep '^ii' [2023-02-04T10:41:30.994Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-04T10:41:30.994Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-04T10:41:30.994Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-04T10:41:30.994Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1290 ']' [2023-02-04T10:41:30.994Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1290/archives/ [2023-02-04T10:41:30.994Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1290/archives/ [Pipeline] echo [2023-02-04T10:41:31.006Z] 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-1290/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-04T10:41:31.283Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-04T10:41:31.844Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-04T10:41:31.844Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-04T10:41:31.914Z] prd-ubuntu20.04-docker-8c-8g-4526 does not seem to be running inside a container [2023-02-04T10:41:31.942Z] $ 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-1290/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-1290 -v /w/workspace/gexfoundry_device-sdk-go_PR-1290:/w/workspace/gexfoundry_device-sdk-go_PR-1290:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1290@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1290@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-04T10:41:32.123Z] $ docker top 5357ac9f6efceee2b4575a521953d363d98f5fee3879927783ddbe9ae9933735 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-04T10:41:32.458Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-04T10:41:32.734Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-04T10:41:33.017Z] + ls /var/log/sa-host [2023-02-04T10:41:33.017Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-04T10:41:33.085Z] provisioning config files... [2023-02-04T10:41:33.093Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1290@tmp/config7637370920942801072tmp [Pipeline] { [Pipeline] echo [2023-02-04T10:41:33.105Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-04T10:41:33.391Z] ---> create-netrc.sh [Pipeline] } [2023-02-04T10:41:33.399Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-04T10:41:33.730Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-04T10:41:33.738Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-04T10:41:34.022Z] ---> sudo-logs.sh [2023-02-04T10:41:34.022Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-04T10:41:34.053Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-04T10:41:34.339Z] ---> job-cost.sh [2023-02-04T10:41:34.339Z] lf-activate-venv: SKIPPING [2023-02-04T10:41:34.339Z] DEBUG: total: 0.2199999988079071 [2023-02-04T10:41:34.339Z] INFO: Retrieving Stack Cost... [2023-02-04T10:41:34.906Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-04T10:41:35.166Z] INFO: Archiving Costs [Pipeline] echo [2023-02-04T10:41:35.177Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-04T10:41:35.460Z] ---> logs-deploy.sh [2023-02-04T10:41:35.460Z] lf-activate-venv: SKIPPING [2023-02-04T10:41:35.460Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1290/7 [2023-02-04T10:41:35.460Z] INFO: archiving workspace using pattern(s): [2023-02-04T10:41:36.398Z] Archives upload complete. [2023-02-04T10:41:36.398Z] INFO: archiving logs to Nexus