Pull request #1501 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 FelixTing for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 6d7c9cf15c518dce5110e02118dcec0d936b9cab+6e6deb91922711a067a4f69f557ff034afcc25fa (5c1cd5abcbaf5a0e2a2b0868c63df1ce74e0e7b8) 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-ssh1574648568378227894.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh16498191105319949031.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-1501/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-1501/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2655228950657894668.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-1501/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3069182368027585671.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > 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-ssh18070638057526443099.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-1501/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-1501/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17309032639408650922.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-4480 in /w/workspace/gexfoundry_device-sdk-go_PR-1501 [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-1501 # 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/1501/head:refs/remotes/origin/PR-1501 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 6e6deb91922711a067a4f69f557ff034afcc25fa into PR head commit 6d7c9cf15c518dce5110e02118dcec0d936b9cab Merge succeeded, producing 6d7c9cf15c518dce5110e02118dcec0d936b9cab Checking out Revision 6d7c9cf15c518dce5110e02118dcec0d936b9cab (PR-1501) > git config core.sparsecheckout # timeout=10 > git checkout -f 6d7c9cf15c518dce5110e02118dcec0d936b9cab # 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 6e6deb91922711a067a4f69f557ff034afcc25fa # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6d7c9cf15c518dce5110e02118dcec0d936b9cab # timeout=10 Commit message: "build: update mock DeviceServiceSDK" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-08-25T02:59:15.067Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-08-25T02:59:15.244Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-08-25T02:59:15.349Z] ========================================================= [2023-08-25T02:59:15.349Z] EdgeX Global Pipelines Version Info [2023-08-25T02:59:15.349Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-08-25T02:59:16.102Z] ------------------- [2023-08-25T02:59:16.102Z] stable info: [2023-08-25T02:59:16.102Z] ------------------- [2023-08-25T02:59:16.102Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-08-25T02:59:16.102Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-25T02:59:16.102Z] Message: update stable to v1.0.253 [2023-08-25T02:59:16.672Z] ------------------- [2023-08-25T02:59:16.672Z] experimental info: [2023-08-25T02:59:16.672Z] ------------------- [2023-08-25T02:59:16.672Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-08-25T02:59:16.672Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-25T02:59:16.672Z] Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-08-25T02:59:16.961Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-08-25T02:59:17.008Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-08-25T02:59:17.047Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-08-25T02:59:17.086Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-08-25T02:59:17.125Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-08-25T02:59:17.165Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-08-25T02:59:17.208Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-08-25T02:59:17.309Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-08-25T02:59:17.350Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-08-25T02:59:17.446Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-08-25T02:59:17.488Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-08-25T02:59:17.622Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-08-25T02:59:17.707Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-08-25T02:59:17.755Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-08-25T02:59:17.795Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-08-25T02:59:17.829Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-08-25T02:59:17.868Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-08-25T02:59:17.913Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-08-25T02:59:17.962Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-08-25T02:59:18.002Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-08-25T02:59:18.042Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-08-25T02:59:18.082Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-08-25T02:59:18.122Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-08-25T02:59:18.163Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-08-25T02:59:18.259Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-08-25T02:59:18.304Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-08-25T02:59:18.349Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-08-25T02:59:18.390Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1501 [Pipeline] echo [2023-08-25T02:59:18.435Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1501 [Pipeline] echo [2023-08-25T02:59:18.477Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1501 [Pipeline] echo [2023-08-25T02:59:18.516Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6d7c9cf15c518dce5110e02118dcec0d936b9cab [Pipeline] echo [2023-08-25T02:59:18.555Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6d7c9cf [Pipeline] echo [2023-08-25T02:59:18.599Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-25T02:59:18.720Z] provisioning config files... [2023-08-25T02:59:18.734Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1501@tmp/config11977364832494779854tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-25T02:59:19.087Z] ---> docker-login.sh [2023-08-25T02:59:19.087Z] nexus3.edgexfoundry.org:10001 [2023-08-25T02:59:19.348Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T02:59:19.609Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T02:59:19.609Z] Configure a credential helper to remove this warning. See [2023-08-25T02:59:19.609Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T02:59:19.609Z] [2023-08-25T02:59:19.609Z] Login Succeeded [2023-08-25T02:59:19.609Z] nexus3.edgexfoundry.org:10002 [2023-08-25T02:59:19.609Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T02:59:19.868Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T02:59:19.868Z] Configure a credential helper to remove this warning. See [2023-08-25T02:59:19.868Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T02:59:19.868Z] [2023-08-25T02:59:19.868Z] Login Succeeded [2023-08-25T02:59:19.868Z] nexus3.edgexfoundry.org:10003 [2023-08-25T02:59:19.868Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T02:59:19.868Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T02:59:19.868Z] Configure a credential helper to remove this warning. See [2023-08-25T02:59:19.869Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T02:59:19.869Z] [2023-08-25T02:59:19.869Z] Login Succeeded [2023-08-25T02:59:19.869Z] nexus3.edgexfoundry.org:10004 [2023-08-25T02:59:19.869Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T02:59:19.869Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T02:59:19.869Z] Configure a credential helper to remove this warning. See [2023-08-25T02:59:19.869Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T02:59:19.869Z] [2023-08-25T02:59:19.869Z] Login Succeeded [2023-08-25T02:59:19.869Z] docker.io [2023-08-25T02:59:20.129Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T02:59:20.389Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T02:59:20.389Z] Configure a credential helper to remove this warning. See [2023-08-25T02:59:20.389Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T02:59:20.389Z] [2023-08-25T02:59:20.389Z] Login Succeeded [2023-08-25T02:59:20.389Z] ---> docker-login.sh ends [Pipeline] } [2023-08-25T02:59:20.417Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-08-25T02:59:21.036Z] + git rev-list -1 --merges 6d7c9cf15c518dce5110e02118dcec0d936b9cab~1..6d7c9cf15c518dce5110e02118dcec0d936b9cab [Pipeline] echo [2023-08-25T02:59:21.093Z] -----------> git rev-list -1 --merges 6d7c9cf15c518dce5110e02118dcec0d936b9cab~1..6d7c9cf15c518dce5110e02118dcec0d936b9cab 6d7c9cf15c518dce5110e02118dcec0d936b9cab [false] [Pipeline] sh [2023-08-25T02:59:21.403Z] + git log --format=format:%s -1 6d7c9cf15c518dce5110e02118dcec0d936b9cab [Pipeline] echo [2023-08-25T02:59:21.437Z] ========================================================= [2023-08-25T02:59:21.437Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-08-25T02:59:21.437Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-25T02:59:21.855Z] + git log --format=format:%s -1 6d7c9cf15c518dce5110e02118dcec0d936b9cab [Pipeline] echo [2023-08-25T02:59:21.890Z] [semverPrep] GIT_COMMIT: 6d7c9cf15c518dce5110e02118dcec0d936b9cab, Commit Message: build: update mock DeviceServiceSDK [Pipeline] echo [2023-08-25T02:59:21.915Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-08-25T02:59:22.304Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-25T02:59:22.304Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-08-25T02:59:22.304Z] + [ -e /tmp/ssh_known_hosts ] [2023-08-25T02:59:22.304Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-08-25T02:59:22.304Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-08-25T02:59:22.304Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-08-25T02:59:22.304Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T02:59:22.796Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-25T02:59:22.796Z] [2023-08-25T02:59:22.796Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T02:59:23.172Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-25T02:59:23.173Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-08-25T02:59:23.173Z] b85a868b505f: Pulling fs layer [2023-08-25T02:59:23.173Z] e2be974225ed: Pulling fs layer [2023-08-25T02:59:23.173Z] 339a4e72a1f5: Pulling fs layer [2023-08-25T02:59:23.173Z] 988bab9f4d93: Pulling fs layer [2023-08-25T02:59:23.173Z] 1469e6f7b9e6: Pulling fs layer [2023-08-25T02:59:23.173Z] eaf3925da568: Pulling fs layer [2023-08-25T02:59:23.173Z] bab4dde63d76: Pulling fs layer [2023-08-25T02:59:23.173Z] bde34c3a00c8: Pulling fs layer [2023-08-25T02:59:23.173Z] b352a97aabf1: Pulling fs layer [2023-08-25T02:59:23.173Z] 4872d77fe225: Pulling fs layer [2023-08-25T02:59:23.173Z] 5851b861e8e6: Pulling fs layer [2023-08-25T02:59:23.173Z] bab4dde63d76: Waiting [2023-08-25T02:59:23.173Z] 1469e6f7b9e6: Waiting [2023-08-25T02:59:23.173Z] eaf3925da568: Waiting [2023-08-25T02:59:23.173Z] bde34c3a00c8: Waiting [2023-08-25T02:59:23.173Z] 5851b861e8e6: Waiting [2023-08-25T02:59:23.173Z] 4872d77fe225: Waiting [2023-08-25T02:59:23.173Z] e2be974225ed: Download complete [2023-08-25T02:59:23.173Z] 988bab9f4d93: Verifying Checksum [2023-08-25T02:59:23.173Z] 988bab9f4d93: Download complete [2023-08-25T02:59:23.173Z] 1469e6f7b9e6: Verifying Checksum [2023-08-25T02:59:23.173Z] 1469e6f7b9e6: Download complete [2023-08-25T02:59:23.433Z] 339a4e72a1f5: Verifying Checksum [2023-08-25T02:59:23.433Z] 339a4e72a1f5: Download complete [2023-08-25T02:59:23.433Z] eaf3925da568: Verifying Checksum [2023-08-25T02:59:23.433Z] eaf3925da568: Download complete [2023-08-25T02:59:23.433Z] bde34c3a00c8: Download complete [2023-08-25T02:59:23.433Z] b352a97aabf1: Verifying Checksum [2023-08-25T02:59:23.433Z] b352a97aabf1: Download complete [2023-08-25T02:59:23.433Z] 4872d77fe225: Verifying Checksum [2023-08-25T02:59:23.433Z] 4872d77fe225: Download complete [2023-08-25T02:59:23.433Z] 5851b861e8e6: Verifying Checksum [2023-08-25T02:59:23.433Z] 5851b861e8e6: Download complete [2023-08-25T02:59:23.433Z] b85a868b505f: Download complete [2023-08-25T02:59:23.694Z] bab4dde63d76: Verifying Checksum [2023-08-25T02:59:24.633Z] b85a868b505f: Pull complete [2023-08-25T02:59:24.633Z] e2be974225ed: Pull complete [2023-08-25T02:59:25.204Z] 339a4e72a1f5: Pull complete [2023-08-25T02:59:25.204Z] 988bab9f4d93: Pull complete [2023-08-25T02:59:25.463Z] 1469e6f7b9e6: Pull complete [2023-08-25T02:59:25.463Z] eaf3925da568: Pull complete [2023-08-25T02:59:27.366Z] bab4dde63d76: Pull complete [2023-08-25T02:59:27.366Z] bde34c3a00c8: Pull complete [2023-08-25T02:59:27.366Z] b352a97aabf1: Pull complete [2023-08-25T02:59:27.625Z] 4872d77fe225: Pull complete [2023-08-25T02:59:27.625Z] 5851b861e8e6: Pull complete [2023-08-25T02:59:27.626Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-08-25T02:59:27.626Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-25T02:59:27.626Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T02:59:27.907Z] prd-ubuntu20.04-docker-8c-8g-4480 does not seem to be running inside a container [2023-08-25T02:59:27.944Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1501 -v /w/workspace/gexfoundry_device-sdk-go_PR-1501:/w/workspace/gexfoundry_device-sdk-go_PR-1501:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1501@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1501@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-08-25T02:59:31.385Z] $ docker top d5f7df83668aef367e8ac21b09ab95f5d631b3d9473c226b58a5bd26551edc36 -eo pid,comm [2023-08-25T02:59:31.442Z] 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-08-25T02:59:31.442Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-25T02:59:31.560Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-25T02:59:31.560Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-25T02:59:31.680Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-25T02:59:31.686Z] $ docker exec d5f7df83668aef367e8ac21b09ab95f5d631b3d9473c226b58a5bd26551edc36 ssh-agent [2023-08-25T02:59:31.794Z] SSH_AUTH_SOCK=/tmp/ssh-PqpAU64vntkQ/agent.31 [2023-08-25T02:59:31.794Z] SSH_AGENT_PID=37 [2023-08-25T02:59:31.799Z] Running ssh-add (command line suppressed) [2023-08-25T02:59:31.906Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1501@tmp/private_key_5838315987158751028.key (/w/workspace/gexfoundry_device-sdk-go_PR-1501@tmp/private_key_5838315987158751028.key) [2023-08-25T02:59:31.914Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-25T02:59:32.249Z] + git tag --points-at HEAD [Pipeline] } [2023-08-25T02:59:32.277Z] $ docker exec --env ******** --env ******** d5f7df83668aef367e8ac21b09ab95f5d631b3d9473c226b58a5bd26551edc36 ssh-agent -k [2023-08-25T02:59:32.370Z] unset SSH_AUTH_SOCK; [2023-08-25T02:59:32.371Z] unset SSH_AGENT_PID; [2023-08-25T02:59:32.371Z] echo Agent pid 37 killed; [2023-08-25T02:59:32.377Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-08-25T02:59:32.475Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-25T02:59:32.475Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-25T02:59:32.583Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-25T02:59:32.589Z] $ docker exec d5f7df83668aef367e8ac21b09ab95f5d631b3d9473c226b58a5bd26551edc36 ssh-agent [2023-08-25T02:59:32.687Z] SSH_AUTH_SOCK=/tmp/ssh-0moD7rySB1ni/agent.69 [2023-08-25T02:59:32.687Z] SSH_AGENT_PID=75 [2023-08-25T02:59:32.693Z] Running ssh-add (command line suppressed) [2023-08-25T02:59:32.791Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1501@tmp/private_key_6626167495243607082.key (/w/workspace/gexfoundry_device-sdk-go_PR-1501@tmp/private_key_6626167495243607082.key) [2023-08-25T02:59:32.802Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-25T02:59:33.131Z] + git semver init [2023-08-25T02:59:33.391Z] 2023-08-25 02:59:33,327 [run_init] DEBUG init version:0.0.0 force:False [2023-08-25T02:59:33.391Z] 2023-08-25 02:59:33,328 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1501/.semver [2023-08-25T02:59:33.391Z] 2023-08-25 02:59:33,328 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1501/.semver [2023-08-25T02:59:33.391Z] 2023-08-25 02:59:33,328 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1501/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1501, universal_newlines=False, shell=None, istream=None) [2023-08-25T02:59:34.333Z] 2023-08-25 02:59:34,209 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1501/.git/info/exclude [2023-08-25T02:59:34.333Z] 2023-08-25 02:59:34,210 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1501/.semver/PR-1501 with force:False [2023-08-25T02:59:34.333Z] 2023-08-25 02:59:34,210 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1501/.semver/PR-1501 [2023-08-25T02:59:34.333Z] 2023-08-25 02:59:34,214 [execute] INFO git cat-file --batch-check [2023-08-25T02:59:34.333Z] 2023-08-25 02:59:34,215 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1501/.semver, universal_newlines=False, shell=None, istream=) [2023-08-25T02:59:34.333Z] 2023-08-25 02:59:34,220 [execute] INFO git cat-file --batch [2023-08-25T02:59:34.333Z] 2023-08-25 02:59:34,220 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1501/.semver, universal_newlines=False, shell=None, istream=) [2023-08-25T02:59:34.333Z] 2023-08-25 02:59:34,224 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1501/.semver/PR-1501 [2023-08-25T02:59:34.333Z] 0.0.0 [Pipeline] } [2023-08-25T02:59:34.362Z] $ docker exec --env ******** --env ******** d5f7df83668aef367e8ac21b09ab95f5d631b3d9473c226b58a5bd26551edc36 ssh-agent -k [2023-08-25T02:59:34.461Z] unset SSH_AUTH_SOCK; [2023-08-25T02:59:34.461Z] unset SSH_AGENT_PID; [2023-08-25T02:59:34.462Z] echo Agent pid 75 killed; [2023-08-25T02:59:34.467Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-25T02:59:34.897Z] + git semver [Pipeline] } [2023-08-25T02:59:35.184Z] $ docker stop --time=1 d5f7df83668aef367e8ac21b09ab95f5d631b3d9473c226b58a5bd26551edc36 [2023-08-25T02:59:36.484Z] $ docker rm -f --volumes d5f7df83668aef367e8ac21b09ab95f5d631b3d9473c226b58a5bd26551edc36 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-25T02:59:36.889Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-08-25T02:59:37.153Z] Stashed 1 file(s) [Pipeline] echo [2023-08-25T02:59:37.169Z] [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-08-25T02:59:37.890Z] provisioning config files... [2023-08-25T02:59:37.899Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1501@tmp/config357015150355802443tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-25T02:59:38.245Z] ---> docker-login.sh [2023-08-25T02:59:38.245Z] nexus3.edgexfoundry.org:10001 [2023-08-25T02:59:38.245Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T02:59:38.245Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T02:59:38.245Z] Configure a credential helper to remove this warning. See [2023-08-25T02:59:38.245Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T02:59:38.245Z] [2023-08-25T02:59:38.245Z] Login Succeeded [2023-08-25T02:59:38.245Z] nexus3.edgexfoundry.org:10002 [2023-08-25T02:59:38.245Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T02:59:38.245Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T02:59:38.245Z] Configure a credential helper to remove this warning. See [2023-08-25T02:59:38.245Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T02:59:38.245Z] [2023-08-25T02:59:38.245Z] Login Succeeded [2023-08-25T02:59:38.245Z] nexus3.edgexfoundry.org:10003 [2023-08-25T02:59:38.504Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T02:59:38.504Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T02:59:38.504Z] Configure a credential helper to remove this warning. See [2023-08-25T02:59:38.504Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T02:59:38.504Z] [2023-08-25T02:59:38.504Z] Login Succeeded [2023-08-25T02:59:38.504Z] nexus3.edgexfoundry.org:10004 [2023-08-25T02:59:38.504Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T02:59:38.504Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T02:59:38.504Z] Configure a credential helper to remove this warning. See [2023-08-25T02:59:38.504Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T02:59:38.504Z] [2023-08-25T02:59:38.504Z] Login Succeeded [2023-08-25T02:59:38.504Z] docker.io [2023-08-25T02:59:38.765Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T02:59:38.765Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T02:59:38.765Z] Configure a credential helper to remove this warning. See [2023-08-25T02:59:38.765Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T02:59:38.765Z] [2023-08-25T02:59:38.765Z] Login Succeeded [2023-08-25T02:59:38.765Z] ---> docker-login.sh ends [Pipeline] } [2023-08-25T02:59:38.791Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-25T02:59:38.984Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-25T02:59:39.016Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-25T02:59:39.047Z] ========================================================= [2023-08-25T02:59:39.047Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-08-25T02:59:39.047Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T02:59:39.621Z] + 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-08-25T02:59:39.621Z] Sending build context to Docker daemon 11.09MB [2023-08-25T02:59:39.621Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-08-25T02:59:39.621Z] Step 2/10 : FROM ${BASE} AS builder [2023-08-25T02:59:39.621Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-08-25T02:59:39.621Z] 4db1b89c0bd1: Pulling fs layer [2023-08-25T02:59:39.621Z] 6911f1a30b25: Pulling fs layer [2023-08-25T02:59:39.621Z] e194b8c5c2a9: Pulling fs layer [2023-08-25T02:59:39.621Z] 6863d3e3a2b1: Pulling fs layer [2023-08-25T02:59:39.621Z] ec0bb842ea78: Pulling fs layer [2023-08-25T02:59:39.621Z] 40a00589a448: Pulling fs layer [2023-08-25T02:59:39.621Z] 6c08303d61cc: Pulling fs layer [2023-08-25T02:59:39.621Z] 798269fcf238: Pulling fs layer [2023-08-25T02:59:39.621Z] ec0bb842ea78: Waiting [2023-08-25T02:59:39.621Z] 40a00589a448: Waiting [2023-08-25T02:59:39.621Z] 6c08303d61cc: Waiting [2023-08-25T02:59:39.621Z] 798269fcf238: Waiting [2023-08-25T02:59:39.621Z] 6863d3e3a2b1: Waiting [2023-08-25T02:59:39.621Z] 6911f1a30b25: Verifying Checksum [2023-08-25T02:59:39.621Z] 6911f1a30b25: Download complete [2023-08-25T02:59:39.882Z] 6863d3e3a2b1: Download complete [2023-08-25T02:59:39.882Z] ec0bb842ea78: Verifying Checksum [2023-08-25T02:59:39.882Z] ec0bb842ea78: Download complete [2023-08-25T02:59:39.882Z] 4db1b89c0bd1: Verifying Checksum [2023-08-25T02:59:39.882Z] 4db1b89c0bd1: Download complete [2023-08-25T02:59:39.882Z] 40a00589a448: Verifying Checksum [2023-08-25T02:59:39.882Z] 40a00589a448: Download complete [2023-08-25T02:59:39.882Z] 4db1b89c0bd1: Pull complete [2023-08-25T02:59:40.149Z] 6911f1a30b25: Pull complete [2023-08-25T02:59:40.407Z] 798269fcf238: Verifying Checksum [2023-08-25T02:59:40.407Z] 798269fcf238: Download complete [2023-08-25T02:59:40.407Z] e194b8c5c2a9: Verifying Checksum [2023-08-25T02:59:40.407Z] e194b8c5c2a9: Download complete [2023-08-25T02:59:40.665Z] 6c08303d61cc: Verifying Checksum [2023-08-25T02:59:40.665Z] 6c08303d61cc: Download complete [2023-08-25T02:59:43.946Z] e194b8c5c2a9: Pull complete [2023-08-25T02:59:43.946Z] 6863d3e3a2b1: Pull complete [2023-08-25T02:59:43.946Z] ec0bb842ea78: Pull complete [2023-08-25T02:59:44.205Z] 40a00589a448: Pull complete [2023-08-25T02:59:46.740Z] 6c08303d61cc: Pull complete [2023-08-25T02:59:47.307Z] 798269fcf238: Pull complete [2023-08-25T02:59:47.307Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-08-25T02:59:47.307Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-08-25T02:59:47.307Z] ---> ec979cd7f677 [2023-08-25T02:59:47.307Z] Step 3/10 : ARG MAKE=make build [2023-08-25T02:59:52.714Z] Still waiting to schedule task [2023-08-25T02:59:52.715Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-4478’ [2023-08-25T02:59:53.871Z] ---> Running in 883859ba1f47 [2023-08-25T02:59:53.871Z] Removing intermediate container 883859ba1f47 [2023-08-25T02:59:53.871Z] ---> 007be6204e44 [2023-08-25T02:59:53.871Z] Step 4/10 : WORKDIR /device-sdk-go [2023-08-25T02:59:53.871Z] ---> Running in 52e410a6284a [2023-08-25T02:59:53.871Z] Removing intermediate container 52e410a6284a [2023-08-25T02:59:53.871Z] ---> 37881bd6b102 [2023-08-25T02:59:53.871Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-08-25T02:59:53.871Z] ---> Running in a946cbe6260d [2023-08-25T02:59:53.871Z] Removing intermediate container a946cbe6260d [2023-08-25T02:59:53.871Z] ---> 2e7c565e1999 [2023-08-25T02:59:53.871Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-08-25T02:59:53.871Z] ---> Running in 9dda87172b30 [2023-08-25T02:59:53.871Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-25T02:59:54.130Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-25T02:59:54.389Z] OK: 265 MiB in 53 packages [2023-08-25T02:59:54.647Z] Removing intermediate container 9dda87172b30 [2023-08-25T02:59:54.647Z] ---> 31ee2ab79754 [2023-08-25T02:59:54.647Z] Step 7/10 : COPY go.mod vendor* ./ [2023-08-25T02:59:54.907Z] ---> 6155ac817336 [2023-08-25T02:59:54.907Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-25T02:59:54.907Z] ---> Running in 6e76c1f552c1 [2023-08-25T03:00:51.136Z] Removing intermediate container 6e76c1f552c1 [2023-08-25T03:00:51.136Z] ---> fe0a70f3fda2 [2023-08-25T03:00:51.136Z] Step 9/10 : COPY . . [2023-08-25T03:00:51.136Z] ---> 94f6f1a179fb [2023-08-25T03:00:51.136Z] Step 10/10 : RUN ${MAKE} [2023-08-25T03:00:51.136Z] ---> Running in c5692d522e30 [2023-08-25T03:00:51.136Z] noop [2023-08-25T03:00:51.136Z] Removing intermediate container c5692d522e30 [2023-08-25T03:00:51.136Z] ---> 58f3c5c9d82f [2023-08-25T03:00:51.136Z] Successfully built 58f3c5c9d82f [2023-08-25T03:00:51.136Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T03:00:51.674Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-25T03:00:51.674Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T03:00:51.817Z] prd-ubuntu20.04-docker-8c-8g-4480 does not seem to be running inside a container [2023-08-25T03:00:51.848Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1501 -v /w/workspace/gexfoundry_device-sdk-go_PR-1501:/w/workspace/gexfoundry_device-sdk-go_PR-1501:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1501@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1501@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-08-25T03:00:52.180Z] $ docker top 6d6650ae937b13e358471f3e4adb6db3b7031774719cab489f4476bc9d6040f0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-25T03:00:52.572Z] + go version [2023-08-25T03:00:52.572Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-08-25T03:00:52.615Z] $ docker stop --time=1 6d6650ae937b13e358471f3e4adb6db3b7031774719cab489f4476bc9d6040f0 [2023-08-25T03:00:54.220Z] $ docker rm -f --volumes 6d6650ae937b13e358471f3e4adb6db3b7031774719cab489f4476bc9d6040f0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T03:00:55.053Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-25T03:00:55.053Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T03:00:55.200Z] prd-ubuntu20.04-docker-8c-8g-4480 does not seem to be running inside a container [2023-08-25T03:00:55.232Z] $ 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-1501 -v /w/workspace/gexfoundry_device-sdk-go_PR-1501:/w/workspace/gexfoundry_device-sdk-go_PR-1501:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1501@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1501@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-08-25T03:00:56.088Z] $ docker top c9e1215aef9161fc66db796e9fdddc9ac9c0f6f9be69bf77e7e192336c9c96fb -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-25T03:00:56.474Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1501 [Pipeline] fileExists [Pipeline] sh [2023-08-25T03:00:56.832Z] + make test [2023-08-25T03:00:56.832Z] go test -race -coverprofile=coverage.out ./... [2023-08-25T03:01:03.394Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-08-25T03:01:15.588Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-08-25T03:01:15.588Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-08-25T03:01:15.588Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-08-25T03:01:15.588Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-08-25T03:01:15.588Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-08-25T03:01:16.522Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.068s coverage: 27.6% of statements [2023-08-25T03:01:16.522Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-08-25T03:01:16.522Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-08-25T03:01:16.522Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.064s coverage: 80.2% of statements [2023-08-25T03:01:16.522Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.084s coverage: 86.0% of statements [2023-08-25T03:01:16.781Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-08-25T03:01:16.781Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.112s coverage: 71.8% of statements [2023-08-25T03:01:17.732Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-08-25T03:01:17.732Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-08-25T03:01:17.991Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-08-25T03:01:19.893Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.073s coverage: 14.3% of statements [2023-08-25T03:01:19.893Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.022s coverage: 43.8% of statements [2023-08-25T03:01:19.893Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.062s coverage: 68.5% of statements [2023-08-25T03:01:19.893Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.117s coverage: 89.2% of statements [2023-08-25T03:01:19.893Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.059s coverage: 5.5% of statements [2023-08-25T03:01:41.967Z] GO111MODULE=on go vet ./... [2023-08-25T03:01:44.497Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-25T03:01:44.759Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-25T03:01:44.759Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-25T03:01:44.849Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-25T03:01:44.892Z] $ docker stop --time=1 c9e1215aef9161fc66db796e9fdddc9ac9c0f6f9be69bf77e7e192336c9c96fb [2023-08-25T03:01:49.593Z] $ docker rm -f --volumes c9e1215aef9161fc66db796e9fdddc9ac9c0f6f9be69bf77e7e192336c9c96fb [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-25T03:01:50.168Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-25T03:01:50.264Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-08-25T03:01:51.014Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-25T03:01:51.324Z] + ls -al . [2023-08-25T03:01:51.324Z] total 304 [2023-08-25T03:01:51.324Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 25 03:00 . [2023-08-25T03:01:51.324Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 02:59 .. [2023-08-25T03:01:51.324Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 25 02:59 .dockerignore [2023-08-25T03:01:51.324Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 25 02:59 .git [2023-08-25T03:01:51.324Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 02:59 .github [2023-08-25T03:01:51.324Z] -rw-rw-r-- 1 jenkins jenkins 137 Aug 25 02:59 .gitignore [2023-08-25T03:01:51.324Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 25 02:59 .golangci.yml [2023-08-25T03:01:51.324Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 25 02:59 .semver [2023-08-25T03:01:51.324Z] -rw-rw-r-- 1 jenkins jenkins 44878 Aug 25 02:59 CHANGELOG.md [2023-08-25T03:01:51.324Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 25 02:59 GOVERNANCE.md [2023-08-25T03:01:51.324Z] -rw-rw-r-- 1 jenkins jenkins 885 Aug 25 02:59 Jenkinsfile [2023-08-25T03:01:51.324Z] -rw-rw-r-- 1 jenkins jenkins 11341 Aug 25 02:59 LICENSE [2023-08-25T03:01:51.324Z] -rw-rw-r-- 1 jenkins jenkins 1842 Aug 25 02:59 Makefile [2023-08-25T03:01:51.324Z] -rw-rw-r-- 1 jenkins jenkins 619 Aug 25 02:59 OWNERS.md [2023-08-25T03:01:51.324Z] -rw-rw-r-- 1 jenkins jenkins 4933 Aug 25 02:59 README.md [2023-08-25T03:01:51.324Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 25 02:59 VERSION [2023-08-25T03:01:51.324Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 02:59 bin [2023-08-25T03:01:51.324Z] -rw-r--r-- 1 jenkins jenkins 120271 Aug 25 03:01 coverage.out [2023-08-25T03:01:51.324Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 25 02:59 example [2023-08-25T03:01:51.324Z] -rw-rw-r-- 1 jenkins jenkins 3721 Aug 25 02:59 go.mod [2023-08-25T03:01:51.324Z] -rw-rw-r-- 1 jenkins jenkins 33545 Aug 25 02:59 go.sum [2023-08-25T03:01:51.324Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 25 02:59 internal [2023-08-25T03:01:51.324Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 02:59 openapi [2023-08-25T03:01:51.324Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 25 02:59 pkg [2023-08-25T03:01:51.324Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 02:59 snap [2023-08-25T03:01:51.324Z] -rw-rw-r-- 1 jenkins jenkins 222 Aug 25 02:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T03:01:51.713Z] + 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=6d7c9cf15c518dce5110e02118dcec0d936b9cab --label arch=amd64 --label version=0.0.0 . [2023-08-25T03:01:51.713Z] Sending build context to Docker daemon 11.21MB [2023-08-25T03:01:51.713Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-08-25T03:01:51.713Z] Step 2/23 : FROM ${BASE} AS builder [2023-08-25T03:01:51.713Z] ---> 58f3c5c9d82f [2023-08-25T03:01:51.713Z] Step 3/23 : ARG MAKE=make build [2023-08-25T03:01:51.972Z] ---> Running in eb24b556d633 [2023-08-25T03:01:52.232Z] Removing intermediate container eb24b556d633 [2023-08-25T03:01:52.232Z] ---> b1797ec15476 [2023-08-25T03:01:52.232Z] Step 4/23 : WORKDIR /device-sdk-go [2023-08-25T03:01:52.232Z] ---> Running in ee469fca6d4a [2023-08-25T03:01:52.232Z] Removing intermediate container ee469fca6d4a [2023-08-25T03:01:52.232Z] ---> 942eeab9a6ae [2023-08-25T03:01:52.232Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-08-25T03:01:52.232Z] ---> Running in cc0d6b717253 [2023-08-25T03:01:52.232Z] Removing intermediate container cc0d6b717253 [2023-08-25T03:01:52.232Z] ---> 7f601f361997 [2023-08-25T03:01:52.232Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-08-25T03:01:52.491Z] ---> Running in 6c3219f3312e [2023-08-25T03:01:52.491Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-25T03:01:52.751Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-25T03:01:53.011Z] OK: 265 MiB in 53 packages [2023-08-25T03:01:53.275Z] Removing intermediate container 6c3219f3312e [2023-08-25T03:01:53.275Z] ---> b24ea65ac5d7 [2023-08-25T03:01:53.275Z] Step 7/23 : COPY go.mod vendor* ./ [2023-08-25T03:01:53.534Z] ---> a2e9128e61e0 [2023-08-25T03:01:53.534Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-25T03:01:53.534Z] ---> Running in fd05d1442289 [2023-08-25T03:01:54.099Z] Removing intermediate container fd05d1442289 [2023-08-25T03:01:54.099Z] ---> fe297b67a1a1 [2023-08-25T03:01:54.099Z] Step 9/23 : COPY . . [2023-08-25T03:01:55.035Z] ---> 58a18fde3d9b [2023-08-25T03:01:55.035Z] Step 10/23 : RUN ${MAKE} [2023-08-25T03:01:55.035Z] ---> Running in ed76798f2722 [2023-08-25T03:01:55.035Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-08-25T03:02:16.956Z] Removing intermediate container ed76798f2722 [2023-08-25T03:02:16.956Z] ---> f130c8917b1d [2023-08-25T03:02:16.956Z] Step 11/23 : FROM alpine:3.17 [2023-08-25T03:02:16.956Z] 3.17: Pulling from library/alpine [2023-08-25T03:02:16.956Z] 9398808236ff: Pulling fs layer [2023-08-25T03:02:16.956Z] 9398808236ff: Download complete [2023-08-25T03:02:16.956Z] 9398808236ff: Pull complete [2023-08-25T03:02:16.956Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-25T03:02:16.956Z] Status: Downloaded newer image for alpine:3.17 [2023-08-25T03:02:16.956Z] ---> 1e0b8b5322fc [2023-08-25T03:02:16.956Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-08-25T03:02:16.956Z] ---> Running in 54e9c3ca5d63 [2023-08-25T03:02:16.956Z] Removing intermediate container 54e9c3ca5d63 [2023-08-25T03:02:16.956Z] ---> 9530a28e5af4 [2023-08-25T03:02:16.956Z] Step 13/23 : RUN apk add --update --no-cache [2023-08-25T03:02:16.956Z] ---> Running in fa1375ced255 [2023-08-25T03:02:17.215Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-25T03:02:17.474Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-25T03:02:17.733Z] OK: 7 MiB in 15 packages [2023-08-25T03:02:17.992Z] Removing intermediate container fa1375ced255 [2023-08-25T03:02:17.992Z] ---> b89103406f11 [2023-08-25T03:02:17.992Z] Step 14/23 : WORKDIR / [2023-08-25T03:02:17.992Z] ---> Running in 157b607d5579 [2023-08-25T03:02:18.253Z] Removing intermediate container 157b607d5579 [2023-08-25T03:02:18.253Z] ---> ed9a45d2f77e [2023-08-25T03:02:18.253Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-08-25T03:02:18.253Z] ---> c5894ade42ca [2023-08-25T03:02:18.253Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-08-25T03:02:19.630Z] ---> 34170fb9918d [2023-08-25T03:02:19.630Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-08-25T03:02:19.630Z] ---> 7340cdf1d34a [2023-08-25T03:02:19.630Z] Step 18/23 : EXPOSE 59999 [2023-08-25T03:02:19.888Z] ---> Running in fab35c053e4c [2023-08-25T03:02:19.888Z] Removing intermediate container fab35c053e4c [2023-08-25T03:02:19.888Z] ---> 429845f14ece [2023-08-25T03:02:19.888Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-08-25T03:02:20.148Z] ---> Running in 4d2187cbbd57 [2023-08-25T03:02:20.148Z] Removing intermediate container 4d2187cbbd57 [2023-08-25T03:02:20.148Z] ---> ce4288f175d1 [2023-08-25T03:02:20.148Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-08-25T03:02:20.407Z] ---> Running in 0fd8e29a1580 [2023-08-25T03:02:20.666Z] Removing intermediate container 0fd8e29a1580 [2023-08-25T03:02:20.666Z] ---> d2b04c8410ac [2023-08-25T03:02:20.666Z] Step 21/23 : LABEL arch=amd64 [2023-08-25T03:02:20.666Z] ---> Running in d3b07ff63c85 [2023-08-25T03:02:20.925Z] Removing intermediate container d3b07ff63c85 [2023-08-25T03:02:20.925Z] ---> 06afe6c67c11 [2023-08-25T03:02:20.925Z] Step 22/23 : LABEL git_sha=6d7c9cf15c518dce5110e02118dcec0d936b9cab [2023-08-25T03:02:20.925Z] ---> Running in 2a129e8a841d [2023-08-25T03:02:21.183Z] Removing intermediate container 2a129e8a841d [2023-08-25T03:02:21.183Z] ---> f879d37e8a49 [2023-08-25T03:02:21.183Z] Step 23/23 : LABEL version=0.0.0 [2023-08-25T03:02:21.183Z] ---> Running in 0fd8dd087b14 [2023-08-25T03:02:21.442Z] Removing intermediate container 0fd8dd087b14 [2023-08-25T03:02:21.442Z] ---> 49898ae6ecdc [2023-08-25T03:02:21.442Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-25T03:02:21.442Z] Successfully built 49898ae6ecdc [2023-08-25T03:02:21.442Z] 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-08-25T03:02:22.520Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-25T03:02:22.520Z] [2023-08-25T03:02:22.520Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T03:02:22.885Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-25T03:02:22.885Z] latest: Pulling from edgex-lftools-log-publisher [2023-08-25T03:02:22.885Z] 5eb5b503b376: Pulling fs layer [2023-08-25T03:02:22.885Z] 5c69ac0246d0: Pulling fs layer [2023-08-25T03:02:22.885Z] ec43610c2a17: Pulling fs layer [2023-08-25T03:02:22.885Z] 3a2ae6a8a46f: Pulling fs layer [2023-08-25T03:02:22.885Z] 3a2ae6a8a46f: Waiting [2023-08-25T03:02:22.885Z] 33b1e0a273af: Pulling fs layer [2023-08-25T03:02:22.885Z] 5d3b04190fa2: Pulling fs layer [2023-08-25T03:02:22.885Z] 2f39f015ded8: Pulling fs layer [2023-08-25T03:02:22.885Z] 33b1e0a273af: Waiting [2023-08-25T03:02:22.885Z] 5d3b04190fa2: Waiting [2023-08-25T03:02:22.885Z] 5c69ac0246d0: Download complete [2023-08-25T03:02:22.885Z] 3a2ae6a8a46f: Verifying Checksum [2023-08-25T03:02:22.885Z] 3a2ae6a8a46f: Download complete [2023-08-25T03:02:22.885Z] 33b1e0a273af: Download complete [2023-08-25T03:02:22.885Z] ec43610c2a17: Verifying Checksum [2023-08-25T03:02:22.885Z] ec43610c2a17: Download complete [2023-08-25T03:02:22.885Z] 5d3b04190fa2: Download complete [2023-08-25T03:02:23.143Z] 5eb5b503b376: Verifying Checksum [2023-08-25T03:02:23.143Z] 5eb5b503b376: Download complete [2023-08-25T03:02:23.707Z] 2f39f015ded8: Download complete [2023-08-25T03:02:24.274Z] 5eb5b503b376: Pull complete [2023-08-25T03:02:24.274Z] 5c69ac0246d0: Pull complete [2023-08-25T03:02:24.840Z] ec43610c2a17: Pull complete [2023-08-25T03:02:24.840Z] 3a2ae6a8a46f: Pull complete [2023-08-25T03:02:25.099Z] 33b1e0a273af: Pull complete [2023-08-25T03:02:25.099Z] 5d3b04190fa2: Pull complete [2023-08-25T03:02:29.283Z] 2f39f015ded8: Pull complete [2023-08-25T03:02:29.283Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-08-25T03:02:29.283Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-25T03:02:29.283Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T03:02:29.505Z] prd-ubuntu20.04-docker-8c-8g-4480 does not seem to be running inside a container [2023-08-25T03:02:29.537Z] $ 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-1501 -v /w/workspace/gexfoundry_device-sdk-go_PR-1501:/w/workspace/gexfoundry_device-sdk-go_PR-1501:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1501@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1501@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-08-25T03:02:34.849Z] $ docker top 697de6941effe9ec218d8dd1a6bce46c3a33f83029fc070bc091b4053e0caadb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-25T03:02:35.332Z] ---> job-cost.sh [2023-08-25T03:02:35.332Z] lf-activate-venv: SKIPPING [2023-08-25T03:02:35.332Z] INFO: No Stack... [2023-08-25T03:02:35.590Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-25T03:02:36.159Z] INFO: Archiving Costs [Pipeline] sh [2023-08-25T03:02:36.466Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1501/archives/cost.csv [2023-08-25T03:02:36.466Z] + cut -d, -f6 [Pipeline] lock [2023-08-25T03:02:36.502Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1501-1-stack-cost] [2023-08-25T03:02:36.506Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1501-1-stack-cost] did not exist. Created. [2023-08-25T03:02:36.506Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1501-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-25T03:02:36.901Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-08-25T03:02:36.957Z] Stashed 1 file(s) [Pipeline] } [2023-08-25T03:02:36.981Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1501-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-25T03:02:37.056Z] $ docker stop --time=1 697de6941effe9ec218d8dd1a6bce46c3a33f83029fc070bc091b4053e0caadb [2023-08-25T03:02:38.322Z] $ docker rm -f --volumes 697de6941effe9ec218d8dd1a6bce46c3a33f83029fc070bc091b4053e0caadb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-08-25T03:03:22.801Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4482 in /w/workspace/gexfoundry_device-sdk-go_PR-1501 [Pipeline] { [Pipeline] ws [2023-08-25T03:03:22.858Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-08-25T03:03:22.940Z] The recommended git tool is: git [2023-08-25T03:03:28.671Z] using credential edgex-jenkins-ssh [2023-08-25T03:03:28.689Z] Cloning the remote Git repository [2023-08-25T03:03:28.746Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-08-25T03:03:28.857Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-08-25T03:03:29.019Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-08-25T03:03:29.020Z] > git --version # timeout=10 [2023-08-25T03:03:29.047Z] > git --version # 'git version 2.25.1' [2023-08-25T03:03:29.050Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-25T03:03:29.217Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-25T03:03:31.629Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-08-25T03:03:31.657Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-25T03:03:33.323Z] Merging remotes/origin/main commit 6e6deb91922711a067a4f69f557ff034afcc25fa into PR head commit 6d7c9cf15c518dce5110e02118dcec0d936b9cab [2023-08-25T03:03:32.645Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-08-25T03:03:32.693Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-08-25T03:03:32.694Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-25T03:03:32.714Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1501/head:refs/remotes/origin/PR-1501 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-08-25T03:03:33.638Z] Merge succeeded, producing 6d7c9cf15c518dce5110e02118dcec0d936b9cab [2023-08-25T03:03:33.639Z] Checking out Revision 6d7c9cf15c518dce5110e02118dcec0d936b9cab (PR-1501) [2023-08-25T03:03:33.344Z] > git config core.sparsecheckout # timeout=10 [2023-08-25T03:03:33.434Z] > git checkout -f 6d7c9cf15c518dce5110e02118dcec0d936b9cab # timeout=10 [2023-08-25T03:03:33.545Z] > git remote # timeout=10 [2023-08-25T03:03:33.562Z] > git config --get remote.origin.url # timeout=10 [2023-08-25T03:03:33.584Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-25T03:03:33.596Z] > git merge 6e6deb91922711a067a4f69f557ff034afcc25fa # timeout=10 [2023-08-25T03:03:33.623Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-08-25T03:03:33.648Z] > git config core.sparsecheckout # timeout=10 [2023-08-25T03:03:33.663Z] > git checkout -f 6d7c9cf15c518dce5110e02118dcec0d936b9cab # timeout=10 [2023-08-25T03:03:37.221Z] Commit message: "build: update mock DeviceServiceSDK" [2023-08-25T03:03:37.277Z] > git --version # timeout=10 [2023-08-25T03:03:37.289Z] > git --version # 'git version 2.25.1' [2023-08-25T03:03:37.303Z] fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-25T03:03:38.423Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-08-25T03:03:38.423Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-25T03:03:38.423Z] Dload Upload Total Spent Left Speed [2023-08-25T03:03:38.423Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 91078 0 --:--:-- --:--:-- --:--:-- 91733 [Pipeline] sh [2023-08-25T03:03:39.145Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-08-25T03:03:39.504Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-08-25T03:03:39.504Z] + sudo tee /etc/docker/daemon.new [2023-08-25T03:03:39.504Z] { [2023-08-25T03:03:39.504Z] "registry-mirrors": [ [2023-08-25T03:03:39.504Z] "https://nexus3.edgexfoundry.org:10001" [2023-08-25T03:03:39.504Z] ], [2023-08-25T03:03:39.504Z] "bip": "10.250.0.254/24", [2023-08-25T03:03:39.504Z] "hosts": [ [2023-08-25T03:03:39.504Z] "tcp://0.0.0.0:5555", [2023-08-25T03:03:39.505Z] "unix:///var/run/docker.sock" [2023-08-25T03:03:39.505Z] ], [2023-08-25T03:03:39.505Z] "mtu": 1458, [2023-08-25T03:03:39.505Z] "selinux-enabled": true, [2023-08-25T03:03:39.505Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-08-25T03:03:39.505Z] } [Pipeline] sh [2023-08-25T03:03:39.849Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-08-25T03:03:40.194Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-25T03:03:58.529Z] provisioning config files... [2023-08-25T03:03:58.558Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config15600031150751960152tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-25T03:03:58.949Z] ---> docker-login.sh [2023-08-25T03:03:58.949Z] nexus3.edgexfoundry.org:10001 [2023-08-25T03:03:59.542Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T03:03:59.542Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T03:03:59.542Z] Configure a credential helper to remove this warning. See [2023-08-25T03:03:59.542Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T03:03:59.542Z] [2023-08-25T03:03:59.542Z] Login Succeeded [2023-08-25T03:03:59.542Z] nexus3.edgexfoundry.org:10002 [2023-08-25T03:03:59.812Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T03:04:00.082Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T03:04:00.082Z] Configure a credential helper to remove this warning. See [2023-08-25T03:04:00.082Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T03:04:00.082Z] [2023-08-25T03:04:00.082Z] Login Succeeded [2023-08-25T03:04:00.082Z] nexus3.edgexfoundry.org:10003 [2023-08-25T03:04:00.354Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T03:04:00.354Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T03:04:00.354Z] Configure a credential helper to remove this warning. See [2023-08-25T03:04:00.354Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T03:04:00.354Z] [2023-08-25T03:04:00.354Z] Login Succeeded [2023-08-25T03:04:00.354Z] nexus3.edgexfoundry.org:10004 [2023-08-25T03:04:00.631Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T03:04:00.631Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T03:04:00.631Z] Configure a credential helper to remove this warning. See [2023-08-25T03:04:00.631Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T03:04:00.631Z] [2023-08-25T03:04:00.631Z] Login Succeeded [2023-08-25T03:04:00.631Z] docker.io [2023-08-25T03:04:00.902Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T03:04:01.172Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T03:04:01.172Z] Configure a credential helper to remove this warning. See [2023-08-25T03:04:01.172Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T03:04:01.172Z] [2023-08-25T03:04:01.172Z] Login Succeeded [2023-08-25T03:04:01.442Z] ---> docker-login.sh ends [Pipeline] } [2023-08-25T03:04:01.473Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-25T03:04:01.883Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-25T03:04:01.913Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-25T03:04:01.947Z] ========================================================= [2023-08-25T03:04:01.947Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-08-25T03:04:01.947Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T03:04:02.448Z] + 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-08-25T03:04:02.722Z] Sending build context to Docker daemon 5.926MB [2023-08-25T03:04:03.000Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-08-25T03:04:03.000Z] Step 2/10 : FROM ${BASE} AS builder [2023-08-25T03:04:03.000Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-08-25T03:04:03.000Z] edb6bdbacee9: Pulling fs layer [2023-08-25T03:04:03.000Z] 5f9638ab2659: Pulling fs layer [2023-08-25T03:04:03.000Z] 8d51d6327a98: Pulling fs layer [2023-08-25T03:04:03.000Z] 8b374f2dd631: Pulling fs layer [2023-08-25T03:04:03.000Z] ec14aa9079de: Pulling fs layer [2023-08-25T03:04:03.000Z] 2f466654f4bb: Pulling fs layer [2023-08-25T03:04:03.000Z] 554e91adad29: Pulling fs layer [2023-08-25T03:04:03.000Z] ec14aa9079de: Waiting [2023-08-25T03:04:03.000Z] 2f466654f4bb: Waiting [2023-08-25T03:04:03.000Z] 554e91adad29: Waiting [2023-08-25T03:04:03.000Z] 8b374f2dd631: Waiting [2023-08-25T03:04:03.000Z] 5f9638ab2659: Verifying Checksum [2023-08-25T03:04:03.000Z] 5f9638ab2659: Download complete [2023-08-25T03:04:03.000Z] 8b374f2dd631: Verifying Checksum [2023-08-25T03:04:03.000Z] 8b374f2dd631: Download complete [2023-08-25T03:04:03.279Z] ec14aa9079de: Download complete [2023-08-25T03:04:03.279Z] edb6bdbacee9: Verifying Checksum [2023-08-25T03:04:03.279Z] edb6bdbacee9: Download complete [2023-08-25T03:04:04.699Z] edb6bdbacee9: Pull complete [2023-08-25T03:04:04.975Z] 554e91adad29: Verifying Checksum [2023-08-25T03:04:04.975Z] 554e91adad29: Download complete [2023-08-25T03:04:05.252Z] 5f9638ab2659: Pull complete [2023-08-25T03:04:06.218Z] 2f466654f4bb: Verifying Checksum [2023-08-25T03:04:06.218Z] 2f466654f4bb: Download complete [2023-08-25T03:04:06.218Z] 8d51d6327a98: Download complete [2023-08-25T03:04:18.556Z] 8d51d6327a98: Pull complete [2023-08-25T03:04:18.556Z] 8b374f2dd631: Pull complete [2023-08-25T03:04:18.556Z] ec14aa9079de: Pull complete [2023-08-25T03:04:25.234Z] 2f466654f4bb: Pull complete [2023-08-25T03:04:27.829Z] 554e91adad29: Pull complete [2023-08-25T03:04:27.829Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-08-25T03:04:27.829Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-08-25T03:04:27.829Z] ---> 1e15ea492957 [2023-08-25T03:04:27.829Z] Step 3/10 : ARG MAKE=make build [2023-08-25T03:04:29.788Z] ---> Running in 1a23eb3c8180 [2023-08-25T03:04:29.788Z] Removing intermediate container 1a23eb3c8180 [2023-08-25T03:04:29.788Z] ---> fa29f4de2091 [2023-08-25T03:04:29.788Z] Step 4/10 : WORKDIR /device-sdk-go [2023-08-25T03:04:30.062Z] ---> Running in 46f4874e1f1e [2023-08-25T03:04:30.330Z] Removing intermediate container 46f4874e1f1e [2023-08-25T03:04:30.330Z] ---> 2127e84ed403 [2023-08-25T03:04:30.330Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-08-25T03:04:30.330Z] ---> Running in 57c941bbe6a0 [2023-08-25T03:04:30.599Z] Removing intermediate container 57c941bbe6a0 [2023-08-25T03:04:30.599Z] ---> bd9e15f508a4 [2023-08-25T03:04:30.599Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-08-25T03:04:30.867Z] ---> Running in b9a58c002d1f [2023-08-25T03:04:31.829Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-25T03:04:32.791Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-25T03:04:33.757Z] OK: 263 MiB in 53 packages [2023-08-25T03:04:34.725Z] Removing intermediate container b9a58c002d1f [2023-08-25T03:04:34.725Z] ---> 9fed5877d850 [2023-08-25T03:04:34.725Z] Step 7/10 : COPY go.mod vendor* ./ [2023-08-25T03:04:34.993Z] ---> dbfc335964d2 [2023-08-25T03:04:34.993Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-25T03:04:35.262Z] ---> Running in f44e9f5dc804 [2023-08-25T03:05:43.187Z] Removing intermediate container f44e9f5dc804 [2023-08-25T03:05:43.187Z] ---> 9b0730f6a8d6 [2023-08-25T03:05:43.187Z] Step 9/10 : COPY . . [2023-08-25T03:05:45.136Z] ---> 06ec1b4c3eeb [2023-08-25T03:05:45.136Z] Step 10/10 : RUN ${MAKE} [2023-08-25T03:05:45.136Z] ---> Running in 43f57c1a5b54 [2023-08-25T03:05:46.102Z] noop [2023-08-25T03:05:47.067Z] Removing intermediate container 43f57c1a5b54 [2023-08-25T03:05:47.067Z] ---> bd09ee164ea2 [2023-08-25T03:05:47.067Z] Successfully built bd09ee164ea2 [2023-08-25T03:05:47.067Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T03:05:47.615Z] + docker inspect -f . ci-base-image-arm64 [2023-08-25T03:05:47.615Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T03:05:47.902Z] prd-ubuntu20.04-docker-arm64-4c-16g-4482 does not seem to be running inside a container [2023-08-25T03:05:47.970Z] $ 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 ******** ci-base-image-arm64 cat [2023-08-25T03:05:49.191Z] $ docker top 062dbd7a765c7bc0b96a0102f3684bbd29b2c75c882d6692b4a7d6aa647306d9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-25T03:05:50.090Z] + go version [2023-08-25T03:05:50.090Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-08-25T03:05:50.125Z] $ docker stop --time=1 062dbd7a765c7bc0b96a0102f3684bbd29b2c75c882d6692b4a7d6aa647306d9 [2023-08-25T03:05:51.750Z] $ docker rm -f --volumes 062dbd7a765c7bc0b96a0102f3684bbd29b2c75c882d6692b4a7d6aa647306d9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T03:05:52.760Z] + docker inspect -f . ci-base-image-arm64 [2023-08-25T03:05:52.760Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T03:05:53.034Z] prd-ubuntu20.04-docker-arm64-4c-16g-4482 does not seem to be running inside a container [2023-08-25T03:05:53.106Z] $ 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 ******** ci-base-image-arm64 cat [2023-08-25T03:05:54.316Z] $ docker top d8a8de29a79e2fbb99aec94bea58c807e5c8d157d58ebc350f77152edef18ab5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-25T03:05:55.192Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-08-25T03:05:55.915Z] + make test [2023-08-25T03:05:55.915Z] go test -race -coverprofile=coverage.out ./... [2023-08-25T03:06:42.792Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-08-25T03:09:19.523Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-08-25T03:09:19.523Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-08-25T03:09:19.523Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-08-25T03:09:19.523Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-08-25T03:09:19.523Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-08-25T03:09:19.523Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.234s coverage: 27.6% of statements [2023-08-25T03:09:22.108Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.281s coverage: 80.2% of statements [2023-08-25T03:09:37.110Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-08-25T03:09:37.110Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-08-25T03:09:37.110Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.391s coverage: 86.0% of statements [2023-08-25T03:09:43.767Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-08-25T03:09:43.767Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.536s coverage: 71.8% of statements [2023-08-25T03:09:48.035Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.283s coverage: 14.3% of statements [2023-08-25T03:09:50.623Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-08-25T03:09:50.623Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-08-25T03:09:51.208Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.332s coverage: 43.8% of statements [2023-08-25T03:09:51.208Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.453s coverage: 68.5% of statements [2023-08-25T03:09:55.473Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.470s coverage: 89.2% of statements [2023-08-25T03:09:56.433Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-08-25T03:09:56.789Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.273s coverage: 5.5% of statements [2023-08-25T03:09:57.796Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-08-25T03:09:57.796Z] GO111MODULE=on go vet ./... [2023-08-25T03:12:49.710Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-25T03:12:49.710Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-25T03:12:49.710Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-25T03:12:49.754Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-25T03:12:49.785Z] $ docker stop --time=1 d8a8de29a79e2fbb99aec94bea58c807e5c8d157d58ebc350f77152edef18ab5 [2023-08-25T03:12:51.757Z] $ docker rm -f --volumes d8a8de29a79e2fbb99aec94bea58c807e5c8d157d58ebc350f77152edef18ab5 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-25T03:12:53.546Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-25T03:12:53.579Z] Warning: overwriting stash ‘coverage-report’ [2023-08-25T03:12:54.159Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-25T03:12:54.759Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-25T03:12:55.103Z] + ls -al . [2023-08-25T03:12:55.103Z] total 300 [2023-08-25T03:12:55.103Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 25 03:05 . [2023-08-25T03:12:55.103Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 03:03 .. [2023-08-25T03:12:55.103Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 25 03:03 .dockerignore [2023-08-25T03:12:55.103Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 25 03:03 .git [2023-08-25T03:12:55.103Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 03:03 .github [2023-08-25T03:12:55.103Z] -rw-rw-r-- 1 jenkins jenkins 137 Aug 25 03:03 .gitignore [2023-08-25T03:12:55.103Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 25 03:03 .golangci.yml [2023-08-25T03:12:55.103Z] -rw-rw-r-- 1 jenkins jenkins 44878 Aug 25 03:03 CHANGELOG.md [2023-08-25T03:12:55.103Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 25 03:03 GOVERNANCE.md [2023-08-25T03:12:55.103Z] -rw-rw-r-- 1 jenkins jenkins 885 Aug 25 03:03 Jenkinsfile [2023-08-25T03:12:55.103Z] -rw-rw-r-- 1 jenkins jenkins 11341 Aug 25 03:03 LICENSE [2023-08-25T03:12:55.103Z] -rw-rw-r-- 1 jenkins jenkins 1842 Aug 25 03:03 Makefile [2023-08-25T03:12:55.103Z] -rw-rw-r-- 1 jenkins jenkins 619 Aug 25 03:03 OWNERS.md [2023-08-25T03:12:55.103Z] -rw-rw-r-- 1 jenkins jenkins 4933 Aug 25 03:03 README.md [2023-08-25T03:12:55.103Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 25 02:59 VERSION [2023-08-25T03:12:55.103Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 03:03 bin [2023-08-25T03:12:55.103Z] -rw-r--r-- 1 jenkins jenkins 120271 Aug 25 03:09 coverage.out [2023-08-25T03:12:55.103Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 25 03:03 example [2023-08-25T03:12:55.103Z] -rw-rw-r-- 1 jenkins jenkins 3721 Aug 25 03:03 go.mod [2023-08-25T03:12:55.103Z] -rw-rw-r-- 1 jenkins jenkins 33545 Aug 25 03:03 go.sum [2023-08-25T03:12:55.103Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 25 03:03 internal [2023-08-25T03:12:55.103Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 03:03 openapi [2023-08-25T03:12:55.103Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 25 03:03 pkg [2023-08-25T03:12:55.103Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 03:03 snap [2023-08-25T03:12:55.103Z] -rw-rw-r-- 1 jenkins jenkins 222 Aug 25 03:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T03:12:55.529Z] + 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=6d7c9cf15c518dce5110e02118dcec0d936b9cab --label arch=arm64 --label version=0.0.0 . [2023-08-25T03:12:56.114Z] Sending build context to Docker daemon 6.047MB [2023-08-25T03:12:56.114Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-08-25T03:12:56.114Z] Step 2/23 : FROM ${BASE} AS builder [2023-08-25T03:12:56.114Z] ---> bd09ee164ea2 [2023-08-25T03:12:56.114Z] Step 3/23 : ARG MAKE=make build [2023-08-25T03:12:57.525Z] ---> Running in 301f526c60d5 [2023-08-25T03:12:57.525Z] Removing intermediate container 301f526c60d5 [2023-08-25T03:12:57.525Z] ---> f0391f9b4075 [2023-08-25T03:12:57.525Z] Step 4/23 : WORKDIR /device-sdk-go [2023-08-25T03:12:57.792Z] ---> Running in 7db102226455 [2023-08-25T03:12:58.059Z] Removing intermediate container 7db102226455 [2023-08-25T03:12:58.059Z] ---> 3a939f1a7e81 [2023-08-25T03:12:58.059Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-08-25T03:12:58.059Z] ---> Running in cb30d7a36fb7 [2023-08-25T03:12:58.328Z] Removing intermediate container cb30d7a36fb7 [2023-08-25T03:12:58.328Z] ---> 60058510d2aa [2023-08-25T03:12:58.328Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-08-25T03:12:58.328Z] ---> Running in a2a3a2a4e382 [2023-08-25T03:12:59.741Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-25T03:13:00.009Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-25T03:13:01.423Z] OK: 263 MiB in 53 packages [2023-08-25T03:13:02.011Z] Removing intermediate container a2a3a2a4e382 [2023-08-25T03:13:02.011Z] ---> 935d82a00c15 [2023-08-25T03:13:02.011Z] Step 7/23 : COPY go.mod vendor* ./ [2023-08-25T03:13:02.604Z] ---> c6c8a4395972 [2023-08-25T03:13:02.604Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-25T03:13:02.604Z] ---> Running in 4a74baf00049 [2023-08-25T03:13:05.189Z] Removing intermediate container 4a74baf00049 [2023-08-25T03:13:05.189Z] ---> d390ed2873e3 [2023-08-25T03:13:05.189Z] Step 9/23 : COPY . . [2023-08-25T03:13:05.774Z] ---> 480b202d4c1d [2023-08-25T03:13:05.774Z] Step 10/23 : RUN ${MAKE} [2023-08-25T03:13:06.042Z] ---> Running in f81ab1c657aa [2023-08-25T03:13:07.004Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-08-25T03:15:43.736Z] Removing intermediate container f81ab1c657aa [2023-08-25T03:15:43.736Z] ---> 6e435747d7e5 [2023-08-25T03:15:43.736Z] Step 11/23 : FROM alpine:3.17 [2023-08-25T03:15:43.736Z] 3.17: Pulling from library/alpine [2023-08-25T03:15:43.736Z] 4060ece20d7a: Pulling fs layer [2023-08-25T03:15:43.736Z] 4060ece20d7a: Verifying Checksum [2023-08-25T03:15:43.736Z] 4060ece20d7a: Download complete [2023-08-25T03:15:43.736Z] 4060ece20d7a: Pull complete [2023-08-25T03:15:43.736Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-25T03:15:43.736Z] Status: Downloaded newer image for alpine:3.17 [2023-08-25T03:15:43.736Z] ---> 8650cd65339b [2023-08-25T03:15:43.736Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-08-25T03:15:43.736Z] ---> Running in c82944e656eb [2023-08-25T03:15:43.736Z] Removing intermediate container c82944e656eb [2023-08-25T03:15:43.736Z] ---> 695661a1f373 [2023-08-25T03:15:43.736Z] Step 13/23 : RUN apk add --update --no-cache [2023-08-25T03:15:43.736Z] ---> Running in a1b7e1f5c13a [2023-08-25T03:15:43.736Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-25T03:15:43.736Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-25T03:15:43.736Z] OK: 7 MiB in 15 packages [2023-08-25T03:15:43.736Z] Removing intermediate container a1b7e1f5c13a [2023-08-25T03:15:43.736Z] ---> 4677218c41c2 [2023-08-25T03:15:43.736Z] Step 14/23 : WORKDIR / [2023-08-25T03:15:43.736Z] ---> Running in 837f887e77f6 [2023-08-25T03:15:43.736Z] Removing intermediate container 837f887e77f6 [2023-08-25T03:15:43.736Z] ---> 8a4963529f00 [2023-08-25T03:15:43.736Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-08-25T03:15:43.736Z] ---> ba7e9c68a4ea [2023-08-25T03:15:43.736Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-08-25T03:15:43.736Z] ---> 782e90b1d60b [2023-08-25T03:15:43.736Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-08-25T03:15:43.736Z] ---> 4b25095c8b04 [2023-08-25T03:15:43.736Z] Step 18/23 : EXPOSE 59999 [2023-08-25T03:15:43.736Z] ---> Running in 20aada3717f7 [2023-08-25T03:15:43.736Z] Removing intermediate container 20aada3717f7 [2023-08-25T03:15:43.736Z] ---> 15a93eadf8e0 [2023-08-25T03:15:43.736Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-08-25T03:15:43.736Z] ---> Running in fe84316cd899 [2023-08-25T03:15:43.736Z] Removing intermediate container fe84316cd899 [2023-08-25T03:15:43.736Z] ---> 9ddf120a0a05 [2023-08-25T03:15:43.736Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-08-25T03:15:43.736Z] ---> Running in 9cfec66dbc75 [2023-08-25T03:15:43.736Z] Removing intermediate container 9cfec66dbc75 [2023-08-25T03:15:43.736Z] ---> e4f2931dcb6e [2023-08-25T03:15:43.736Z] Step 21/23 : LABEL arch=arm64 [2023-08-25T03:15:43.736Z] ---> Running in 5156dc914bcf [2023-08-25T03:15:43.736Z] Removing intermediate container 5156dc914bcf [2023-08-25T03:15:43.736Z] ---> 90d0588c178f [2023-08-25T03:15:43.736Z] Step 22/23 : LABEL git_sha=6d7c9cf15c518dce5110e02118dcec0d936b9cab [2023-08-25T03:15:43.736Z] ---> Running in 52aa37013e56 [2023-08-25T03:15:43.736Z] Removing intermediate container 52aa37013e56 [2023-08-25T03:15:43.736Z] ---> 7b1dd6f935a8 [2023-08-25T03:15:43.736Z] Step 23/23 : LABEL version=0.0.0 [2023-08-25T03:15:43.736Z] ---> Running in 646a67f69317 [2023-08-25T03:15:43.736Z] Removing intermediate container 646a67f69317 [2023-08-25T03:15:43.736Z] ---> 8263d5bed7b7 [2023-08-25T03:15:43.736Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-25T03:15:43.736Z] Successfully built 8263d5bed7b7 [2023-08-25T03:15:43.736Z] 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-08-25T03:15:44.556Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-25T03:15:44.556Z] [2023-08-25T03:15:44.556Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T03:15:44.948Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-25T03:15:44.948Z] arm64: Pulling from edgex-lftools-log-publisher [2023-08-25T03:15:44.948Z] 8998bd30e6a1: Pulling fs layer [2023-08-25T03:15:44.948Z] 04944245beec: Pulling fs layer [2023-08-25T03:15:44.948Z] 699f458cf7ca: Pulling fs layer [2023-08-25T03:15:44.948Z] 765212b225bb: Pulling fs layer [2023-08-25T03:15:44.948Z] f23df028b6ca: Pulling fs layer [2023-08-25T03:15:44.948Z] d65c8cfc05b1: Pulling fs layer [2023-08-25T03:15:44.948Z] 2437ff75d9bd: Pulling fs layer [2023-08-25T03:15:44.948Z] f23df028b6ca: Waiting [2023-08-25T03:15:44.948Z] d65c8cfc05b1: Waiting [2023-08-25T03:15:44.948Z] 2437ff75d9bd: Waiting [2023-08-25T03:15:44.948Z] 765212b225bb: Waiting [2023-08-25T03:15:45.216Z] 04944245beec: Verifying Checksum [2023-08-25T03:15:45.216Z] 04944245beec: Download complete [2023-08-25T03:15:45.216Z] 765212b225bb: Verifying Checksum [2023-08-25T03:15:45.216Z] 765212b225bb: Download complete [2023-08-25T03:15:45.216Z] f23df028b6ca: Verifying Checksum [2023-08-25T03:15:45.216Z] f23df028b6ca: Download complete [2023-08-25T03:15:45.216Z] d65c8cfc05b1: Verifying Checksum [2023-08-25T03:15:45.216Z] d65c8cfc05b1: Download complete [2023-08-25T03:15:45.216Z] 699f458cf7ca: Verifying Checksum [2023-08-25T03:15:45.216Z] 699f458cf7ca: Download complete [2023-08-25T03:15:45.797Z] 8998bd30e6a1: Verifying Checksum [2023-08-25T03:15:45.797Z] 8998bd30e6a1: Download complete [2023-08-25T03:15:47.735Z] 2437ff75d9bd: Verifying Checksum [2023-08-25T03:15:47.735Z] 2437ff75d9bd: Download complete [2023-08-25T03:15:49.687Z] 8998bd30e6a1: Pull complete [2023-08-25T03:15:51.088Z] 04944245beec: Pull complete [2023-08-25T03:15:52.494Z] 699f458cf7ca: Pull complete [2023-08-25T03:15:52.494Z] 765212b225bb: Pull complete [2023-08-25T03:15:53.452Z] f23df028b6ca: Pull complete [2023-08-25T03:15:53.452Z] d65c8cfc05b1: Pull complete [2023-08-25T03:16:08.431Z] 2437ff75d9bd: Pull complete [2023-08-25T03:16:08.431Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-08-25T03:16:08.431Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-25T03:16:08.431Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T03:16:08.752Z] prd-ubuntu20.04-docker-arm64-4c-16g-4482 does not seem to be running inside a container [2023-08-25T03:16:08.808Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-08-25T03:16:11.171Z] $ docker top be5dfa0dbcba6e4aff02706061c13c6ddce4bf2fe6b373478adb4a7714d66551 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-25T03:16:12.111Z] ---> job-cost.sh [2023-08-25T03:16:12.111Z] lf-activate-venv: SKIPPING [2023-08-25T03:16:12.111Z] INFO: No Stack... [2023-08-25T03:16:12.382Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-08-25T03:16:13.348Z] INFO: Archiving Costs [Pipeline] sh [2023-08-25T03:16:13.690Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2023-08-25T03:16:13.958Z] + cut -d, -f6 [Pipeline] lock [2023-08-25T03:16:14.013Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1501-1-stack-cost] [2023-08-25T03:16:14.018Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1501-1-stack-cost] did not exist. Created. [2023-08-25T03:16:14.018Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1501-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-25T03:16:14.425Z] /w/workspace/device-sdk-go/1@tmp/durable-96d41afd/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-08-25T03:16:14.774Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-08-25T03:16:14.808Z] Warning: overwriting stash ‘stack-cost’ [2023-08-25T03:16:14.880Z] Stashed 1 file(s) [Pipeline] } [2023-08-25T03:16:14.895Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1501-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-25T03:16:14.972Z] $ docker stop --time=1 be5dfa0dbcba6e4aff02706061c13c6ddce4bf2fe6b373478adb4a7714d66551 [2023-08-25T03:16:16.448Z] $ docker rm -f --volumes be5dfa0dbcba6e4aff02706061c13c6ddce4bf2fe6b373478adb4a7714d66551 [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-08-25T03:16:17.479Z] provisioning config files... [2023-08-25T03:16:17.486Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1501@tmp/config15831373291264566551tmp [Pipeline] { [Pipeline] sh [2023-08-25T03:16:17.825Z] + set +x [2023-08-25T03:16:17.825Z] + curl -s https://codecov.io/bash [2023-08-25T03:16:17.825Z] + bash -s -- [2023-08-25T03:16:18.084Z] [2023-08-25T03:16:18.084Z] _____ _ [2023-08-25T03:16:18.084Z] / ____| | | [2023-08-25T03:16:18.084Z] | | ___ __| | ___ ___ _____ __ [2023-08-25T03:16:18.084Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-08-25T03:16:18.084Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-08-25T03:16:18.084Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-08-25T03:16:18.084Z] Bash-1.0.6 [2023-08-25T03:16:18.084Z] [2023-08-25T03:16:18.084Z] [2023-08-25T03:16:18.084Z] ==> git version 2.25.1 found [2023-08-25T03:16:18.084Z] ==> 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-08-25T03:16:18.084Z] Release-Date: 2020-01-08 [2023-08-25T03:16:18.084Z] 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-08-25T03:16:18.084Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-08-25T03:16:18.084Z] ==> Jenkins CI detected. [2023-08-25T03:16:18.084Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1501 [2023-08-25T03:16:18.084Z] project root: . [2023-08-25T03:16:18.084Z] --> token set from env [2023-08-25T03:16:18.084Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-08-25T03:16:18.084Z] ==> Running gcov in . (disable via -X gcov) [2023-08-25T03:16:18.084Z] ==> Python coveragepy not found [2023-08-25T03:16:18.084Z] ==> Searching for coverage reports in: [2023-08-25T03:16:18.084Z] + . [2023-08-25T03:16:18.084Z] -> Found 1 reports [2023-08-25T03:16:18.084Z] ==> Detecting git/mercurial file structure [2023-08-25T03:16:18.084Z] ==> Reading reports [2023-08-25T03:16:18.084Z] + ./coverage.out bytes=120271 [2023-08-25T03:16:18.084Z] ==> Appending adjustments [2023-08-25T03:16:18.084Z] https://docs.codecov.io/docs/fixing-reports [2023-08-25T03:16:18.343Z] + Found adjustments [2023-08-25T03:16:18.343Z] ==> Gzipping contents [2023-08-25T03:16:18.343Z] 20K /tmp/codecov.jVDfPK.gz [2023-08-25T03:16:18.343Z] ==> Uploading reports [2023-08-25T03:16:18.343Z] url: https://codecov.io [2023-08-25T03:16:18.343Z] query: branch=PR-1501&commit=6d7c9cf15c518dce5110e02118dcec0d936b9cab&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1501%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1501&job=&cmd_args= [2023-08-25T03:16:18.343Z] -> Pinging Codecov [2023-08-25T03:16:18.343Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1501&commit=6d7c9cf15c518dce5110e02118dcec0d936b9cab&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1501%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1501&job=&cmd_args= [2023-08-25T03:16:18.607Z] -> Uploading to [2023-08-25T03:16:18.607Z] https://storage.googleapis.com/codecov/v4/raw/2023-08-25/7E55EF52A471D76F132DFD9A03CDDE97/6d7c9cf15c518dce5110e02118dcec0d936b9cab/d248b975-5e2c-456a-b21e-a05c7d80442e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230825%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230825T031618Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fd777f519704f09d87fc93823f6fb6c9cef604e6e9b7239598b802fbcfb969a1 [2023-08-25T03:16:18.607Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-25T03:16:18.607Z] Dload Upload Total Spent Left Speed [2023-08-25T03:16:18.866Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16426 0 0 100 16426 0 88311 --:--:-- --:--:-- --:--:-- 87839 100 16426 0 0 100 16426 0 88311 --:--:-- --:--:-- --:--:-- 87839 [2023-08-25T03:16:18.866Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/6d7c9cf15c518dce5110e02118dcec0d936b9cab [Pipeline] } [2023-08-25T03:16:18.894Z] 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-08-25T03:16:20.698Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1501/archives ] [2023-08-25T03:16:20.698Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1501/archives [2023-08-25T03:16:20.698Z] total 16 [2023-08-25T03:16:20.698Z] drwxr-xr-x 3 root root 4096 Aug 25 03:02 . [2023-08-25T03:16:20.698Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 25 03:02 .. [2023-08-25T03:16:20.698Z] drwxr-xr-x 2 root root 4096 Aug 25 03:02 cost [2023-08-25T03:16:20.698Z] -rw-r--r-- 1 root root 86 Aug 25 03:02 cost.csv [2023-08-25T03:16:20.698Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1501/archives [2023-08-25T03:16:20.698Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1501/archives [2023-08-25T03:16:20.698Z] total 16 [2023-08-25T03:16:20.698Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 25 03:02 . [2023-08-25T03:16:20.698Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 25 03:02 .. [2023-08-25T03:16:20.698Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 25 03:02 cost [2023-08-25T03:16:20.698Z] -rw-r--r-- 1 jenkins jenkins 86 Aug 25 03:02 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-08-25T03:16:21.027Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-25T03:16:21.914Z] ---> package-listing.sh [2023-08-25T03:16:21.914Z] ++ facter osfamily [2023-08-25T03:16:21.914Z] ++ tr '[:upper:]' '[:lower:]' [2023-08-25T03:16:21.914Z] + OS_FAMILY=debian [2023-08-25T03:16:21.914Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1501 [2023-08-25T03:16:21.914Z] + START_PACKAGES=/tmp/packages_start.txt [2023-08-25T03:16:21.915Z] + END_PACKAGES=/tmp/packages_end.txt [2023-08-25T03:16:21.915Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-08-25T03:16:21.915Z] + PACKAGES=/tmp/packages_start.txt [2023-08-25T03:16:21.915Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1501 ']' [2023-08-25T03:16:21.915Z] + PACKAGES=/tmp/packages_end.txt [2023-08-25T03:16:21.915Z] + case "${OS_FAMILY}" in [2023-08-25T03:16:21.915Z] + dpkg -l [2023-08-25T03:16:21.915Z] + grep '^ii' [2023-08-25T03:16:22.173Z] + '[' -f /tmp/packages_start.txt ']' [2023-08-25T03:16:22.173Z] + '[' -f /tmp/packages_end.txt ']' [2023-08-25T03:16:22.173Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-08-25T03:16:22.173Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1501 ']' [2023-08-25T03:16:22.173Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1501/archives/ [2023-08-25T03:16:22.173Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1501/archives/ [Pipeline] echo [2023-08-25T03:16:22.214Z] 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-1501/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-08-25T03:16:22.504Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T03:16:23.119Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-25T03:16:23.119Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T03:16:23.264Z] prd-ubuntu20.04-docker-8c-8g-4480 does not seem to be running inside a container [2023-08-25T03:16:23.290Z] $ 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-1501/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-1501 -v /w/workspace/gexfoundry_device-sdk-go_PR-1501:/w/workspace/gexfoundry_device-sdk-go_PR-1501:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1501@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1501@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-08-25T03:16:23.479Z] $ docker top 66550ca1e6b44cf3fb37e9622d1ef8e9f4bc515a78aefe3318784de4443cf72d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-25T03:16:23.863Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-08-25T03:16:24.168Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-08-25T03:16:24.473Z] + ls /var/log/sa-host [2023-08-25T03:16:24.473Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-25T03:16:24.685Z] provisioning config files... [2023-08-25T03:16:24.692Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1501@tmp/config5565748467833326760tmp [Pipeline] { [Pipeline] echo [2023-08-25T03:16:24.743Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-25T03:16:25.053Z] ---> create-netrc.sh [Pipeline] } [2023-08-25T03:16:25.078Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-08-25T03:16:25.481Z] ---> python-tools-install.sh [Pipeline] echo [2023-08-25T03:16:25.514Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-25T03:16:25.829Z] ---> sudo-logs.sh [2023-08-25T03:16:25.829Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-08-25T03:16:25.916Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-25T03:16:26.226Z] ---> job-cost.sh [2023-08-25T03:16:26.226Z] lf-activate-venv: SKIPPING [2023-08-25T03:16:26.226Z] DEBUG: total: 0.2199999988079071 [2023-08-25T03:16:26.227Z] INFO: Retrieving Stack Cost... [2023-08-25T03:16:26.485Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-25T03:16:27.052Z] INFO: Archiving Costs [Pipeline] echo [2023-08-25T03:16:27.086Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-25T03:16:27.393Z] ---> logs-deploy.sh [2023-08-25T03:16:27.394Z] lf-activate-venv: SKIPPING [2023-08-25T03:16:27.394Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1501/1 [2023-08-25T03:16:27.394Z] INFO: archiving workspace using pattern(s): [2023-08-25T03:16:28.329Z] Archives upload complete. [2023-08-25T03:16:28.329Z] INFO: archiving logs to Nexus