Pull request #1364 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 155ffb9c7c8df0ffa4d80b59379527c9095d3c25+384d7c5e7ac8081017ff56bc2958a812a210b269 (d6b659f0e4475a7f01030ce4a13badbd0953ad05) 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-ssh7125870113529834243.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-ssh16684181591001972223.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-1364/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-1364/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3680344319661745345.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-ssh1705250921313849253.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-1364/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-1364/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10098996256358829998.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-8517 in /w/workspace/gexfoundry_device-sdk-go_PR-1364 [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-1364 # 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/1364/head:refs/remotes/origin/PR-1364 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 384d7c5e7ac8081017ff56bc2958a812a210b269 into PR head commit 155ffb9c7c8df0ffa4d80b59379527c9095d3c25 Merge succeeded, producing 155ffb9c7c8df0ffa4d80b59379527c9095d3c25 Checking out Revision 155ffb9c7c8df0ffa4d80b59379527c9095d3c25 (PR-1364) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-07T06:19:34.971Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-07T06:19:35.028Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 155ffb9c7c8df0ffa4d80b59379527c9095d3c25 # 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 384d7c5e7ac8081017ff56bc2958a812a210b269 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 155ffb9c7c8df0ffa4d80b59379527c9095d3c25 # timeout=10 > git rev-list --no-walk f4eca53a0d7f7b24af7a8966cf902b777299c7fd # timeout=10 [Pipeline] echo [2023-03-07T06:19:35.047Z] ========================================================= [2023-03-07T06:19:35.047Z] EdgeX Global Pipelines Version Info [2023-03-07T06:19:35.047Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-07T06:19:35.771Z] ------------------- [2023-03-07T06:19:35.771Z] stable info: [2023-03-07T06:19:35.771Z] ------------------- [2023-03-07T06:19:35.771Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-07T06:19:35.771Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-07T06:19:35.771Z] Message: update stable to v1.0.244 [2023-03-07T06:19:36.342Z] ------------------- [2023-03-07T06:19:36.342Z] experimental info: [2023-03-07T06:19:36.342Z] ------------------- [2023-03-07T06:19:36.342Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-07T06:19:36.342Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-07T06:19:36.342Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-07T06:19:36.497Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-03-07T06:19:36.506Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-03-07T06:19:36.514Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-07T06:19:36.525Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-07T06:19:36.535Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-07T06:19:36.545Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-03-07T06:19:36.566Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-07T06:19:36.584Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-03-07T06:19:36.601Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-07T06:19:36.617Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-07T06:19:36.630Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-07T06:19:36.640Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-03-07T06:19:36.655Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-07T06:19:36.669Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-07T06:19:36.685Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-07T06:19:36.699Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-03-07T06:19:36.713Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-07T06:19:36.728Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-07T06:19:36.741Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-07T06:19:36.756Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-07T06:19:36.765Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-07T06:19:36.780Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-03-07T06:19:36.797Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-07T06:19:36.813Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-07T06:19:36.824Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-07T06:19:36.840Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-07T06:19:36.855Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-07T06:19:36.869Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1364 [Pipeline] echo [2023-03-07T06:19:36.883Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1364 [Pipeline] echo [2023-03-07T06:19:36.894Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1364 [Pipeline] echo [2023-03-07T06:19:36.908Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 155ffb9c7c8df0ffa4d80b59379527c9095d3c25 [Pipeline] echo [2023-03-07T06:19:36.920Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 155ffb9 [Pipeline] echo [2023-03-07T06:19:36.930Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-07T06:19:36.969Z] provisioning config files... [2023-03-07T06:19:36.982Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1364@tmp/config10881612667464889435tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T06:19:37.280Z] ---> docker-login.sh [2023-03-07T06:19:37.280Z] nexus3.edgexfoundry.org:10001 [2023-03-07T06:19:37.540Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T06:19:37.540Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T06:19:37.540Z] Configure a credential helper to remove this warning. See [2023-03-07T06:19:37.540Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T06:19:37.540Z] [2023-03-07T06:19:37.540Z] Login Succeeded [2023-03-07T06:19:37.540Z] nexus3.edgexfoundry.org:10002 [2023-03-07T06:19:37.800Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T06:19:37.800Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T06:19:37.800Z] Configure a credential helper to remove this warning. See [2023-03-07T06:19:37.800Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T06:19:37.800Z] [2023-03-07T06:19:37.800Z] Login Succeeded [2023-03-07T06:19:37.800Z] nexus3.edgexfoundry.org:10003 [2023-03-07T06:19:37.800Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T06:19:37.800Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T06:19:37.800Z] Configure a credential helper to remove this warning. See [2023-03-07T06:19:37.800Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T06:19:37.800Z] [2023-03-07T06:19:37.800Z] Login Succeeded [2023-03-07T06:19:37.800Z] nexus3.edgexfoundry.org:10004 [2023-03-07T06:19:38.060Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T06:19:38.060Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T06:19:38.060Z] Configure a credential helper to remove this warning. See [2023-03-07T06:19:38.061Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T06:19:38.061Z] [2023-03-07T06:19:38.061Z] Login Succeeded [2023-03-07T06:19:38.061Z] docker.io [2023-03-07T06:19:38.061Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T06:19:38.321Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T06:19:38.321Z] Configure a credential helper to remove this warning. See [2023-03-07T06:19:38.321Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T06:19:38.321Z] [2023-03-07T06:19:38.321Z] Login Succeeded [2023-03-07T06:19:38.321Z] ---> docker-login.sh ends [Pipeline] } [2023-03-07T06:19:38.334Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-07T06:19:38.711Z] + git rev-list -1 --merges 155ffb9c7c8df0ffa4d80b59379527c9095d3c25~1..155ffb9c7c8df0ffa4d80b59379527c9095d3c25 [Pipeline] echo [2023-03-07T06:19:38.763Z] -----------> git rev-list -1 --merges 155ffb9c7c8df0ffa4d80b59379527c9095d3c25~1..155ffb9c7c8df0ffa4d80b59379527c9095d3c25 155ffb9c7c8df0ffa4d80b59379527c9095d3c25 [false] [Pipeline] sh [2023-03-07T06:19:39.050Z] + git log --format=format:%s -1 155ffb9c7c8df0ffa4d80b59379527c9095d3c25 [Pipeline] echo [2023-03-07T06:19:39.066Z] ========================================================= [2023-03-07T06:19:39.066Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-07T06:19:39.066Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-07T06:19:39.385Z] + git log --format=format:%s -1 155ffb9c7c8df0ffa4d80b59379527c9095d3c25 [Pipeline] echo [2023-03-07T06:19:39.398Z] [semverPrep] GIT_COMMIT: 155ffb9c7c8df0ffa4d80b59379527c9095d3c25, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo [2023-03-07T06:19:39.409Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-07T06:19:39.761Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-07T06:19:39.761Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-07T06:19:39.761Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-07T06:19:39.761Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-07T06:19:39.761Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-07T06:19:39.761Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-07T06:19:39.761Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T06:19:40.105Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-07T06:19:40.105Z] [2023-03-07T06:19:40.105Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T06:19:40.425Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-07T06:19:40.425Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-07T06:19:40.425Z] b85a868b505f: Pulling fs layer [2023-03-07T06:19:40.425Z] e2be974225ed: Pulling fs layer [2023-03-07T06:19:40.425Z] 339a4e72a1f5: Pulling fs layer [2023-03-07T06:19:40.425Z] 988bab9f4d93: Pulling fs layer [2023-03-07T06:19:40.425Z] 1469e6f7b9e6: Pulling fs layer [2023-03-07T06:19:40.425Z] eaf3925da568: Pulling fs layer [2023-03-07T06:19:40.425Z] bab4dde63d76: Pulling fs layer [2023-03-07T06:19:40.425Z] bde34c3a00c8: Pulling fs layer [2023-03-07T06:19:40.425Z] b352a97aabf1: Pulling fs layer [2023-03-07T06:19:40.425Z] 4872d77fe225: Pulling fs layer [2023-03-07T06:19:40.425Z] 5851b861e8e6: Pulling fs layer [2023-03-07T06:19:40.425Z] 988bab9f4d93: Waiting [2023-03-07T06:19:40.425Z] 1469e6f7b9e6: Waiting [2023-03-07T06:19:40.425Z] bab4dde63d76: Waiting [2023-03-07T06:19:40.425Z] bde34c3a00c8: Waiting [2023-03-07T06:19:40.425Z] eaf3925da568: Waiting [2023-03-07T06:19:40.425Z] b352a97aabf1: Waiting [2023-03-07T06:19:40.425Z] 4872d77fe225: Waiting [2023-03-07T06:19:40.425Z] e2be974225ed: Verifying Checksum [2023-03-07T06:19:40.425Z] e2be974225ed: Download complete [2023-03-07T06:19:40.425Z] 988bab9f4d93: Download complete [2023-03-07T06:19:40.686Z] 1469e6f7b9e6: Verifying Checksum [2023-03-07T06:19:40.686Z] 1469e6f7b9e6: Download complete [2023-03-07T06:19:40.686Z] 339a4e72a1f5: Verifying Checksum [2023-03-07T06:19:40.686Z] 339a4e72a1f5: Download complete [2023-03-07T06:19:40.686Z] eaf3925da568: Verifying Checksum [2023-03-07T06:19:40.686Z] eaf3925da568: Download complete [2023-03-07T06:19:40.686Z] bde34c3a00c8: Download complete [2023-03-07T06:19:40.686Z] b352a97aabf1: Download complete [2023-03-07T06:19:40.686Z] 4872d77fe225: Download complete [2023-03-07T06:19:40.686Z] b85a868b505f: Verifying Checksum [2023-03-07T06:19:40.686Z] b85a868b505f: Download complete [2023-03-07T06:19:40.686Z] 5851b861e8e6: Verifying Checksum [2023-03-07T06:19:40.686Z] 5851b861e8e6: Download complete [2023-03-07T06:19:41.254Z] bab4dde63d76: Verifying Checksum [2023-03-07T06:19:41.254Z] bab4dde63d76: Download complete [2023-03-07T06:19:41.821Z] b85a868b505f: Pull complete [2023-03-07T06:19:42.080Z] e2be974225ed: Pull complete [2023-03-07T06:19:42.340Z] 339a4e72a1f5: Pull complete [2023-03-07T06:19:42.599Z] 988bab9f4d93: Pull complete [2023-03-07T06:19:42.858Z] 1469e6f7b9e6: Pull complete [2023-03-07T06:19:42.858Z] eaf3925da568: Pull complete [2023-03-07T06:19:44.762Z] bab4dde63d76: Pull complete [2023-03-07T06:19:44.762Z] bde34c3a00c8: Pull complete [2023-03-07T06:19:44.762Z] b352a97aabf1: Pull complete [2023-03-07T06:19:45.022Z] 4872d77fe225: Pull complete [2023-03-07T06:19:45.022Z] 5851b861e8e6: Pull complete [2023-03-07T06:19:45.022Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-07T06:19:45.022Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-07T06:19:45.022Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T06:19:45.110Z] prd-ubuntu20.04-docker-8c-8g-8517 does not seem to be running inside a container [2023-03-07T06:19:45.145Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1364 -v /w/workspace/gexfoundry_device-sdk-go_PR-1364:/w/workspace/gexfoundry_device-sdk-go_PR-1364:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1364@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1364@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-07T06:19:46.577Z] $ docker top dea2e2aa15299a978d78af74847ce08f298c5e010f672ad0c8e58b460d369837 -eo pid,comm [2023-03-07T06:19:46.636Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-03-07T06:19:46.636Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-07T06:19:46.673Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-07T06:19:46.673Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-07T06:19:46.795Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-07T06:19:46.805Z] $ docker exec dea2e2aa15299a978d78af74847ce08f298c5e010f672ad0c8e58b460d369837 ssh-agent [2023-03-07T06:19:46.926Z] SSH_AUTH_SOCK=/tmp/ssh-OYabKAoRwDNx/agent.33 [2023-03-07T06:19:46.926Z] SSH_AGENT_PID=39 [2023-03-07T06:19:46.932Z] Running ssh-add (command line suppressed) [2023-03-07T06:19:47.051Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1364@tmp/private_key_18276554827304107725.key (/w/workspace/gexfoundry_device-sdk-go_PR-1364@tmp/private_key_18276554827304107725.key) [2023-03-07T06:19:47.060Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-07T06:19:47.349Z] + git tag --points-at HEAD [Pipeline] } [2023-03-07T06:19:47.367Z] $ docker exec --env ******** --env ******** dea2e2aa15299a978d78af74847ce08f298c5e010f672ad0c8e58b460d369837 ssh-agent -k [2023-03-07T06:19:47.463Z] unset SSH_AUTH_SOCK; [2023-03-07T06:19:47.464Z] unset SSH_AGENT_PID; [2023-03-07T06:19:47.464Z] echo Agent pid 39 killed; [2023-03-07T06:19:47.468Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-07T06:19:47.494Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-07T06:19:47.494Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-07T06:19:47.614Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-07T06:19:47.623Z] $ docker exec dea2e2aa15299a978d78af74847ce08f298c5e010f672ad0c8e58b460d369837 ssh-agent [2023-03-07T06:19:47.723Z] SSH_AUTH_SOCK=/tmp/ssh-JHjqIobBbtLh/agent.71 [2023-03-07T06:19:47.723Z] SSH_AGENT_PID=77 [2023-03-07T06:19:47.728Z] Running ssh-add (command line suppressed) [2023-03-07T06:19:47.836Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1364@tmp/private_key_3704492759742788671.key (/w/workspace/gexfoundry_device-sdk-go_PR-1364@tmp/private_key_3704492759742788671.key) [2023-03-07T06:19:47.844Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-07T06:19:48.141Z] + git semver init [2023-03-07T06:19:48.401Z] 2023-03-07 06:19:48,335 [run_init] DEBUG init version:0.0.0 force:False [2023-03-07T06:19:48.402Z] 2023-03-07 06:19:48,336 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1364/.semver [2023-03-07T06:19:48.402Z] 2023-03-07 06:19:48,336 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1364/.semver [2023-03-07T06:19:48.402Z] 2023-03-07 06:19:48,336 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1364/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1364, universal_newlines=False, shell=None, istream=None) [2023-03-07T06:19:49.339Z] 2023-03-07 06:19:49,243 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1364/.git/info/exclude [2023-03-07T06:19:49.339Z] 2023-03-07 06:19:49,244 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1364/.semver/PR-1364 with force:False [2023-03-07T06:19:49.339Z] 2023-03-07 06:19:49,244 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1364/.semver/PR-1364 [2023-03-07T06:19:49.339Z] 2023-03-07 06:19:49,248 [execute] INFO git cat-file --batch-check [2023-03-07T06:19:49.339Z] 2023-03-07 06:19:49,249 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1364/.semver, universal_newlines=False, shell=None, istream=) [2023-03-07T06:19:49.339Z] 2023-03-07 06:19:49,256 [execute] INFO git cat-file --batch [2023-03-07T06:19:49.339Z] 2023-03-07 06:19:49,257 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1364/.semver, universal_newlines=False, shell=None, istream=) [2023-03-07T06:19:49.339Z] 2023-03-07 06:19:49,263 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1364/.semver/PR-1364 [2023-03-07T06:19:49.339Z] 0.0.0 [Pipeline] } [2023-03-07T06:19:49.354Z] $ docker exec --env ******** --env ******** dea2e2aa15299a978d78af74847ce08f298c5e010f672ad0c8e58b460d369837 ssh-agent -k [2023-03-07T06:19:49.450Z] unset SSH_AUTH_SOCK; [2023-03-07T06:19:49.451Z] unset SSH_AGENT_PID; [2023-03-07T06:19:49.451Z] echo Agent pid 77 killed; [2023-03-07T06:19:49.454Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-07T06:19:49.762Z] + git semver [Pipeline] } [2023-03-07T06:19:50.039Z] $ docker stop --time=1 dea2e2aa15299a978d78af74847ce08f298c5e010f672ad0c8e58b460d369837 [2023-03-07T06:19:51.360Z] $ docker rm -f --volumes dea2e2aa15299a978d78af74847ce08f298c5e010f672ad0c8e58b460d369837 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-07T06:19:51.695Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-07T06:19:51.906Z] Stashed 1 file(s) [Pipeline] echo [2023-03-07T06:19:51.909Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-07T06:19:52.038Z] provisioning config files... [2023-03-07T06:19:52.048Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1364@tmp/config14892664847946264483tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T06:19:52.305Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8514 in /w/workspace/gexfoundry_device-sdk-go_PR-1364 [Pipeline] { [Pipeline] ws [2023-03-07T06:19:52.318Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2023-03-07T06:19:52.346Z] ---> docker-login.sh [2023-03-07T06:19:52.346Z] nexus3.edgexfoundry.org:10001 [2023-03-07T06:19:52.346Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T06:19:52.346Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T06:19:52.346Z] Configure a credential helper to remove this warning. See [2023-03-07T06:19:52.346Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T06:19:52.346Z] [2023-03-07T06:19:52.346Z] Login Succeeded [2023-03-07T06:19:52.346Z] nexus3.edgexfoundry.org:10002 [2023-03-07T06:19:52.346Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T06:19:52.346Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T06:19:52.346Z] Configure a credential helper to remove this warning. See [2023-03-07T06:19:52.346Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T06:19:52.346Z] [2023-03-07T06:19:52.346Z] Login Succeeded [2023-03-07T06:19:52.346Z] nexus3.edgexfoundry.org:10003 [2023-03-07T06:19:52.356Z] The recommended git tool is: git [2023-03-07T06:19:52.605Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T06:19:52.605Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T06:19:52.605Z] Configure a credential helper to remove this warning. See [2023-03-07T06:19:52.605Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T06:19:52.605Z] [2023-03-07T06:19:52.605Z] Login Succeeded [2023-03-07T06:19:52.605Z] nexus3.edgexfoundry.org:10004 [2023-03-07T06:19:52.605Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T06:19:52.605Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T06:19:52.605Z] Configure a credential helper to remove this warning. See [2023-03-07T06:19:52.605Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T06:19:52.605Z] [2023-03-07T06:19:52.605Z] Login Succeeded [2023-03-07T06:19:52.605Z] docker.io [2023-03-07T06:19:52.864Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T06:19:52.864Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T06:19:52.864Z] Configure a credential helper to remove this warning. See [2023-03-07T06:19:52.864Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T06:19:52.864Z] [2023-03-07T06:19:52.864Z] Login Succeeded [2023-03-07T06:19:52.864Z] ---> docker-login.sh ends [Pipeline] } [2023-03-07T06:19:52.870Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-07T06:19:52.940Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-07T06:19:52.960Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-07T06:19:52.969Z] ========================================================= [2023-03-07T06:19:52.969Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-03-07T06:19:52.969Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T06:19:53.292Z] + 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-03-07T06:19:53.292Z] Sending build context to Docker daemon 10.61MB [2023-03-07T06:19:53.292Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-03-07T06:19:53.292Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-07T06:19:53.292Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-07T06:19:53.293Z] 213ec9aee27d: Pulling fs layer [2023-03-07T06:19:53.293Z] 4583459ba037: Pulling fs layer [2023-03-07T06:19:53.293Z] 93c1e223e6f2: Pulling fs layer [2023-03-07T06:19:53.293Z] 53926ce57604: Pulling fs layer [2023-03-07T06:19:53.293Z] 21b2b0c7a3f4: Pulling fs layer [2023-03-07T06:19:53.293Z] 22ff95d597cd: Pulling fs layer [2023-03-07T06:19:53.293Z] 12d6caf4c0d1: Pulling fs layer [2023-03-07T06:19:53.293Z] 96b7cbca73a9: Pulling fs layer [2023-03-07T06:19:53.293Z] a7acece74701: Pulling fs layer [2023-03-07T06:19:53.293Z] 53926ce57604: Waiting [2023-03-07T06:19:53.293Z] 21b2b0c7a3f4: Waiting [2023-03-07T06:19:53.293Z] 22ff95d597cd: Waiting [2023-03-07T06:19:53.293Z] 12d6caf4c0d1: Waiting [2023-03-07T06:19:53.293Z] a7acece74701: Waiting [2023-03-07T06:19:53.293Z] 96b7cbca73a9: Waiting [2023-03-07T06:19:53.293Z] 93c1e223e6f2: Verifying Checksum [2023-03-07T06:19:53.293Z] 93c1e223e6f2: Download complete [2023-03-07T06:19:53.556Z] 4583459ba037: Download complete [2023-03-07T06:19:53.556Z] 21b2b0c7a3f4: Verifying Checksum [2023-03-07T06:19:53.556Z] 21b2b0c7a3f4: Download complete [2023-03-07T06:19:53.556Z] 22ff95d597cd: Download complete [2023-03-07T06:19:53.556Z] 213ec9aee27d: Download complete [2023-03-07T06:19:53.556Z] 12d6caf4c0d1: Verifying Checksum [2023-03-07T06:19:53.556Z] 12d6caf4c0d1: Download complete [2023-03-07T06:19:53.556Z] 213ec9aee27d: Pull complete [2023-03-07T06:19:54.144Z] 4583459ba037: Pull complete [2023-03-07T06:19:54.144Z] a7acece74701: Verifying Checksum [2023-03-07T06:19:54.144Z] a7acece74701: Download complete [2023-03-07T06:19:54.144Z] 93c1e223e6f2: Pull complete [2023-03-07T06:19:54.402Z] 96b7cbca73a9: Verifying Checksum [2023-03-07T06:19:54.402Z] 96b7cbca73a9: Download complete [2023-03-07T06:19:54.402Z] 53926ce57604: Download complete [2023-03-07T06:19:57.548Z] using credential edgex-jenkins-ssh [2023-03-07T06:19:57.571Z] Cloning the remote Git repository [2023-03-07T06:19:57.621Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-03-07T06:19:57.696Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2023-03-07T06:19:57.853Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-07T06:19:57.854Z] > git --version # timeout=10 [2023-03-07T06:19:57.873Z] > git --version # 'git version 2.25.1' [2023-03-07T06:19:57.875Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-07T06:19:57.933Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-07T06:19:58.587Z] 53926ce57604: Pull complete [2023-03-07T06:19:58.587Z] 21b2b0c7a3f4: Pull complete [2023-03-07T06:19:58.587Z] 22ff95d597cd: Pull complete [2023-03-07T06:19:58.587Z] 12d6caf4c0d1: Pull complete [2023-03-07T06:19:59.637Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-07T06:19:59.660Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-07T06:20:00.684Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-07T06:20:00.743Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-07T06:20:00.744Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-07T06:20:00.763Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1364/head:refs/remotes/origin/PR-1364 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-07T06:20:01.120Z] 96b7cbca73a9: Pull complete [2023-03-07T06:20:01.344Z] Merging remotes/origin/main commit 384d7c5e7ac8081017ff56bc2958a812a210b269 into PR head commit 155ffb9c7c8df0ffa4d80b59379527c9095d3c25 [2023-03-07T06:20:01.601Z] Merge succeeded, producing 155ffb9c7c8df0ffa4d80b59379527c9095d3c25 [2023-03-07T06:20:01.601Z] Checking out Revision 155ffb9c7c8df0ffa4d80b59379527c9095d3c25 (PR-1364) [2023-03-07T06:20:01.687Z] a7acece74701: Pull complete [2023-03-07T06:20:01.687Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-03-07T06:20:01.687Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-07T06:20:01.687Z] ---> db6d94c90886 [2023-03-07T06:20:01.687Z] Step 3/10 : ARG MAKE=make build [2023-03-07T06:20:02.176Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3" [2023-03-07T06:20:01.368Z] > git config core.sparsecheckout # timeout=10 [2023-03-07T06:20:01.394Z] > git checkout -f 155ffb9c7c8df0ffa4d80b59379527c9095d3c25 # timeout=10 [2023-03-07T06:20:01.504Z] > git remote # timeout=10 [2023-03-07T06:20:01.522Z] > git config --get remote.origin.url # timeout=10 [2023-03-07T06:20:01.540Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-07T06:20:01.555Z] > git merge 384d7c5e7ac8081017ff56bc2958a812a210b269 # timeout=10 [2023-03-07T06:20:01.583Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-07T06:20:01.609Z] > git config core.sparsecheckout # timeout=10 [2023-03-07T06:20:01.626Z] > git checkout -f 155ffb9c7c8df0ffa4d80b59379527c9095d3c25 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-07T06:20:03.106Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-07T06:20:03.106Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-07T06:20:03.106Z] Dload Upload Total Spent Left Speed [2023-03-07T06:20:03.106Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 214k 0 --:--:-- --:--:-- --:--:-- 218k [Pipeline] sh [2023-03-07T06:20:03.590Z] ---> Running in 8f9c01b3da58 [2023-03-07T06:20:03.707Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-07T06:20:03.850Z] Removing intermediate container 8f9c01b3da58 [2023-03-07T06:20:03.850Z] ---> 4fb077b829ff [2023-03-07T06:20:03.850Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-07T06:20:03.850Z] ---> Running in 0d30f76eea64 [2023-03-07T06:20:03.850Z] Removing intermediate container 0d30f76eea64 [2023-03-07T06:20:03.850Z] ---> a14da5db295b [2023-03-07T06:20:03.850Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-07T06:20:03.850Z] ---> Running in 3cbd7d8dffec [2023-03-07T06:20:04.058Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-07T06:20:04.058Z] + sudo tee /etc/docker/daemon.new [2023-03-07T06:20:04.058Z] { [2023-03-07T06:20:04.058Z] "registry-mirrors": [ [2023-03-07T06:20:04.058Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-07T06:20:04.058Z] ], [2023-03-07T06:20:04.058Z] "bip": "10.250.0.254/24", [2023-03-07T06:20:04.058Z] "hosts": [ [2023-03-07T06:20:04.058Z] "tcp://0.0.0.0:5555", [2023-03-07T06:20:04.058Z] "unix:///var/run/docker.sock" [2023-03-07T06:20:04.058Z] ], [2023-03-07T06:20:04.058Z] "mtu": 1458, [2023-03-07T06:20:04.058Z] "selinux-enabled": true, [2023-03-07T06:20:04.058Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-07T06:20:04.058Z] } [Pipeline] sh [2023-03-07T06:20:04.108Z] Removing intermediate container 3cbd7d8dffec [2023-03-07T06:20:04.108Z] ---> d9e2b28207ca [2023-03-07T06:20:04.108Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-07T06:20:04.108Z] ---> Running in 6ee0aee8c1e8 [2023-03-07T06:20:04.367Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-07T06:20:04.393Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-07T06:20:04.625Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-07T06:20:04.737Z] + sudo service docker restart [2023-03-07T06:20:04.886Z] OK: 211 MiB in 51 packages [2023-03-07T06:20:05.145Z] Removing intermediate container 6ee0aee8c1e8 [2023-03-07T06:20:05.145Z] ---> b64595001683 [2023-03-07T06:20:05.145Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-07T06:20:05.405Z] ---> 8ef3b9cef800 [2023-03-07T06:20:05.405Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-07T06:20:05.405Z] ---> Running in 829b1f7b2206 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-07T06:20:23.024Z] provisioning config files... [2023-03-07T06:20:23.056Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config2113360083500711989tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T06:20:23.416Z] ---> docker-login.sh [2023-03-07T06:20:23.417Z] nexus3.edgexfoundry.org:10001 [2023-03-07T06:20:24.006Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T06:20:24.006Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T06:20:24.006Z] Configure a credential helper to remove this warning. See [2023-03-07T06:20:24.006Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T06:20:24.006Z] [2023-03-07T06:20:24.006Z] Login Succeeded [2023-03-07T06:20:24.006Z] nexus3.edgexfoundry.org:10002 [2023-03-07T06:20:24.276Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T06:20:24.548Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T06:20:24.548Z] Configure a credential helper to remove this warning. See [2023-03-07T06:20:24.548Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T06:20:24.548Z] [2023-03-07T06:20:24.548Z] Login Succeeded [2023-03-07T06:20:24.548Z] nexus3.edgexfoundry.org:10003 [2023-03-07T06:20:24.819Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T06:20:24.819Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T06:20:24.819Z] Configure a credential helper to remove this warning. See [2023-03-07T06:20:24.819Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T06:20:24.819Z] [2023-03-07T06:20:24.819Z] Login Succeeded [2023-03-07T06:20:24.819Z] nexus3.edgexfoundry.org:10004 [2023-03-07T06:20:25.091Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T06:20:25.364Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T06:20:25.364Z] Configure a credential helper to remove this warning. See [2023-03-07T06:20:25.364Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T06:20:25.364Z] [2023-03-07T06:20:25.364Z] Login Succeeded [2023-03-07T06:20:25.364Z] docker.io [2023-03-07T06:20:25.634Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T06:20:25.905Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T06:20:25.905Z] Configure a credential helper to remove this warning. See [2023-03-07T06:20:25.905Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T06:20:25.905Z] [2023-03-07T06:20:25.905Z] Login Succeeded [2023-03-07T06:20:25.905Z] ---> docker-login.sh ends [Pipeline] } [2023-03-07T06:20:25.920Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-07T06:20:26.201Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-07T06:20:26.218Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-07T06:20:26.230Z] ========================================================= [2023-03-07T06:20:26.230Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-03-07T06:20:26.230Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T06:20:26.581Z] + 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-03-07T06:20:26.850Z] Sending build context to Docker daemon 5.699MB [2023-03-07T06:20:27.121Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-03-07T06:20:27.121Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-07T06:20:27.121Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-07T06:20:27.121Z] 9b18e9b68314: Pulling fs layer [2023-03-07T06:20:27.121Z] 35d82f9e3411: Pulling fs layer [2023-03-07T06:20:27.121Z] e16973657156: Pulling fs layer [2023-03-07T06:20:27.121Z] fc693d55d65f: Pulling fs layer [2023-03-07T06:20:27.121Z] 7e9fc2657dce: Pulling fs layer [2023-03-07T06:20:27.121Z] dda99020689f: Pulling fs layer [2023-03-07T06:20:27.121Z] db1c61fa0a46: Pulling fs layer [2023-03-07T06:20:27.121Z] 891c053d2c06: Pulling fs layer [2023-03-07T06:20:27.121Z] fc693d55d65f: Waiting [2023-03-07T06:20:27.121Z] dda99020689f: Waiting [2023-03-07T06:20:27.121Z] 7e9fc2657dce: Waiting [2023-03-07T06:20:27.121Z] db1c61fa0a46: Waiting [2023-03-07T06:20:27.121Z] 891c053d2c06: Waiting [2023-03-07T06:20:27.121Z] e16973657156: Verifying Checksum [2023-03-07T06:20:27.121Z] e16973657156: Download complete [2023-03-07T06:20:27.121Z] 35d82f9e3411: Verifying Checksum [2023-03-07T06:20:27.121Z] 35d82f9e3411: Download complete [2023-03-07T06:20:27.121Z] 7e9fc2657dce: Verifying Checksum [2023-03-07T06:20:27.121Z] 7e9fc2657dce: Download complete [2023-03-07T06:20:27.121Z] dda99020689f: Verifying Checksum [2023-03-07T06:20:27.121Z] dda99020689f: Download complete [2023-03-07T06:20:27.343Z] Removing intermediate container 829b1f7b2206 [2023-03-07T06:20:27.343Z] ---> 9ec4b257a911 [2023-03-07T06:20:27.343Z] Step 9/10 : COPY . . [2023-03-07T06:20:27.343Z] ---> b8b15594a829 [2023-03-07T06:20:27.343Z] Step 10/10 : RUN ${MAKE} [2023-03-07T06:20:27.343Z] ---> Running in 8309f82c68c5 [2023-03-07T06:20:27.343Z] noop [2023-03-07T06:20:27.343Z] Removing intermediate container 8309f82c68c5 [2023-03-07T06:20:27.343Z] ---> 05c7e4bf82be [2023-03-07T06:20:27.343Z] Successfully built 05c7e4bf82be [2023-03-07T06:20:27.343Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T06:20:27.394Z] 9b18e9b68314: Verifying Checksum [2023-03-07T06:20:27.650Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-07T06:20:27.650Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T06:20:27.733Z] prd-ubuntu20.04-docker-8c-8g-8517 does not seem to be running inside a container [2023-03-07T06:20:27.769Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1364 -v /w/workspace/gexfoundry_device-sdk-go_PR-1364:/w/workspace/gexfoundry_device-sdk-go_PR-1364:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1364@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1364@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-07T06:20:28.174Z] $ docker top c7d75ec9c7d8b9efbd89d83f55b34300789009c7bd2997c2aadfb7d73cbf561d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T06:20:28.363Z] 9b18e9b68314: Pull complete [2023-03-07T06:20:28.363Z] 891c053d2c06: Verifying Checksum [2023-03-07T06:20:28.363Z] 891c053d2c06: Download complete [2023-03-07T06:20:28.506Z] + go version [2023-03-07T06:20:28.506Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-03-07T06:20:28.521Z] $ docker stop --time=1 c7d75ec9c7d8b9efbd89d83f55b34300789009c7bd2997c2aadfb7d73cbf561d [2023-03-07T06:20:28.633Z] 35d82f9e3411: Pull complete [2023-03-07T06:20:29.222Z] e16973657156: Pull complete [2023-03-07T06:20:29.495Z] db1c61fa0a46: Verifying Checksum [2023-03-07T06:20:29.495Z] db1c61fa0a46: Download complete [2023-03-07T06:20:29.791Z] $ docker rm -f --volumes c7d75ec9c7d8b9efbd89d83f55b34300789009c7bd2997c2aadfb7d73cbf561d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T06:20:30.087Z] fc693d55d65f: Verifying Checksum [2023-03-07T06:20:30.087Z] fc693d55d65f: Download complete [2023-03-07T06:20:30.219Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-07T06:20:30.219Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T06:20:30.286Z] prd-ubuntu20.04-docker-8c-8g-8517 does not seem to be running inside a container [2023-03-07T06:20:30.320Z] $ 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-1364 -v /w/workspace/gexfoundry_device-sdk-go_PR-1364:/w/workspace/gexfoundry_device-sdk-go_PR-1364:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1364@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1364@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-07T06:20:30.690Z] $ docker top 7d4ab588779b52433b6de7c7059a2296804171ef542ed88beef144e4d81d1994 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T06:20:31.026Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1364 [Pipeline] fileExists [Pipeline] sh [2023-03-07T06:20:31.317Z] + make test [2023-03-07T06:20:31.317Z] go test -race -coverprofile=coverage.out ./... [2023-03-07T06:20:37.877Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-07T06:20:42.418Z] fc693d55d65f: Pull complete [2023-03-07T06:20:42.419Z] 7e9fc2657dce: Pull complete [2023-03-07T06:20:42.688Z] dda99020689f: Pull complete [2023-03-07T06:20:49.516Z] db1c61fa0a46: Pull complete [2023-03-07T06:20:51.471Z] 891c053d2c06: Pull complete [2023-03-07T06:20:51.471Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-03-07T06:20:51.471Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-07T06:20:51.471Z] ---> f96f9c87975a [2023-03-07T06:20:51.471Z] Step 3/10 : ARG MAKE=make build [2023-03-07T06:20:52.742Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-07T06:20:52.742Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-07T06:20:52.742Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-07T06:20:52.742Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-07T06:20:52.742Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-07T06:20:52.742Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.062s coverage: 27.6% of statements [2023-03-07T06:20:52.742Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.075s coverage: 78.9% of statements [2023-03-07T06:20:52.742Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-03-07T06:20:52.742Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.100s coverage: 86.0% of statements [2023-03-07T06:20:52.742Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-07T06:20:52.742Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-07T06:20:52.742Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.110s coverage: 75.0% of statements [2023-03-07T06:20:52.742Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-07T06:20:53.420Z] ---> Running in 6ac104ab7d01 [2023-03-07T06:20:53.687Z] Removing intermediate container 6ac104ab7d01 [2023-03-07T06:20:53.687Z] ---> c2c813cd2f8c [2023-03-07T06:20:53.687Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-07T06:20:53.687Z] ---> Running in 7efdb915c204 [2023-03-07T06:20:53.957Z] Removing intermediate container 7efdb915c204 [2023-03-07T06:20:53.957Z] ---> f67ae9a5c5d8 [2023-03-07T06:20:53.957Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-07T06:20:54.226Z] ---> Running in 6ae9f4371b01 [2023-03-07T06:20:54.496Z] Removing intermediate container 6ae9f4371b01 [2023-03-07T06:20:54.496Z] ---> a236276edb2c [2023-03-07T06:20:54.496Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-07T06:20:54.496Z] ---> Running in 8d9a3e725935 [2023-03-07T06:20:54.642Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.066s coverage: 15.3% of statements [2023-03-07T06:20:54.642Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-07T06:20:54.642Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.088s coverage: 65.2% of statements [2023-03-07T06:20:54.642Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-07T06:20:54.642Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-07T06:20:54.642Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.737s coverage: 89.2% of statements [2023-03-07T06:20:54.642Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-03-07T06:20:54.642Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.068s coverage: 4.6% of statements [2023-03-07T06:20:54.642Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-07T06:20:55.923Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-07T06:20:55.923Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-07T06:20:56.892Z] OK: 221 MiB in 51 packages [2023-03-07T06:20:57.872Z] Removing intermediate container 8d9a3e725935 [2023-03-07T06:20:57.872Z] ---> 30b6af2fbd4b [2023-03-07T06:20:57.872Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-07T06:20:58.146Z] ---> c760db183dce [2023-03-07T06:20:58.146Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-07T06:20:58.415Z] ---> Running in bba1087fd115 [2023-03-07T06:21:12.721Z] 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-03-07T06:21:12.721Z] GO111MODULE=on go vet ./... [2023-03-07T06:21:12.980Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-07T06:21:13.238Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-07T06:21:13.238Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-07T06:21:13.252Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-07T06:21:13.266Z] $ docker stop --time=1 7d4ab588779b52433b6de7c7059a2296804171ef542ed88beef144e4d81d1994 [2023-03-07T06:21:15.266Z] $ docker rm -f --volumes 7d4ab588779b52433b6de7c7059a2296804171ef542ed88beef144e4d81d1994 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-07T06:21:15.751Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-07T06:21:15.837Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-07T06:21:16.287Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-07T06:21:16.584Z] + ls -al . [2023-03-07T06:21:16.584Z] total 280 [2023-03-07T06:21:16.584Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 7 06:20 . [2023-03-07T06:21:16.584Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 06:19 .. [2023-03-07T06:21:16.584Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 7 06:19 .dockerignore [2023-03-07T06:21:16.584Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 7 06:20 .git [2023-03-07T06:21:16.584Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 06:19 .github [2023-03-07T06:21:16.584Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 7 06:19 .gitignore [2023-03-07T06:21:16.584Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 7 06:19 .golangci.yml [2023-03-07T06:21:16.584Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 7 06:19 .semver [2023-03-07T06:21:16.584Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 7 06:19 CHANGELOG.md [2023-03-07T06:21:16.584Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 7 06:19 GOVERNANCE.md [2023-03-07T06:21:16.584Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 7 06:19 Jenkinsfile [2023-03-07T06:21:16.584Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 7 06:19 LICENSE [2023-03-07T06:21:16.584Z] -rw-rw-r-- 1 jenkins jenkins 1679 Mar 7 06:19 Makefile [2023-03-07T06:21:16.584Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 7 06:19 OWNERS.md [2023-03-07T06:21:16.584Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 7 06:19 README.md [2023-03-07T06:21:16.584Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 7 06:19 VERSION [2023-03-07T06:21:16.584Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 06:19 bin [2023-03-07T06:21:16.584Z] -rw-r--r-- 1 jenkins jenkins 111243 Mar 7 06:20 coverage.out [2023-03-07T06:21:16.584Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 7 06:19 example [2023-03-07T06:21:16.584Z] -rw-rw-r-- 1 jenkins jenkins 3266 Mar 7 06:19 go.mod [2023-03-07T06:21:16.584Z] -rw-rw-r-- 1 jenkins jenkins 30839 Mar 7 06:19 go.sum [2023-03-07T06:21:16.584Z] drwxrwxr-x 13 jenkins jenkins 4096 Mar 7 06:19 internal [2023-03-07T06:21:16.584Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 06:19 openapi [2023-03-07T06:21:16.584Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 7 06:19 pkg [2023-03-07T06:21:16.584Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 06:19 snap [2023-03-07T06:21:16.584Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 7 06:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T06:21:16.928Z] + 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=155ffb9c7c8df0ffa4d80b59379527c9095d3c25 --label arch=amd64 --label version=0.0.0 . [2023-03-07T06:21:16.928Z] Sending build context to Docker daemon 10.72MB [2023-03-07T06:21:16.928Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-03-07T06:21:16.928Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-07T06:21:16.928Z] ---> 05c7e4bf82be [2023-03-07T06:21:16.928Z] Step 3/23 : ARG MAKE=make build [2023-03-07T06:21:16.928Z] ---> Running in 2e4728126d60 [2023-03-07T06:21:17.186Z] Removing intermediate container 2e4728126d60 [2023-03-07T06:21:17.186Z] ---> 63cdf4abfaf1 [2023-03-07T06:21:17.186Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-07T06:21:17.186Z] ---> Running in 9844e50f7227 [2023-03-07T06:21:17.186Z] Removing intermediate container 9844e50f7227 [2023-03-07T06:21:17.186Z] ---> 767dd9da81d6 [2023-03-07T06:21:17.186Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-07T06:21:17.186Z] ---> Running in ad8ad23d74eb [2023-03-07T06:21:17.445Z] Removing intermediate container ad8ad23d74eb [2023-03-07T06:21:17.445Z] ---> 0fe31f4d8c4b [2023-03-07T06:21:17.445Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-07T06:21:17.445Z] ---> Running in 0ee374b80922 [2023-03-07T06:21:17.705Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-07T06:21:17.705Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-07T06:21:17.964Z] OK: 211 MiB in 51 packages [2023-03-07T06:21:18.222Z] Removing intermediate container 0ee374b80922 [2023-03-07T06:21:18.222Z] ---> 96d5c7e1f696 [2023-03-07T06:21:18.222Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-07T06:21:18.480Z] ---> 61af0dee64b1 [2023-03-07T06:21:18.480Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-07T06:21:18.480Z] ---> Running in f5b7ffdf73fa [2023-03-07T06:21:19.443Z] Removing intermediate container f5b7ffdf73fa [2023-03-07T06:21:19.443Z] ---> 3c96d7c180ed [2023-03-07T06:21:19.443Z] Step 9/23 : COPY . . [2023-03-07T06:21:19.701Z] ---> 2ec7a013a222 [2023-03-07T06:21:19.701Z] Step 10/23 : RUN ${MAKE} [2023-03-07T06:21:19.701Z] ---> Running in 2db68c688a74 [2023-03-07T06:21:19.959Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-03-07T06:21:38.033Z] Removing intermediate container 2db68c688a74 [2023-03-07T06:21:38.033Z] ---> f891975d7d4a [2023-03-07T06:21:38.033Z] Step 11/23 : FROM alpine:3.16 [2023-03-07T06:21:38.033Z] 3.16: Pulling from library/alpine [2023-03-07T06:21:38.033Z] ef5531b6e74e: Pulling fs layer [2023-03-07T06:21:38.033Z] ef5531b6e74e: Verifying Checksum [2023-03-07T06:21:38.033Z] ef5531b6e74e: Download complete [2023-03-07T06:21:38.033Z] ef5531b6e74e: Pull complete [2023-03-07T06:21:38.033Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-07T06:21:38.033Z] Status: Downloaded newer image for alpine:3.16 [2023-03-07T06:21:38.033Z] ---> dfd21b5a31f5 [2023-03-07T06:21:38.033Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-07T06:21:38.033Z] ---> Running in dca6b033b58b [2023-03-07T06:21:38.292Z] Removing intermediate container dca6b033b58b [2023-03-07T06:21:38.292Z] ---> e371a031a635 [2023-03-07T06:21:38.292Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-07T06:21:38.292Z] ---> Running in e711e31be3e1 [2023-03-07T06:21:38.552Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-07T06:21:38.552Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-07T06:21:38.811Z] OK: 6 MiB in 14 packages [2023-03-07T06:21:39.379Z] Removing intermediate container e711e31be3e1 [2023-03-07T06:21:39.379Z] ---> e869fe3f8aa3 [2023-03-07T06:21:39.379Z] Step 14/23 : WORKDIR / [2023-03-07T06:21:39.379Z] ---> Running in d88f7b71d33e [2023-03-07T06:21:39.379Z] Removing intermediate container d88f7b71d33e [2023-03-07T06:21:39.379Z] ---> ec14f329ccff [2023-03-07T06:21:39.379Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-07T06:21:39.639Z] ---> a7ae5374e53c [2023-03-07T06:21:39.639Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-07T06:21:40.206Z] ---> a99dbece1b79 [2023-03-07T06:21:40.206Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-07T06:21:40.206Z] ---> 1d4f83ac4694 [2023-03-07T06:21:40.206Z] Step 18/23 : EXPOSE 59999 [2023-03-07T06:21:40.206Z] ---> Running in 894161e7b3e0 [2023-03-07T06:21:40.206Z] Removing intermediate container 894161e7b3e0 [2023-03-07T06:21:40.206Z] ---> 1f7e5ba7fe7d [2023-03-07T06:21:40.206Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-07T06:21:40.206Z] ---> Running in 49c03ba01bad [2023-03-07T06:21:40.466Z] Removing intermediate container 49c03ba01bad [2023-03-07T06:21:40.466Z] ---> f1f56cc80a55 [2023-03-07T06:21:40.466Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-07T06:21:40.466Z] ---> Running in 9c65d17b2b87 [2023-03-07T06:21:40.466Z] Removing intermediate container 9c65d17b2b87 [2023-03-07T06:21:40.466Z] ---> 6ddc8d0077f2 [2023-03-07T06:21:40.466Z] Step 21/23 : LABEL arch=amd64 [2023-03-07T06:21:40.466Z] ---> Running in 13988cfcac63 [2023-03-07T06:21:40.725Z] Removing intermediate container 13988cfcac63 [2023-03-07T06:21:40.725Z] ---> d8994c45a594 [2023-03-07T06:21:40.725Z] Step 22/23 : LABEL git_sha=155ffb9c7c8df0ffa4d80b59379527c9095d3c25 [2023-03-07T06:21:40.725Z] ---> Running in 37f5e3ae05aa [2023-03-07T06:21:40.725Z] Removing intermediate container 37f5e3ae05aa [2023-03-07T06:21:40.725Z] ---> 6884b4d1c240 [2023-03-07T06:21:40.725Z] Step 23/23 : LABEL version=0.0.0 [2023-03-07T06:21:40.725Z] ---> Running in 2021a72fd307 [2023-03-07T06:21:40.725Z] Removing intermediate container 2021a72fd307 [2023-03-07T06:21:40.725Z] ---> 4724f560760e [2023-03-07T06:21:40.725Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-07T06:21:40.725Z] Successfully built 4724f560760e [2023-03-07T06:21:40.983Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T06:21:41.413Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-07T06:21:41.414Z] [2023-03-07T06:21:41.414Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T06:21:41.707Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-07T06:21:42.642Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-07T06:21:42.642Z] 5eb5b503b376: Pulling fs layer [2023-03-07T06:21:42.642Z] 5c69ac0246d0: Pulling fs layer [2023-03-07T06:21:42.642Z] ec43610c2a17: Pulling fs layer [2023-03-07T06:21:42.642Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-07T06:21:42.642Z] 33b1e0a273af: Pulling fs layer [2023-03-07T06:21:42.642Z] 5d3b04190fa2: Pulling fs layer [2023-03-07T06:21:42.642Z] 2f39f015ded8: Pulling fs layer [2023-03-07T06:21:42.642Z] 3a2ae6a8a46f: Waiting [2023-03-07T06:21:42.642Z] 33b1e0a273af: Waiting [2023-03-07T06:21:42.642Z] 5d3b04190fa2: Waiting [2023-03-07T06:21:42.642Z] 2f39f015ded8: Waiting [2023-03-07T06:21:42.642Z] 5c69ac0246d0: Download complete [2023-03-07T06:21:42.642Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-07T06:21:42.642Z] 3a2ae6a8a46f: Download complete [2023-03-07T06:21:42.642Z] 33b1e0a273af: Verifying Checksum [2023-03-07T06:21:42.642Z] 33b1e0a273af: Download complete [2023-03-07T06:21:42.642Z] 5d3b04190fa2: Verifying Checksum [2023-03-07T06:21:42.642Z] 5d3b04190fa2: Download complete [2023-03-07T06:21:42.642Z] ec43610c2a17: Verifying Checksum [2023-03-07T06:21:42.642Z] ec43610c2a17: Download complete [2023-03-07T06:21:42.900Z] 5eb5b503b376: Verifying Checksum [2023-03-07T06:21:42.900Z] 5eb5b503b376: Download complete [2023-03-07T06:21:43.466Z] 2f39f015ded8: Download complete [2023-03-07T06:21:44.032Z] 5eb5b503b376: Pull complete [2023-03-07T06:21:44.032Z] 5c69ac0246d0: Pull complete [2023-03-07T06:21:44.289Z] ec43610c2a17: Pull complete [2023-03-07T06:21:44.289Z] 3a2ae6a8a46f: Pull complete [2023-03-07T06:21:44.547Z] 33b1e0a273af: Pull complete [2023-03-07T06:21:44.547Z] 5d3b04190fa2: Pull complete [2023-03-07T06:21:48.731Z] 2f39f015ded8: Pull complete [2023-03-07T06:21:48.731Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-07T06:21:48.731Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-07T06:21:48.731Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T06:21:48.805Z] prd-ubuntu20.04-docker-8c-8g-8517 does not seem to be running inside a container [2023-03-07T06:21:48.836Z] $ 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-1364 -v /w/workspace/gexfoundry_device-sdk-go_PR-1364:/w/workspace/gexfoundry_device-sdk-go_PR-1364:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1364@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1364@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-07T06:21:50.515Z] $ docker top 3f199e27054de2cc8afa24f43a5a13242bb5984da325d54bcbe4c45b8c3177ca -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T06:21:50.913Z] ---> job-cost.sh [2023-03-07T06:21:50.913Z] lf-activate-venv: SKIPPING [2023-03-07T06:21:50.913Z] INFO: No Stack... [2023-03-07T06:21:51.171Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-07T06:21:51.430Z] INFO: Archiving Costs [Pipeline] sh [2023-03-07T06:21:51.721Z] + cut+ -d, -f6 [2023-03-07T06:21:51.721Z] cat /w/workspace/gexfoundry_device-sdk-go_PR-1364/archives/cost.csv [Pipeline] lock [2023-03-07T06:21:51.737Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1364-3-stack-cost] [2023-03-07T06:21:51.743Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1364-3-stack-cost] did not exist. Created. [2023-03-07T06:21:51.743Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1364-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-07T06:21:52.046Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-07T06:21:52.075Z] Stashed 1 file(s) [Pipeline] } [2023-03-07T06:21:52.081Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1364-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-07T06:21:52.103Z] $ docker stop --time=1 3f199e27054de2cc8afa24f43a5a13242bb5984da325d54bcbe4c45b8c3177ca [2023-03-07T06:21:53.246Z] $ docker rm -f --volumes 3f199e27054de2cc8afa24f43a5a13242bb5984da325d54bcbe4c45b8c3177ca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-07T06:22:06.343Z] Removing intermediate container bba1087fd115 [2023-03-07T06:22:06.343Z] ---> e2b666c06ca6 [2023-03-07T06:22:06.343Z] Step 9/10 : COPY . . [2023-03-07T06:22:06.343Z] ---> b4091ad80464 [2023-03-07T06:22:06.343Z] Step 10/10 : RUN ${MAKE} [2023-03-07T06:22:06.343Z] ---> Running in 3ee52097587f [2023-03-07T06:22:06.343Z] noop [2023-03-07T06:22:06.343Z] Removing intermediate container 3ee52097587f [2023-03-07T06:22:06.343Z] ---> 695786b21a1a [2023-03-07T06:22:06.343Z] Successfully built 695786b21a1a [2023-03-07T06:22:06.343Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T06:22:06.686Z] + docker inspect -f . ci-base-image-arm64 [2023-03-07T06:22:06.686Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T06:22:06.888Z] prd-ubuntu20.04-docker-arm64-4c-16g-8514 does not seem to be running inside a container [2023-03-07T06:22:06.962Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-07T06:22:08.178Z] $ docker top 3a180b27802d31976b2b7aa49ac23baff1169c4242818b0fb47603fddddce1e0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T06:22:09.010Z] + go version [2023-03-07T06:22:09.010Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-03-07T06:22:09.033Z] $ docker stop --time=1 3a180b27802d31976b2b7aa49ac23baff1169c4242818b0fb47603fddddce1e0 [2023-03-07T06:22:10.639Z] $ docker rm -f --volumes 3a180b27802d31976b2b7aa49ac23baff1169c4242818b0fb47603fddddce1e0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T06:22:11.190Z] + docker inspect -f . ci-base-image-arm64 [2023-03-07T06:22:11.190Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T06:22:11.373Z] prd-ubuntu20.04-docker-arm64-4c-16g-8514 does not seem to be running inside a container [2023-03-07T06:22:11.446Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-07T06:22:12.656Z] $ docker top 7a981bf0e7a953069c9bf59cb0cea9edc807116147d25816d38f0a246b1076d3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T06:22:13.498Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/3 [Pipeline] fileExists [Pipeline] sh [2023-03-07T06:22:14.149Z] + make test [2023-03-07T06:22:14.149Z] go test -race -coverprofile=coverage.out ./... [2023-03-07T06:22:46.388Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-07T06:24:38.065Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-07T06:24:38.065Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-07T06:24:38.065Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-07T06:24:38.065Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-07T06:24:38.065Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-07T06:24:38.065Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.294s coverage: 27.6% of statements [2023-03-07T06:24:38.065Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.277s coverage: 78.9% of statements [2023-03-07T06:24:38.065Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-03-07T06:24:42.318Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.398s coverage: 86.0% of statements [2023-03-07T06:24:42.318Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-07T06:24:42.318Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-07T06:24:44.261Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.534s coverage: 75.0% of statements [2023-03-07T06:24:44.261Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-07T06:24:44.261Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.293s coverage: 15.3% of statements [2023-03-07T06:24:44.261Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-07T06:24:45.669Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.461s coverage: 65.2% of statements [2023-03-07T06:24:45.669Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-07T06:24:45.669Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-07T06:24:49.927Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 2.978s coverage: 89.2% of statements [2023-03-07T06:24:49.927Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-03-07T06:24:49.927Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.254s coverage: 4.6% of statements [2023-03-07T06:24:49.927Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-07T06:24:50.513Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-07T06:24:50.513Z] GO111MODULE=on go vet ./... [2023-03-07T06:26:27.165Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-07T06:26:27.165Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-07T06:26:27.165Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-07T06:26:27.186Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-07T06:26:27.205Z] $ docker stop --time=1 7a981bf0e7a953069c9bf59cb0cea9edc807116147d25816d38f0a246b1076d3 [2023-03-07T06:26:29.053Z] $ docker rm -f --volumes 7a981bf0e7a953069c9bf59cb0cea9edc807116147d25816d38f0a246b1076d3 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-07T06:26:30.463Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-07T06:26:30.489Z] Warning: overwriting stash ‘coverage-report’ [2023-03-07T06:26:31.090Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-07T06:26:31.458Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-07T06:26:31.775Z] + ls -al . [2023-03-07T06:26:31.775Z] total 276 [2023-03-07T06:26:31.775Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 7 06:22 . [2023-03-07T06:26:31.775Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 06:19 .. [2023-03-07T06:26:31.775Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 7 06:20 .dockerignore [2023-03-07T06:26:31.775Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 7 06:20 .git [2023-03-07T06:26:31.775Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 06:20 .github [2023-03-07T06:26:31.775Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 7 06:20 .gitignore [2023-03-07T06:26:31.775Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 7 06:20 .golangci.yml [2023-03-07T06:26:31.775Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 7 06:20 CHANGELOG.md [2023-03-07T06:26:31.775Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 7 06:20 GOVERNANCE.md [2023-03-07T06:26:31.775Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 7 06:20 Jenkinsfile [2023-03-07T06:26:31.775Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 7 06:20 LICENSE [2023-03-07T06:26:31.775Z] -rw-rw-r-- 1 jenkins jenkins 1679 Mar 7 06:20 Makefile [2023-03-07T06:26:31.775Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 7 06:20 OWNERS.md [2023-03-07T06:26:31.775Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 7 06:20 README.md [2023-03-07T06:26:31.775Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 7 06:19 VERSION [2023-03-07T06:26:31.775Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 06:20 bin [2023-03-07T06:26:31.775Z] -rw-r--r-- 1 jenkins jenkins 111244 Mar 7 06:24 coverage.out [2023-03-07T06:26:31.775Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 7 06:20 example [2023-03-07T06:26:31.775Z] -rw-rw-r-- 1 jenkins jenkins 3266 Mar 7 06:20 go.mod [2023-03-07T06:26:31.775Z] -rw-rw-r-- 1 jenkins jenkins 30839 Mar 7 06:20 go.sum [2023-03-07T06:26:31.775Z] drwxrwxr-x 13 jenkins jenkins 4096 Mar 7 06:20 internal [2023-03-07T06:26:31.775Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 06:20 openapi [2023-03-07T06:26:31.775Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 7 06:20 pkg [2023-03-07T06:26:31.775Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 06:20 snap [2023-03-07T06:26:31.775Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 7 06:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T06:26:32.109Z] + 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=155ffb9c7c8df0ffa4d80b59379527c9095d3c25 --label arch=arm64 --label version=0.0.0 . [2023-03-07T06:26:32.698Z] Sending build context to Docker daemon 5.811MB [2023-03-07T06:26:32.698Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-03-07T06:26:32.698Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-07T06:26:32.698Z] ---> 695786b21a1a [2023-03-07T06:26:32.698Z] Step 3/23 : ARG MAKE=make build [2023-03-07T06:26:32.698Z] ---> Running in f276e625690f [2023-03-07T06:26:32.974Z] Removing intermediate container f276e625690f [2023-03-07T06:26:32.974Z] ---> 7d3af0004573 [2023-03-07T06:26:32.974Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-07T06:26:33.241Z] ---> Running in d92268aae4d2 [2023-03-07T06:26:33.508Z] Removing intermediate container d92268aae4d2 [2023-03-07T06:26:33.508Z] ---> 7321a633fa5d [2023-03-07T06:26:33.508Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-07T06:26:33.508Z] ---> Running in 2b3b3a3b860c [2023-03-07T06:26:33.786Z] Removing intermediate container 2b3b3a3b860c [2023-03-07T06:26:33.786Z] ---> c4a4738e3666 [2023-03-07T06:26:33.786Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-07T06:26:33.786Z] ---> Running in b426c3e8705a [2023-03-07T06:26:35.206Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-07T06:26:35.206Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-07T06:26:36.169Z] OK: 221 MiB in 51 packages [2023-03-07T06:26:37.136Z] Removing intermediate container b426c3e8705a [2023-03-07T06:26:37.136Z] ---> b700a291f1f8 [2023-03-07T06:26:37.136Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-07T06:26:37.725Z] ---> b01e166d745d [2023-03-07T06:26:37.725Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-07T06:26:37.725Z] ---> Running in 6c3ad10b6124 [2023-03-07T06:26:40.309Z] Removing intermediate container 6c3ad10b6124 [2023-03-07T06:26:40.309Z] ---> 323c3a15235d [2023-03-07T06:26:40.309Z] Step 9/23 : COPY . . [2023-03-07T06:26:41.725Z] ---> 76c60d51680d [2023-03-07T06:26:41.725Z] Step 10/23 : RUN ${MAKE} [2023-03-07T06:26:41.725Z] ---> Running in ae95f9c82e91 [2023-03-07T06:26:42.691Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-03-07T06:28:49.362Z] Removing intermediate container ae95f9c82e91 [2023-03-07T06:28:49.362Z] ---> 6f16346b98c6 [2023-03-07T06:28:49.362Z] Step 11/23 : FROM alpine:3.16 [2023-03-07T06:28:49.362Z] 3.16: Pulling from library/alpine [2023-03-07T06:28:49.362Z] 3760b48202b3: Pulling fs layer [2023-03-07T06:28:49.362Z] 3760b48202b3: Verifying Checksum [2023-03-07T06:28:49.362Z] 3760b48202b3: Download complete [2023-03-07T06:28:49.362Z] 3760b48202b3: Pull complete [2023-03-07T06:28:49.362Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-07T06:28:49.362Z] Status: Downloaded newer image for alpine:3.16 [2023-03-07T06:28:49.362Z] ---> 4c81e5bf8899 [2023-03-07T06:28:49.362Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-07T06:28:49.362Z] ---> Running in 5613e447aa26 [2023-03-07T06:28:49.362Z] Removing intermediate container 5613e447aa26 [2023-03-07T06:28:49.362Z] ---> 3f3759075200 [2023-03-07T06:28:49.362Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-07T06:28:49.362Z] ---> Running in 59e376f265e4 [2023-03-07T06:28:49.362Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-07T06:28:49.362Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-07T06:28:49.362Z] OK: 5 MiB in 14 packages [2023-03-07T06:28:49.362Z] Removing intermediate container 59e376f265e4 [2023-03-07T06:28:49.362Z] ---> 0bbefdb99aba [2023-03-07T06:28:49.362Z] Step 14/23 : WORKDIR / [2023-03-07T06:28:49.362Z] ---> Running in 41c0bd1e51f7 [2023-03-07T06:28:49.362Z] Removing intermediate container 41c0bd1e51f7 [2023-03-07T06:28:49.362Z] ---> 396d58c1b4f1 [2023-03-07T06:28:49.362Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-07T06:28:49.362Z] ---> 8fb4e24d74fd [2023-03-07T06:28:49.362Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-07T06:28:49.362Z] ---> bf0a3cf55890 [2023-03-07T06:28:49.362Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-07T06:28:49.362Z] ---> b49b519b09d8 [2023-03-07T06:28:49.362Z] Step 18/23 : EXPOSE 59999 [2023-03-07T06:28:49.362Z] ---> Running in 84289d4af70f [2023-03-07T06:28:49.362Z] Removing intermediate container 84289d4af70f [2023-03-07T06:28:49.362Z] ---> 8a46c497c93e [2023-03-07T06:28:49.362Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-07T06:28:49.362Z] ---> Running in a876c33fcb28 [2023-03-07T06:28:49.362Z] Removing intermediate container a876c33fcb28 [2023-03-07T06:28:49.362Z] ---> 625e8af6c5f4 [2023-03-07T06:28:49.362Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-07T06:28:49.362Z] ---> Running in 48c570971d5a [2023-03-07T06:28:49.635Z] Removing intermediate container 48c570971d5a [2023-03-07T06:28:49.635Z] ---> bac37130465b [2023-03-07T06:28:49.635Z] Step 21/23 : LABEL arch=arm64 [2023-03-07T06:28:49.635Z] ---> Running in 6375f76d8c52 [2023-03-07T06:28:49.904Z] Removing intermediate container 6375f76d8c52 [2023-03-07T06:28:49.904Z] ---> 6eadff6800b7 [2023-03-07T06:28:49.904Z] Step 22/23 : LABEL git_sha=155ffb9c7c8df0ffa4d80b59379527c9095d3c25 [2023-03-07T06:28:49.904Z] ---> Running in 27efeb13f836 [2023-03-07T06:28:50.172Z] Removing intermediate container 27efeb13f836 [2023-03-07T06:28:50.172Z] ---> 3a179372b01d [2023-03-07T06:28:50.172Z] Step 23/23 : LABEL version=0.0.0 [2023-03-07T06:28:50.442Z] ---> Running in e28bfd5abae0 [2023-03-07T06:28:50.442Z] Removing intermediate container e28bfd5abae0 [2023-03-07T06:28:50.442Z] ---> 9273055e8bba [2023-03-07T06:28:50.442Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-07T06:28:50.708Z] Successfully built 9273055e8bba [2023-03-07T06:28:50.708Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T06:28:51.137Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-07T06:28:51.137Z] [2023-03-07T06:28:51.137Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T06:28:51.474Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-07T06:28:51.474Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-07T06:28:51.474Z] 8998bd30e6a1: Pulling fs layer [2023-03-07T06:28:51.474Z] 04944245beec: Pulling fs layer [2023-03-07T06:28:51.474Z] 699f458cf7ca: Pulling fs layer [2023-03-07T06:28:51.474Z] 765212b225bb: Pulling fs layer [2023-03-07T06:28:51.474Z] f23df028b6ca: Pulling fs layer [2023-03-07T06:28:51.474Z] d65c8cfc05b1: Pulling fs layer [2023-03-07T06:28:51.474Z] 2437ff75d9bd: Pulling fs layer [2023-03-07T06:28:51.474Z] 765212b225bb: Waiting [2023-03-07T06:28:51.474Z] f23df028b6ca: Waiting [2023-03-07T06:28:51.474Z] d65c8cfc05b1: Waiting [2023-03-07T06:28:51.474Z] 2437ff75d9bd: Waiting [2023-03-07T06:28:51.744Z] 04944245beec: Verifying Checksum [2023-03-07T06:28:51.744Z] 04944245beec: Download complete [2023-03-07T06:28:51.744Z] 765212b225bb: Verifying Checksum [2023-03-07T06:28:51.744Z] 765212b225bb: Download complete [2023-03-07T06:28:51.744Z] f23df028b6ca: Verifying Checksum [2023-03-07T06:28:51.744Z] f23df028b6ca: Download complete [2023-03-07T06:28:51.744Z] d65c8cfc05b1: Verifying Checksum [2023-03-07T06:28:51.744Z] d65c8cfc05b1: Download complete [2023-03-07T06:28:52.012Z] 699f458cf7ca: Verifying Checksum [2023-03-07T06:28:52.012Z] 699f458cf7ca: Download complete [2023-03-07T06:28:52.282Z] 8998bd30e6a1: Verifying Checksum [2023-03-07T06:28:52.282Z] 8998bd30e6a1: Download complete [2023-03-07T06:28:55.083Z] 2437ff75d9bd: Download complete [2023-03-07T06:28:56.523Z] 8998bd30e6a1: Pull complete [2023-03-07T06:28:57.109Z] 04944245beec: Pull complete [2023-03-07T06:28:58.519Z] 699f458cf7ca: Pull complete [2023-03-07T06:28:59.479Z] 765212b225bb: Pull complete [2023-03-07T06:29:00.063Z] f23df028b6ca: Pull complete [2023-03-07T06:29:00.331Z] d65c8cfc05b1: Pull complete [2023-03-07T06:29:15.323Z] 2437ff75d9bd: Pull complete [2023-03-07T06:29:15.323Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-07T06:29:15.323Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-07T06:29:15.323Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T06:29:15.523Z] prd-ubuntu20.04-docker-arm64-4c-16g-8514 does not seem to be running inside a container [2023-03-07T06:29:15.593Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-07T06:29:18.094Z] $ docker top be1526aed6154a74f895d8d8cf4e6d2a68d3a0db15efa3b4ac0fa626595da553 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T06:29:18.922Z] ---> job-cost.sh [2023-03-07T06:29:18.922Z] lf-activate-venv: SKIPPING [2023-03-07T06:29:18.922Z] INFO: No Stack... [2023-03-07T06:29:19.502Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-07T06:29:20.081Z] INFO: Archiving Costs [Pipeline] sh [2023-03-07T06:29:20.722Z] + cut -d, -f6 [2023-03-07T06:29:20.722Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [Pipeline] lock [2023-03-07T06:29:20.790Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1364-3-stack-cost] [2023-03-07T06:29:20.799Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1364-3-stack-cost] did not exist. Created. [2023-03-07T06:29:20.799Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1364-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-07T06:29:21.456Z] /w/workspace/device-sdk-go/3@tmp/durable-2816e5bb/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-07T06:29:21.792Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-07T06:29:21.816Z] Warning: overwriting stash ‘stack-cost’ [2023-03-07T06:29:21.879Z] Stashed 1 file(s) [Pipeline] } [2023-03-07T06:29:21.884Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1364-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-07T06:29:21.906Z] $ docker stop --time=1 be1526aed6154a74f895d8d8cf4e6d2a68d3a0db15efa3b4ac0fa626595da553 [2023-03-07T06:29:25.605Z] $ docker rm -f --volumes be1526aed6154a74f895d8d8cf4e6d2a68d3a0db15efa3b4ac0fa626595da553 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-03-07T06:29:25.992Z] provisioning config files... [2023-03-07T06:29:25.999Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1364@tmp/config13892960273779314251tmp [Pipeline] { [Pipeline] sh [2023-03-07T06:29:26.288Z] + set +x [2023-03-07T06:29:26.288Z] + curl -s https://codecov.io/bash [2023-03-07T06:29:26.288Z] + bash -s -- [2023-03-07T06:29:26.288Z] [2023-03-07T06:29:26.288Z] _____ _ [2023-03-07T06:29:26.288Z] / ____| | | [2023-03-07T06:29:26.288Z] | | ___ __| | ___ ___ _____ __ [2023-03-07T06:29:26.288Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-07T06:29:26.288Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-07T06:29:26.288Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-07T06:29:26.288Z] Bash-1.0.6 [2023-03-07T06:29:26.288Z] [2023-03-07T06:29:26.288Z] [2023-03-07T06:29:26.288Z] ==> git version 2.25.1 found [2023-03-07T06:29:26.288Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-03-07T06:29:26.288Z] Release-Date: 2020-01-08 [2023-03-07T06:29:26.288Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-03-07T06:29:26.288Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-07T06:29:26.288Z] ==> Jenkins CI detected. [2023-03-07T06:29:26.288Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1364 [2023-03-07T06:29:26.288Z] project root: . [2023-03-07T06:29:26.288Z] --> token set from env [2023-03-07T06:29:26.288Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-07T06:29:26.288Z] ==> Running gcov in . (disable via -X gcov) [2023-03-07T06:29:26.288Z] ==> Python coveragepy not found [2023-03-07T06:29:26.288Z] ==> Searching for coverage reports in: [2023-03-07T06:29:26.288Z] + . [2023-03-07T06:29:26.288Z] -> Found 1 reports [2023-03-07T06:29:26.288Z] ==> Detecting git/mercurial file structure [2023-03-07T06:29:26.288Z] ==> Reading reports [2023-03-07T06:29:26.288Z] + ./coverage.out bytes=111244 [2023-03-07T06:29:26.288Z] ==> Appending adjustments [2023-03-07T06:29:26.288Z] https://docs.codecov.io/docs/fixing-reports [2023-03-07T06:29:26.547Z] + Found adjustments [2023-03-07T06:29:26.547Z] ==> Gzipping contents [2023-03-07T06:29:26.547Z] 16K /tmp/codecov.WBxmjm.gz [2023-03-07T06:29:26.547Z] ==> Uploading reports [2023-03-07T06:29:26.547Z] url: https://codecov.io [2023-03-07T06:29:26.547Z] query: branch=PR-1364&commit=155ffb9c7c8df0ffa4d80b59379527c9095d3c25&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1364%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1364&job=&cmd_args= [2023-03-07T06:29:26.547Z] -> Pinging Codecov [2023-03-07T06:29:26.547Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1364&commit=155ffb9c7c8df0ffa4d80b59379527c9095d3c25&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1364%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1364&job=&cmd_args= [2023-03-07T06:29:26.806Z] -> Uploading to [2023-03-07T06:29:26.806Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-07/7E55EF52A471D76F132DFD9A03CDDE97/155ffb9c7c8df0ffa4d80b59379527c9095d3c25/0ded55c4-eb46-4ce7-876d-e9b6df0d188a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230307%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230307T062926Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=bad4ba8f5d50e2c7a8303ad326afa70b460b268565e180484d6a3227d25c62eb [2023-03-07T06:29:26.806Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-07T06:29:26.806Z] Dload Upload Total Spent Left Speed [2023-03-07T06:29:27.066Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15403 0 0 100 15403 0 57260 --:--:-- --:--:-- --:--:-- 57260 [2023-03-07T06:29:27.066Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/155ffb9c7c8df0ffa4d80b59379527c9095d3c25 [Pipeline] } [2023-03-07T06:29:27.073Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-03-07T06:29:27.805Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1364/archives ] [2023-03-07T06:29:27.805Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1364/archives [2023-03-07T06:29:27.805Z] total 16 [2023-03-07T06:29:27.805Z] drwxr-xr-x 3 root root 4096 Mar 7 06:21 . [2023-03-07T06:29:27.805Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 7 06:21 .. [2023-03-07T06:29:27.805Z] drwxr-xr-x 2 root root 4096 Mar 7 06:21 cost [2023-03-07T06:29:27.805Z] -rw-r--r-- 1 root root 86 Mar 7 06:21 cost.csv [2023-03-07T06:29:27.805Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1364/archives [2023-03-07T06:29:27.805Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1364/archives [2023-03-07T06:29:27.805Z] total 16 [2023-03-07T06:29:27.805Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 7 06:21 . [2023-03-07T06:29:27.805Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 7 06:21 .. [2023-03-07T06:29:27.805Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 7 06:21 cost [2023-03-07T06:29:27.805Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 7 06:21 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-07T06:29:28.092Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T06:29:28.943Z] ---> package-listing.sh [2023-03-07T06:29:28.943Z] ++ facter osfamily [2023-03-07T06:29:28.943Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-07T06:29:29.200Z] + OS_FAMILY=debian [2023-03-07T06:29:29.200Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1364 [2023-03-07T06:29:29.200Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-07T06:29:29.200Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-07T06:29:29.200Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-07T06:29:29.200Z] + PACKAGES=/tmp/packages_start.txt [2023-03-07T06:29:29.200Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1364 ']' [2023-03-07T06:29:29.200Z] + PACKAGES=/tmp/packages_end.txt [2023-03-07T06:29:29.200Z] + case "${OS_FAMILY}" in [2023-03-07T06:29:29.200Z] + dpkg -l [2023-03-07T06:29:29.200Z] + grep '^ii' [2023-03-07T06:29:29.200Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-07T06:29:29.200Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-07T06:29:29.200Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-07T06:29:29.200Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1364 ']' [2023-03-07T06:29:29.200Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1364/archives/ [2023-03-07T06:29:29.200Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1364/archives/ [Pipeline] echo [2023-03-07T06:29:29.211Z] 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-1364/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-07T06:29:29.485Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T06:29:30.045Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-07T06:29:30.045Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T06:29:30.112Z] prd-ubuntu20.04-docker-8c-8g-8517 does not seem to be running inside a container [2023-03-07T06:29:30.138Z] $ 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-1364/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-1364 -v /w/workspace/gexfoundry_device-sdk-go_PR-1364:/w/workspace/gexfoundry_device-sdk-go_PR-1364:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1364@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1364@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-03-07T06:29:30.338Z] $ docker top 16ba133b2735fe14894ee96aafaf58bd30cd276ba52ff67473fe6cc25eb4a5e2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T06:29:30.670Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-07T06:29:30.961Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-07T06:29:31.246Z] + ls /var/log/sa-host [2023-03-07T06:29:31.246Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-07T06:29:31.313Z] provisioning config files... [2023-03-07T06:29:31.320Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1364@tmp/config10220019970946862137tmp [Pipeline] { [Pipeline] echo [2023-03-07T06:29:31.341Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T06:29:31.621Z] ---> create-netrc.sh [Pipeline] } [2023-03-07T06:29:31.630Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-07T06:29:31.962Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-07T06:29:31.969Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T06:29:32.246Z] ---> sudo-logs.sh [2023-03-07T06:29:32.247Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-07T06:29:32.273Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T06:29:32.554Z] ---> job-cost.sh [2023-03-07T06:29:32.554Z] lf-activate-venv: SKIPPING [2023-03-07T06:29:32.554Z] DEBUG: total: 0.2199999988079071 [2023-03-07T06:29:32.554Z] INFO: Retrieving Stack Cost... [2023-03-07T06:29:33.121Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-07T06:29:33.379Z] INFO: Archiving Costs [Pipeline] echo [2023-03-07T06:29:33.393Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T06:29:33.675Z] ---> logs-deploy.sh [2023-03-07T06:29:33.675Z] lf-activate-venv: SKIPPING [2023-03-07T06:29:33.675Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1364/3 [2023-03-07T06:29:33.675Z] INFO: archiving workspace using pattern(s): [2023-03-07T06:29:34.610Z] Archives upload complete. [2023-03-07T06:29:34.610Z] INFO: archiving logs to Nexus