Pull request #1298 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of vli11 for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 89d807d8113b45d5cd8e97f478743d732b99a48e+881f10918eb4e60f546b60d89ac5bea6bad2c109 (ea0eb7524d701dd5cd715901c430153cd0d50a5e) 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-ssh17452601629247622006.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-ssh10901270523334274413.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-1298/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-1298/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12354180186391510746.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-ssh5531217446161092011.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-1298/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-1298/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17496456631746888229.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/v2]] ========================================================= [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/v2 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-4305 in /w/workspace/gexfoundry_device-sdk-go_PR-1298 [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-1298 # 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/1298/head:refs/remotes/origin/PR-1298 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 881f10918eb4e60f546b60d89ac5bea6bad2c109 into PR head commit 89d807d8113b45d5cd8e97f478743d732b99a48e Merge succeeded, producing 89d807d8113b45d5cd8e97f478743d732b99a48e Checking out Revision 89d807d8113b45d5cd8e97f478743d732b99a48e (PR-1298) > git config core.sparsecheckout # timeout=10 > git checkout -f 89d807d8113b45d5cd8e97f478743d732b99a48e # 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 881f10918eb4e60f546b60d89ac5bea6bad2c109 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 89d807d8113b45d5cd8e97f478743d732b99a48e # timeout=10 Commit message: "feat!: Remove old metrics collection and REST/metrics endpoint" First time build. Skipping changelog. > git rev-list --no-walk 024580853e531fb3d006e68d62fe459063a19404 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-01T23:23:20.617Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-01T23:23:20.659Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-01T23:23:20.670Z] ========================================================= [2023-02-01T23:23:20.670Z] EdgeX Global Pipelines Version Info [2023-02-01T23:23:20.670Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-01T23:23:21.369Z] ------------------- [2023-02-01T23:23:21.369Z] stable info: [2023-02-01T23:23:21.369Z] ------------------- [2023-02-01T23:23:21.369Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-01T23:23:21.369Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-01T23:23:21.369Z] Message: update stable to v1.0.244 [2023-02-01T23:23:21.939Z] ------------------- [2023-02-01T23:23:21.939Z] experimental info: [2023-02-01T23:23:21.939Z] ------------------- [2023-02-01T23:23:21.939Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-01T23:23:21.939Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-01T23:23:21.939Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-01T23:23:22.125Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-02-01T23:23:22.137Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-02-01T23:23:22.153Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-01T23:23:22.164Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-01T23:23:22.177Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-01T23:23:22.197Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-01T23:23:22.210Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-01T23:23:22.221Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-02-01T23:23:22.233Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-01T23:23:22.245Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-01T23:23:22.257Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-01T23:23:22.272Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-02-01T23:23:22.284Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-01T23:23:22.294Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-01T23:23:22.306Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-01T23:23:22.317Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-02-01T23:23:22.329Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-01T23:23:22.341Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-01T23:23:22.353Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-01T23:23:22.365Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-01T23:23:22.375Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-02-01T23:23:22.387Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2023-02-01T23:23:22.401Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-01T23:23:22.413Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-01T23:23:22.425Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-01T23:23:22.435Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-01T23:23:22.448Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-01T23:23:22.463Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1298 [Pipeline] echo [2023-02-01T23:23:22.474Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1298 [Pipeline] echo [2023-02-01T23:23:22.486Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1298 [Pipeline] echo [2023-02-01T23:23:22.497Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 89d807d8113b45d5cd8e97f478743d732b99a48e [Pipeline] echo [2023-02-01T23:23:22.507Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 89d807d [Pipeline] echo [2023-02-01T23:23:22.519Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-01T23:23:22.561Z] provisioning config files... [2023-02-01T23:23:22.573Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1298@tmp/config7712492395585455008tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-01T23:23:22.872Z] ---> docker-login.sh [2023-02-01T23:23:22.872Z] nexus3.edgexfoundry.org:10001 [2023-02-01T23:23:23.132Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-01T23:23:23.132Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-01T23:23:23.132Z] Configure a credential helper to remove this warning. See [2023-02-01T23:23:23.132Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-01T23:23:23.132Z] [2023-02-01T23:23:23.132Z] Login Succeeded [2023-02-01T23:23:23.132Z] nexus3.edgexfoundry.org:10002 [2023-02-01T23:23:23.132Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-01T23:23:23.132Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-01T23:23:23.132Z] Configure a credential helper to remove this warning. See [2023-02-01T23:23:23.132Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-01T23:23:23.132Z] [2023-02-01T23:23:23.132Z] Login Succeeded [2023-02-01T23:23:23.132Z] nexus3.edgexfoundry.org:10003 [2023-02-01T23:23:23.393Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-01T23:23:23.393Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-01T23:23:23.393Z] Configure a credential helper to remove this warning. See [2023-02-01T23:23:23.393Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-01T23:23:23.393Z] [2023-02-01T23:23:23.393Z] Login Succeeded [2023-02-01T23:23:23.393Z] nexus3.edgexfoundry.org:10004 [2023-02-01T23:23:23.393Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-01T23:23:23.393Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-01T23:23:23.393Z] Configure a credential helper to remove this warning. See [2023-02-01T23:23:23.393Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-01T23:23:23.393Z] [2023-02-01T23:23:23.393Z] Login Succeeded [2023-02-01T23:23:23.393Z] docker.io [2023-02-01T23:23:23.652Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-01T23:23:23.652Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-01T23:23:23.652Z] Configure a credential helper to remove this warning. See [2023-02-01T23:23:23.652Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-01T23:23:23.652Z] [2023-02-01T23:23:23.652Z] Login Succeeded [2023-02-01T23:23:23.652Z] ---> docker-login.sh ends [Pipeline] } [2023-02-01T23:23:23.659Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-01T23:23:24.036Z] + git rev-list -1 --merges 89d807d8113b45d5cd8e97f478743d732b99a48e~1..89d807d8113b45d5cd8e97f478743d732b99a48e [Pipeline] echo [2023-02-01T23:23:24.090Z] -----------> git rev-list -1 --merges 89d807d8113b45d5cd8e97f478743d732b99a48e~1..89d807d8113b45d5cd8e97f478743d732b99a48e 89d807d8113b45d5cd8e97f478743d732b99a48e [false] [Pipeline] sh [2023-02-01T23:23:24.377Z] + git log --format=format:%s -1 89d807d8113b45d5cd8e97f478743d732b99a48e [Pipeline] echo [2023-02-01T23:23:24.392Z] ========================================================= [2023-02-01T23:23:24.392Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-01T23:23:24.392Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-01T23:23:24.771Z] + git log --format=format:%s -1 89d807d8113b45d5cd8e97f478743d732b99a48e [Pipeline] echo [2023-02-01T23:23:24.784Z] [semverPrep] GIT_COMMIT: 89d807d8113b45d5cd8e97f478743d732b99a48e, Commit Message: feat!: Remove old metrics collection and REST/metrics endpoint [Pipeline] echo [2023-02-01T23:23:24.794Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-01T23:23:25.138Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-01T23:23:25.138Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-01T23:23:25.138Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-01T23:23:25.138Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-01T23:23:25.138Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-01T23:23:25.138Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-01T23:23:25.138Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-01T23:23:25.475Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-01T23:23:25.476Z] [2023-02-01T23:23:25.476Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-01T23:23:25.778Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-01T23:23:25.778Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-01T23:23:25.778Z] b85a868b505f: Pulling fs layer [2023-02-01T23:23:25.778Z] e2be974225ed: Pulling fs layer [2023-02-01T23:23:25.778Z] 339a4e72a1f5: Pulling fs layer [2023-02-01T23:23:25.778Z] 988bab9f4d93: Pulling fs layer [2023-02-01T23:23:25.778Z] 1469e6f7b9e6: Pulling fs layer [2023-02-01T23:23:25.778Z] eaf3925da568: Pulling fs layer [2023-02-01T23:23:25.778Z] bab4dde63d76: Pulling fs layer [2023-02-01T23:23:25.778Z] bde34c3a00c8: Pulling fs layer [2023-02-01T23:23:25.778Z] b352a97aabf1: Pulling fs layer [2023-02-01T23:23:25.778Z] 4872d77fe225: Pulling fs layer [2023-02-01T23:23:25.778Z] 5851b861e8e6: Pulling fs layer [2023-02-01T23:23:25.778Z] bab4dde63d76: Waiting [2023-02-01T23:23:25.778Z] 988bab9f4d93: Waiting [2023-02-01T23:23:25.778Z] 1469e6f7b9e6: Waiting [2023-02-01T23:23:25.778Z] bde34c3a00c8: Waiting [2023-02-01T23:23:25.778Z] eaf3925da568: Waiting [2023-02-01T23:23:25.778Z] b352a97aabf1: Waiting [2023-02-01T23:23:25.778Z] 4872d77fe225: Waiting [2023-02-01T23:23:25.778Z] 5851b861e8e6: Waiting [2023-02-01T23:23:25.778Z] e2be974225ed: Verifying Checksum [2023-02-01T23:23:25.778Z] e2be974225ed: Download complete [2023-02-01T23:23:25.778Z] 988bab9f4d93: Verifying Checksum [2023-02-01T23:23:25.778Z] 988bab9f4d93: Download complete [2023-02-01T23:23:26.039Z] 339a4e72a1f5: Verifying Checksum [2023-02-01T23:23:26.039Z] 339a4e72a1f5: Download complete [2023-02-01T23:23:26.039Z] 1469e6f7b9e6: Verifying Checksum [2023-02-01T23:23:26.039Z] 1469e6f7b9e6: Download complete [2023-02-01T23:23:26.039Z] eaf3925da568: Verifying Checksum [2023-02-01T23:23:26.039Z] eaf3925da568: Download complete [2023-02-01T23:23:26.300Z] bde34c3a00c8: Download complete [2023-02-01T23:23:26.300Z] b352a97aabf1: Download complete [2023-02-01T23:23:26.300Z] b85a868b505f: Verifying Checksum [2023-02-01T23:23:26.300Z] b85a868b505f: Download complete [2023-02-01T23:23:26.300Z] 4872d77fe225: Verifying Checksum [2023-02-01T23:23:26.300Z] 4872d77fe225: Download complete [2023-02-01T23:23:26.300Z] 5851b861e8e6: Verifying Checksum [2023-02-01T23:23:26.300Z] 5851b861e8e6: Download complete [2023-02-01T23:23:26.560Z] bab4dde63d76: Verifying Checksum [2023-02-01T23:23:26.560Z] bab4dde63d76: Download complete [2023-02-01T23:23:27.538Z] b85a868b505f: Pull complete [2023-02-01T23:23:27.538Z] e2be974225ed: Pull complete [2023-02-01T23:23:27.798Z] 339a4e72a1f5: Pull complete [2023-02-01T23:23:28.057Z] 988bab9f4d93: Pull complete [2023-02-01T23:23:28.315Z] 1469e6f7b9e6: Pull complete [2023-02-01T23:23:28.315Z] eaf3925da568: Pull complete [2023-02-01T23:23:29.690Z] bab4dde63d76: Pull complete [2023-02-01T23:23:29.949Z] bde34c3a00c8: Pull complete [2023-02-01T23:23:29.949Z] b352a97aabf1: Pull complete [2023-02-01T23:23:29.949Z] 4872d77fe225: Pull complete [2023-02-01T23:23:30.208Z] 5851b861e8e6: Pull complete [2023-02-01T23:23:30.208Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-01T23:23:30.208Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-01T23:23:30.208Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-01T23:23:30.289Z] prd-ubuntu20.04-docker-8c-8g-4305 does not seem to be running inside a container [2023-02-01T23:23:30.300Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1298 -v /w/workspace/gexfoundry_device-sdk-go_PR-1298:/w/workspace/gexfoundry_device-sdk-go_PR-1298:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1298@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1298@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-01T23:23:32.488Z] $ docker top 03f27599b52d2f257d3c31016f5a5352acbdbe6de8e561680e00a6483f662c7c -eo pid,comm [2023-02-01T23:23:32.565Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-02-01T23:23:32.565Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-01T23:23:32.596Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-01T23:23:32.596Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-01T23:23:32.700Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-01T23:23:32.690Z] $ docker exec 03f27599b52d2f257d3c31016f5a5352acbdbe6de8e561680e00a6483f662c7c ssh-agent [2023-02-01T23:23:32.819Z] SSH_AUTH_SOCK=/tmp/ssh-aBGW56O8eoNN/agent.32 [2023-02-01T23:23:32.819Z] SSH_AGENT_PID=38 [2023-02-01T23:23:32.826Z] Running ssh-add (command line suppressed) [2023-02-01T23:23:32.919Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1298@tmp/private_key_1316422976644199045.key (/w/workspace/gexfoundry_device-sdk-go_PR-1298@tmp/private_key_1316422976644199045.key) [2023-02-01T23:23:32.945Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-01T23:23:33.232Z] + git tag --points-at HEAD [Pipeline] } [2023-02-01T23:23:33.229Z] $ docker exec --env ******** --env ******** 03f27599b52d2f257d3c31016f5a5352acbdbe6de8e561680e00a6483f662c7c ssh-agent -k [2023-02-01T23:23:33.328Z] unset SSH_AUTH_SOCK; [2023-02-01T23:23:33.328Z] unset SSH_AGENT_PID; [2023-02-01T23:23:33.328Z] echo Agent pid 38 killed; [2023-02-01T23:23:33.349Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-01T23:23:33.374Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-01T23:23:33.374Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-01T23:23:33.483Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-01T23:23:33.474Z] $ docker exec 03f27599b52d2f257d3c31016f5a5352acbdbe6de8e561680e00a6483f662c7c ssh-agent [2023-02-01T23:23:33.598Z] SSH_AUTH_SOCK=/tmp/ssh-JvjZmtlEvEHm/agent.71 [2023-02-01T23:23:33.598Z] SSH_AGENT_PID=77 [2023-02-01T23:23:33.602Z] Running ssh-add (command line suppressed) [2023-02-01T23:23:33.692Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1298@tmp/private_key_8564755059283123164.key (/w/workspace/gexfoundry_device-sdk-go_PR-1298@tmp/private_key_8564755059283123164.key) [2023-02-01T23:23:33.718Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-01T23:23:34.005Z] + git semver init [2023-02-01T23:23:34.265Z] 2023-02-01 23:23:34,149 [run_init] DEBUG init version:0.0.0 force:False [2023-02-01T23:23:34.265Z] 2023-02-01 23:23:34,150 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1298/.semver [2023-02-01T23:23:34.265Z] 2023-02-01 23:23:34,151 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1298/.semver [2023-02-01T23:23:34.265Z] 2023-02-01 23:23:34,151 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1298/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1298, universal_newlines=False, shell=None, istream=None) [2023-02-01T23:23:35.203Z] 2023-02-01 23:23:35,055 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1298/.git/info/exclude [2023-02-01T23:23:35.203Z] 2023-02-01 23:23:35,055 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1298/.semver/PR-1298 with force:False [2023-02-01T23:23:35.203Z] 2023-02-01 23:23:35,055 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1298/.semver/PR-1298 [2023-02-01T23:23:35.203Z] 2023-02-01 23:23:35,057 [execute] INFO git cat-file --batch-check [2023-02-01T23:23:35.203Z] 2023-02-01 23:23:35,057 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1298/.semver, universal_newlines=False, shell=None, istream=) [2023-02-01T23:23:35.203Z] 2023-02-01 23:23:35,063 [execute] INFO git cat-file --batch [2023-02-01T23:23:35.203Z] 2023-02-01 23:23:35,063 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1298/.semver, universal_newlines=False, shell=None, istream=) [2023-02-01T23:23:35.203Z] 2023-02-01 23:23:35,067 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1298/.semver/PR-1298 [2023-02-01T23:23:35.203Z] 0.0.0 [Pipeline] } [2023-02-01T23:23:35.201Z] $ docker exec --env ******** --env ******** 03f27599b52d2f257d3c31016f5a5352acbdbe6de8e561680e00a6483f662c7c ssh-agent -k [2023-02-01T23:23:35.295Z] unset SSH_AUTH_SOCK; [2023-02-01T23:23:35.296Z] unset SSH_AGENT_PID; [2023-02-01T23:23:35.296Z] echo Agent pid 77 killed; [2023-02-01T23:23:35.316Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-01T23:23:35.633Z] + git semver [Pipeline] } [2023-02-01T23:23:35.897Z] $ docker stop --time=1 03f27599b52d2f257d3c31016f5a5352acbdbe6de8e561680e00a6483f662c7c [2023-02-01T23:23:37.201Z] $ docker rm -f --volumes 03f27599b52d2f257d3c31016f5a5352acbdbe6de8e561680e00a6483f662c7c [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-01T23:23:37.551Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-01T23:23:37.734Z] Stashed 1 file(s) [Pipeline] echo [2023-02-01T23:23:37.737Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-01T23:23:37.875Z] provisioning config files... [2023-02-01T23:23:37.883Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1298@tmp/config14394919303039703940tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-01T23:23:38.175Z] ---> docker-login.sh [2023-02-01T23:23:38.175Z] nexus3.edgexfoundry.org:10001 [2023-02-01T23:23:38.175Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-01T23:23:38.175Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-01T23:23:38.175Z] Configure a credential helper to remove this warning. See [2023-02-01T23:23:38.175Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-01T23:23:38.175Z] [2023-02-01T23:23:38.175Z] Login Succeeded [2023-02-01T23:23:38.175Z] nexus3.edgexfoundry.org:10002 [2023-02-01T23:23:38.175Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-01T23:23:38.175Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-01T23:23:38.175Z] Configure a credential helper to remove this warning. See [2023-02-01T23:23:38.175Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-01T23:23:38.175Z] [2023-02-01T23:23:38.175Z] Login Succeeded [2023-02-01T23:23:38.175Z] nexus3.edgexfoundry.org:10003 [2023-02-01T23:23:38.434Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-01T23:23:38.434Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-01T23:23:38.434Z] Configure a credential helper to remove this warning. See [2023-02-01T23:23:38.434Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-01T23:23:38.434Z] [2023-02-01T23:23:38.434Z] Login Succeeded [2023-02-01T23:23:38.434Z] nexus3.edgexfoundry.org:10004 [2023-02-01T23:23:38.434Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-01T23:23:38.434Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-01T23:23:38.434Z] Configure a credential helper to remove this warning. See [2023-02-01T23:23:38.434Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-01T23:23:38.434Z] [2023-02-01T23:23:38.434Z] Login Succeeded [2023-02-01T23:23:38.434Z] docker.io [2023-02-01T23:23:38.693Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-01T23:23:38.693Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-01T23:23:38.693Z] Configure a credential helper to remove this warning. See [2023-02-01T23:23:38.693Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-01T23:23:38.694Z] [2023-02-01T23:23:38.694Z] Login Succeeded [2023-02-01T23:23:38.694Z] ---> docker-login.sh ends [Pipeline] } [2023-02-01T23:23:38.701Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-01T23:23:38.775Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-01T23:23:38.794Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-01T23:23:38.802Z] ========================================================= [2023-02-01T23:23:38.802Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-01T23:23:38.802Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-01T23:23:39.122Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-01T23:23:39.123Z] Sending build context to Docker daemon 10.55MB [2023-02-01T23:23:39.123Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-01T23:23:39.123Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-01T23:23:39.123Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-01T23:23:39.123Z] 213ec9aee27d: Pulling fs layer [2023-02-01T23:23:39.123Z] 4583459ba037: Pulling fs layer [2023-02-01T23:23:39.123Z] 93c1e223e6f2: Pulling fs layer [2023-02-01T23:23:39.123Z] 53926ce57604: Pulling fs layer [2023-02-01T23:23:39.123Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-01T23:23:39.123Z] 22ff95d597cd: Pulling fs layer [2023-02-01T23:23:39.123Z] 12d6caf4c0d1: Pulling fs layer [2023-02-01T23:23:39.123Z] 96b7cbca73a9: Pulling fs layer [2023-02-01T23:23:39.123Z] a7acece74701: Pulling fs layer [2023-02-01T23:23:39.123Z] 53926ce57604: Waiting [2023-02-01T23:23:39.123Z] 21b2b0c7a3f4: Waiting [2023-02-01T23:23:39.123Z] 96b7cbca73a9: Waiting [2023-02-01T23:23:39.123Z] 12d6caf4c0d1: Waiting [2023-02-01T23:23:39.123Z] a7acece74701: Waiting [2023-02-01T23:23:39.123Z] 93c1e223e6f2: Verifying Checksum [2023-02-01T23:23:39.123Z] 93c1e223e6f2: Download complete [2023-02-01T23:23:39.123Z] 4583459ba037: Download complete [2023-02-01T23:23:39.123Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-01T23:23:39.123Z] 21b2b0c7a3f4: Download complete [2023-02-01T23:23:39.391Z] 22ff95d597cd: Verifying Checksum [2023-02-01T23:23:39.391Z] 22ff95d597cd: Download complete [2023-02-01T23:23:39.391Z] 213ec9aee27d: Verifying Checksum [2023-02-01T23:23:39.391Z] 213ec9aee27d: Download complete [2023-02-01T23:23:39.391Z] 12d6caf4c0d1: Download complete [2023-02-01T23:23:39.391Z] 213ec9aee27d: Pull complete [2023-02-01T23:23:39.667Z] 4583459ba037: Pull complete [2023-02-01T23:23:39.667Z] 93c1e223e6f2: Pull complete [2023-02-01T23:23:40.751Z] a7acece74701: Verifying Checksum [2023-02-01T23:23:40.751Z] a7acece74701: Download complete [2023-02-01T23:23:41.017Z] 53926ce57604: Verifying Checksum [2023-02-01T23:23:41.017Z] 53926ce57604: Download complete [2023-02-01T23:23:41.017Z] 96b7cbca73a9: Download complete [2023-02-01T23:23:44.300Z] 53926ce57604: Pull complete [2023-02-01T23:23:44.300Z] 21b2b0c7a3f4: Pull complete [2023-02-01T23:23:44.300Z] 22ff95d597cd: Pull complete [2023-02-01T23:23:44.300Z] 12d6caf4c0d1: Pull complete [2023-02-01T23:23:46.198Z] 96b7cbca73a9: Pull complete [2023-02-01T23:23:46.763Z] a7acece74701: Pull complete [2023-02-01T23:23:46.763Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-01T23:23:46.763Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-01T23:23:46.763Z] ---> db6d94c90886 [2023-02-01T23:23:46.763Z] Step 3/10 : ARG MAKE=make build [2023-02-01T23:23:50.056Z] ---> Running in f4fcf854a871 [2023-02-01T23:23:50.056Z] Removing intermediate container f4fcf854a871 [2023-02-01T23:23:50.056Z] ---> 062ba962d9cf [2023-02-01T23:23:50.056Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-01T23:23:50.056Z] ---> Running in fa2870200e50 [2023-02-01T23:23:50.056Z] Removing intermediate container fa2870200e50 [2023-02-01T23:23:50.056Z] ---> 430e4b0a9601 [2023-02-01T23:23:50.056Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-01T23:23:50.056Z] ---> Running in f1d8c82d76a3 [2023-02-01T23:23:50.056Z] Removing intermediate container f1d8c82d76a3 [2023-02-01T23:23:50.056Z] ---> ae79e40fe30f [2023-02-01T23:23:50.056Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-01T23:23:50.056Z] ---> Running in 47563af433b7 [2023-02-01T23:23:50.056Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-01T23:23:50.314Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-01T23:23:50.573Z] OK: 211 MiB in 51 packages [2023-02-01T23:23:50.832Z] Removing intermediate container 47563af433b7 [2023-02-01T23:23:50.832Z] ---> 8702bbc04255 [2023-02-01T23:23:50.832Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-01T23:23:50.832Z] ---> f58a2260bc37 [2023-02-01T23:23:50.832Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-01T23:23:51.090Z] ---> Running in 62cc1dba3a68 [2023-02-01T23:23:52.832Z] Still waiting to schedule task [2023-02-01T23:23:52.832Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-4302’ is offline [2023-02-01T23:24:29.837Z] Removing intermediate container 62cc1dba3a68 [2023-02-01T23:24:29.837Z] ---> cb3d4333720a [2023-02-01T23:24:29.837Z] Step 9/10 : COPY . . [2023-02-01T23:24:29.837Z] ---> acbd85b43169 [2023-02-01T23:24:29.837Z] Step 10/10 : RUN ${MAKE} [2023-02-01T23:24:29.837Z] ---> Running in 3fc2114e3ab5 [2023-02-01T23:24:29.837Z] noop [2023-02-01T23:24:29.837Z] Removing intermediate container 3fc2114e3ab5 [2023-02-01T23:24:29.837Z] ---> 74323ae35d0a [2023-02-01T23:24:29.837Z] Successfully built 74323ae35d0a [2023-02-01T23:24:29.837Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-01T23:24:30.157Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-01T23:24:30.157Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-01T23:24:30.225Z] prd-ubuntu20.04-docker-8c-8g-4305 does not seem to be running inside a container [2023-02-01T23:24:30.265Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1298 -v /w/workspace/gexfoundry_device-sdk-go_PR-1298:/w/workspace/gexfoundry_device-sdk-go_PR-1298:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1298@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1298@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-01T23:24:30.589Z] $ docker top bcb156323a9a89f1b931ee66a729140227b4d80f4292fd3d79e8214a4c39336b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-01T23:24:30.923Z] + go version [2023-02-01T23:24:30.923Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-01T23:24:30.942Z] $ docker stop --time=1 bcb156323a9a89f1b931ee66a729140227b4d80f4292fd3d79e8214a4c39336b [2023-02-01T23:24:32.226Z] $ docker rm -f --volumes bcb156323a9a89f1b931ee66a729140227b4d80f4292fd3d79e8214a4c39336b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-01T23:24:32.625Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-01T23:24:32.625Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-01T23:24:32.703Z] prd-ubuntu20.04-docker-8c-8g-4305 does not seem to be running inside a container [2023-02-01T23:24:32.743Z] $ 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-1298 -v /w/workspace/gexfoundry_device-sdk-go_PR-1298:/w/workspace/gexfoundry_device-sdk-go_PR-1298:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1298@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1298@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-01T23:24:33.068Z] $ docker top ec7c3981064ae7439ba3813c1745864e2cdeb8e6aee5d97347d1eab2f102f92c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-01T23:24:33.395Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1298 [Pipeline] fileExists [Pipeline] sh [2023-02-01T23:24:33.691Z] + make test [2023-02-01T23:24:33.691Z] go test -race -coverprofile=coverage.out ./... [2023-02-01T23:24:40.256Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-01T23:24:52.449Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-01T23:24:52.449Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-01T23:24:52.449Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-01T23:24:52.449Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-01T23:24:52.449Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-01T23:24:52.707Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.092s coverage: 27.6% of statements [2023-02-01T23:24:52.707Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.060s coverage: 78.9% of statements [2023-02-01T23:24:52.707Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-01T23:24:52.707Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.098s coverage: 73.6% of statements [2023-02-01T23:24:52.707Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-01T23:24:52.707Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-01T23:24:53.273Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.106s coverage: 59.8% of statements [2023-02-01T23:24:53.273Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-01T23:24:53.273Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-02-01T23:24:53.273Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-01T23:24:53.273Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.099s coverage: 65.1% of statements [2023-02-01T23:24:53.273Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-01T23:24:53.273Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-01T23:24:53.273Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.749s coverage: 89.2% of statements [2023-02-01T23:24:53.273Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-01T23:24:53.273Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.056s coverage: 4.6% of statements [2023-02-01T23:24:53.273Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-01T23:25:08.137Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-02-01T23:25:08.137Z] GO111MODULE=on go vet ./... [2023-02-01T23:25:10.052Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-01T23:25:10.052Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-01T23:25:10.052Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-01T23:25:10.065Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-01T23:25:10.082Z] $ docker stop --time=1 ec7c3981064ae7439ba3813c1745864e2cdeb8e6aee5d97347d1eab2f102f92c [2023-02-01T23:25:12.051Z] $ docker rm -f --volumes ec7c3981064ae7439ba3813c1745864e2cdeb8e6aee5d97347d1eab2f102f92c [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-01T23:25:12.531Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-01T23:25:12.584Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-01T23:25:12.988Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-01T23:25:13.272Z] + ls -al . [2023-02-01T23:25:13.272Z] total 272 [2023-02-01T23:25:13.272Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 1 23:24 . [2023-02-01T23:25:13.272Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 1 23:23 .. [2023-02-01T23:25:13.272Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 1 23:23 .dockerignore [2023-02-01T23:25:13.272Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 1 23:24 .git [2023-02-01T23:25:13.272Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 1 23:23 .github [2023-02-01T23:25:13.272Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 1 23:23 .gitignore [2023-02-01T23:25:13.272Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 1 23:23 .golangci.yml [2023-02-01T23:25:13.272Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 1 23:23 .semver [2023-02-01T23:25:13.272Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 1 23:23 CHANGELOG.md [2023-02-01T23:25:13.272Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 1 23:23 GOVERNANCE.md [2023-02-01T23:25:13.272Z] -rw-rw-r-- 1 jenkins jenkins 880 Feb 1 23:23 Jenkinsfile [2023-02-01T23:25:13.272Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 1 23:23 LICENSE [2023-02-01T23:25:13.272Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 1 23:23 Makefile [2023-02-01T23:25:13.272Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 1 23:23 OWNERS.md [2023-02-01T23:25:13.272Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 1 23:23 README.md [2023-02-01T23:25:13.272Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 1 23:23 VERSION [2023-02-01T23:25:13.272Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 1 23:23 bin [2023-02-01T23:25:13.272Z] -rw-r--r-- 1 jenkins jenkins 100730 Feb 1 23:24 coverage.out [2023-02-01T23:25:13.272Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 1 23:23 example [2023-02-01T23:25:13.272Z] -rw-rw-r-- 1 jenkins jenkins 3307 Feb 1 23:23 go.mod [2023-02-01T23:25:13.272Z] -rw-rw-r-- 1 jenkins jenkins 34396 Feb 1 23:23 go.sum [2023-02-01T23:25:13.272Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 1 23:23 internal [2023-02-01T23:25:13.272Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 1 23:23 openapi [2023-02-01T23:25:13.272Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 1 23:23 pkg [2023-02-01T23:25:13.272Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 1 23:23 snap [2023-02-01T23:25:13.272Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 1 23:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-01T23:25:13.576Z] + 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=89d807d8113b45d5cd8e97f478743d732b99a48e --label arch=amd64 --label version=0.0.0 . [2023-02-01T23:25:13.576Z] Sending build context to Docker daemon 10.65MB [2023-02-01T23:25:13.576Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-01T23:25:13.576Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-01T23:25:13.576Z] ---> 74323ae35d0a [2023-02-01T23:25:13.576Z] Step 3/23 : ARG MAKE=make build [2023-02-01T23:25:13.576Z] ---> Running in a08a33387f41 [2023-02-01T23:25:13.576Z] Removing intermediate container a08a33387f41 [2023-02-01T23:25:13.576Z] ---> 145b4369b416 [2023-02-01T23:25:13.576Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-01T23:25:13.834Z] ---> Running in eac4c8c9e034 [2023-02-01T23:25:13.834Z] Removing intermediate container eac4c8c9e034 [2023-02-01T23:25:13.834Z] ---> 2ef9882c97f2 [2023-02-01T23:25:13.834Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-01T23:25:13.834Z] ---> Running in 2739a9eb663f [2023-02-01T23:25:13.834Z] Removing intermediate container 2739a9eb663f [2023-02-01T23:25:13.834Z] ---> 594da687d7b1 [2023-02-01T23:25:13.834Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-01T23:25:13.834Z] ---> Running in 95cfeecb1025 [2023-02-01T23:25:14.092Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-01T23:25:14.350Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-01T23:25:14.607Z] OK: 211 MiB in 51 packages [2023-02-01T23:25:14.866Z] Removing intermediate container 95cfeecb1025 [2023-02-01T23:25:14.866Z] ---> ef858d85efe5 [2023-02-01T23:25:14.866Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-01T23:25:14.866Z] ---> ae720974f609 [2023-02-01T23:25:14.866Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-01T23:25:14.866Z] ---> Running in 193e3d14ba9a [2023-02-01T23:25:15.810Z] Removing intermediate container 193e3d14ba9a [2023-02-01T23:25:15.810Z] ---> f1d378bdedc5 [2023-02-01T23:25:15.810Z] Step 9/23 : COPY . . [2023-02-01T23:25:16.070Z] ---> f85494d7a8dc [2023-02-01T23:25:16.070Z] Step 10/23 : RUN ${MAKE} [2023-02-01T23:25:16.328Z] ---> Running in 4966337dacbd [2023-02-01T23:25:16.587Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-02-01T23:25:25.193Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4307 in /w/workspace/gexfoundry_device-sdk-go_PR-1298 [Pipeline] { [Pipeline] ws [2023-02-01T23:25:25.206Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2023-02-01T23:25:25.236Z] The recommended git tool is: git [2023-02-01T23:25:30.356Z] using credential edgex-jenkins-ssh [2023-02-01T23:25:30.371Z] Cloning the remote Git repository [2023-02-01T23:25:30.418Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-02-01T23:25:30.496Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2023-02-01T23:25:30.637Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-01T23:25:30.638Z] > git --version # timeout=10 [2023-02-01T23:25:30.660Z] > git --version # 'git version 2.25.1' [2023-02-01T23:25:30.662Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-01T23:25:30.722Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-01T23:25:32.786Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-01T23:25:32.808Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-01T23:25:33.618Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-01T23:25:33.657Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-01T23:25:33.658Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-01T23:25:33.672Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1298/head:refs/remotes/origin/PR-1298 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-01T23:25:34.293Z] Merging remotes/origin/main commit 881f10918eb4e60f546b60d89ac5bea6bad2c109 into PR head commit 89d807d8113b45d5cd8e97f478743d732b99a48e [2023-02-01T23:25:34.536Z] Merge succeeded, producing 89d807d8113b45d5cd8e97f478743d732b99a48e [2023-02-01T23:25:34.537Z] Checking out Revision 89d807d8113b45d5cd8e97f478743d732b99a48e (PR-1298) [2023-02-01T23:25:34.663Z] Removing intermediate container 4966337dacbd [2023-02-01T23:25:34.663Z] ---> e06443bc41a1 [2023-02-01T23:25:34.663Z] Step 11/23 : FROM alpine:3.16 [2023-02-01T23:25:34.663Z] 3.16: Pulling from library/alpine [2023-02-01T23:25:34.663Z] ca7dd9ec2225: Pulling fs layer [2023-02-01T23:25:34.663Z] ca7dd9ec2225: Verifying Checksum [2023-02-01T23:25:34.663Z] ca7dd9ec2225: Download complete [2023-02-01T23:25:34.663Z] ca7dd9ec2225: Pull complete [2023-02-01T23:25:34.663Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-02-01T23:25:34.663Z] Status: Downloaded newer image for alpine:3.16 [2023-02-01T23:25:34.663Z] ---> bfe296a52501 [2023-02-01T23:25:34.663Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-01T23:25:34.663Z] ---> Running in e4a98ba3ee60 [2023-02-01T23:25:34.663Z] Removing intermediate container e4a98ba3ee60 [2023-02-01T23:25:34.663Z] ---> bb7439ac8775 [2023-02-01T23:25:34.663Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-01T23:25:34.663Z] ---> Running in fe6afe6b93c8 [2023-02-01T23:25:34.923Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-01T23:25:34.923Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-01T23:25:35.183Z] OK: 6 MiB in 14 packages [2023-02-01T23:25:34.313Z] > git config core.sparsecheckout # timeout=10 [2023-02-01T23:25:34.329Z] > git checkout -f 89d807d8113b45d5cd8e97f478743d732b99a48e # timeout=10 [2023-02-01T23:25:34.423Z] > git remote # timeout=10 [2023-02-01T23:25:34.450Z] > git config --get remote.origin.url # timeout=10 [2023-02-01T23:25:34.466Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-01T23:25:34.484Z] > git merge 881f10918eb4e60f546b60d89ac5bea6bad2c109 # timeout=10 [2023-02-01T23:25:34.516Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-01T23:25:34.544Z] > git config core.sparsecheckout # timeout=10 [2023-02-01T23:25:34.559Z] > git checkout -f 89d807d8113b45d5cd8e97f478743d732b99a48e # timeout=10 [2023-02-01T23:25:35.450Z] Removing intermediate container fe6afe6b93c8 [2023-02-01T23:25:35.450Z] ---> 50f79918a8f9 [2023-02-01T23:25:35.450Z] Step 14/23 : WORKDIR / [2023-02-01T23:25:35.450Z] ---> Running in 35df2f5dd326 [2023-02-01T23:25:35.709Z] Removing intermediate container 35df2f5dd326 [2023-02-01T23:25:35.709Z] ---> e23394853ceb [2023-02-01T23:25:35.709Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-01T23:25:35.709Z] ---> e13118863aeb [2023-02-01T23:25:35.709Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-01T23:25:36.278Z] ---> 842b8a7cc435 [2023-02-01T23:25:36.278Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-01T23:25:36.278Z] ---> cfe4f2d5be3d [2023-02-01T23:25:36.278Z] Step 18/23 : EXPOSE 59999 [2023-02-01T23:25:36.278Z] ---> Running in 4dcfd1f5f021 [2023-02-01T23:25:36.278Z] Removing intermediate container 4dcfd1f5f021 [2023-02-01T23:25:36.278Z] ---> a01c3321c752 [2023-02-01T23:25:36.278Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-01T23:25:36.278Z] ---> Running in d27f13179416 [2023-02-01T23:25:36.537Z] Removing intermediate container d27f13179416 [2023-02-01T23:25:36.537Z] ---> ec6ff0d884ac [2023-02-01T23:25:36.537Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-01T23:25:36.537Z] ---> Running in 6649a2b2acde [2023-02-01T23:25:36.537Z] Removing intermediate container 6649a2b2acde [2023-02-01T23:25:36.537Z] ---> c03e72d24a15 [2023-02-01T23:25:36.537Z] Step 21/23 : LABEL arch=amd64 [2023-02-01T23:25:36.537Z] ---> Running in 57736f43fab1 [2023-02-01T23:25:36.537Z] Removing intermediate container 57736f43fab1 [2023-02-01T23:25:36.537Z] ---> 1f91a320d884 [2023-02-01T23:25:36.537Z] Step 22/23 : LABEL git_sha=89d807d8113b45d5cd8e97f478743d732b99a48e [2023-02-01T23:25:36.537Z] ---> Running in d95c312b672c [2023-02-01T23:25:36.796Z] Removing intermediate container d95c312b672c [2023-02-01T23:25:36.796Z] ---> ed862422531c [2023-02-01T23:25:36.796Z] Step 23/23 : LABEL version=0.0.0 [2023-02-01T23:25:36.796Z] ---> Running in 98d2900096ca [2023-02-01T23:25:36.796Z] Removing intermediate container 98d2900096ca [2023-02-01T23:25:36.796Z] ---> bc7a1b617f83 [2023-02-01T23:25:36.796Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-01T23:25:36.796Z] Successfully built bc7a1b617f83 [2023-02-01T23:25:36.796Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-01T23:25:37.242Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-01T23:25:37.242Z] [2023-02-01T23:25:37.242Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-01T23:25:37.546Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-01T23:25:37.546Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-01T23:25:37.546Z] 5eb5b503b376: Pulling fs layer [2023-02-01T23:25:37.546Z] 5c69ac0246d0: Pulling fs layer [2023-02-01T23:25:37.546Z] ec43610c2a17: Pulling fs layer [2023-02-01T23:25:37.546Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-01T23:25:37.546Z] 33b1e0a273af: Pulling fs layer [2023-02-01T23:25:37.546Z] 5d3b04190fa2: Pulling fs layer [2023-02-01T23:25:37.546Z] 2f39f015ded8: Pulling fs layer [2023-02-01T23:25:37.546Z] 33b1e0a273af: Waiting [2023-02-01T23:25:37.546Z] 5d3b04190fa2: Waiting [2023-02-01T23:25:37.546Z] 2f39f015ded8: Waiting [2023-02-01T23:25:37.546Z] 3a2ae6a8a46f: Waiting [2023-02-01T23:25:37.546Z] 5c69ac0246d0: Verifying Checksum [2023-02-01T23:25:37.546Z] 5c69ac0246d0: Download complete [2023-02-01T23:25:37.546Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-01T23:25:37.546Z] 3a2ae6a8a46f: Download complete [2023-02-01T23:25:37.812Z] 33b1e0a273af: Verifying Checksum [2023-02-01T23:25:37.812Z] 33b1e0a273af: Download complete [2023-02-01T23:25:37.812Z] ec43610c2a17: Verifying Checksum [2023-02-01T23:25:37.812Z] ec43610c2a17: Download complete [2023-02-01T23:25:37.812Z] 5d3b04190fa2: Verifying Checksum [2023-02-01T23:25:37.812Z] 5d3b04190fa2: Download complete [2023-02-01T23:25:38.025Z] Commit message: "feat!: Remove old metrics collection and REST/metrics endpoint" [2023-02-01T23:25:38.073Z] 5eb5b503b376: Verifying Checksum [2023-02-01T23:25:38.073Z] 5eb5b503b376: Download complete [2023-02-01T23:25:38.291Z] [2023-02-01T23:25:38.291Z] GitHub has been notified of this commit’s build result [2023-02-01T23:25:38.291Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-01T23:25:38.638Z] 2f39f015ded8: Download complete [2023-02-01T23:25:38.833Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-01T23:25:38.833Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-01T23:25:38.833Z] Dload Upload Total Spent Left Speed [2023-02-01T23:25:38.833Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 97335 0 --:--:-- --:--:-- --:--:-- 97335 [Pipeline] sh [2023-02-01T23:25:39.204Z] 5eb5b503b376: Pull complete [2023-02-01T23:25:39.204Z] 5c69ac0246d0: Pull complete [2023-02-01T23:25:39.491Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-01T23:25:39.770Z] ec43610c2a17: Pull complete [2023-02-01T23:25:39.770Z] 3a2ae6a8a46f: Pull complete [2023-02-01T23:25:39.820Z] + sudo tee /etc/docker/daemon.new [2023-02-01T23:25:39.820Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-01T23:25:39.820Z] { [2023-02-01T23:25:39.820Z] "registry-mirrors": [ [2023-02-01T23:25:39.820Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-01T23:25:39.820Z] ], [2023-02-01T23:25:39.820Z] "bip": "10.250.0.254/24", [2023-02-01T23:25:39.820Z] "hosts": [ [2023-02-01T23:25:39.820Z] "tcp://0.0.0.0:5555", [2023-02-01T23:25:39.820Z] "unix:///var/run/docker.sock" [2023-02-01T23:25:39.820Z] ], [2023-02-01T23:25:39.820Z] "mtu": 1458, [2023-02-01T23:25:39.820Z] "selinux-enabled": true, [2023-02-01T23:25:39.820Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-01T23:25:39.820Z] } [Pipeline] sh [2023-02-01T23:25:40.028Z] 33b1e0a273af: Pull complete [2023-02-01T23:25:40.028Z] 5d3b04190fa2: Pull complete [2023-02-01T23:25:40.146Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-01T23:25:40.472Z] + sudo service docker restart [2023-02-01T23:25:44.213Z] 2f39f015ded8: Pull complete [2023-02-01T23:25:44.213Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-01T23:25:44.213Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-01T23:25:44.213Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-01T23:25:44.313Z] prd-ubuntu20.04-docker-8c-8g-4305 does not seem to be running inside a container [2023-02-01T23:25:44.349Z] $ 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-1298 -v /w/workspace/gexfoundry_device-sdk-go_PR-1298:/w/workspace/gexfoundry_device-sdk-go_PR-1298:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1298@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1298@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-01T23:25:45.439Z] $ docker top 4723fd51ef8dab0170e7060d18ec147b86967a4a7cecf7d3dbf1403085bbd101 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-01T23:25:45.806Z] ---> job-cost.sh [2023-02-01T23:25:45.806Z] lf-activate-venv: SKIPPING [2023-02-01T23:25:45.806Z] INFO: No Stack... [2023-02-01T23:25:46.065Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-01T23:25:46.632Z] INFO: Archiving Costs [Pipeline] sh [2023-02-01T23:25:46.929Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1298/archives/cost.csv [2023-02-01T23:25:46.929Z] + cut -d, -f6 [Pipeline] lock [2023-02-01T23:25:46.946Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1298-3-stack-cost] [2023-02-01T23:25:46.955Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1298-3-stack-cost] did not exist. Created. [2023-02-01T23:25:46.955Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1298-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-01T23:25:47.259Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-01T23:25:47.294Z] Stashed 1 file(s) [Pipeline] } [2023-02-01T23:25:47.305Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1298-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-01T23:25:47.330Z] $ docker stop --time=1 4723fd51ef8dab0170e7060d18ec147b86967a4a7cecf7d3dbf1403085bbd101 [2023-02-01T23:25:48.477Z] $ docker rm -f --volumes 4723fd51ef8dab0170e7060d18ec147b86967a4a7cecf7d3dbf1403085bbd101 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-01T23:26:02.578Z] provisioning config files... [2023-02-01T23:26:02.603Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config2440216589574903470tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-01T23:26:02.943Z] ---> docker-login.sh [2023-02-01T23:26:02.943Z] nexus3.edgexfoundry.org:10001 [2023-02-01T23:26:03.210Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-01T23:26:03.477Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-01T23:26:03.477Z] Configure a credential helper to remove this warning. See [2023-02-01T23:26:03.477Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-01T23:26:03.477Z] [2023-02-01T23:26:03.477Z] Login Succeeded [2023-02-01T23:26:03.477Z] nexus3.edgexfoundry.org:10002 [2023-02-01T23:26:03.745Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-01T23:26:03.745Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-01T23:26:03.745Z] Configure a credential helper to remove this warning. See [2023-02-01T23:26:03.745Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-01T23:26:03.745Z] [2023-02-01T23:26:03.745Z] Login Succeeded [2023-02-01T23:26:03.745Z] nexus3.edgexfoundry.org:10003 [2023-02-01T23:26:04.011Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-01T23:26:04.278Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-01T23:26:04.278Z] Configure a credential helper to remove this warning. See [2023-02-01T23:26:04.278Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-01T23:26:04.278Z] [2023-02-01T23:26:04.278Z] Login Succeeded [2023-02-01T23:26:04.278Z] nexus3.edgexfoundry.org:10004 [2023-02-01T23:26:04.278Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-01T23:26:04.548Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-01T23:26:04.548Z] Configure a credential helper to remove this warning. See [2023-02-01T23:26:04.548Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-01T23:26:04.548Z] [2023-02-01T23:26:04.548Z] Login Succeeded [2023-02-01T23:26:04.548Z] docker.io [2023-02-01T23:26:04.815Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-01T23:26:05.081Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-01T23:26:05.081Z] Configure a credential helper to remove this warning. See [2023-02-01T23:26:05.081Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-01T23:26:05.081Z] [2023-02-01T23:26:05.081Z] Login Succeeded [2023-02-01T23:26:05.081Z] ---> docker-login.sh ends [Pipeline] } [2023-02-01T23:26:05.094Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-01T23:26:05.324Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-01T23:26:05.342Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-01T23:26:05.350Z] ========================================================= [2023-02-01T23:26:05.350Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-01T23:26:05.350Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-01T23:26:05.681Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-01T23:26:05.951Z] Sending build context to Docker daemon 5.706MB [2023-02-01T23:26:05.951Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-01T23:26:05.951Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-01T23:26:06.229Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-01T23:26:06.229Z] 9b18e9b68314: Pulling fs layer [2023-02-01T23:26:06.229Z] 35d82f9e3411: Pulling fs layer [2023-02-01T23:26:06.229Z] e16973657156: Pulling fs layer [2023-02-01T23:26:06.229Z] fc693d55d65f: Pulling fs layer [2023-02-01T23:26:06.229Z] 7e9fc2657dce: Pulling fs layer [2023-02-01T23:26:06.229Z] dda99020689f: Pulling fs layer [2023-02-01T23:26:06.229Z] db1c61fa0a46: Pulling fs layer [2023-02-01T23:26:06.229Z] fc693d55d65f: Waiting [2023-02-01T23:26:06.229Z] 7e9fc2657dce: Waiting [2023-02-01T23:26:06.229Z] dda99020689f: Waiting [2023-02-01T23:26:06.229Z] 891c053d2c06: Pulling fs layer [2023-02-01T23:26:06.229Z] db1c61fa0a46: Waiting [2023-02-01T23:26:06.229Z] 891c053d2c06: Waiting [2023-02-01T23:26:06.229Z] e16973657156: Verifying Checksum [2023-02-01T23:26:06.229Z] 35d82f9e3411: Download complete [2023-02-01T23:26:06.229Z] 7e9fc2657dce: Verifying Checksum [2023-02-01T23:26:06.229Z] 7e9fc2657dce: Download complete [2023-02-01T23:26:06.229Z] dda99020689f: Verifying Checksum [2023-02-01T23:26:06.229Z] dda99020689f: Download complete [2023-02-01T23:26:06.229Z] 9b18e9b68314: Verifying Checksum [2023-02-01T23:26:06.229Z] 9b18e9b68314: Download complete [2023-02-01T23:26:07.200Z] 9b18e9b68314: Pull complete [2023-02-01T23:26:07.200Z] 891c053d2c06: Verifying Checksum [2023-02-01T23:26:07.200Z] 891c053d2c06: Download complete [2023-02-01T23:26:07.469Z] 35d82f9e3411: Pull complete [2023-02-01T23:26:07.738Z] e16973657156: Pull complete [2023-02-01T23:26:08.323Z] db1c61fa0a46: Verifying Checksum [2023-02-01T23:26:08.905Z] fc693d55d65f: Verifying Checksum [2023-02-01T23:26:08.905Z] fc693d55d65f: Download complete [2023-02-01T23:26:18.973Z] fc693d55d65f: Pull complete [2023-02-01T23:26:19.240Z] 7e9fc2657dce: Pull complete [2023-02-01T23:26:19.240Z] dda99020689f: Pull complete [2023-02-01T23:26:24.611Z] db1c61fa0a46: Pull complete [2023-02-01T23:26:26.029Z] 891c053d2c06: Pull complete [2023-02-01T23:26:26.029Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-01T23:26:26.296Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-01T23:26:26.296Z] ---> f96f9c87975a [2023-02-01T23:26:26.296Z] Step 3/10 : ARG MAKE=make build [2023-02-01T23:26:28.245Z] ---> Running in 9294def77c20 [2023-02-01T23:26:28.245Z] Removing intermediate container 9294def77c20 [2023-02-01T23:26:28.245Z] ---> 452676278110 [2023-02-01T23:26:28.245Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-01T23:26:28.245Z] ---> Running in 004d00cb4627 [2023-02-01T23:26:28.512Z] Removing intermediate container 004d00cb4627 [2023-02-01T23:26:28.512Z] ---> 7a37b8fcefb2 [2023-02-01T23:26:28.512Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-01T23:26:28.780Z] ---> Running in 4fec6b49dbff [2023-02-01T23:26:29.045Z] Removing intermediate container 4fec6b49dbff [2023-02-01T23:26:29.045Z] ---> f9b50c25062a [2023-02-01T23:26:29.045Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-01T23:26:29.045Z] ---> Running in bb3f0d608615 [2023-02-01T23:26:29.999Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-01T23:26:30.264Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-01T23:26:31.222Z] OK: 221 MiB in 51 packages [2023-02-01T23:26:31.803Z] Removing intermediate container bb3f0d608615 [2023-02-01T23:26:31.803Z] ---> 7267859f5efd [2023-02-01T23:26:31.803Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-01T23:26:32.396Z] ---> 718ac25d706d [2023-02-01T23:26:32.396Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-01T23:26:32.396Z] ---> Running in c451e83183d3 [2023-02-01T23:27:40.265Z] Removing intermediate container c451e83183d3 [2023-02-01T23:27:40.265Z] ---> 870c79689622 [2023-02-01T23:27:40.265Z] Step 9/10 : COPY . . [2023-02-01T23:27:40.265Z] ---> 3625b1ccce7c [2023-02-01T23:27:40.265Z] Step 10/10 : RUN ${MAKE} [2023-02-01T23:27:40.265Z] ---> Running in c6e6cb56633a [2023-02-01T23:27:40.265Z] noop [2023-02-01T23:27:40.265Z] Removing intermediate container c6e6cb56633a [2023-02-01T23:27:40.265Z] ---> 5fcab4458765 [2023-02-01T23:27:40.265Z] Successfully built 5fcab4458765 [2023-02-01T23:27:40.265Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-01T23:27:40.619Z] + docker inspect -f . ci-base-image-arm64 [2023-02-01T23:27:40.619Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-01T23:27:40.811Z] prd-ubuntu20.04-docker-arm64-4c-16g-4307 does not seem to be running inside a container [2023-02-01T23:27:40.876Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-01T23:27:42.044Z] $ docker top 4015b96376098ae832ab170765ed085e00b74b6663ea1cf382c3acac2fc95a15 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-01T23:27:42.868Z] + go version [2023-02-01T23:27:42.868Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-01T23:27:42.888Z] $ docker stop --time=1 4015b96376098ae832ab170765ed085e00b74b6663ea1cf382c3acac2fc95a15 [2023-02-01T23:27:44.521Z] $ docker rm -f --volumes 4015b96376098ae832ab170765ed085e00b74b6663ea1cf382c3acac2fc95a15 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-01T23:27:45.034Z] + docker inspect -f . ci-base-image-arm64 [2023-02-01T23:27:45.034Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-01T23:27:45.200Z] prd-ubuntu20.04-docker-arm64-4c-16g-4307 does not seem to be running inside a container [2023-02-01T23:27:45.263Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-01T23:27:46.456Z] $ docker top e3cadbff9cb77b51b6cfe0a3b13457621e5b340e9854cce83b67cc0b3e7d9db5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-01T23:27:46.954Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/3 [Pipeline] fileExists [Pipeline] sh [2023-02-01T23:27:47.300Z] + make test [2023-02-01T23:27:47.300Z] go test -race -coverprofile=coverage.out ./... [2023-02-01T23:28:19.519Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-01T23:30:11.226Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-01T23:30:11.226Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-01T23:30:11.226Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-01T23:30:11.226Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-01T23:30:11.226Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-01T23:30:13.844Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.318s coverage: 27.6% of statements [2023-02-01T23:30:15.261Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.416s coverage: 78.9% of statements [2023-02-01T23:30:15.261Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-01T23:30:20.590Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.676s coverage: 73.6% of statements [2023-02-01T23:30:20.590Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-01T23:30:20.590Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-01T23:30:24.837Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.630s coverage: 59.8% of statements [2023-02-01T23:30:24.837Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-01T23:30:24.837Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-02-01T23:30:24.837Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-01T23:30:24.837Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.412s coverage: 65.1% of statements [2023-02-01T23:30:24.837Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-01T23:30:24.837Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-01T23:30:24.837Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.566s coverage: 89.2% of statements [2023-02-01T23:30:24.837Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-01T23:30:24.837Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.327s coverage: 4.6% of statements [2023-02-01T23:30:24.837Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-01T23:30:25.421Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-01T23:30:25.421Z] GO111MODULE=on go vet ./... [2023-02-01T23:32:02.739Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-01T23:32:02.739Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-01T23:32:02.739Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-01T23:32:02.758Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-01T23:32:02.771Z] $ docker stop --time=1 e3cadbff9cb77b51b6cfe0a3b13457621e5b340e9854cce83b67cc0b3e7d9db5 [2023-02-01T23:32:04.595Z] $ docker rm -f --volumes e3cadbff9cb77b51b6cfe0a3b13457621e5b340e9854cce83b67cc0b3e7d9db5 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-01T23:32:05.836Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-01T23:32:05.860Z] Warning: overwriting stash ‘coverage-report’ [2023-02-01T23:32:06.498Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-01T23:32:06.866Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-01T23:32:07.209Z] + ls -al . [2023-02-01T23:32:07.209Z] total 268 [2023-02-01T23:32:07.209Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 1 23:27 . [2023-02-01T23:32:07.209Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 1 23:25 .. [2023-02-01T23:32:07.209Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 1 23:25 .dockerignore [2023-02-01T23:32:07.209Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 1 23:25 .git [2023-02-01T23:32:07.209Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 1 23:25 .github [2023-02-01T23:32:07.209Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 1 23:25 .gitignore [2023-02-01T23:32:07.209Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 1 23:25 .golangci.yml [2023-02-01T23:32:07.209Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 1 23:25 CHANGELOG.md [2023-02-01T23:32:07.209Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 1 23:25 GOVERNANCE.md [2023-02-01T23:32:07.209Z] -rw-rw-r-- 1 jenkins jenkins 880 Feb 1 23:25 Jenkinsfile [2023-02-01T23:32:07.209Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 1 23:25 LICENSE [2023-02-01T23:32:07.209Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 1 23:25 Makefile [2023-02-01T23:32:07.209Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 1 23:25 OWNERS.md [2023-02-01T23:32:07.209Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 1 23:25 README.md [2023-02-01T23:32:07.209Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 1 23:23 VERSION [2023-02-01T23:32:07.209Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 1 23:25 bin [2023-02-01T23:32:07.209Z] -rw-r--r-- 1 jenkins jenkins 100731 Feb 1 23:30 coverage.out [2023-02-01T23:32:07.209Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 1 23:25 example [2023-02-01T23:32:07.209Z] -rw-rw-r-- 1 jenkins jenkins 3307 Feb 1 23:25 go.mod [2023-02-01T23:32:07.209Z] -rw-rw-r-- 1 jenkins jenkins 34396 Feb 1 23:25 go.sum [2023-02-01T23:32:07.209Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 1 23:25 internal [2023-02-01T23:32:07.209Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 1 23:25 openapi [2023-02-01T23:32:07.209Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 1 23:25 pkg [2023-02-01T23:32:07.209Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 1 23:25 snap [2023-02-01T23:32:07.209Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 1 23:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-01T23:32:07.563Z] + 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=89d807d8113b45d5cd8e97f478743d732b99a48e --label arch=arm64 --label version=0.0.0 . [2023-02-01T23:32:07.833Z] Sending build context to Docker daemon 5.808MB [2023-02-01T23:32:08.099Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-01T23:32:08.099Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-01T23:32:08.099Z] ---> 5fcab4458765 [2023-02-01T23:32:08.099Z] Step 3/23 : ARG MAKE=make build [2023-02-01T23:32:08.099Z] ---> Running in 6989e531f21f [2023-02-01T23:32:08.365Z] Removing intermediate container 6989e531f21f [2023-02-01T23:32:08.365Z] ---> a1d02aad7455 [2023-02-01T23:32:08.366Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-01T23:32:08.632Z] ---> Running in d2f6c0b1bce1 [2023-02-01T23:32:08.899Z] Removing intermediate container d2f6c0b1bce1 [2023-02-01T23:32:08.899Z] ---> 7d4cd7226dc6 [2023-02-01T23:32:08.899Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-01T23:32:08.899Z] ---> Running in 2084ea17d292 [2023-02-01T23:32:09.165Z] Removing intermediate container 2084ea17d292 [2023-02-01T23:32:09.165Z] ---> b4edd0baa424 [2023-02-01T23:32:09.165Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-01T23:32:09.165Z] ---> Running in 54595a3b3413 [2023-02-01T23:32:10.133Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-01T23:32:10.400Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-01T23:32:11.359Z] OK: 221 MiB in 51 packages [2023-02-01T23:32:12.327Z] Removing intermediate container 54595a3b3413 [2023-02-01T23:32:12.327Z] ---> e21f8b9f4285 [2023-02-01T23:32:12.327Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-01T23:32:12.599Z] ---> dd1152dd5f42 [2023-02-01T23:32:12.599Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-01T23:32:12.599Z] ---> Running in 75460316e7a6 [2023-02-01T23:32:15.177Z] Removing intermediate container 75460316e7a6 [2023-02-01T23:32:15.177Z] ---> 2ca36d091c26 [2023-02-01T23:32:15.177Z] Step 9/23 : COPY . . [2023-02-01T23:32:16.138Z] ---> 12abda52d88b [2023-02-01T23:32:16.138Z] Step 10/23 : RUN ${MAKE} [2023-02-01T23:32:16.410Z] ---> Running in 0f4389a36695 [2023-02-01T23:32:17.369Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-02-01T23:34:24.032Z] Removing intermediate container 0f4389a36695 [2023-02-01T23:34:24.032Z] ---> aed6c3c22659 [2023-02-01T23:34:24.032Z] Step 11/23 : FROM alpine:3.16 [2023-02-01T23:34:24.032Z] 3.16: Pulling from library/alpine [2023-02-01T23:34:24.032Z] 6875df1f5354: Pulling fs layer [2023-02-01T23:34:24.032Z] 6875df1f5354: Verifying Checksum [2023-02-01T23:34:24.032Z] 6875df1f5354: Download complete [2023-02-01T23:34:24.032Z] 6875df1f5354: Pull complete [2023-02-01T23:34:24.032Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-02-01T23:34:24.032Z] Status: Downloaded newer image for alpine:3.16 [2023-02-01T23:34:24.032Z] ---> 2b4661558fb8 [2023-02-01T23:34:24.032Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-01T23:34:24.032Z] ---> Running in b217054a107f [2023-02-01T23:34:24.032Z] Removing intermediate container b217054a107f [2023-02-01T23:34:24.032Z] ---> af6edced7fd4 [2023-02-01T23:34:24.032Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-01T23:34:24.032Z] ---> Running in ca48a6406d5e [2023-02-01T23:34:24.032Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-01T23:34:24.032Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-01T23:34:24.032Z] OK: 5 MiB in 14 packages [2023-02-01T23:34:24.032Z] Removing intermediate container ca48a6406d5e [2023-02-01T23:34:24.032Z] ---> 7551e497fa61 [2023-02-01T23:34:24.032Z] Step 14/23 : WORKDIR / [2023-02-01T23:34:24.032Z] ---> Running in 922d7b0ec8d5 [2023-02-01T23:34:24.032Z] Removing intermediate container 922d7b0ec8d5 [2023-02-01T23:34:24.032Z] ---> 5e7a8f96bbdd [2023-02-01T23:34:24.032Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-01T23:34:24.032Z] ---> a32a31ffff5b [2023-02-01T23:34:24.032Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-01T23:34:24.032Z] ---> c49c921bcc00 [2023-02-01T23:34:24.032Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-01T23:34:24.032Z] ---> a5d62c29cb42 [2023-02-01T23:34:24.032Z] Step 18/23 : EXPOSE 59999 [2023-02-01T23:34:24.032Z] ---> Running in 05d83f72facb [2023-02-01T23:34:24.032Z] Removing intermediate container 05d83f72facb [2023-02-01T23:34:24.032Z] ---> 94d92a05b2ce [2023-02-01T23:34:24.032Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-01T23:34:24.032Z] ---> Running in fe2042a5af81 [2023-02-01T23:34:24.032Z] Removing intermediate container fe2042a5af81 [2023-02-01T23:34:24.032Z] ---> bfa797889aa4 [2023-02-01T23:34:24.032Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-01T23:34:24.032Z] ---> Running in 4ba43663e9bc [2023-02-01T23:34:24.032Z] Removing intermediate container 4ba43663e9bc [2023-02-01T23:34:24.032Z] ---> cd55952485fe [2023-02-01T23:34:24.032Z] Step 21/23 : LABEL arch=arm64 [2023-02-01T23:34:24.032Z] ---> Running in de78087b2d99 [2023-02-01T23:34:24.032Z] Removing intermediate container de78087b2d99 [2023-02-01T23:34:24.032Z] ---> 2a5e5a43b88f [2023-02-01T23:34:24.032Z] Step 22/23 : LABEL git_sha=89d807d8113b45d5cd8e97f478743d732b99a48e [2023-02-01T23:34:24.032Z] ---> Running in 7978e85e3e1f [2023-02-01T23:34:24.032Z] Removing intermediate container 7978e85e3e1f [2023-02-01T23:34:24.032Z] ---> 38842a73a687 [2023-02-01T23:34:24.032Z] Step 23/23 : LABEL version=0.0.0 [2023-02-01T23:34:24.032Z] ---> Running in 5ad492226f20 [2023-02-01T23:34:24.032Z] Removing intermediate container 5ad492226f20 [2023-02-01T23:34:24.032Z] ---> 68a0f96b4e5d [2023-02-01T23:34:24.032Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-01T23:34:24.032Z] Successfully built 68a0f96b4e5d [2023-02-01T23:34:24.032Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-01T23:34:24.454Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-01T23:34:24.454Z] [2023-02-01T23:34:24.454Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-01T23:34:24.783Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-01T23:34:24.783Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-01T23:34:24.783Z] 8998bd30e6a1: Pulling fs layer [2023-02-01T23:34:24.783Z] 04944245beec: Pulling fs layer [2023-02-01T23:34:24.783Z] 699f458cf7ca: Pulling fs layer [2023-02-01T23:34:24.783Z] 765212b225bb: Pulling fs layer [2023-02-01T23:34:24.783Z] f23df028b6ca: Pulling fs layer [2023-02-01T23:34:24.783Z] d65c8cfc05b1: Pulling fs layer [2023-02-01T23:34:24.783Z] 2437ff75d9bd: Pulling fs layer [2023-02-01T23:34:24.783Z] 765212b225bb: Waiting [2023-02-01T23:34:24.783Z] f23df028b6ca: Waiting [2023-02-01T23:34:24.783Z] d65c8cfc05b1: Waiting [2023-02-01T23:34:24.783Z] 2437ff75d9bd: Waiting [2023-02-01T23:34:25.052Z] 04944245beec: Verifying Checksum [2023-02-01T23:34:25.052Z] 04944245beec: Download complete [2023-02-01T23:34:25.052Z] 765212b225bb: Verifying Checksum [2023-02-01T23:34:25.052Z] 765212b225bb: Download complete [2023-02-01T23:34:25.052Z] f23df028b6ca: Verifying Checksum [2023-02-01T23:34:25.052Z] f23df028b6ca: Download complete [2023-02-01T23:34:25.052Z] d65c8cfc05b1: Verifying Checksum [2023-02-01T23:34:25.052Z] d65c8cfc05b1: Download complete [2023-02-01T23:34:25.320Z] 699f458cf7ca: Download complete [2023-02-01T23:34:25.588Z] 8998bd30e6a1: Verifying Checksum [2023-02-01T23:34:25.588Z] 8998bd30e6a1: Download complete [2023-02-01T23:34:28.172Z] 2437ff75d9bd: Download complete [2023-02-01T23:34:29.595Z] 8998bd30e6a1: Pull complete [2023-02-01T23:34:29.862Z] 04944245beec: Pull complete [2023-02-01T23:34:31.275Z] 699f458cf7ca: Pull complete [2023-02-01T23:34:31.542Z] 765212b225bb: Pull complete [2023-02-01T23:34:32.125Z] f23df028b6ca: Pull complete [2023-02-01T23:34:32.391Z] d65c8cfc05b1: Pull complete [2023-02-01T23:34:47.378Z] 2437ff75d9bd: Pull complete [2023-02-01T23:34:47.378Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-01T23:34:47.378Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-01T23:34:47.378Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-01T23:34:47.578Z] prd-ubuntu20.04-docker-arm64-4c-16g-4307 does not seem to be running inside a container [2023-02-01T23:34:47.647Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-01T23:34:50.216Z] $ docker top d7e1c17dca578d381f952c558b50045a31cb3a047c289da66c56afd98d3e4adf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-01T23:34:51.047Z] ---> job-cost.sh [2023-02-01T23:34:51.047Z] lf-activate-venv: SKIPPING [2023-02-01T23:34:51.047Z] INFO: No Stack... [2023-02-01T23:34:51.630Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-01T23:34:52.212Z] INFO: Archiving Costs [Pipeline] sh [2023-02-01T23:34:52.850Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [2023-02-01T23:34:52.850Z] + cut -d, -f6 [Pipeline] lock [2023-02-01T23:34:52.917Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1298-3-stack-cost] [2023-02-01T23:34:52.922Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1298-3-stack-cost] did not exist. Created. [2023-02-01T23:34:52.922Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1298-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-01T23:34:53.260Z] /w/workspace/device-sdk-go/3@tmp/durable-f4e73043/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-01T23:34:53.905Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-01T23:34:53.923Z] Warning: overwriting stash ‘stack-cost’ [2023-02-01T23:34:53.987Z] Stashed 1 file(s) [Pipeline] } [2023-02-01T23:34:53.995Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1298-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-01T23:34:54.014Z] $ docker stop --time=1 d7e1c17dca578d381f952c558b50045a31cb3a047c289da66c56afd98d3e4adf [2023-02-01T23:34:55.505Z] $ docker rm -f --volumes d7e1c17dca578d381f952c558b50045a31cb3a047c289da66c56afd98d3e4adf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-02-01T23:34:56.076Z] provisioning config files... [2023-02-01T23:34:56.083Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1298@tmp/config15719148370821854565tmp [Pipeline] { [Pipeline] sh [2023-02-01T23:34:56.374Z] + set +x [2023-02-01T23:34:56.374Z] + curl -s https://codecov.io/bash [2023-02-01T23:34:56.374Z] + bash -s -- [2023-02-01T23:34:56.374Z] [2023-02-01T23:34:56.374Z] _____ _ [2023-02-01T23:34:56.374Z] / ____| | | [2023-02-01T23:34:56.374Z] | | ___ __| | ___ ___ _____ __ [2023-02-01T23:34:56.374Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-01T23:34:56.374Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-01T23:34:56.374Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-01T23:34:56.374Z] Bash-1.0.6 [2023-02-01T23:34:56.374Z] [2023-02-01T23:34:56.374Z] [2023-02-01T23:34:56.374Z] ==> git version 2.25.1 found [2023-02-01T23:34:56.374Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-02-01T23:34:56.374Z] Release-Date: 2020-01-08 [2023-02-01T23:34:56.374Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-02-01T23:34:56.374Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-01T23:34:56.374Z] ==> Jenkins CI detected. [2023-02-01T23:34:56.374Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1298 [2023-02-01T23:34:56.374Z] project root: . [2023-02-01T23:34:56.374Z] --> token set from env [2023-02-01T23:34:56.374Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-01T23:34:56.374Z] ==> Running gcov in . (disable via -X gcov) [2023-02-01T23:34:56.374Z] ==> Python coveragepy not found [2023-02-01T23:34:56.374Z] ==> Searching for coverage reports in: [2023-02-01T23:34:56.374Z] + . [2023-02-01T23:34:56.374Z] -> Found 1 reports [2023-02-01T23:34:56.374Z] ==> Detecting git/mercurial file structure [2023-02-01T23:34:56.374Z] ==> Reading reports [2023-02-01T23:34:56.374Z] + ./coverage.out bytes=100731 [2023-02-01T23:34:56.374Z] ==> Appending adjustments [2023-02-01T23:34:56.374Z] https://docs.codecov.io/docs/fixing-reports [2023-02-01T23:34:56.633Z] + Found adjustments [2023-02-01T23:34:56.633Z] ==> Gzipping contents [2023-02-01T23:34:56.633Z] 16K /tmp/codecov.Ztesaw.gz [2023-02-01T23:34:56.633Z] ==> Uploading reports [2023-02-01T23:34:56.633Z] url: https://codecov.io [2023-02-01T23:34:56.633Z] query: branch=PR-1298&commit=89d807d8113b45d5cd8e97f478743d732b99a48e&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1298%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1298&job=&cmd_args= [2023-02-01T23:34:56.633Z] -> Pinging Codecov [2023-02-01T23:34:56.633Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1298&commit=89d807d8113b45d5cd8e97f478743d732b99a48e&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1298%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1298&job=&cmd_args= [2023-02-01T23:34:57.202Z] -> Uploading to [2023-02-01T23:34:57.202Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-01/7E55EF52A471D76F132DFD9A03CDDE97/89d807d8113b45d5cd8e97f478743d732b99a48e/52b2507e-1b72-408b-8ba4-ae697c846ed1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230201%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230201T233456Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a8e3f3c5b95caae19420e7a416356d99ce6ce322152df31bb153c26e992164cd [2023-02-01T23:34:57.202Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-01T23:34:57.202Z] Dload Upload Total Spent Left Speed [2023-02-01T23:34:57.460Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14533 0 0 100 14533 0 52276 --:--:-- --:--:-- --:--:-- 52465 [2023-02-01T23:34:57.461Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/89d807d8113b45d5cd8e97f478743d732b99a48e [Pipeline] } [2023-02-01T23:34:57.468Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-02-01T23:34:58.316Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1298/archives ] [2023-02-01T23:34:58.316Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1298/archives [2023-02-01T23:34:58.316Z] total 16 [2023-02-01T23:34:58.316Z] drwxr-xr-x 3 root root 4096 Feb 1 23:25 . [2023-02-01T23:34:58.316Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 1 23:25 .. [2023-02-01T23:34:58.316Z] drwxr-xr-x 2 root root 4096 Feb 1 23:25 cost [2023-02-01T23:34:58.316Z] -rw-r--r-- 1 root root 86 Feb 1 23:25 cost.csv [2023-02-01T23:34:58.316Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1298/archives [2023-02-01T23:34:58.316Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1298/archives [2023-02-01T23:34:58.316Z] total 16 [2023-02-01T23:34:58.316Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 1 23:25 . [2023-02-01T23:34:58.316Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 1 23:25 .. [2023-02-01T23:34:58.316Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 1 23:25 cost [2023-02-01T23:34:58.316Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 1 23:25 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-01T23:34:58.613Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-01T23:34:59.476Z] ---> package-listing.sh [2023-02-01T23:34:59.476Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-01T23:34:59.476Z] ++ facter osfamily [2023-02-01T23:34:59.735Z] + OS_FAMILY=debian [2023-02-01T23:34:59.735Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1298 [2023-02-01T23:34:59.735Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-01T23:34:59.735Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-01T23:34:59.735Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-01T23:34:59.735Z] + PACKAGES=/tmp/packages_start.txt [2023-02-01T23:34:59.735Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1298 ']' [2023-02-01T23:34:59.735Z] + PACKAGES=/tmp/packages_end.txt [2023-02-01T23:34:59.735Z] + case "${OS_FAMILY}" in [2023-02-01T23:34:59.735Z] + dpkg -l [2023-02-01T23:34:59.735Z] + grep '^ii' [2023-02-01T23:34:59.735Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-01T23:34:59.735Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-01T23:34:59.735Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-01T23:34:59.735Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1298 ']' [2023-02-01T23:34:59.735Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1298/archives/ [2023-02-01T23:34:59.735Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1298/archives/ [Pipeline] echo [2023-02-01T23:34:59.747Z] 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-1298/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-01T23:35:00.031Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-01T23:35:00.332Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-01T23:35:00.333Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-01T23:35:00.399Z] prd-ubuntu20.04-docker-8c-8g-4305 does not seem to be running inside a container [2023-02-01T23:35:00.452Z] $ 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-1298/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-1298 -v /w/workspace/gexfoundry_device-sdk-go_PR-1298:/w/workspace/gexfoundry_device-sdk-go_PR-1298:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1298@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1298@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-01T23:35:00.674Z] $ docker top ed1b08f8c2550de04a6e3c76767d1606e3fbce8669489d9be14bb5a1f57cb1d6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-01T23:35:01.016Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-01T23:35:01.304Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-01T23:35:01.587Z] + ls /var/log/sa-host [2023-02-01T23:35:01.587Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-01T23:35:01.732Z] provisioning config files... [2023-02-01T23:35:01.740Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1298@tmp/config9691164143219665724tmp [Pipeline] { [Pipeline] echo [2023-02-01T23:35:01.753Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-01T23:35:02.036Z] ---> create-netrc.sh [Pipeline] } [2023-02-01T23:35:02.044Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-01T23:35:02.405Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-01T23:35:02.417Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-01T23:35:02.701Z] ---> sudo-logs.sh [2023-02-01T23:35:02.701Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-01T23:35:02.729Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-01T23:35:03.009Z] ---> job-cost.sh [2023-02-01T23:35:03.009Z] lf-activate-venv: SKIPPING [2023-02-01T23:35:03.009Z] DEBUG: total: 0.2199999988079071 [2023-02-01T23:35:03.009Z] INFO: Retrieving Stack Cost... [2023-02-01T23:35:03.577Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-01T23:35:03.837Z] INFO: Archiving Costs [Pipeline] echo [2023-02-01T23:35:03.849Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-01T23:35:04.135Z] ---> logs-deploy.sh [2023-02-01T23:35:04.135Z] lf-activate-venv: SKIPPING [2023-02-01T23:35:04.135Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1298/3 [2023-02-01T23:35:04.135Z] INFO: archiving workspace using pattern(s): [2023-02-01T23:35:05.074Z] Archives upload complete. [2023-02-01T23:35:05.074Z] INFO: archiving logs to Nexus