Pull request #1403 opened 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 lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 2662c4136101ac24cf3f5ec7d6fe3830fa88e0ef+92ae96e570b0e90887048770798fafa65e025b58 (2e3b597b4e0ecca370b2ddb8e928db6cc6c4189a) 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-ssh13378981672799832208.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh7145198586121672785.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1403/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-1403/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5526693906334569921.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-1403/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14996383198421719771.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh1133082591091983213.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1403/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-1403/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16439561254339913248.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-5313 in /w/workspace/gexfoundry_device-sdk-go_PR-1403 [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-1403 # 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/1403/head:refs/remotes/origin/PR-1403 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 92ae96e570b0e90887048770798fafa65e025b58 into PR head commit 2662c4136101ac24cf3f5ec7d6fe3830fa88e0ef Merge succeeded, producing 2662c4136101ac24cf3f5ec7d6fe3830fa88e0ef Checking out Revision 2662c4136101ac24cf3f5ec7d6fe3830fa88e0ef (PR-1403) > git config core.sparsecheckout # timeout=10 > git checkout -f 2662c4136101ac24cf3f5ec7d6fe3830fa88e0ef # 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 92ae96e570b0e90887048770798fafa65e025b58 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2662c4136101ac24cf3f5ec7d6fe3830fa88e0ef # timeout=10 Commit message: "build: Update to latest modulde w/o TOML package" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-22T22:21:27.664Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-22T22:21:27.846Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-22T22:21:27.952Z] ========================================================= [2023-03-22T22:21:27.952Z] EdgeX Global Pipelines Version Info [2023-03-22T22:21:27.952Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-22T22:21:28.709Z] ------------------- [2023-03-22T22:21:28.709Z] stable info: [2023-03-22T22:21:28.709Z] ------------------- [2023-03-22T22:21:28.709Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-22T22:21:28.709Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-22T22:21:28.709Z] Message: update stable to v1.0.245 [2023-03-22T22:21:29.280Z] ------------------- [2023-03-22T22:21:29.280Z] experimental info: [2023-03-22T22:21:29.280Z] ------------------- [2023-03-22T22:21:29.280Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-22T22:21:29.280Z] Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 [2023-03-22T22:21:29.280Z] Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-22T22:21:29.585Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-03-22T22:21:29.630Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-03-22T22:21:29.671Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-22T22:21:29.710Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-22T22:21:29.755Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-22T22:21:29.793Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-22T22:21:29.831Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-22T22:21:29.870Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-03-22T22:21:29.911Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-22T22:21:29.949Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-22T22:21:29.987Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-22T22:21:30.025Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-03-22T22:21:30.064Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-22T22:21:30.103Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-22T22:21:30.144Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-22T22:21:30.185Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-03-22T22:21:30.223Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-22T22:21:30.264Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-22T22:21:30.305Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-22T22:21:30.339Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-22T22:21:30.383Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-22T22:21:30.422Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-03-22T22:21:30.466Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-22T22:21:30.508Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-22T22:21:30.550Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-22T22:21:30.586Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-22T22:21:30.625Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-22T22:21:30.672Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1403 [Pipeline] echo [2023-03-22T22:21:30.716Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1403 [Pipeline] echo [2023-03-22T22:21:30.755Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1403 [Pipeline] echo [2023-03-22T22:21:30.800Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2662c4136101ac24cf3f5ec7d6fe3830fa88e0ef [Pipeline] echo [2023-03-22T22:21:30.842Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2662c41 [Pipeline] echo [2023-03-22T22:21:30.883Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-22T22:21:30.998Z] provisioning config files... [2023-03-22T22:21:31.010Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1403@tmp/config914300308642424188tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-22T22:21:31.347Z] ---> docker-login.sh [2023-03-22T22:21:31.347Z] nexus3.edgexfoundry.org:10001 [2023-03-22T22:21:31.606Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T22:21:31.606Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T22:21:31.606Z] Configure a credential helper to remove this warning. See [2023-03-22T22:21:31.606Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T22:21:31.606Z] [2023-03-22T22:21:31.606Z] Login Succeeded [2023-03-22T22:21:31.606Z] nexus3.edgexfoundry.org:10002 [2023-03-22T22:21:31.865Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T22:21:31.865Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T22:21:31.865Z] Configure a credential helper to remove this warning. See [2023-03-22T22:21:31.865Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T22:21:31.865Z] [2023-03-22T22:21:31.865Z] Login Succeeded [2023-03-22T22:21:31.865Z] nexus3.edgexfoundry.org:10003 [2023-03-22T22:21:31.865Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T22:21:31.865Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T22:21:31.865Z] Configure a credential helper to remove this warning. See [2023-03-22T22:21:31.865Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T22:21:31.865Z] [2023-03-22T22:21:31.865Z] Login Succeeded [2023-03-22T22:21:31.865Z] nexus3.edgexfoundry.org:10004 [2023-03-22T22:21:32.124Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T22:21:32.124Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T22:21:32.124Z] Configure a credential helper to remove this warning. See [2023-03-22T22:21:32.124Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T22:21:32.124Z] [2023-03-22T22:21:32.124Z] Login Succeeded [2023-03-22T22:21:32.124Z] docker.io [2023-03-22T22:21:32.124Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T22:21:32.384Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T22:21:32.384Z] Configure a credential helper to remove this warning. See [2023-03-22T22:21:32.384Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T22:21:32.384Z] [2023-03-22T22:21:32.384Z] Login Succeeded [2023-03-22T22:21:32.384Z] ---> docker-login.sh ends [Pipeline] } [2023-03-22T22:21:32.411Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-22T22:21:33.088Z] + git rev-list -1 --merges 2662c4136101ac24cf3f5ec7d6fe3830fa88e0ef~1..2662c4136101ac24cf3f5ec7d6fe3830fa88e0ef [Pipeline] echo [2023-03-22T22:21:33.155Z] -----------> git rev-list -1 --merges 2662c4136101ac24cf3f5ec7d6fe3830fa88e0ef~1..2662c4136101ac24cf3f5ec7d6fe3830fa88e0ef 2662c4136101ac24cf3f5ec7d6fe3830fa88e0ef [false] [Pipeline] sh [2023-03-22T22:21:33.464Z] + git log --format=format:%s -1 2662c4136101ac24cf3f5ec7d6fe3830fa88e0ef [Pipeline] echo [2023-03-22T22:21:33.500Z] ========================================================= [2023-03-22T22:21:33.500Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-22T22:21:33.500Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-22T22:21:33.935Z] + git log --format=format:%s -1 2662c4136101ac24cf3f5ec7d6fe3830fa88e0ef [Pipeline] echo [2023-03-22T22:21:33.971Z] [semverPrep] GIT_COMMIT: 2662c4136101ac24cf3f5ec7d6fe3830fa88e0ef, Commit Message: build: Update to latest modulde w/o TOML package [Pipeline] echo [2023-03-22T22:21:34.005Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-22T22:21:34.383Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-22T22:21:34.383Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-22T22:21:34.383Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-22T22:21:34.383Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-22T22:21:34.383Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-22T22:21:34.383Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-22T22:21:34.383Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T22:21:34.810Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-22T22:21:34.810Z] [2023-03-22T22:21:34.810Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T22:21:35.185Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-22T22:21:35.185Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-22T22:21:35.185Z] b85a868b505f: Pulling fs layer [2023-03-22T22:21:35.185Z] e2be974225ed: Pulling fs layer [2023-03-22T22:21:35.185Z] 339a4e72a1f5: Pulling fs layer [2023-03-22T22:21:35.185Z] 988bab9f4d93: Pulling fs layer [2023-03-22T22:21:35.185Z] 1469e6f7b9e6: Pulling fs layer [2023-03-22T22:21:35.185Z] eaf3925da568: Pulling fs layer [2023-03-22T22:21:35.185Z] bab4dde63d76: Pulling fs layer [2023-03-22T22:21:35.185Z] bde34c3a00c8: Pulling fs layer [2023-03-22T22:21:35.185Z] b352a97aabf1: Pulling fs layer [2023-03-22T22:21:35.185Z] 4872d77fe225: Pulling fs layer [2023-03-22T22:21:35.185Z] 5851b861e8e6: Pulling fs layer [2023-03-22T22:21:35.185Z] 1469e6f7b9e6: Waiting [2023-03-22T22:21:35.185Z] bab4dde63d76: Waiting [2023-03-22T22:21:35.185Z] eaf3925da568: Waiting [2023-03-22T22:21:35.185Z] bde34c3a00c8: Waiting [2023-03-22T22:21:35.185Z] 988bab9f4d93: Waiting [2023-03-22T22:21:35.185Z] b352a97aabf1: Waiting [2023-03-22T22:21:35.185Z] 4872d77fe225: Waiting [2023-03-22T22:21:35.185Z] 5851b861e8e6: Waiting [2023-03-22T22:21:35.185Z] e2be974225ed: Verifying Checksum [2023-03-22T22:21:35.185Z] e2be974225ed: Download complete [2023-03-22T22:21:35.185Z] 988bab9f4d93: Download complete [2023-03-22T22:21:35.444Z] 1469e6f7b9e6: Verifying Checksum [2023-03-22T22:21:35.444Z] 1469e6f7b9e6: Download complete [2023-03-22T22:21:35.444Z] eaf3925da568: Verifying Checksum [2023-03-22T22:21:35.444Z] eaf3925da568: Download complete [2023-03-22T22:21:35.444Z] 339a4e72a1f5: Verifying Checksum [2023-03-22T22:21:35.444Z] 339a4e72a1f5: Download complete [2023-03-22T22:21:35.444Z] bde34c3a00c8: Download complete [2023-03-22T22:21:35.444Z] b352a97aabf1: Verifying Checksum [2023-03-22T22:21:35.444Z] b352a97aabf1: Download complete [2023-03-22T22:21:35.444Z] 4872d77fe225: Download complete [2023-03-22T22:21:35.444Z] 5851b861e8e6: Download complete [2023-03-22T22:21:35.444Z] b85a868b505f: Verifying Checksum [2023-03-22T22:21:35.444Z] b85a868b505f: Download complete [2023-03-22T22:21:35.702Z] bab4dde63d76: Verifying Checksum [2023-03-22T22:21:35.702Z] bab4dde63d76: Download complete [2023-03-22T22:21:36.634Z] b85a868b505f: Pull complete [2023-03-22T22:21:36.634Z] e2be974225ed: Pull complete [2023-03-22T22:21:37.204Z] 339a4e72a1f5: Pull complete [2023-03-22T22:21:37.204Z] 988bab9f4d93: Pull complete [2023-03-22T22:21:37.463Z] 1469e6f7b9e6: Pull complete [2023-03-22T22:21:37.463Z] eaf3925da568: Pull complete [2023-03-22T22:21:39.360Z] bab4dde63d76: Pull complete [2023-03-22T22:21:39.360Z] bde34c3a00c8: Pull complete [2023-03-22T22:21:39.360Z] b352a97aabf1: Pull complete [2023-03-22T22:21:39.360Z] 4872d77fe225: Pull complete [2023-03-22T22:21:39.619Z] 5851b861e8e6: Pull complete [2023-03-22T22:21:39.619Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-22T22:21:39.619Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-22T22:21:39.619Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T22:21:39.851Z] prd-ubuntu20.04-docker-8c-8g-5313 does not seem to be running inside a container [2023-03-22T22:21:39.881Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1403 -v /w/workspace/gexfoundry_device-sdk-go_PR-1403:/w/workspace/gexfoundry_device-sdk-go_PR-1403:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1403@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1403@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-22T22:21:42.290Z] $ docker top c43e213051b3543b5b69b0dde942592f07c825d6d2f53db2b2d69c4b1068b69e -eo pid,comm [2023-03-22T22:21:42.346Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-03-22T22:21:42.347Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-22T22:21:42.471Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-22T22:21:42.471Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-22T22:21:42.583Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-22T22:21:42.580Z] $ docker exec c43e213051b3543b5b69b0dde942592f07c825d6d2f53db2b2d69c4b1068b69e ssh-agent [2023-03-22T22:21:42.691Z] SSH_AUTH_SOCK=/tmp/ssh-saRlaDLLsF8a/agent.31 [2023-03-22T22:21:42.691Z] SSH_AGENT_PID=37 [2023-03-22T22:21:42.696Z] Running ssh-add (command line suppressed) [2023-03-22T22:21:42.790Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1403@tmp/private_key_18277297748091065182.key (/w/workspace/gexfoundry_device-sdk-go_PR-1403@tmp/private_key_18277297748091065182.key) [2023-03-22T22:21:42.812Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-22T22:21:43.145Z] + git tag --points-at HEAD [Pipeline] } [2023-03-22T22:21:43.167Z] $ docker exec --env ******** --env ******** c43e213051b3543b5b69b0dde942592f07c825d6d2f53db2b2d69c4b1068b69e ssh-agent -k [2023-03-22T22:21:43.259Z] unset SSH_AUTH_SOCK; [2023-03-22T22:21:43.260Z] unset SSH_AGENT_PID; [2023-03-22T22:21:43.260Z] echo Agent pid 37 killed; [2023-03-22T22:21:43.276Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-22T22:21:43.363Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-22T22:21:43.363Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-22T22:21:43.490Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-22T22:21:43.488Z] $ docker exec c43e213051b3543b5b69b0dde942592f07c825d6d2f53db2b2d69c4b1068b69e ssh-agent [2023-03-22T22:21:43.598Z] SSH_AUTH_SOCK=/tmp/ssh-hADXFw8hEBfv/agent.69 [2023-03-22T22:21:43.598Z] SSH_AGENT_PID=75 [2023-03-22T22:21:43.602Z] Running ssh-add (command line suppressed) [2023-03-22T22:21:43.717Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1403@tmp/private_key_9328767901808101368.key (/w/workspace/gexfoundry_device-sdk-go_PR-1403@tmp/private_key_9328767901808101368.key) [2023-03-22T22:21:43.739Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-22T22:21:44.065Z] + git semver init [2023-03-22T22:21:44.326Z] 2023-03-22 22:21:44,244 [run_init] DEBUG init version:0.0.0 force:False [2023-03-22T22:21:44.326Z] 2023-03-22 22:21:44,245 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1403/.semver [2023-03-22T22:21:44.326Z] 2023-03-22 22:21:44,246 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1403/.semver [2023-03-22T22:21:44.326Z] 2023-03-22 22:21:44,246 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1403/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1403, universal_newlines=False, shell=None, istream=None) [2023-03-22T22:21:45.267Z] 2023-03-22 22:21:45,140 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1403/.git/info/exclude [2023-03-22T22:21:45.267Z] 2023-03-22 22:21:45,141 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1403/.semver/PR-1403 with force:False [2023-03-22T22:21:45.267Z] 2023-03-22 22:21:45,141 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1403/.semver/PR-1403 [2023-03-22T22:21:45.267Z] 2023-03-22 22:21:45,143 [execute] INFO git cat-file --batch-check [2023-03-22T22:21:45.267Z] 2023-03-22 22:21:45,143 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1403/.semver, universal_newlines=False, shell=None, istream=) [2023-03-22T22:21:45.267Z] 2023-03-22 22:21:45,147 [execute] INFO git cat-file --batch [2023-03-22T22:21:45.267Z] 2023-03-22 22:21:45,148 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1403/.semver, universal_newlines=False, shell=None, istream=) [2023-03-22T22:21:45.267Z] 2023-03-22 22:21:45,151 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1403/.semver/PR-1403 [2023-03-22T22:21:45.267Z] 0.0.0 [Pipeline] } [2023-03-22T22:21:45.291Z] $ docker exec --env ******** --env ******** c43e213051b3543b5b69b0dde942592f07c825d6d2f53db2b2d69c4b1068b69e ssh-agent -k [2023-03-22T22:21:45.383Z] unset SSH_AUTH_SOCK; [2023-03-22T22:21:45.383Z] unset SSH_AGENT_PID; [2023-03-22T22:21:45.383Z] echo Agent pid 75 killed; [2023-03-22T22:21:45.394Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-22T22:21:45.809Z] + git semver [Pipeline] } [2023-03-22T22:21:46.087Z] $ docker stop --time=1 c43e213051b3543b5b69b0dde942592f07c825d6d2f53db2b2d69c4b1068b69e [2023-03-22T22:21:47.382Z] $ docker rm -f --volumes c43e213051b3543b5b69b0dde942592f07c825d6d2f53db2b2d69c4b1068b69e [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-22T22:21:47.774Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-22T22:21:48.026Z] Stashed 1 file(s) [Pipeline] echo [2023-03-22T22:21:48.045Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-22T22:21:48.632Z] provisioning config files... [2023-03-22T22:21:48.642Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1403@tmp/config3757493906474472950tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-22T22:21:48.987Z] ---> docker-login.sh [2023-03-22T22:21:48.987Z] nexus3.edgexfoundry.org:10001 [2023-03-22T22:21:48.987Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T22:21:48.987Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T22:21:48.987Z] Configure a credential helper to remove this warning. See [2023-03-22T22:21:48.987Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T22:21:48.987Z] [2023-03-22T22:21:48.987Z] Login Succeeded [2023-03-22T22:21:48.987Z] nexus3.edgexfoundry.org:10002 [2023-03-22T22:21:48.987Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T22:21:48.987Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T22:21:48.987Z] Configure a credential helper to remove this warning. See [2023-03-22T22:21:48.987Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T22:21:48.987Z] [2023-03-22T22:21:48.987Z] Login Succeeded [2023-03-22T22:21:48.987Z] nexus3.edgexfoundry.org:10003 [2023-03-22T22:21:49.246Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T22:21:49.246Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T22:21:49.246Z] Configure a credential helper to remove this warning. See [2023-03-22T22:21:49.246Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T22:21:49.246Z] [2023-03-22T22:21:49.246Z] Login Succeeded [2023-03-22T22:21:49.246Z] nexus3.edgexfoundry.org:10004 [2023-03-22T22:21:49.246Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T22:21:49.246Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T22:21:49.246Z] Configure a credential helper to remove this warning. See [2023-03-22T22:21:49.246Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T22:21:49.246Z] [2023-03-22T22:21:49.246Z] Login Succeeded [2023-03-22T22:21:49.246Z] docker.io [2023-03-22T22:21:49.246Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T22:21:49.507Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T22:21:49.507Z] Configure a credential helper to remove this warning. See [2023-03-22T22:21:49.507Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T22:21:49.507Z] [2023-03-22T22:21:49.507Z] Login Succeeded [2023-03-22T22:21:49.507Z] ---> docker-login.sh ends [Pipeline] } [2023-03-22T22:21:49.546Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-22T22:21:49.737Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-22T22:21:49.770Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-22T22:21:49.801Z] ========================================================= [2023-03-22T22:21:49.801Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-22T22:21:49.801Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T22:21:50.262Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-22T22:21:50.262Z] Sending build context to Docker daemon 10.83MB [2023-03-22T22:21:50.262Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-22T22:21:50.262Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-22T22:21:50.262Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-22T22:21:50.262Z] 63b65145d645: Pulling fs layer [2023-03-22T22:21:50.262Z] a2d21d5440eb: Pulling fs layer [2023-03-22T22:21:50.262Z] 935e6c44a52c: Pulling fs layer [2023-03-22T22:21:50.262Z] 94cc34f8dd06: Pulling fs layer [2023-03-22T22:21:50.262Z] 30dea6a524f1: Pulling fs layer [2023-03-22T22:21:50.262Z] a2aff8979fd8: Pulling fs layer [2023-03-22T22:21:50.262Z] 94cc34f8dd06: Waiting [2023-03-22T22:21:50.262Z] 6808be2612f2: Pulling fs layer [2023-03-22T22:21:50.262Z] 30dea6a524f1: Waiting [2023-03-22T22:21:50.262Z] f25807f1079a: Pulling fs layer [2023-03-22T22:21:50.262Z] a2aff8979fd8: Waiting [2023-03-22T22:21:50.262Z] f25807f1079a: Waiting [2023-03-22T22:21:50.262Z] 6808be2612f2: Waiting [2023-03-22T22:21:50.523Z] a2d21d5440eb: Verifying Checksum [2023-03-22T22:21:50.523Z] a2d21d5440eb: Download complete [2023-03-22T22:21:50.523Z] 94cc34f8dd06: Verifying Checksum [2023-03-22T22:21:50.523Z] 94cc34f8dd06: Download complete [2023-03-22T22:21:50.523Z] 30dea6a524f1: Download complete [2023-03-22T22:21:50.523Z] 63b65145d645: Verifying Checksum [2023-03-22T22:21:50.523Z] 63b65145d645: Download complete [2023-03-22T22:21:50.523Z] a2aff8979fd8: Verifying Checksum [2023-03-22T22:21:50.523Z] a2aff8979fd8: Download complete [2023-03-22T22:21:50.523Z] 63b65145d645: Pull complete [2023-03-22T22:21:50.785Z] a2d21d5440eb: Pull complete [2023-03-22T22:21:51.044Z] f25807f1079a: Verifying Checksum [2023-03-22T22:21:51.044Z] f25807f1079a: Download complete [2023-03-22T22:21:51.301Z] 935e6c44a52c: Verifying Checksum [2023-03-22T22:21:51.301Z] 935e6c44a52c: Download complete [2023-03-22T22:21:51.301Z] 6808be2612f2: Verifying Checksum [2023-03-22T22:21:51.301Z] 6808be2612f2: Download complete [2023-03-22T22:21:54.578Z] 935e6c44a52c: Pull complete [2023-03-22T22:21:54.578Z] 94cc34f8dd06: Pull complete [2023-03-22T22:21:54.578Z] 30dea6a524f1: Pull complete [2023-03-22T22:21:54.578Z] a2aff8979fd8: Pull complete [2023-03-22T22:21:56.477Z] 6808be2612f2: Pull complete [2023-03-22T22:21:57.413Z] f25807f1079a: Pull complete [2023-03-22T22:21:57.413Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-22T22:21:57.413Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-22T22:21:57.413Z] ---> 3b553350e43f [2023-03-22T22:21:57.413Z] Step 3/10 : ARG MAKE=make build [2023-03-22T22:22:01.621Z] ---> Running in 4dc0d2ca977c [2023-03-22T22:22:01.621Z] Removing intermediate container 4dc0d2ca977c [2023-03-22T22:22:01.621Z] ---> 969e356f13e6 [2023-03-22T22:22:01.621Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-22T22:22:01.621Z] ---> Running in e8f4b143da34 [2023-03-22T22:22:01.621Z] Removing intermediate container e8f4b143da34 [2023-03-22T22:22:01.621Z] ---> e1dac9721834 [2023-03-22T22:22:01.621Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-22T22:22:01.621Z] ---> Running in de5b72e3b895 [2023-03-22T22:22:01.621Z] Removing intermediate container de5b72e3b895 [2023-03-22T22:22:01.621Z] ---> b25d2b4bea78 [2023-03-22T22:22:01.621Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-22T22:22:01.621Z] ---> Running in 58e1f8e4a502 [2023-03-22T22:22:01.621Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-22T22:22:01.621Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-22T22:22:01.880Z] OK: 265 MiB in 53 packages [2023-03-22T22:22:02.138Z] Removing intermediate container 58e1f8e4a502 [2023-03-22T22:22:02.138Z] ---> 6b8a431a281b [2023-03-22T22:22:02.138Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-22T22:22:02.138Z] ---> d56e2b38efd1 [2023-03-22T22:22:02.138Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-22T22:22:02.138Z] ---> Running in 34d5317e7c88 [2023-03-22T22:22:03.460Z] Still waiting to schedule task [2023-03-22T22:22:03.460Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-22T22:22:34.232Z] Removing intermediate container 34d5317e7c88 [2023-03-22T22:22:34.232Z] ---> f0fb02bebd24 [2023-03-22T22:22:34.232Z] Step 9/10 : COPY . . [2023-03-22T22:22:34.232Z] ---> 5df27edc56ca [2023-03-22T22:22:34.232Z] Step 10/10 : RUN ${MAKE} [2023-03-22T22:22:34.232Z] ---> Running in 0fb1f7b0b114 [2023-03-22T22:22:34.232Z] noop [2023-03-22T22:22:34.232Z] Removing intermediate container 0fb1f7b0b114 [2023-03-22T22:22:34.232Z] ---> 7e842114eba4 [2023-03-22T22:22:34.232Z] Successfully built 7e842114eba4 [2023-03-22T22:22:34.232Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T22:22:34.687Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-22T22:22:34.687Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T22:22:34.833Z] prd-ubuntu20.04-docker-8c-8g-5313 does not seem to be running inside a container [2023-03-22T22:22:34.874Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1403 -v /w/workspace/gexfoundry_device-sdk-go_PR-1403:/w/workspace/gexfoundry_device-sdk-go_PR-1403:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1403@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1403@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-22T22:22:35.226Z] $ docker top a7012c001e2871557bb0eaa3caee74f5b639ec23fbd64b82343f306f84acfef2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-22T22:22:35.615Z] + go version [2023-03-22T22:22:35.616Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-22T22:22:35.660Z] $ docker stop --time=1 a7012c001e2871557bb0eaa3caee74f5b639ec23fbd64b82343f306f84acfef2 [2023-03-22T22:22:36.914Z] $ docker rm -f --volumes a7012c001e2871557bb0eaa3caee74f5b639ec23fbd64b82343f306f84acfef2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T22:22:37.627Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-22T22:22:37.627Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T22:22:37.787Z] prd-ubuntu20.04-docker-8c-8g-5313 does not seem to be running inside a container [2023-03-22T22:22:37.831Z] $ 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-1403 -v /w/workspace/gexfoundry_device-sdk-go_PR-1403:/w/workspace/gexfoundry_device-sdk-go_PR-1403:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1403@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1403@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-22T22:22:38.152Z] $ docker top e32ff9504dd97be2417239b21047ad11b587eec5b85f97a8f1894ae86467927c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-22T22:22:38.525Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1403 [Pipeline] fileExists [Pipeline] sh [2023-03-22T22:22:38.880Z] + make test [2023-03-22T22:22:38.880Z] go test -race -coverprofile=coverage.out ./... [2023-03-22T22:22:45.440Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-22T22:22:57.623Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-22T22:22:57.623Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-22T22:22:57.623Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-22T22:22:57.623Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-22T22:22:57.623Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-22T22:22:57.623Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.050s coverage: 27.6% of statements [2023-03-22T22:22:57.623Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-22T22:22:57.623Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-22T22:22:57.623Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.051s coverage: 78.9% of statements [2023-03-22T22:22:57.623Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.101s coverage: 86.0% of statements [2023-03-22T22:22:57.879Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-22T22:22:57.879Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.102s coverage: 75.9% of statements [2023-03-22T22:22:58.135Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-22T22:22:58.393Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-22T22:22:58.393Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-22T22:22:58.956Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-22T22:23:01.482Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.070s coverage: 15.2% of statements [2023-03-22T22:23:01.482Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.112s coverage: 68.5% of statements [2023-03-22T22:23:01.482Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.126s coverage: 89.2% of statements [2023-03-22T22:23:01.482Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.049s coverage: 5.5% of statements [2023-03-22T22:23:19.545Z] GO111MODULE=on go vet ./... [2023-03-22T22:23:22.072Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-22T22:23:22.072Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-22T22:23:22.072Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-22T22:23:22.108Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-22T22:23:22.150Z] $ docker stop --time=1 e32ff9504dd97be2417239b21047ad11b587eec5b85f97a8f1894ae86467927c [2023-03-22T22:23:25.006Z] $ docker rm -f --volumes e32ff9504dd97be2417239b21047ad11b587eec5b85f97a8f1894ae86467927c [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-22T22:23:25.573Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-22T22:23:25.652Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-22T22:23:26.239Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-22T22:23:26.553Z] + ls -al . [2023-03-22T22:23:26.553Z] total 272 [2023-03-22T22:23:26.553Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 22 22:22 . [2023-03-22T22:23:26.553Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 22:21 .. [2023-03-22T22:23:26.553Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 22 22:21 .dockerignore [2023-03-22T22:23:26.553Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 22 22:21 .git [2023-03-22T22:23:26.553Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 22:21 .github [2023-03-22T22:23:26.553Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 22 22:21 .gitignore [2023-03-22T22:23:26.553Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 22 22:21 .golangci.yml [2023-03-22T22:23:26.553Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 22 22:21 .semver [2023-03-22T22:23:26.553Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 22 22:21 CHANGELOG.md [2023-03-22T22:23:26.553Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 22 22:21 GOVERNANCE.md [2023-03-22T22:23:26.553Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 22 22:21 Jenkinsfile [2023-03-22T22:23:26.553Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 22 22:21 LICENSE [2023-03-22T22:23:26.553Z] -rw-rw-r-- 1 jenkins jenkins 1714 Mar 22 22:21 Makefile [2023-03-22T22:23:26.553Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 22 22:21 OWNERS.md [2023-03-22T22:23:26.553Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 22 22:21 README.md [2023-03-22T22:23:26.553Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 22 22:21 VERSION [2023-03-22T22:23:26.553Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 22:21 bin [2023-03-22T22:23:26.553Z] -rw-r--r-- 1 jenkins jenkins 105656 Mar 22 22:23 coverage.out [2023-03-22T22:23:26.553Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 22 22:21 example [2023-03-22T22:23:26.553Z] -rw-rw-r-- 1 jenkins jenkins 3243 Mar 22 22:21 go.mod [2023-03-22T22:23:26.553Z] -rw-rw-r-- 1 jenkins jenkins 30606 Mar 22 22:21 go.sum [2023-03-22T22:23:26.553Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 22 22:21 internal [2023-03-22T22:23:26.553Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 22:21 openapi [2023-03-22T22:23:26.553Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 22 22:21 pkg [2023-03-22T22:23:26.553Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 22:21 snap [2023-03-22T22:23:26.553Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 22 22:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T22:23:26.950Z] + 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=2662c4136101ac24cf3f5ec7d6fe3830fa88e0ef --label arch=amd64 --label version=0.0.0 . [2023-03-22T22:23:26.950Z] Sending build context to Docker daemon 10.94MB [2023-03-22T22:23:26.950Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-03-22T22:23:26.950Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-22T22:23:26.950Z] ---> 7e842114eba4 [2023-03-22T22:23:26.950Z] Step 3/23 : ARG MAKE=make build [2023-03-22T22:23:27.208Z] ---> Running in bad61570f252 [2023-03-22T22:23:27.208Z] Removing intermediate container bad61570f252 [2023-03-22T22:23:27.208Z] ---> a02b265e9446 [2023-03-22T22:23:27.208Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-22T22:23:27.208Z] ---> Running in 9753625187b4 [2023-03-22T22:23:27.466Z] Removing intermediate container 9753625187b4 [2023-03-22T22:23:27.466Z] ---> 68b67958563c [2023-03-22T22:23:27.466Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-22T22:23:27.466Z] ---> Running in 3f1c711a2aa5 [2023-03-22T22:23:27.466Z] Removing intermediate container 3f1c711a2aa5 [2023-03-22T22:23:27.466Z] ---> 0f812ce1896a [2023-03-22T22:23:27.466Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-22T22:23:27.466Z] ---> Running in 3ca189ee497f [2023-03-22T22:23:27.725Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-22T22:23:27.984Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-22T22:23:28.243Z] OK: 265 MiB in 53 packages [2023-03-22T22:23:28.502Z] Removing intermediate container 3ca189ee497f [2023-03-22T22:23:28.502Z] ---> bc91f02be2b3 [2023-03-22T22:23:28.502Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-22T22:23:28.502Z] ---> 957aae4d4a95 [2023-03-22T22:23:28.502Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-22T22:23:28.502Z] ---> Running in bf7fc913b4a0 [2023-03-22T22:23:29.436Z] Removing intermediate container bf7fc913b4a0 [2023-03-22T22:23:29.436Z] ---> acc3a33a317f [2023-03-22T22:23:29.436Z] Step 9/23 : COPY . . [2023-03-22T22:23:30.006Z] ---> d5559fb13d13 [2023-03-22T22:23:30.006Z] Step 10/23 : RUN ${MAKE} [2023-03-22T22:23:30.006Z] ---> Running in faa8c7a5f72c [2023-03-22T22:23:30.263Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-03-22T22:23:48.344Z] Removing intermediate container faa8c7a5f72c [2023-03-22T22:23:48.344Z] ---> 0c5702a0c512 [2023-03-22T22:23:48.344Z] Step 11/23 : FROM alpine:3.17 [2023-03-22T22:23:48.603Z] 3.17: Pulling from library/alpine [2023-03-22T22:23:48.603Z] 63b65145d645: Already exists [2023-03-22T22:23:48.861Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-22T22:23:48.861Z] Status: Downloaded newer image for alpine:3.17 [2023-03-22T22:23:48.861Z] ---> b2aa39c304c2 [2023-03-22T22:23:48.861Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-22T22:23:48.861Z] ---> Running in 044f1d9175bb [2023-03-22T22:23:48.861Z] Removing intermediate container 044f1d9175bb [2023-03-22T22:23:48.861Z] ---> 6dfa8360e654 [2023-03-22T22:23:48.861Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-22T22:23:48.861Z] ---> Running in 08b67662e9be [2023-03-22T22:23:49.118Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-22T22:23:49.376Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-22T22:23:49.376Z] OK: 7 MiB in 15 packages [2023-03-22T22:23:49.635Z] Removing intermediate container 08b67662e9be [2023-03-22T22:23:49.635Z] ---> a267222c53b7 [2023-03-22T22:23:49.635Z] Step 14/23 : WORKDIR / [2023-03-22T22:23:49.635Z] ---> Running in 901098fdc91d [2023-03-22T22:23:49.894Z] Removing intermediate container 901098fdc91d [2023-03-22T22:23:49.894Z] ---> 88cc7a179201 [2023-03-22T22:23:49.894Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-22T22:23:49.894Z] ---> 40fd714c6ded [2023-03-22T22:23:49.895Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-22T22:23:50.502Z] ---> 90c503963b3e [2023-03-22T22:23:50.502Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-22T22:23:50.760Z] ---> 62eead734f7d [2023-03-22T22:23:50.760Z] Step 18/23 : EXPOSE 59999 [2023-03-22T22:23:50.760Z] ---> Running in 810d4e8b6905 [2023-03-22T22:23:50.760Z] Removing intermediate container 810d4e8b6905 [2023-03-22T22:23:50.760Z] ---> 60b51dcc4f3d [2023-03-22T22:23:50.760Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-22T22:23:50.760Z] ---> Running in 77bef4ba9e8b [2023-03-22T22:23:51.018Z] Removing intermediate container 77bef4ba9e8b [2023-03-22T22:23:51.018Z] ---> 19f9fc20f8c1 [2023-03-22T22:23:51.018Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-22T22:23:51.018Z] ---> Running in 7b1327563ddd [2023-03-22T22:23:51.018Z] Removing intermediate container 7b1327563ddd [2023-03-22T22:23:51.018Z] ---> d63ed444412d [2023-03-22T22:23:51.018Z] Step 21/23 : LABEL arch=amd64 [2023-03-22T22:23:51.018Z] ---> Running in c3ae7206632c [2023-03-22T22:23:51.018Z] Removing intermediate container c3ae7206632c [2023-03-22T22:23:51.018Z] ---> 3cbde1b6d4b3 [2023-03-22T22:23:51.018Z] Step 22/23 : LABEL git_sha=2662c4136101ac24cf3f5ec7d6fe3830fa88e0ef [2023-03-22T22:23:51.018Z] ---> Running in 779b118e95e4 [2023-03-22T22:23:51.278Z] Removing intermediate container 779b118e95e4 [2023-03-22T22:23:51.278Z] ---> 2232a6359cd3 [2023-03-22T22:23:51.278Z] Step 23/23 : LABEL version=0.0.0 [2023-03-22T22:23:51.278Z] ---> Running in 81c0271c7aba [2023-03-22T22:23:51.278Z] Removing intermediate container 81c0271c7aba [2023-03-22T22:23:51.278Z] ---> d8eaaed3dfb3 [2023-03-22T22:23:51.278Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-22T22:23:51.278Z] Successfully built d8eaaed3dfb3 [2023-03-22T22:23:51.278Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T22:23:52.115Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-22T22:23:52.115Z] [2023-03-22T22:23:52.115Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T22:23:52.494Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-22T22:23:52.494Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-22T22:23:52.494Z] 5eb5b503b376: Pulling fs layer [2023-03-22T22:23:52.494Z] 5c69ac0246d0: Pulling fs layer [2023-03-22T22:23:52.494Z] ec43610c2a17: Pulling fs layer [2023-03-22T22:23:52.494Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-22T22:23:52.494Z] 33b1e0a273af: Pulling fs layer [2023-03-22T22:23:52.494Z] 5d3b04190fa2: Pulling fs layer [2023-03-22T22:23:52.494Z] 2f39f015ded8: Pulling fs layer [2023-03-22T22:23:52.494Z] 3a2ae6a8a46f: Waiting [2023-03-22T22:23:52.494Z] 33b1e0a273af: Waiting [2023-03-22T22:23:52.494Z] 2f39f015ded8: Waiting [2023-03-22T22:23:52.494Z] 5d3b04190fa2: Waiting [2023-03-22T22:23:52.494Z] 5c69ac0246d0: Download complete [2023-03-22T22:23:52.494Z] 3a2ae6a8a46f: Download complete [2023-03-22T22:23:52.755Z] 33b1e0a273af: Verifying Checksum [2023-03-22T22:23:52.755Z] 33b1e0a273af: Download complete [2023-03-22T22:23:52.755Z] 5d3b04190fa2: Download complete [2023-03-22T22:23:52.755Z] ec43610c2a17: Verifying Checksum [2023-03-22T22:23:52.755Z] ec43610c2a17: Download complete [2023-03-22T22:23:52.755Z] 5eb5b503b376: Verifying Checksum [2023-03-22T22:23:52.755Z] 5eb5b503b376: Download complete [2023-03-22T22:23:53.324Z] 2f39f015ded8: Download complete [2023-03-22T22:23:53.889Z] 5eb5b503b376: Pull complete [2023-03-22T22:23:53.889Z] 5c69ac0246d0: Pull complete [2023-03-22T22:23:54.454Z] ec43610c2a17: Pull complete [2023-03-22T22:23:54.454Z] 3a2ae6a8a46f: Pull complete [2023-03-22T22:23:54.715Z] 33b1e0a273af: Pull complete [2023-03-22T22:23:54.715Z] 5d3b04190fa2: Pull complete [2023-03-22T22:23:58.897Z] 2f39f015ded8: Pull complete [2023-03-22T22:23:58.897Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-22T22:23:58.897Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-22T22:23:58.897Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T22:23:59.121Z] prd-ubuntu20.04-docker-8c-8g-5313 does not seem to be running inside a container [2023-03-22T22:23:59.160Z] $ 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-1403 -v /w/workspace/gexfoundry_device-sdk-go_PR-1403:/w/workspace/gexfoundry_device-sdk-go_PR-1403:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1403@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1403@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-22T22:24:03.336Z] $ docker top 0cace51168a4f430f6ccfe94c27573d4e2cab388c037a59211cbdc97db7e4a44 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-22T22:24:03.762Z] ---> job-cost.sh [2023-03-22T22:24:03.762Z] lf-activate-venv: SKIPPING [2023-03-22T22:24:03.762Z] INFO: No Stack... [2023-03-22T22:24:04.021Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-22T22:24:04.283Z] INFO: Archiving Costs [Pipeline] sh [2023-03-22T22:24:04.594Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1403/archives/cost.csv [2023-03-22T22:24:04.594Z] + cut -d, -f6 [Pipeline] lock [2023-03-22T22:24:04.635Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1403-1-stack-cost] [2023-03-22T22:24:04.640Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1403-1-stack-cost] did not exist. Created. [2023-03-22T22:24:04.640Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1403-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-22T22:24:05.036Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-22T22:24:05.085Z] Stashed 1 file(s) [Pipeline] } [2023-03-22T22:24:05.114Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1403-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-22T22:24:05.195Z] $ docker stop --time=1 0cace51168a4f430f6ccfe94c27573d4e2cab388c037a59211cbdc97db7e4a44 [2023-03-22T22:24:06.359Z] $ docker rm -f --volumes 0cace51168a4f430f6ccfe94c27573d4e2cab388c037a59211cbdc97db7e4a44 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-22T22:24:52.791Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5315 in /w/workspace/gexfoundry_device-sdk-go_PR-1403 [Pipeline] { [Pipeline] ws [2023-03-22T22:24:52.847Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-03-22T22:24:52.923Z] The recommended git tool is: git [2023-03-22T22:24:59.907Z] using credential edgex-jenkins-ssh [2023-03-22T22:24:59.932Z] Cloning the remote Git repository [2023-03-22T22:25:00.005Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-03-22T22:25:00.139Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-03-22T22:25:00.343Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-22T22:25:00.344Z] > git --version # timeout=10 [2023-03-22T22:25:00.377Z] > git --version # 'git version 2.25.1' [2023-03-22T22:25:00.381Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-22T22:25:00.569Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-22T22:25:02.406Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-22T22:25:02.442Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-22T22:25:04.357Z] Merging remotes/origin/main commit 92ae96e570b0e90887048770798fafa65e025b58 into PR head commit 2662c4136101ac24cf3f5ec7d6fe3830fa88e0ef [2023-03-22T22:25:03.583Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-22T22:25:03.630Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-22T22:25:03.631Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-22T22:25:03.648Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1403/head:refs/remotes/origin/PR-1403 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-22T22:25:04.384Z] > git config core.sparsecheckout # timeout=10 [2023-03-22T22:25:04.475Z] > git checkout -f 2662c4136101ac24cf3f5ec7d6fe3830fa88e0ef # timeout=10 [2023-03-22T22:25:04.606Z] > git remote # timeout=10 [2023-03-22T22:25:04.630Z] > git config --get remote.origin.url # timeout=10 [2023-03-22T22:25:04.659Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-22T22:25:04.676Z] > git merge 92ae96e570b0e90887048770798fafa65e025b58 # timeout=10 [2023-03-22T22:25:04.710Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-22T22:25:04.728Z] Merge succeeded, producing 2662c4136101ac24cf3f5ec7d6fe3830fa88e0ef [2023-03-22T22:25:04.729Z] Checking out Revision 2662c4136101ac24cf3f5ec7d6fe3830fa88e0ef (PR-1403) [2023-03-22T22:25:04.740Z] > git config core.sparsecheckout # timeout=10 [2023-03-22T22:25:04.759Z] > git checkout -f 2662c4136101ac24cf3f5ec7d6fe3830fa88e0ef # timeout=10 [2023-03-22T22:25:08.456Z] Commit message: "build: Update to latest modulde w/o TOML package" [2023-03-22T22:25:08.517Z] > git --version # timeout=10 [2023-03-22T22:25:08.529Z] > git --version # 'git version 2.25.1' [2023-03-22T22:25:08.546Z] fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-22T22:25:09.649Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-22T22:25:09.649Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-22T22:25:09.649Z] Dload Upload Total Spent Left Speed [2023-03-22T22:25:09.649Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 88548 0 --:--:-- --:--:-- --:--:-- 88548 [Pipeline] sh [2023-03-22T22:25:10.390Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-22T22:25:10.746Z] + sudo tee /etc/docker/daemon.new [2023-03-22T22:25:10.746Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-22T22:25:10.746Z] { [2023-03-22T22:25:10.746Z] "registry-mirrors": [ [2023-03-22T22:25:10.746Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-22T22:25:10.746Z] ], [2023-03-22T22:25:10.746Z] "bip": "10.250.0.254/24", [2023-03-22T22:25:10.746Z] "hosts": [ [2023-03-22T22:25:10.746Z] "tcp://0.0.0.0:5555", [2023-03-22T22:25:10.746Z] "unix:///var/run/docker.sock" [2023-03-22T22:25:10.746Z] ], [2023-03-22T22:25:10.746Z] "mtu": 1458, [2023-03-22T22:25:10.746Z] "selinux-enabled": true, [2023-03-22T22:25:10.746Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-22T22:25:10.746Z] } [Pipeline] sh [2023-03-22T22:25:11.137Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-22T22:25:11.516Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-22T22:25:29.873Z] provisioning config files... [2023-03-22T22:25:29.906Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config3115155130388963058tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-22T22:25:30.301Z] ---> docker-login.sh [2023-03-22T22:25:30.301Z] nexus3.edgexfoundry.org:10001 [2023-03-22T22:25:30.891Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T22:25:30.891Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T22:25:30.891Z] Configure a credential helper to remove this warning. See [2023-03-22T22:25:30.891Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T22:25:30.891Z] [2023-03-22T22:25:30.891Z] Login Succeeded [2023-03-22T22:25:30.891Z] nexus3.edgexfoundry.org:10002 [2023-03-22T22:25:31.161Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T22:25:31.432Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T22:25:31.432Z] Configure a credential helper to remove this warning. See [2023-03-22T22:25:31.432Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T22:25:31.432Z] [2023-03-22T22:25:31.432Z] Login Succeeded [2023-03-22T22:25:31.432Z] nexus3.edgexfoundry.org:10003 [2023-03-22T22:25:31.432Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T22:25:31.702Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T22:25:31.702Z] Configure a credential helper to remove this warning. See [2023-03-22T22:25:31.702Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T22:25:31.702Z] [2023-03-22T22:25:31.702Z] Login Succeeded [2023-03-22T22:25:31.702Z] nexus3.edgexfoundry.org:10004 [2023-03-22T22:25:31.977Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T22:25:31.977Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T22:25:31.977Z] Configure a credential helper to remove this warning. See [2023-03-22T22:25:31.977Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T22:25:31.977Z] [2023-03-22T22:25:31.977Z] Login Succeeded [2023-03-22T22:25:31.977Z] docker.io [2023-03-22T22:25:32.248Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T22:25:32.518Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T22:25:32.518Z] Configure a credential helper to remove this warning. See [2023-03-22T22:25:32.518Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T22:25:32.518Z] [2023-03-22T22:25:32.518Z] Login Succeeded [2023-03-22T22:25:32.518Z] ---> docker-login.sh ends [Pipeline] } [2023-03-22T22:25:32.544Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-22T22:25:32.961Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-22T22:25:32.996Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-22T22:25:33.028Z] ========================================================= [2023-03-22T22:25:33.028Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-22T22:25:33.028Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T22:25:33.532Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-22T22:25:33.803Z] Sending build context to Docker daemon 5.829MB [2023-03-22T22:25:34.074Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-22T22:25:34.074Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-22T22:25:34.074Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-22T22:25:34.074Z] af6eaf76a39c: Pulling fs layer [2023-03-22T22:25:34.074Z] 55522c791124: Pulling fs layer [2023-03-22T22:25:34.074Z] ce5c4a1c91eb: Pulling fs layer [2023-03-22T22:25:34.074Z] 169dfbe0d373: Pulling fs layer [2023-03-22T22:25:34.074Z] e1ff8fa3b103: Pulling fs layer [2023-03-22T22:25:34.074Z] 52ebb69f0ebf: Pulling fs layer [2023-03-22T22:25:34.074Z] 5abe8eddf0d5: Pulling fs layer [2023-03-22T22:25:34.074Z] 169dfbe0d373: Waiting [2023-03-22T22:25:34.074Z] e1ff8fa3b103: Waiting [2023-03-22T22:25:34.074Z] 5abe8eddf0d5: Waiting [2023-03-22T22:25:34.074Z] 52ebb69f0ebf: Waiting [2023-03-22T22:25:34.074Z] 55522c791124: Verifying Checksum [2023-03-22T22:25:34.074Z] 55522c791124: Download complete [2023-03-22T22:25:34.357Z] 169dfbe0d373: Verifying Checksum [2023-03-22T22:25:34.357Z] 169dfbe0d373: Download complete [2023-03-22T22:25:34.357Z] e1ff8fa3b103: Verifying Checksum [2023-03-22T22:25:34.357Z] e1ff8fa3b103: Download complete [2023-03-22T22:25:34.357Z] af6eaf76a39c: Verifying Checksum [2023-03-22T22:25:34.357Z] af6eaf76a39c: Download complete [2023-03-22T22:25:35.332Z] af6eaf76a39c: Pull complete [2023-03-22T22:25:35.332Z] 5abe8eddf0d5: Verifying Checksum [2023-03-22T22:25:35.332Z] 5abe8eddf0d5: Download complete [2023-03-22T22:25:35.945Z] 55522c791124: Pull complete [2023-03-22T22:25:36.919Z] ce5c4a1c91eb: Verifying Checksum [2023-03-22T22:25:36.919Z] ce5c4a1c91eb: Download complete [2023-03-22T22:25:36.919Z] 52ebb69f0ebf: Download complete [2023-03-22T22:25:49.270Z] ce5c4a1c91eb: Pull complete [2023-03-22T22:25:49.270Z] 169dfbe0d373: Pull complete [2023-03-22T22:25:49.270Z] e1ff8fa3b103: Pull complete [2023-03-22T22:25:55.949Z] 52ebb69f0ebf: Pull complete [2023-03-22T22:25:57.912Z] 5abe8eddf0d5: Pull complete [2023-03-22T22:25:57.912Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-22T22:25:57.912Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-22T22:25:57.912Z] ---> 6cb57ee374ae [2023-03-22T22:25:57.912Z] Step 3/10 : ARG MAKE=make build [2023-03-22T22:25:59.873Z] ---> Running in b70a7542b87b [2023-03-22T22:26:00.142Z] Removing intermediate container b70a7542b87b [2023-03-22T22:26:00.142Z] ---> 053c3e510cda [2023-03-22T22:26:00.142Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-22T22:26:00.412Z] ---> Running in ffbca36620fa [2023-03-22T22:26:00.682Z] Removing intermediate container ffbca36620fa [2023-03-22T22:26:00.682Z] ---> 29b825b2f793 [2023-03-22T22:26:00.682Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-22T22:26:00.682Z] ---> Running in c39df7cfeab1 [2023-03-22T22:26:00.951Z] Removing intermediate container c39df7cfeab1 [2023-03-22T22:26:00.951Z] ---> e585fbe59621 [2023-03-22T22:26:00.951Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-22T22:26:01.220Z] ---> Running in 17da35d13b94 [2023-03-22T22:26:02.641Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-22T22:26:02.911Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-22T22:26:04.327Z] OK: 263 MiB in 53 packages [2023-03-22T22:26:05.292Z] Removing intermediate container 17da35d13b94 [2023-03-22T22:26:05.292Z] ---> 7390f6bd4d16 [2023-03-22T22:26:05.292Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-22T22:26:05.879Z] ---> fe338653a6df [2023-03-22T22:26:05.879Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-22T22:26:06.155Z] ---> Running in 4dcbfa5c246e [2023-03-22T22:27:14.068Z] Removing intermediate container 4dcbfa5c246e [2023-03-22T22:27:14.068Z] ---> 405ae7168e0e [2023-03-22T22:27:14.068Z] Step 9/10 : COPY . . [2023-03-22T22:27:14.068Z] ---> 5b13a83f562c [2023-03-22T22:27:14.068Z] Step 10/10 : RUN ${MAKE} [2023-03-22T22:27:14.068Z] ---> Running in a47103820942 [2023-03-22T22:27:14.068Z] noop [2023-03-22T22:27:15.027Z] Removing intermediate container a47103820942 [2023-03-22T22:27:15.027Z] ---> 466853c4bed0 [2023-03-22T22:27:15.027Z] Successfully built 466853c4bed0 [2023-03-22T22:27:15.027Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T22:27:15.507Z] + docker inspect -f . ci-base-image-arm64 [2023-03-22T22:27:15.507Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T22:27:15.825Z] prd-ubuntu20.04-docker-arm64-4c-16g-5315 does not seem to be running inside a container [2023-03-22T22:27:15.905Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-22T22:27:17.165Z] $ docker top 942fbb1beabc1783ad39e8ec59e4851493728bf5032ec5c5aa0c1d952b4fe593 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-22T22:27:18.079Z] + go version [2023-03-22T22:27:18.079Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-22T22:27:18.120Z] $ docker stop --time=1 942fbb1beabc1783ad39e8ec59e4851493728bf5032ec5c5aa0c1d952b4fe593 [2023-03-22T22:27:19.734Z] $ docker rm -f --volumes 942fbb1beabc1783ad39e8ec59e4851493728bf5032ec5c5aa0c1d952b4fe593 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T22:27:20.551Z] + docker inspect -f . ci-base-image-arm64 [2023-03-22T22:27:20.552Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T22:27:20.800Z] prd-ubuntu20.04-docker-arm64-4c-16g-5315 does not seem to be running inside a container [2023-03-22T22:27:20.874Z] $ 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/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-22T22:27:22.050Z] $ docker top a56133db56f5a4277eb6da514e1d48836e09b359857e2f47dbd8273ae4c25be7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-22T22:27:22.618Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-03-22T22:27:23.273Z] + make test [2023-03-22T22:27:23.273Z] go test -race -coverprofile=coverage.out ./... [2023-03-22T22:28:10.148Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-22T22:30:46.892Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-22T22:30:46.892Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-22T22:30:46.892Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-22T22:30:46.892Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-22T22:30:46.892Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-22T22:30:46.892Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.219s coverage: 27.6% of statements [2023-03-22T22:30:51.159Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.282s coverage: 78.9% of statements [2023-03-22T22:31:06.174Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-22T22:31:06.174Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-22T22:31:06.174Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.373s coverage: 86.0% of statements [2023-03-22T22:31:12.815Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-22T22:31:12.815Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.456s coverage: 75.9% of statements [2023-03-22T22:31:17.089Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-22T22:31:18.496Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-22T22:31:18.496Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-22T22:31:19.906Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.288s coverage: 15.2% of statements [2023-03-22T22:31:19.906Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.472s coverage: 68.5% of statements [2023-03-22T22:31:22.492Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.476s coverage: 89.2% of statements [2023-03-22T22:31:23.453Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-22T22:31:23.739Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.264s coverage: 5.5% of statements [2023-03-22T22:31:24.699Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-22T22:31:24.699Z] GO111MODULE=on go vet ./... [2023-03-22T22:34:01.760Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-22T22:34:01.760Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-22T22:34:01.760Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-22T22:34:01.802Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-22T22:34:01.833Z] $ docker stop --time=1 a56133db56f5a4277eb6da514e1d48836e09b359857e2f47dbd8273ae4c25be7 [2023-03-22T22:34:06.418Z] $ docker rm -f --volumes a56133db56f5a4277eb6da514e1d48836e09b359857e2f47dbd8273ae4c25be7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-22T22:34:08.187Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-22T22:34:08.225Z] Warning: overwriting stash ‘coverage-report’ [2023-03-22T22:34:08.868Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-22T22:34:09.470Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-22T22:34:09.819Z] + ls -al . [2023-03-22T22:34:09.819Z] total 268 [2023-03-22T22:34:09.819Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 22 22:27 . [2023-03-22T22:34:09.819Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 22:25 .. [2023-03-22T22:34:09.819Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 22 22:25 .dockerignore [2023-03-22T22:34:09.819Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 22 22:25 .git [2023-03-22T22:34:09.819Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 22:25 .github [2023-03-22T22:34:09.819Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 22 22:25 .gitignore [2023-03-22T22:34:09.819Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 22 22:25 .golangci.yml [2023-03-22T22:34:09.819Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 22 22:25 CHANGELOG.md [2023-03-22T22:34:09.819Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 22 22:25 GOVERNANCE.md [2023-03-22T22:34:09.819Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 22 22:25 Jenkinsfile [2023-03-22T22:34:09.819Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 22 22:25 LICENSE [2023-03-22T22:34:09.819Z] -rw-rw-r-- 1 jenkins jenkins 1714 Mar 22 22:25 Makefile [2023-03-22T22:34:09.819Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 22 22:25 OWNERS.md [2023-03-22T22:34:09.819Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 22 22:25 README.md [2023-03-22T22:34:09.819Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 22 22:21 VERSION [2023-03-22T22:34:09.819Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 22:25 bin [2023-03-22T22:34:09.819Z] -rw-r--r-- 1 jenkins jenkins 105658 Mar 22 22:31 coverage.out [2023-03-22T22:34:09.819Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 22 22:25 example [2023-03-22T22:34:09.819Z] -rw-rw-r-- 1 jenkins jenkins 3243 Mar 22 22:25 go.mod [2023-03-22T22:34:09.819Z] -rw-rw-r-- 1 jenkins jenkins 30606 Mar 22 22:25 go.sum [2023-03-22T22:34:09.819Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 22 22:25 internal [2023-03-22T22:34:09.819Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 22:25 openapi [2023-03-22T22:34:09.819Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 22 22:25 pkg [2023-03-22T22:34:09.819Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 22:25 snap [2023-03-22T22:34:09.819Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 22 22:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T22:34:10.432Z] + 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=2662c4136101ac24cf3f5ec7d6fe3830fa88e0ef --label arch=arm64 --label version=0.0.0 . [2023-03-22T22:34:11.022Z] Sending build context to Docker daemon 5.935MB [2023-03-22T22:34:11.022Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-03-22T22:34:11.022Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-22T22:34:11.022Z] ---> 466853c4bed0 [2023-03-22T22:34:11.022Z] Step 3/23 : ARG MAKE=make build [2023-03-22T22:34:11.022Z] ---> Running in 2310cfc0a36a [2023-03-22T22:34:11.290Z] Removing intermediate container 2310cfc0a36a [2023-03-22T22:34:11.290Z] ---> efc2ef220991 [2023-03-22T22:34:11.290Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-22T22:34:11.561Z] ---> Running in d2df96172a7f [2023-03-22T22:34:11.831Z] Removing intermediate container d2df96172a7f [2023-03-22T22:34:11.831Z] ---> 4e40ad231aa1 [2023-03-22T22:34:11.831Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-22T22:34:11.831Z] ---> Running in 343bb3719020 [2023-03-22T22:34:12.101Z] Removing intermediate container 343bb3719020 [2023-03-22T22:34:12.101Z] ---> 7f337c338f51 [2023-03-22T22:34:12.101Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-22T22:34:12.369Z] ---> Running in 5f87d0b81592 [2023-03-22T22:34:13.334Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-22T22:34:13.920Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-22T22:34:15.334Z] OK: 263 MiB in 53 packages [2023-03-22T22:34:16.306Z] Removing intermediate container 5f87d0b81592 [2023-03-22T22:34:16.306Z] ---> 9742848ad744 [2023-03-22T22:34:16.306Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-22T22:34:16.893Z] ---> 57345ef2c77d [2023-03-22T22:34:16.893Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-22T22:34:16.893Z] ---> Running in f8345d2cf22f [2023-03-22T22:34:20.260Z] Removing intermediate container f8345d2cf22f [2023-03-22T22:34:20.260Z] ---> 9a3d97fc60da [2023-03-22T22:34:20.260Z] Step 9/23 : COPY . . [2023-03-22T22:34:21.224Z] ---> 33c0738ef112 [2023-03-22T22:34:21.224Z] Step 10/23 : RUN ${MAKE} [2023-03-22T22:34:21.224Z] ---> Running in da8801ff45c8 [2023-03-22T22:34:22.642Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-03-22T22:36:59.410Z] Removing intermediate container da8801ff45c8 [2023-03-22T22:36:59.410Z] ---> 0236ab968bc7 [2023-03-22T22:36:59.410Z] Step 11/23 : FROM alpine:3.17 [2023-03-22T22:36:59.410Z] 3.17: Pulling from library/alpine [2023-03-22T22:36:59.410Z] af6eaf76a39c: Already exists [2023-03-22T22:36:59.410Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-22T22:36:59.410Z] Status: Downloaded newer image for alpine:3.17 [2023-03-22T22:36:59.410Z] ---> d74e625d9115 [2023-03-22T22:36:59.410Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-22T22:36:59.410Z] ---> Running in d2ff2662dd03 [2023-03-22T22:36:59.410Z] Removing intermediate container d2ff2662dd03 [2023-03-22T22:36:59.410Z] ---> 8683d31a8da5 [2023-03-22T22:36:59.410Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-22T22:36:59.410Z] ---> Running in d6d74cf07f50 [2023-03-22T22:36:59.410Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-22T22:36:59.410Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-22T22:37:00.827Z] OK: 7 MiB in 15 packages [2023-03-22T22:37:01.804Z] Removing intermediate container d6d74cf07f50 [2023-03-22T22:37:01.804Z] ---> 98cca4a08b30 [2023-03-22T22:37:01.804Z] Step 14/23 : WORKDIR / [2023-03-22T22:37:01.804Z] ---> Running in 8d192a96a275 [2023-03-22T22:37:02.072Z] Removing intermediate container 8d192a96a275 [2023-03-22T22:37:02.072Z] ---> f9b6b28de8e7 [2023-03-22T22:37:02.072Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-22T22:37:02.661Z] ---> 4a4f2bd0c2af [2023-03-22T22:37:02.661Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-22T22:37:04.073Z] ---> ef365c82fe08 [2023-03-22T22:37:04.073Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-22T22:37:04.660Z] ---> 7bc4d1ea7cc8 [2023-03-22T22:37:04.660Z] Step 18/23 : EXPOSE 59999 [2023-03-22T22:37:04.660Z] ---> Running in 310aab1c9cdd [2023-03-22T22:37:04.930Z] Removing intermediate container 310aab1c9cdd [2023-03-22T22:37:04.930Z] ---> 2e191b141d62 [2023-03-22T22:37:04.930Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-22T22:37:05.198Z] ---> Running in 58d704c7602b [2023-03-22T22:37:05.467Z] Removing intermediate container 58d704c7602b [2023-03-22T22:37:05.467Z] ---> 8272f2fa0c0a [2023-03-22T22:37:05.468Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-22T22:37:05.468Z] ---> Running in e47e1b7f81c9 [2023-03-22T22:37:05.738Z] Removing intermediate container e47e1b7f81c9 [2023-03-22T22:37:05.738Z] ---> c988e111d46b [2023-03-22T22:37:05.738Z] Step 21/23 : LABEL arch=arm64 [2023-03-22T22:37:06.011Z] ---> Running in 3b72264ee14e [2023-03-22T22:37:06.287Z] Removing intermediate container 3b72264ee14e [2023-03-22T22:37:06.287Z] ---> af8af2723fb9 [2023-03-22T22:37:06.287Z] Step 22/23 : LABEL git_sha=2662c4136101ac24cf3f5ec7d6fe3830fa88e0ef [2023-03-22T22:37:06.287Z] ---> Running in 60d3f1640eca [2023-03-22T22:37:06.877Z] Removing intermediate container 60d3f1640eca [2023-03-22T22:37:06.877Z] ---> 446cf2323c74 [2023-03-22T22:37:06.877Z] Step 23/23 : LABEL version=0.0.0 [2023-03-22T22:37:06.877Z] ---> Running in 32d113ca433d [2023-03-22T22:37:07.147Z] Removing intermediate container 32d113ca433d [2023-03-22T22:37:07.147Z] ---> ad087bacf50d [2023-03-22T22:37:07.147Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-22T22:37:07.147Z] Successfully built ad087bacf50d [2023-03-22T22:37:07.147Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T22:37:07.985Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-22T22:37:07.985Z] [2023-03-22T22:37:07.985Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T22:37:08.416Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-22T22:37:08.416Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-22T22:37:08.416Z] 8998bd30e6a1: Pulling fs layer [2023-03-22T22:37:08.416Z] 04944245beec: Pulling fs layer [2023-03-22T22:37:08.416Z] 699f458cf7ca: Pulling fs layer [2023-03-22T22:37:08.416Z] 765212b225bb: Pulling fs layer [2023-03-22T22:37:08.416Z] f23df028b6ca: Pulling fs layer [2023-03-22T22:37:08.416Z] d65c8cfc05b1: Pulling fs layer [2023-03-22T22:37:08.416Z] 2437ff75d9bd: Pulling fs layer [2023-03-22T22:37:08.416Z] 765212b225bb: Waiting [2023-03-22T22:37:08.416Z] f23df028b6ca: Waiting [2023-03-22T22:37:08.416Z] d65c8cfc05b1: Waiting [2023-03-22T22:37:08.416Z] 2437ff75d9bd: Waiting [2023-03-22T22:37:08.688Z] 04944245beec: Verifying Checksum [2023-03-22T22:37:08.688Z] 04944245beec: Download complete [2023-03-22T22:37:08.688Z] 765212b225bb: Verifying Checksum [2023-03-22T22:37:08.688Z] 765212b225bb: Download complete [2023-03-22T22:37:08.688Z] f23df028b6ca: Verifying Checksum [2023-03-22T22:37:08.688Z] f23df028b6ca: Download complete [2023-03-22T22:37:08.688Z] d65c8cfc05b1: Verifying Checksum [2023-03-22T22:37:08.688Z] d65c8cfc05b1: Download complete [2023-03-22T22:37:08.960Z] 699f458cf7ca: Verifying Checksum [2023-03-22T22:37:08.960Z] 699f458cf7ca: Download complete [2023-03-22T22:37:09.236Z] 8998bd30e6a1: Verifying Checksum [2023-03-22T22:37:09.236Z] 8998bd30e6a1: Download complete [2023-03-22T22:37:11.824Z] 2437ff75d9bd: Download complete [2023-03-22T22:37:13.773Z] 8998bd30e6a1: Pull complete [2023-03-22T22:37:14.042Z] 04944245beec: Pull complete [2023-03-22T22:37:15.456Z] 699f458cf7ca: Pull complete [2023-03-22T22:37:15.725Z] 765212b225bb: Pull complete [2023-03-22T22:37:16.688Z] f23df028b6ca: Pull complete [2023-03-22T22:37:16.688Z] d65c8cfc05b1: Pull complete [2023-03-22T22:37:31.719Z] 2437ff75d9bd: Pull complete [2023-03-22T22:37:31.719Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-22T22:37:31.719Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-22T22:37:31.719Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T22:37:32.059Z] prd-ubuntu20.04-docker-arm64-4c-16g-5315 does not seem to be running inside a container [2023-03-22T22:37:32.133Z] $ 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/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-22T22:37:34.900Z] $ docker top 29abb13e2a9f3a13a09ccb44a592fd67e8d103f529f60122f86d0460fa73e8f2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-22T22:37:35.842Z] ---> job-cost.sh [2023-03-22T22:37:35.842Z] lf-activate-venv: SKIPPING [2023-03-22T22:37:35.842Z] INFO: No Stack... [2023-03-22T22:37:36.425Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-22T22:37:37.386Z] INFO: Archiving Costs [Pipeline] sh [2023-03-22T22:37:38.051Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2023-03-22T22:37:38.052Z] + cut -d, -f6 [Pipeline] lock [2023-03-22T22:37:38.156Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1403-1-stack-cost] [2023-03-22T22:37:38.160Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1403-1-stack-cost] did not exist. Created. [2023-03-22T22:37:38.160Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1403-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-22T22:37:38.895Z] /w/workspace/device-sdk-go/1@tmp/durable-d4a82991/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-22T22:37:39.578Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-22T22:37:39.620Z] Warning: overwriting stash ‘stack-cost’ [2023-03-22T22:37:39.689Z] Stashed 1 file(s) [Pipeline] } [2023-03-22T22:37:39.703Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1403-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-22T22:37:39.789Z] $ docker stop --time=1 29abb13e2a9f3a13a09ccb44a592fd67e8d103f529f60122f86d0460fa73e8f2 [2023-03-22T22:37:41.342Z] $ docker rm -f --volumes 29abb13e2a9f3a13a09ccb44a592fd67e8d103f529f60122f86d0460fa73e8f2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-03-22T22:37:42.313Z] provisioning config files... [2023-03-22T22:37:42.319Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1403@tmp/config1364490475903911555tmp [Pipeline] { [Pipeline] sh [2023-03-22T22:37:42.661Z] + set +x [2023-03-22T22:37:42.661Z] + curl -s https://codecov.io/bash [2023-03-22T22:37:42.661Z] + bash -s -- [2023-03-22T22:37:42.661Z] [2023-03-22T22:37:42.661Z] _____ _ [2023-03-22T22:37:42.661Z] / ____| | | [2023-03-22T22:37:42.661Z] | | ___ __| | ___ ___ _____ __ [2023-03-22T22:37:42.661Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-22T22:37:42.661Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-22T22:37:42.661Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-22T22:37:42.661Z] Bash-1.0.6 [2023-03-22T22:37:42.661Z] [2023-03-22T22:37:42.661Z] [2023-03-22T22:37:42.661Z] ==> git version 2.25.1 found [2023-03-22T22:37:42.661Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-03-22T22:37:42.661Z] Release-Date: 2020-01-08 [2023-03-22T22:37:42.661Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-03-22T22:37:42.661Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-22T22:37:42.661Z] ==> Jenkins CI detected. [2023-03-22T22:37:42.661Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1403 [2023-03-22T22:37:42.661Z] project root: . [2023-03-22T22:37:42.661Z] --> token set from env [2023-03-22T22:37:42.661Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-22T22:37:42.661Z] ==> Running gcov in . (disable via -X gcov) [2023-03-22T22:37:42.661Z] ==> Python coveragepy not found [2023-03-22T22:37:42.661Z] ==> Searching for coverage reports in: [2023-03-22T22:37:42.661Z] + . [2023-03-22T22:37:42.661Z] -> Found 1 reports [2023-03-22T22:37:42.661Z] ==> Detecting git/mercurial file structure [2023-03-22T22:37:42.661Z] ==> Reading reports [2023-03-22T22:37:42.661Z] + ./coverage.out bytes=105658 [2023-03-22T22:37:42.661Z] ==> Appending adjustments [2023-03-22T22:37:42.661Z] https://docs.codecov.io/docs/fixing-reports [2023-03-22T22:37:42.920Z] + Found adjustments [2023-03-22T22:37:42.920Z] ==> Gzipping contents [2023-03-22T22:37:42.920Z] 16K /tmp/codecov.NoVB6u.gz [2023-03-22T22:37:42.920Z] ==> Uploading reports [2023-03-22T22:37:42.920Z] url: https://codecov.io [2023-03-22T22:37:42.920Z] query: branch=PR-1403&commit=2662c4136101ac24cf3f5ec7d6fe3830fa88e0ef&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1403%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1403&job=&cmd_args= [2023-03-22T22:37:43.179Z] -> Pinging Codecov [2023-03-22T22:37:43.179Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1403&commit=2662c4136101ac24cf3f5ec7d6fe3830fa88e0ef&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1403%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1403&job=&cmd_args= [2023-03-22T22:37:43.179Z] -> Uploading to [2023-03-22T22:37:43.179Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-22/7E55EF52A471D76F132DFD9A03CDDE97/2662c4136101ac24cf3f5ec7d6fe3830fa88e0ef/3a1e5a1c-020e-4e62-9e1b-5f4daf4bc8e9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230322%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230322T223743Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4f974be6f3c6b1ba8346084c514f07e1ebc82cf8e49f4e1a252099a581e25fe1 [2023-03-22T22:37:43.179Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-22T22:37:43.179Z] Dload Upload Total Spent Left Speed [2023-03-22T22:37:43.439Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14980 0 0 100 14980 0 57175 --:--:-- --:--:-- --:--:-- 57394 [2023-03-22T22:37:43.439Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/2662c4136101ac24cf3f5ec7d6fe3830fa88e0ef [Pipeline] } [2023-03-22T22:37:43.466Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-03-22T22:37:45.168Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1403/archives ] [2023-03-22T22:37:45.168Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1403/archives [2023-03-22T22:37:45.168Z] total 16 [2023-03-22T22:37:45.168Z] drwxr-xr-x 3 root root 4096 Mar 22 22:24 . [2023-03-22T22:37:45.168Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 22 22:24 .. [2023-03-22T22:37:45.168Z] drwxr-xr-x 2 root root 4096 Mar 22 22:24 cost [2023-03-22T22:37:45.168Z] -rw-r--r-- 1 root root 86 Mar 22 22:24 cost.csv [2023-03-22T22:37:45.168Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1403/archives [2023-03-22T22:37:45.168Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1403/archives [2023-03-22T22:37:45.168Z] total 16 [2023-03-22T22:37:45.168Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 22 22:24 . [2023-03-22T22:37:45.168Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 22 22:24 .. [2023-03-22T22:37:45.168Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 22 22:24 cost [2023-03-22T22:37:45.168Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 22 22:24 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-22T22:37:45.498Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T22:37:46.398Z] ---> package-listing.sh [2023-03-22T22:37:46.398Z] ++ facter osfamily [2023-03-22T22:37:46.398Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-22T22:37:46.658Z] + OS_FAMILY=debian [2023-03-22T22:37:46.658Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1403 [2023-03-22T22:37:46.658Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-22T22:37:46.658Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-22T22:37:46.658Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-22T22:37:46.658Z] + PACKAGES=/tmp/packages_start.txt [2023-03-22T22:37:46.658Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1403 ']' [2023-03-22T22:37:46.658Z] + PACKAGES=/tmp/packages_end.txt [2023-03-22T22:37:46.658Z] + case "${OS_FAMILY}" in [2023-03-22T22:37:46.658Z] + dpkg -l [2023-03-22T22:37:46.658Z] + grep '^ii' [2023-03-22T22:37:46.658Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-22T22:37:46.658Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-22T22:37:46.658Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-22T22:37:46.658Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1403 ']' [2023-03-22T22:37:46.658Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1403/archives/ [2023-03-22T22:37:46.658Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1403/archives/ [Pipeline] echo [2023-03-22T22:37:46.694Z] 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-1403/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-22T22:37:46.987Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T22:37:47.361Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-22T22:37:47.361Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T22:37:47.513Z] prd-ubuntu20.04-docker-8c-8g-5313 does not seem to be running inside a container [2023-03-22T22:37:47.565Z] $ 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-1403/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-1403 -v /w/workspace/gexfoundry_device-sdk-go_PR-1403:/w/workspace/gexfoundry_device-sdk-go_PR-1403:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1403@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1403@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-22T22:37:47.755Z] $ docker top a044f89e8a5bab6191f953fd550d8933b7dfb1a7afce6c70550cb56ae9f2796a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-22T22:37:48.123Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-22T22:37:48.429Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-22T22:37:48.739Z] + ls /var/log/sa-host [2023-03-22T22:37:48.739Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-22T22:37:48.866Z] provisioning config files... [2023-03-22T22:37:48.875Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1403@tmp/config3823408871722975977tmp [Pipeline] { [Pipeline] echo [2023-03-22T22:37:48.919Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T22:37:49.227Z] ---> create-netrc.sh [Pipeline] } [2023-03-22T22:37:49.255Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-22T22:37:49.642Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-22T22:37:49.672Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T22:37:49.979Z] ---> sudo-logs.sh [2023-03-22T22:37:49.979Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-22T22:37:50.061Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T22:37:50.372Z] ---> job-cost.sh [2023-03-22T22:37:50.372Z] lf-activate-venv: SKIPPING [2023-03-22T22:37:50.372Z] DEBUG: total: 0.2199999988079071 [2023-03-22T22:37:50.372Z] INFO: Retrieving Stack Cost... [2023-03-22T22:37:50.941Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-22T22:37:51.201Z] INFO: Archiving Costs [Pipeline] echo [2023-03-22T22:37:51.243Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T22:37:51.549Z] ---> logs-deploy.sh [2023-03-22T22:37:51.549Z] lf-activate-venv: SKIPPING [2023-03-22T22:37:51.549Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1403/1 [2023-03-22T22:37:51.549Z] INFO: archiving workspace using pattern(s): [2023-03-22T22:37:52.493Z] Archives upload complete. [2023-03-22T22:37:52.493Z] INFO: archiving logs to Nexus