Pull request #1531 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8a1ae1e898068d4c5c4946da98df4a6f2aecea43+abc21ca26102b759b02d11fb71eec9f0d2267cdf (56dfe39fdc164cb02003b8446dee9c619c88e989) 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-ssh10290227652845874423.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh18122816646126545971.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-1531/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-1531/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4931949039239472789.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-1531/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16629567914537999219.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh11189926024148873146.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-1531/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-1531/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16368913261565881097.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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.21 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 ‘prd-ubuntu20.04-docker-8c-8g-12453’ Running on prd-ubuntu20.04-docker-8c-8g-12483 in /w/workspace/gexfoundry_device-sdk-go_PR-1531 [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-1531 # 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/1531/head:refs/remotes/origin/PR-1531 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit abc21ca26102b759b02d11fb71eec9f0d2267cdf into PR head commit 8a1ae1e898068d4c5c4946da98df4a6f2aecea43 Merge succeeded, producing 8a1ae1e898068d4c5c4946da98df4a6f2aecea43 Checking out Revision 8a1ae1e898068d4c5c4946da98df4a6f2aecea43 (PR-1531) Commit message: "build(deps): bump github.com/google/uuid from 1.3.1 to 1.4.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-10-27T04:58:36.431Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 8a1ae1e898068d4c5c4946da98df4a6f2aecea43 # 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 abc21ca26102b759b02d11fb71eec9f0d2267cdf # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8a1ae1e898068d4c5c4946da98df4a6f2aecea43 # timeout=10 [Pipeline] withCredentials [2023-10-27T04:58:36.619Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-10-27T04:58:36.723Z] ========================================================= [2023-10-27T04:58:36.723Z] EdgeX Global Pipelines Version Info [2023-10-27T04:58:36.723Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-10-27T04:58:37.447Z] ------------------- [2023-10-27T04:58:37.447Z] stable info: [2023-10-27T04:58:37.447Z] ------------------- [2023-10-27T04:58:37.447Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-10-27T04:58:37.447Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-27T04:58:37.447Z] Message: update stable to v1.0.254 [2023-10-27T04:58:38.015Z] ------------------- [2023-10-27T04:58:38.015Z] experimental info: [2023-10-27T04:58:38.016Z] ------------------- [2023-10-27T04:58:38.016Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-10-27T04:58:38.016Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-27T04:58:38.016Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-10-27T04:58:38.318Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-10-27T04:58:38.363Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-10-27T04:58:38.400Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-10-27T04:58:38.439Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-10-27T04:58:38.482Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-10-27T04:58:38.526Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-10-27T04:58:38.568Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-10-27T04:58:38.610Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-10-27T04:58:38.652Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-10-27T04:58:38.700Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-10-27T04:58:38.749Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-10-27T04:58:38.788Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-10-27T04:58:38.835Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-10-27T04:58:38.888Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-10-27T04:58:38.932Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-10-27T04:58:38.970Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-10-27T04:58:39.006Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-10-27T04:58:39.041Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-10-27T04:58:39.076Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-10-27T04:58:39.110Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-10-27T04:58:39.145Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-10-27T04:58:39.180Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-10-27T04:58:39.216Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-10-27T04:58:39.255Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-10-27T04:58:39.296Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-10-27T04:58:39.336Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-10-27T04:58:39.374Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-10-27T04:58:39.419Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1531 [Pipeline] echo [2023-10-27T04:58:39.462Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1531 [Pipeline] echo [2023-10-27T04:58:39.507Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1531 [Pipeline] echo [2023-10-27T04:58:39.553Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8a1ae1e898068d4c5c4946da98df4a6f2aecea43 [Pipeline] echo [2023-10-27T04:58:39.592Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8a1ae1e [Pipeline] echo [2023-10-27T04:58:39.627Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-27T04:58:39.734Z] provisioning config files... [2023-10-27T04:58:39.748Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1531@tmp/config11708151417702787041tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-27T04:58:40.097Z] ---> docker-login.sh [2023-10-27T04:58:40.097Z] nexus3.edgexfoundry.org:10001 [2023-10-27T04:58:40.359Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T04:58:40.359Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T04:58:40.359Z] Configure a credential helper to remove this warning. See [2023-10-27T04:58:40.359Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T04:58:40.359Z] [2023-10-27T04:58:40.359Z] Login Succeeded [2023-10-27T04:58:40.359Z] nexus3.edgexfoundry.org:10002 [2023-10-27T04:58:40.359Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T04:58:40.618Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T04:58:40.618Z] Configure a credential helper to remove this warning. See [2023-10-27T04:58:40.618Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T04:58:40.618Z] [2023-10-27T04:58:40.618Z] Login Succeeded [2023-10-27T04:58:40.618Z] nexus3.edgexfoundry.org:10003 [2023-10-27T04:58:40.618Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T04:58:40.618Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T04:58:40.618Z] Configure a credential helper to remove this warning. See [2023-10-27T04:58:40.618Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T04:58:40.618Z] [2023-10-27T04:58:40.618Z] Login Succeeded [2023-10-27T04:58:40.618Z] nexus3.edgexfoundry.org:10004 [2023-10-27T04:58:40.618Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T04:58:40.618Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T04:58:40.618Z] Configure a credential helper to remove this warning. See [2023-10-27T04:58:40.618Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T04:58:40.618Z] [2023-10-27T04:58:40.618Z] Login Succeeded [2023-10-27T04:58:40.618Z] docker.io [2023-10-27T04:58:40.878Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T04:58:41.138Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T04:58:41.138Z] Configure a credential helper to remove this warning. See [2023-10-27T04:58:41.138Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T04:58:41.138Z] [2023-10-27T04:58:41.138Z] Login Succeeded [2023-10-27T04:58:41.138Z] ---> docker-login.sh ends [Pipeline] } [2023-10-27T04:58:41.165Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-10-27T04:58:41.802Z] + git rev-list -1 --merges 8a1ae1e898068d4c5c4946da98df4a6f2aecea43~1..8a1ae1e898068d4c5c4946da98df4a6f2aecea43 [Pipeline] echo [2023-10-27T04:58:41.858Z] -----------> git rev-list -1 --merges 8a1ae1e898068d4c5c4946da98df4a6f2aecea43~1..8a1ae1e898068d4c5c4946da98df4a6f2aecea43 8a1ae1e898068d4c5c4946da98df4a6f2aecea43 [false] [Pipeline] sh [2023-10-27T04:58:42.163Z] + git log --format=format:%s -1 8a1ae1e898068d4c5c4946da98df4a6f2aecea43 [Pipeline] echo [2023-10-27T04:58:42.197Z] ========================================================= [2023-10-27T04:58:42.197Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-27T04:58:42.197Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-27T04:58:42.640Z] + git log --format=format:%s -1 8a1ae1e898068d4c5c4946da98df4a6f2aecea43 [Pipeline] echo [2023-10-27T04:58:42.672Z] [semverPrep] GIT_COMMIT: 8a1ae1e898068d4c5c4946da98df4a6f2aecea43, Commit Message: build(deps): bump github.com/google/uuid from 1.3.1 to 1.4.0 [Pipeline] echo [2023-10-27T04:58:42.703Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-10-27T04:58:43.099Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-27T04:58:43.100Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-10-27T04:58:43.100Z] + [ -e /tmp/ssh_known_hosts ] [2023-10-27T04:58:43.100Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-10-27T04:58:43.100Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-10-27T04:58:43.100Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-10-27T04:58:43.100Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T04:58:43.604Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-27T04:58:43.604Z] [2023-10-27T04:58:43.604Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T04:58:43.984Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-27T04:58:43.984Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-10-27T04:58:43.984Z] b85a868b505f: Pulling fs layer [2023-10-27T04:58:43.984Z] e2be974225ed: Pulling fs layer [2023-10-27T04:58:43.984Z] 339a4e72a1f5: Pulling fs layer [2023-10-27T04:58:43.984Z] 988bab9f4d93: Pulling fs layer [2023-10-27T04:58:43.984Z] 1469e6f7b9e6: Pulling fs layer [2023-10-27T04:58:43.984Z] eaf3925da568: Pulling fs layer [2023-10-27T04:58:43.984Z] bab4dde63d76: Pulling fs layer [2023-10-27T04:58:43.984Z] bde34c3a00c8: Pulling fs layer [2023-10-27T04:58:43.984Z] b352a97aabf1: Pulling fs layer [2023-10-27T04:58:43.984Z] 4872d77fe225: Pulling fs layer [2023-10-27T04:58:43.984Z] 5851b861e8e6: Pulling fs layer [2023-10-27T04:58:43.984Z] 1469e6f7b9e6: Waiting [2023-10-27T04:58:43.984Z] eaf3925da568: Waiting [2023-10-27T04:58:43.984Z] bab4dde63d76: Waiting [2023-10-27T04:58:43.984Z] bde34c3a00c8: Waiting [2023-10-27T04:58:43.984Z] b352a97aabf1: Waiting [2023-10-27T04:58:43.984Z] 4872d77fe225: Waiting [2023-10-27T04:58:43.984Z] 5851b861e8e6: Waiting [2023-10-27T04:58:43.984Z] 988bab9f4d93: Waiting [2023-10-27T04:58:43.984Z] 988bab9f4d93: Download complete [2023-10-27T04:58:44.244Z] 1469e6f7b9e6: Verifying Checksum [2023-10-27T04:58:44.245Z] 1469e6f7b9e6: Download complete [2023-10-27T04:58:44.245Z] eaf3925da568: Verifying Checksum [2023-10-27T04:58:44.245Z] eaf3925da568: Download complete [2023-10-27T04:58:44.245Z] 339a4e72a1f5: Verifying Checksum [2023-10-27T04:58:44.245Z] 339a4e72a1f5: Download complete [2023-10-27T04:58:44.245Z] bde34c3a00c8: Verifying Checksum [2023-10-27T04:58:44.245Z] bde34c3a00c8: Download complete [2023-10-27T04:58:44.245Z] b352a97aabf1: Verifying Checksum [2023-10-27T04:58:44.245Z] b352a97aabf1: Download complete [2023-10-27T04:58:44.245Z] 4872d77fe225: Verifying Checksum [2023-10-27T04:58:44.245Z] 4872d77fe225: Download complete [2023-10-27T04:58:44.245Z] 5851b861e8e6: Verifying Checksum [2023-10-27T04:58:44.245Z] 5851b861e8e6: Download complete [2023-10-27T04:58:44.245Z] b85a868b505f: Verifying Checksum [2023-10-27T04:58:44.245Z] b85a868b505f: Download complete [2023-10-27T04:58:44.812Z] bab4dde63d76: Verifying Checksum [2023-10-27T04:58:44.812Z] bab4dde63d76: Download complete [2023-10-27T04:58:45.749Z] b85a868b505f: Pull complete [2023-10-27T04:58:45.749Z] e2be974225ed: Pull complete [2023-10-27T04:58:46.322Z] 339a4e72a1f5: Pull complete [2023-10-27T04:58:46.322Z] 988bab9f4d93: Pull complete [2023-10-27T04:58:46.598Z] 1469e6f7b9e6: Pull complete [2023-10-27T04:58:46.858Z] eaf3925da568: Pull complete [2023-10-27T04:58:48.766Z] bab4dde63d76: Pull complete [2023-10-27T04:58:48.766Z] bde34c3a00c8: Pull complete [2023-10-27T04:58:49.025Z] b352a97aabf1: Pull complete [2023-10-27T04:58:49.025Z] 4872d77fe225: Pull complete [2023-10-27T04:58:49.025Z] 5851b861e8e6: Pull complete [2023-10-27T04:58:49.025Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-10-27T04:58:49.025Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-27T04:58:49.025Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-27T04:58:49.271Z] prd-ubuntu20.04-docker-8c-8g-12483 does not seem to be running inside a container [2023-10-27T04:58:49.297Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1531 -v /w/workspace/gexfoundry_device-sdk-go_PR-1531:/w/workspace/gexfoundry_device-sdk-go_PR-1531:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1531@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1531@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-27T04:58:51.857Z] $ docker top 3e0f91627000634b3e21d0bf3bc10c760f6bb27125d7a68e90b17cb702a40278 -eo pid,comm [2023-10-27T04:58:51.924Z] 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-10-27T04:58:51.924Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-27T04:58:52.060Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-27T04:58:52.060Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-27T04:58:52.177Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-27T04:58:52.171Z] $ docker exec 3e0f91627000634b3e21d0bf3bc10c760f6bb27125d7a68e90b17cb702a40278 ssh-agent [2023-10-27T04:58:52.293Z] SSH_AUTH_SOCK=/tmp/ssh-bpOIMH49EdAK/agent.33 [2023-10-27T04:58:52.293Z] SSH_AGENT_PID=39 [2023-10-27T04:58:52.301Z] Running ssh-add (command line suppressed) [2023-10-27T04:58:52.410Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1531@tmp/private_key_4448693092319256647.key (/w/workspace/gexfoundry_device-sdk-go_PR-1531@tmp/private_key_4448693092319256647.key) [2023-10-27T04:58:52.432Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-27T04:58:52.761Z] + git tag --points-at HEAD [Pipeline] } [2023-10-27T04:58:52.778Z] $ docker exec --env ******** --env ******** 3e0f91627000634b3e21d0bf3bc10c760f6bb27125d7a68e90b17cb702a40278 ssh-agent -k [2023-10-27T04:58:52.884Z] unset SSH_AUTH_SOCK; [2023-10-27T04:58:52.884Z] unset SSH_AGENT_PID; [2023-10-27T04:58:52.884Z] echo Agent pid 39 killed; [2023-10-27T04:58:52.902Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-10-27T04:58:52.995Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-27T04:58:52.995Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-27T04:58:53.111Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-27T04:58:53.106Z] $ docker exec 3e0f91627000634b3e21d0bf3bc10c760f6bb27125d7a68e90b17cb702a40278 ssh-agent [2023-10-27T04:58:53.234Z] SSH_AUTH_SOCK=/tmp/ssh-UbVLWnj2UPQu/agent.72 [2023-10-27T04:58:53.234Z] SSH_AGENT_PID=78 [2023-10-27T04:58:53.239Z] Running ssh-add (command line suppressed) [2023-10-27T04:58:53.328Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1531@tmp/private_key_17419833316604932572.key (/w/workspace/gexfoundry_device-sdk-go_PR-1531@tmp/private_key_17419833316604932572.key) [2023-10-27T04:58:53.350Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-27T04:58:53.679Z] + git semver init [2023-10-27T04:58:53.939Z] 2023-10-27 04:58:53,847 [run_init] DEBUG init version:0.0.0 force:False [2023-10-27T04:58:53.939Z] 2023-10-27 04:58:53,848 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1531/.semver [2023-10-27T04:58:53.939Z] 2023-10-27 04:58:53,848 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1531/.semver [2023-10-27T04:58:53.939Z] 2023-10-27 04:58:53,849 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1531/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1531, universal_newlines=False, shell=None, istream=None) [2023-10-27T04:58:54.878Z] 2023-10-27 04:58:54,853 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1531/.git/info/exclude [2023-10-27T04:58:54.878Z] 2023-10-27 04:58:54,854 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1531/.semver/PR-1531 with force:False [2023-10-27T04:58:54.878Z] 2023-10-27 04:58:54,854 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1531/.semver/PR-1531 [2023-10-27T04:58:54.878Z] 2023-10-27 04:58:54,859 [execute] INFO git cat-file --batch-check [2023-10-27T04:58:54.878Z] 2023-10-27 04:58:54,859 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1531/.semver, universal_newlines=False, shell=None, istream=) [2023-10-27T04:58:54.878Z] 2023-10-27 04:58:54,866 [execute] INFO git cat-file --batch [2023-10-27T04:58:54.878Z] 2023-10-27 04:58:54,867 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1531/.semver, universal_newlines=False, shell=None, istream=) [2023-10-27T04:58:55.137Z] 2023-10-27 04:58:54,872 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1531/.semver/PR-1531 [2023-10-27T04:58:55.137Z] 0.0.0 [Pipeline] } [2023-10-27T04:58:55.161Z] $ docker exec --env ******** --env ******** 3e0f91627000634b3e21d0bf3bc10c760f6bb27125d7a68e90b17cb702a40278 ssh-agent -k [2023-10-27T04:58:55.257Z] unset SSH_AUTH_SOCK; [2023-10-27T04:58:55.258Z] unset SSH_AGENT_PID; [2023-10-27T04:58:55.258Z] echo Agent pid 78 killed; [2023-10-27T04:58:55.276Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-27T04:58:55.716Z] + git semver [Pipeline] } [2023-10-27T04:58:55.992Z] $ docker stop --time=1 3e0f91627000634b3e21d0bf3bc10c760f6bb27125d7a68e90b17cb702a40278 [2023-10-27T04:58:57.284Z] $ docker rm -f --volumes 3e0f91627000634b3e21d0bf3bc10c760f6bb27125d7a68e90b17cb702a40278 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-27T04:58:57.685Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-10-27T04:58:57.952Z] Stashed 1 file(s) [Pipeline] echo [2023-10-27T04:58:57.969Z] [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-10-27T04:58:58.562Z] provisioning config files... [2023-10-27T04:58:58.572Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1531@tmp/config8598103140868144061tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-27T04:58:58.688Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-12482 in /w/workspace/gexfoundry_device-sdk-go_PR-1531 [Pipeline] { [Pipeline] ws [2023-10-27T04:58:58.752Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-10-27T04:58:58.829Z] The recommended git tool is: git [2023-10-27T04:58:58.914Z] ---> docker-login.sh [2023-10-27T04:58:58.914Z] nexus3.edgexfoundry.org:10001 [2023-10-27T04:58:58.914Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T04:58:58.914Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T04:58:58.914Z] Configure a credential helper to remove this warning. See [2023-10-27T04:58:58.914Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T04:58:58.914Z] [2023-10-27T04:58:58.914Z] Login Succeeded [2023-10-27T04:58:58.914Z] nexus3.edgexfoundry.org:10002 [2023-10-27T04:58:58.914Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T04:58:58.914Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T04:58:58.914Z] Configure a credential helper to remove this warning. See [2023-10-27T04:58:58.914Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T04:58:58.914Z] [2023-10-27T04:58:58.914Z] Login Succeeded [2023-10-27T04:58:58.914Z] nexus3.edgexfoundry.org:10003 [2023-10-27T04:58:59.174Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T04:58:59.174Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T04:58:59.174Z] Configure a credential helper to remove this warning. See [2023-10-27T04:58:59.174Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T04:58:59.174Z] [2023-10-27T04:58:59.174Z] Login Succeeded [2023-10-27T04:58:59.174Z] nexus3.edgexfoundry.org:10004 [2023-10-27T04:58:59.174Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T04:58:59.174Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T04:58:59.174Z] Configure a credential helper to remove this warning. See [2023-10-27T04:58:59.174Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T04:58:59.174Z] [2023-10-27T04:58:59.174Z] Login Succeeded [2023-10-27T04:58:59.174Z] docker.io [2023-10-27T04:58:59.433Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T04:58:59.698Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T04:58:59.698Z] Configure a credential helper to remove this warning. See [2023-10-27T04:58:59.698Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T04:58:59.698Z] [2023-10-27T04:58:59.698Z] Login Succeeded [2023-10-27T04:58:59.698Z] ---> docker-login.sh ends [Pipeline] } [2023-10-27T04:58:59.727Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-27T04:58:59.932Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-27T04:58:59.967Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-27T04:59:00.001Z] ========================================================= [2023-10-27T04:59:00.001Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-10-27T04:59:00.001Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T04:59:00.479Z] + 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.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-10-27T04:59:00.479Z] Sending build context to Docker daemon 11.26MB [2023-10-27T04:59:00.479Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-10-27T04:59:00.479Z] Step 2/10 : FROM ${BASE} AS builder [2023-10-27T04:59:00.479Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-10-27T04:59:00.479Z] 7264a8db6415: Pulling fs layer [2023-10-27T04:59:00.479Z] c4d48a809fc2: Pulling fs layer [2023-10-27T04:59:00.479Z] 4f1c88b9dad5: Pulling fs layer [2023-10-27T04:59:00.479Z] ad3a456e5733: Pulling fs layer [2023-10-27T04:59:00.479Z] 33e27b845d1e: Pulling fs layer [2023-10-27T04:59:00.479Z] c68163c4e522: Pulling fs layer [2023-10-27T04:59:00.479Z] 50da416c3ac9: Pulling fs layer [2023-10-27T04:59:00.479Z] 23d2d4c4bb30: Pulling fs layer [2023-10-27T04:59:00.479Z] ad3a456e5733: Waiting [2023-10-27T04:59:00.479Z] 33e27b845d1e: Waiting [2023-10-27T04:59:00.479Z] c68163c4e522: Waiting [2023-10-27T04:59:00.479Z] 50da416c3ac9: Waiting [2023-10-27T04:59:00.479Z] 23d2d4c4bb30: Waiting [2023-10-27T04:59:00.741Z] c4d48a809fc2: Download complete [2023-10-27T04:59:00.741Z] ad3a456e5733: Download complete [2023-10-27T04:59:00.741Z] 33e27b845d1e: Verifying Checksum [2023-10-27T04:59:00.741Z] 33e27b845d1e: Download complete [2023-10-27T04:59:00.741Z] 7264a8db6415: Verifying Checksum [2023-10-27T04:59:00.741Z] 7264a8db6415: Download complete [2023-10-27T04:59:00.741Z] c68163c4e522: Verifying Checksum [2023-10-27T04:59:00.741Z] c68163c4e522: Download complete [2023-10-27T04:59:01.012Z] 7264a8db6415: Pull complete [2023-10-27T04:59:01.012Z] c4d48a809fc2: Pull complete [2023-10-27T04:59:01.275Z] 23d2d4c4bb30: Verifying Checksum [2023-10-27T04:59:01.275Z] 23d2d4c4bb30: Download complete [2023-10-27T04:59:01.275Z] 4f1c88b9dad5: Verifying Checksum [2023-10-27T04:59:01.275Z] 4f1c88b9dad5: Download complete [2023-10-27T04:59:01.840Z] 50da416c3ac9: Verifying Checksum [2023-10-27T04:59:01.840Z] 50da416c3ac9: Download complete [2023-10-27T04:59:04.190Z] using credential edgex-jenkins-ssh [2023-10-27T04:59:04.208Z] Cloning the remote Git repository [2023-10-27T04:59:04.253Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-10-27T04:59:04.347Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-10-27T04:59:04.496Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-10-27T04:59:04.497Z] > git --version # timeout=10 [2023-10-27T04:59:04.535Z] > git --version # 'git version 2.25.1' [2023-10-27T04:59:04.538Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-27T04:59:04.706Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-27T04:59:05.125Z] 4f1c88b9dad5: Pull complete [2023-10-27T04:59:05.125Z] ad3a456e5733: Pull complete [2023-10-27T04:59:05.125Z] 33e27b845d1e: Pull complete [2023-10-27T04:59:05.125Z] c68163c4e522: Pull complete [2023-10-27T04:59:06.634Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-10-27T04:59:06.664Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-27T04:59:07.667Z] 50da416c3ac9: Pull complete [2023-10-27T04:59:07.927Z] 23d2d4c4bb30: Pull complete [2023-10-27T04:59:07.927Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-10-27T04:59:07.927Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-10-27T04:59:07.927Z] ---> 0786185ac409 [2023-10-27T04:59:07.927Z] Step 3/10 : ARG MAKE=make build [2023-10-27T04:59:08.389Z] Merging remotes/origin/main commit abc21ca26102b759b02d11fb71eec9f0d2267cdf into PR head commit 8a1ae1e898068d4c5c4946da98df4a6f2aecea43 [2023-10-27T04:59:08.722Z] Merge succeeded, producing 8a1ae1e898068d4c5c4946da98df4a6f2aecea43 [2023-10-27T04:59:08.722Z] Checking out Revision 8a1ae1e898068d4c5c4946da98df4a6f2aecea43 (PR-1531) [2023-10-27T04:59:07.716Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-10-27T04:59:07.766Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-10-27T04:59:07.767Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-27T04:59:07.789Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1531/head:refs/remotes/origin/PR-1531 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-10-27T04:59:08.410Z] > git config core.sparsecheckout # timeout=10 [2023-10-27T04:59:08.473Z] > git checkout -f 8a1ae1e898068d4c5c4946da98df4a6f2aecea43 # timeout=10 [2023-10-27T04:59:08.606Z] > git remote # timeout=10 [2023-10-27T04:59:08.634Z] > git config --get remote.origin.url # timeout=10 [2023-10-27T04:59:08.659Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-27T04:59:08.673Z] > git merge abc21ca26102b759b02d11fb71eec9f0d2267cdf # timeout=10 [2023-10-27T04:59:08.703Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-10-27T04:59:08.726Z] > git config core.sparsecheckout # timeout=10 [2023-10-27T04:59:08.747Z] > git checkout -f 8a1ae1e898068d4c5c4946da98df4a6f2aecea43 # timeout=10 [2023-10-27T04:59:09.221Z] Commit message: "build(deps): bump github.com/google/uuid from 1.3.1 to 1.4.0" [2023-10-27T04:59:09.280Z] > git --version # timeout=10 [2023-10-27T04:59:09.293Z] > git --version # 'git version 2.25.1' [2023-10-27T04:59:09.306Z] fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-27T04:59:10.348Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-10-27T04:59:10.348Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-27T04:59:10.348Z] Dload Upload Total Spent Left Speed [2023-10-27T04:59:10.348Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98084 0 --:--:-- --:--:-- --:--:-- 98844 [Pipeline] sh [2023-10-27T04:59:10.948Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-10-27T04:59:11.299Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-10-27T04:59:11.299Z] + sudo tee /etc/docker/daemon.new [2023-10-27T04:59:11.299Z] { [2023-10-27T04:59:11.299Z] "registry-mirrors": [ [2023-10-27T04:59:11.299Z] "https://nexus3.edgexfoundry.org:10001" [2023-10-27T04:59:11.299Z] ], [2023-10-27T04:59:11.299Z] "bip": "10.250.0.254/24", [2023-10-27T04:59:11.299Z] "hosts": [ [2023-10-27T04:59:11.299Z] "tcp://0.0.0.0:5555", [2023-10-27T04:59:11.299Z] "unix:///var/run/docker.sock" [2023-10-27T04:59:11.299Z] ], [2023-10-27T04:59:11.299Z] "mtu": 1458, [2023-10-27T04:59:11.299Z] "selinux-enabled": true, [2023-10-27T04:59:11.299Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-10-27T04:59:11.299Z] } [Pipeline] sh [2023-10-27T04:59:11.666Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-10-27T04:59:12.033Z] + sudo service docker restart [2023-10-27T04:59:12.148Z] ---> Running in f464b0ace135 [2023-10-27T04:59:12.148Z] Removing intermediate container f464b0ace135 [2023-10-27T04:59:12.148Z] ---> 664d88632e01 [2023-10-27T04:59:12.148Z] Step 4/10 : WORKDIR /device-sdk-go [2023-10-27T04:59:12.148Z] ---> Running in 427654d4dbd8 [2023-10-27T04:59:12.406Z] Removing intermediate container 427654d4dbd8 [2023-10-27T04:59:12.406Z] ---> 068a0362d111 [2023-10-27T04:59:12.406Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-10-27T04:59:12.406Z] ---> Running in ca7e56a4d39c [2023-10-27T04:59:12.406Z] Removing intermediate container ca7e56a4d39c [2023-10-27T04:59:12.406Z] ---> d465702666f3 [2023-10-27T04:59:12.406Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-10-27T04:59:12.406Z] ---> Running in 2348098fe560 [2023-10-27T04:59:12.664Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-27T04:59:12.922Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-27T04:59:13.180Z] OK: 264 MiB in 52 packages [2023-10-27T04:59:13.439Z] Removing intermediate container 2348098fe560 [2023-10-27T04:59:13.439Z] ---> f87dff80984b [2023-10-27T04:59:13.439Z] Step 7/10 : COPY go.mod vendor* ./ [2023-10-27T04:59:13.697Z] ---> dc9252005cdf [2023-10-27T04:59:13.697Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-27T04:59:13.697Z] ---> Running in 2ab6911f6a74 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-27T04:59:30.401Z] provisioning config files... [2023-10-27T04:59:30.439Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config8586188252009170897tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-27T04:59:30.858Z] ---> docker-login.sh [2023-10-27T04:59:30.858Z] nexus3.edgexfoundry.org:10001 [2023-10-27T04:59:31.451Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T04:59:31.728Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T04:59:31.729Z] Configure a credential helper to remove this warning. See [2023-10-27T04:59:31.729Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T04:59:31.729Z] [2023-10-27T04:59:31.729Z] Login Succeeded [2023-10-27T04:59:31.729Z] nexus3.edgexfoundry.org:10002 [2023-10-27T04:59:32.004Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T04:59:32.004Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T04:59:32.004Z] Configure a credential helper to remove this warning. See [2023-10-27T04:59:32.004Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T04:59:32.004Z] [2023-10-27T04:59:32.004Z] Login Succeeded [2023-10-27T04:59:32.004Z] nexus3.edgexfoundry.org:10003 [2023-10-27T04:59:32.276Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T04:59:32.549Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T04:59:32.549Z] Configure a credential helper to remove this warning. See [2023-10-27T04:59:32.549Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T04:59:32.549Z] [2023-10-27T04:59:32.549Z] Login Succeeded [2023-10-27T04:59:32.549Z] nexus3.edgexfoundry.org:10004 [2023-10-27T04:59:32.821Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T04:59:32.821Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T04:59:32.821Z] Configure a credential helper to remove this warning. See [2023-10-27T04:59:32.821Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T04:59:32.821Z] [2023-10-27T04:59:32.821Z] Login Succeeded [2023-10-27T04:59:32.821Z] docker.io [2023-10-27T04:59:33.092Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T04:59:33.360Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T04:59:33.360Z] Configure a credential helper to remove this warning. See [2023-10-27T04:59:33.360Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T04:59:33.360Z] [2023-10-27T04:59:33.360Z] Login Succeeded [2023-10-27T04:59:33.360Z] ---> docker-login.sh ends [Pipeline] } [2023-10-27T04:59:33.389Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-27T04:59:33.805Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-27T04:59:33.861Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-27T04:59:33.891Z] ========================================================= [2023-10-27T04:59:33.891Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-10-27T04:59:33.891Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T04:59:34.423Z] + 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.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-10-27T04:59:34.690Z] Sending build context to Docker daemon 6.023MB [2023-10-27T04:59:34.962Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-10-27T04:59:34.962Z] Step 2/10 : FROM ${BASE} AS builder [2023-10-27T04:59:34.962Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-10-27T04:59:34.962Z] 9fda8d8052c6: Pulling fs layer [2023-10-27T04:59:34.962Z] 5d54e960e981: Pulling fs layer [2023-10-27T04:59:34.962Z] c4a7e357bf2a: Pulling fs layer [2023-10-27T04:59:34.962Z] f0e02332f6b5: Pulling fs layer [2023-10-27T04:59:34.962Z] cefa15bbcfad: Pulling fs layer [2023-10-27T04:59:34.962Z] 17808c966233: Pulling fs layer [2023-10-27T04:59:34.962Z] f4c1fc716caa: Pulling fs layer [2023-10-27T04:59:34.962Z] f0e02332f6b5: Waiting [2023-10-27T04:59:34.962Z] cefa15bbcfad: Waiting [2023-10-27T04:59:34.962Z] 17808c966233: Waiting [2023-10-27T04:59:34.962Z] f4c1fc716caa: Waiting [2023-10-27T04:59:34.962Z] 5d54e960e981: Verifying Checksum [2023-10-27T04:59:34.962Z] 5d54e960e981: Download complete [2023-10-27T04:59:35.237Z] f0e02332f6b5: Verifying Checksum [2023-10-27T04:59:35.237Z] f0e02332f6b5: Download complete [2023-10-27T04:59:35.237Z] cefa15bbcfad: Verifying Checksum [2023-10-27T04:59:35.237Z] cefa15bbcfad: Download complete [2023-10-27T04:59:35.237Z] 9fda8d8052c6: Verifying Checksum [2023-10-27T04:59:35.237Z] 9fda8d8052c6: Download complete [2023-10-27T04:59:35.527Z] f4c1fc716caa: Verifying Checksum [2023-10-27T04:59:35.527Z] f4c1fc716caa: Download complete [2023-10-27T04:59:36.116Z] 9fda8d8052c6: Pull complete [2023-10-27T04:59:36.707Z] 5d54e960e981: Pull complete [2023-10-27T04:59:36.979Z] c4a7e357bf2a: Verifying Checksum [2023-10-27T04:59:36.979Z] c4a7e357bf2a: Download complete [2023-10-27T04:59:38.103Z] 17808c966233: Verifying Checksum [2023-10-27T04:59:38.103Z] 17808c966233: Download complete [2023-10-27T04:59:50.436Z] c4a7e357bf2a: Pull complete [2023-10-27T04:59:50.436Z] f0e02332f6b5: Pull complete [2023-10-27T04:59:50.436Z] cefa15bbcfad: Pull complete [2023-10-27T05:00:00.538Z] 17808c966233: Pull complete [2023-10-27T05:00:00.807Z] f4c1fc716caa: Pull complete [2023-10-27T05:00:00.807Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-10-27T05:00:00.807Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-10-27T05:00:00.807Z] ---> ea914061e18c [2023-10-27T05:00:00.807Z] Step 3/10 : ARG MAKE=make build [2023-10-27T05:00:01.765Z] ---> Running in 87956eb3fd63 [2023-10-27T05:00:02.035Z] Removing intermediate container 87956eb3fd63 [2023-10-27T05:00:02.035Z] ---> 67dd3a45c709 [2023-10-27T05:00:02.035Z] Step 4/10 : WORKDIR /device-sdk-go [2023-10-27T05:00:02.035Z] ---> Running in c619d86a3a14 [2023-10-27T05:00:02.310Z] Removing intermediate container c619d86a3a14 [2023-10-27T05:00:02.310Z] ---> 0642052ac531 [2023-10-27T05:00:02.310Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-10-27T05:00:02.584Z] ---> Running in fc02c4c4e550 [2023-10-27T05:00:02.854Z] Removing intermediate container fc02c4c4e550 [2023-10-27T05:00:02.854Z] ---> a76fd3c26037 [2023-10-27T05:00:02.854Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-10-27T05:00:02.854Z] ---> Running in 5c3b59163331 [2023-10-27T05:00:04.266Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-27T05:00:04.593Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-27T05:00:10.900Z] OK: 266 MiB in 52 packages [2023-10-27T05:00:10.900Z] Removing intermediate container 5c3b59163331 [2023-10-27T05:00:10.900Z] ---> ed835c22ee78 [2023-10-27T05:00:10.900Z] Step 7/10 : COPY go.mod vendor* ./ [2023-10-27T05:00:10.900Z] ---> b781d98b4900 [2023-10-27T05:00:10.900Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-27T05:00:10.900Z] ---> Running in d9393ac7e9bc [2023-10-27T05:00:10.902Z] Removing intermediate container 2ab6911f6a74 [2023-10-27T05:00:10.902Z] ---> 62e648574dac [2023-10-27T05:00:10.902Z] Step 9/10 : COPY . . [2023-10-27T05:00:10.902Z] ---> b8196270d276 [2023-10-27T05:00:10.902Z] Step 10/10 : RUN ${MAKE} [2023-10-27T05:00:10.902Z] ---> Running in f72701b667d2 [2023-10-27T05:00:10.902Z] noop [2023-10-27T05:00:10.902Z] Removing intermediate container f72701b667d2 [2023-10-27T05:00:10.902Z] ---> b659a628f671 [2023-10-27T05:00:10.902Z] Successfully built b659a628f671 [2023-10-27T05:00:10.902Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T05:00:11.425Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-27T05:00:11.425Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-27T05:00:11.589Z] prd-ubuntu20.04-docker-8c-8g-12483 does not seem to be running inside a container [2023-10-27T05:00:11.624Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1531 -v /w/workspace/gexfoundry_device-sdk-go_PR-1531:/w/workspace/gexfoundry_device-sdk-go_PR-1531:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1531@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1531@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 ******** ci-base-image-x86_64 cat [2023-10-27T05:00:11.969Z] $ docker top 2955985e1fc44d2b428cf54f0cefe4e52816997a2ffbee21aacbea56dc02fd0f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-27T05:00:12.355Z] + go version [2023-10-27T05:00:12.355Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-10-27T05:00:12.395Z] $ docker stop --time=1 2955985e1fc44d2b428cf54f0cefe4e52816997a2ffbee21aacbea56dc02fd0f [2023-10-27T05:00:13.920Z] $ docker rm -f --volumes 2955985e1fc44d2b428cf54f0cefe4e52816997a2ffbee21aacbea56dc02fd0f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T05:00:16.904Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-27T05:00:16.904Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-27T05:00:17.068Z] prd-ubuntu20.04-docker-8c-8g-12483 does not seem to be running inside a container [2023-10-27T05:00:17.111Z] $ 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-1531 -v /w/workspace/gexfoundry_device-sdk-go_PR-1531:/w/workspace/gexfoundry_device-sdk-go_PR-1531:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1531@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1531@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 ******** ci-base-image-x86_64 cat [2023-10-27T05:00:17.468Z] $ docker top c1ba86f701f979cdb791bc14f6a5a211f695445ecbd694bec778907ac3a3ccc4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-27T05:00:17.861Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1531 [Pipeline] fileExists [Pipeline] sh [2023-10-27T05:00:18.263Z] + make test [2023-10-27T05:00:18.263Z] go test -race -coverprofile=coverage.out ./... [2023-10-27T05:00:25.008Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-10-27T05:00:39.926Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-10-27T05:00:39.926Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-10-27T05:00:39.926Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-10-27T05:00:39.926Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-10-27T05:00:39.926Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-10-27T05:00:39.926Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-10-27T05:00:39.926Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-10-27T05:00:40.861Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.043s coverage: 27.6% of statements [2023-10-27T05:00:40.861Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.041s coverage: 81.5% of statements [2023-10-27T05:00:40.861Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.060s coverage: 86.0% of statements [2023-10-27T05:00:40.861Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-10-27T05:00:41.793Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.065s coverage: 71.8% of statements [2023-10-27T05:00:42.052Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-10-27T05:00:42.052Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-10-27T05:00:42.052Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-10-27T05:00:45.334Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.090s coverage: 14.4% of statements [2023-10-27T05:00:45.334Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.884s coverage: 45.9% of statements [2023-10-27T05:00:45.334Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.056s coverage: 68.5% of statements [2023-10-27T05:00:45.334Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.123s coverage: 89.2% of statements [2023-10-27T05:00:45.334Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.046s coverage: 5.5% of statements [2023-10-27T05:01:07.248Z] GO111MODULE=on go vet ./... [2023-10-27T05:01:09.151Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-27T05:01:09.151Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-27T05:01:09.151Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-27T05:01:09.194Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-27T05:01:09.233Z] $ docker stop --time=1 c1ba86f701f979cdb791bc14f6a5a211f695445ecbd694bec778907ac3a3ccc4 [2023-10-27T05:01:12.692Z] $ docker rm -f --volumes c1ba86f701f979cdb791bc14f6a5a211f695445ecbd694bec778907ac3a3ccc4 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-27T05:01:13.314Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-27T05:01:13.398Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-10-27T05:01:14.105Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-27T05:01:14.418Z] + ls -al . [2023-10-27T05:01:14.418Z] total 304 [2023-10-27T05:01:14.418Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 27 05:00 . [2023-10-27T05:01:14.418Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 27 04:58 .. [2023-10-27T05:01:14.418Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 27 04:58 .dockerignore [2023-10-27T05:01:14.418Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 27 05:00 .git [2023-10-27T05:01:14.418Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 27 04:58 .github [2023-10-27T05:01:14.418Z] -rw-rw-r-- 1 jenkins jenkins 137 Oct 27 04:58 .gitignore [2023-10-27T05:01:14.418Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 27 04:58 .golangci.yml [2023-10-27T05:01:14.418Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 27 04:58 .semver [2023-10-27T05:01:14.418Z] -rw-rw-r-- 1 jenkins jenkins 44878 Oct 27 04:58 CHANGELOG.md [2023-10-27T05:01:14.418Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 27 04:58 GOVERNANCE.md [2023-10-27T05:01:14.418Z] -rw-rw-r-- 1 jenkins jenkins 885 Oct 27 04:58 Jenkinsfile [2023-10-27T05:01:14.418Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 27 04:58 LICENSE [2023-10-27T05:01:14.418Z] -rw-rw-r-- 1 jenkins jenkins 1842 Oct 27 04:58 Makefile [2023-10-27T05:01:14.418Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 27 04:58 OWNERS.md [2023-10-27T05:01:14.418Z] -rw-rw-r-- 1 jenkins jenkins 4933 Oct 27 04:58 README.md [2023-10-27T05:01:14.418Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 27 04:58 VERSION [2023-10-27T05:01:14.418Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 27 04:58 bin [2023-10-27T05:01:14.418Z] -rw-r--r-- 1 jenkins jenkins 122153 Oct 27 05:00 coverage.out [2023-10-27T05:01:14.418Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 27 04:58 example [2023-10-27T05:01:14.418Z] -rw-rw-r-- 1 jenkins jenkins 3723 Oct 27 04:58 go.mod [2023-10-27T05:01:14.418Z] -rw-rw-r-- 1 jenkins jenkins 34277 Oct 27 04:58 go.sum [2023-10-27T05:01:14.418Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 27 04:58 internal [2023-10-27T05:01:14.418Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 27 04:58 openapi [2023-10-27T05:01:14.418Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 27 04:58 pkg [2023-10-27T05:01:14.418Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 27 04:58 snap [2023-10-27T05:01:14.418Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 27 04:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T05:01:14.908Z] + 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=8a1ae1e898068d4c5c4946da98df4a6f2aecea43 --label arch=amd64 --label version=0.0.0 . [2023-10-27T05:01:14.908Z] Sending build context to Docker daemon 11.38MB [2023-10-27T05:01:14.908Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-10-27T05:01:14.908Z] Step 2/23 : FROM ${BASE} AS builder [2023-10-27T05:01:14.908Z] ---> b659a628f671 [2023-10-27T05:01:14.908Z] Step 3/23 : ARG MAKE=make build [2023-10-27T05:01:15.171Z] ---> Running in 455f124b5092 [2023-10-27T05:01:15.171Z] Removing intermediate container 455f124b5092 [2023-10-27T05:01:15.171Z] ---> 6c028abbf5ac [2023-10-27T05:01:15.171Z] Step 4/23 : WORKDIR /device-sdk-go [2023-10-27T05:01:15.171Z] ---> Running in 0039c32c925f [2023-10-27T05:01:15.431Z] Removing intermediate container 0039c32c925f [2023-10-27T05:01:15.431Z] ---> 1d1d22a69ff2 [2023-10-27T05:01:15.431Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-10-27T05:01:15.431Z] ---> Running in 56c30779346c [2023-10-27T05:01:15.431Z] Removing intermediate container 56c30779346c [2023-10-27T05:01:15.431Z] ---> 64c5b67cd979 [2023-10-27T05:01:15.431Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-10-27T05:01:15.431Z] ---> Running in b998a809fb4f [2023-10-27T05:01:15.690Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-27T05:01:15.966Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-27T05:01:16.224Z] OK: 264 MiB in 52 packages [2023-10-27T05:01:16.490Z] Removing intermediate container b998a809fb4f [2023-10-27T05:01:16.490Z] ---> 468b4af5a9a4 [2023-10-27T05:01:16.490Z] Step 7/23 : COPY go.mod vendor* ./ [2023-10-27T05:01:16.749Z] ---> 5b3de30cd48d [2023-10-27T05:01:16.749Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-27T05:01:16.749Z] ---> Running in d8674919ca67 [2023-10-27T05:01:17.318Z] Removing intermediate container d8674919ca67 [2023-10-27T05:01:17.318Z] ---> e5ba217b48fd [2023-10-27T05:01:17.318Z] Step 9/23 : COPY . . [2023-10-27T05:01:17.884Z] ---> bb6375ead72e [2023-10-27T05:01:17.884Z] Step 10/23 : RUN ${MAKE} [2023-10-27T05:01:17.884Z] ---> Running in 09964b438b10 [2023-10-27T05:01:18.142Z] 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-10-27T05:01:40.067Z] Removing intermediate container 09964b438b10 [2023-10-27T05:01:40.068Z] ---> eb89bf32fbf2 [2023-10-27T05:01:40.068Z] Step 11/23 : FROM alpine:3.18 [2023-10-27T05:01:40.068Z] 3.18: Pulling from library/alpine [2023-10-27T05:01:40.068Z] 96526aa774ef: Pulling fs layer [2023-10-27T05:01:40.068Z] 96526aa774ef: Verifying Checksum [2023-10-27T05:01:40.068Z] 96526aa774ef: Download complete [2023-10-27T05:01:40.068Z] 96526aa774ef: Pull complete [2023-10-27T05:01:40.068Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-27T05:01:40.068Z] Status: Downloaded newer image for alpine:3.18 [2023-10-27T05:01:40.068Z] ---> 8ca4688f4f35 [2023-10-27T05:01:40.068Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-10-27T05:01:40.068Z] ---> Running in 994ec5e23a48 [2023-10-27T05:01:40.068Z] Removing intermediate container 994ec5e23a48 [2023-10-27T05:01:40.068Z] ---> 60720fb8a6b7 [2023-10-27T05:01:40.068Z] Step 13/23 : RUN apk add --update --no-cache [2023-10-27T05:01:40.068Z] ---> Running in 15a47b31fa5e [2023-10-27T05:01:40.068Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-27T05:01:40.068Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-27T05:01:40.068Z] OK: 7 MiB in 15 packages [2023-10-27T05:01:40.068Z] Removing intermediate container 15a47b31fa5e [2023-10-27T05:01:40.068Z] ---> 740b1b7eaab0 [2023-10-27T05:01:40.068Z] Step 14/23 : WORKDIR / [2023-10-27T05:01:40.068Z] ---> Running in 43569ba22aa6 [2023-10-27T05:01:40.068Z] Removing intermediate container 43569ba22aa6 [2023-10-27T05:01:40.068Z] ---> 3ec635d05891 [2023-10-27T05:01:40.068Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-10-27T05:01:40.068Z] ---> c2e18f01c0c0 [2023-10-27T05:01:40.068Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-10-27T05:01:40.068Z] ---> d5bd5bc47629 [2023-10-27T05:01:40.068Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-10-27T05:01:40.068Z] ---> fa884633021f [2023-10-27T05:01:40.068Z] Step 18/23 : EXPOSE 59999 [2023-10-27T05:01:40.068Z] ---> Running in 1b6541e0b694 [2023-10-27T05:01:40.327Z] Removing intermediate container 1b6541e0b694 [2023-10-27T05:01:40.327Z] ---> d7d40d5bad30 [2023-10-27T05:01:40.327Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-10-27T05:01:40.327Z] ---> Running in 917197a109f6 [2023-10-27T05:01:40.327Z] Removing intermediate container 917197a109f6 [2023-10-27T05:01:40.327Z] ---> b79a0320cd5b [2023-10-27T05:01:40.327Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-10-27T05:01:40.327Z] ---> Running in a0912593eb83 [2023-10-27T05:01:40.327Z] Removing intermediate container a0912593eb83 [2023-10-27T05:01:40.327Z] ---> 7628796501ec [2023-10-27T05:01:40.327Z] Step 21/23 : LABEL arch=amd64 [2023-10-27T05:01:40.586Z] ---> Running in 1ada3b7b1c23 [2023-10-27T05:01:40.586Z] Removing intermediate container 1ada3b7b1c23 [2023-10-27T05:01:40.586Z] ---> e4acf3f99b5e [2023-10-27T05:01:40.586Z] Step 22/23 : LABEL git_sha=8a1ae1e898068d4c5c4946da98df4a6f2aecea43 [2023-10-27T05:01:40.586Z] ---> Running in 9746a2e70257 [2023-10-27T05:01:40.586Z] Removing intermediate container 9746a2e70257 [2023-10-27T05:01:40.586Z] ---> 0923f29df54c [2023-10-27T05:01:40.586Z] Step 23/23 : LABEL version=0.0.0 [2023-10-27T05:01:40.586Z] ---> Running in d1410cf8dd2d [2023-10-27T05:01:40.846Z] Removing intermediate container d1410cf8dd2d [2023-10-27T05:01:40.846Z] ---> 3361b84b1df9 [2023-10-27T05:01:40.846Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-27T05:01:40.846Z] Successfully built 3361b84b1df9 [2023-10-27T05:01:40.846Z] 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-10-27T05:01:41.782Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-27T05:01:41.783Z] [2023-10-27T05:01:41.783Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T05:01:42.172Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-27T05:01:42.172Z] latest: Pulling from edgex-lftools-log-publisher [2023-10-27T05:01:42.172Z] 5eb5b503b376: Pulling fs layer [2023-10-27T05:01:42.172Z] 5c69ac0246d0: Pulling fs layer [2023-10-27T05:01:42.172Z] ec43610c2a17: Pulling fs layer [2023-10-27T05:01:42.172Z] 3a2ae6a8a46f: Pulling fs layer [2023-10-27T05:01:42.172Z] 33b1e0a273af: Pulling fs layer [2023-10-27T05:01:42.172Z] 5d3b04190fa2: Pulling fs layer [2023-10-27T05:01:42.172Z] 2f39f015ded8: Pulling fs layer [2023-10-27T05:01:42.172Z] 5d3b04190fa2: Waiting [2023-10-27T05:01:42.172Z] 3a2ae6a8a46f: Waiting [2023-10-27T05:01:42.172Z] 33b1e0a273af: Waiting [2023-10-27T05:01:42.172Z] 2f39f015ded8: Waiting [2023-10-27T05:01:42.172Z] 5c69ac0246d0: Verifying Checksum [2023-10-27T05:01:42.172Z] 3a2ae6a8a46f: Verifying Checksum [2023-10-27T05:01:42.172Z] 3a2ae6a8a46f: Download complete [2023-10-27T05:01:42.172Z] 33b1e0a273af: Verifying Checksum [2023-10-27T05:01:42.172Z] 33b1e0a273af: Download complete [2023-10-27T05:01:42.442Z] 5d3b04190fa2: Verifying Checksum [2023-10-27T05:01:42.442Z] 5d3b04190fa2: Download complete [2023-10-27T05:01:42.442Z] ec43610c2a17: Verifying Checksum [2023-10-27T05:01:42.442Z] ec43610c2a17: Download complete [2023-10-27T05:01:42.442Z] 5eb5b503b376: Verifying Checksum [2023-10-27T05:01:42.442Z] 5eb5b503b376: Download complete [2023-10-27T05:01:43.008Z] 2f39f015ded8: Download complete [2023-10-27T05:01:43.572Z] 5eb5b503b376: Pull complete [2023-10-27T05:01:43.830Z] 5c69ac0246d0: Pull complete [2023-10-27T05:01:44.087Z] ec43610c2a17: Pull complete [2023-10-27T05:01:44.087Z] 3a2ae6a8a46f: Pull complete [2023-10-27T05:01:44.344Z] 33b1e0a273af: Pull complete [2023-10-27T05:01:44.601Z] 5d3b04190fa2: Pull complete [2023-10-27T05:01:48.780Z] 2f39f015ded8: Pull complete [2023-10-27T05:01:48.780Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-10-27T05:01:48.780Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-27T05:01:48.780Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-27T05:01:49.017Z] prd-ubuntu20.04-docker-8c-8g-12483 does not seem to be running inside a container [2023-10-27T05:01:49.059Z] $ 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-1531 -v /w/workspace/gexfoundry_device-sdk-go_PR-1531:/w/workspace/gexfoundry_device-sdk-go_PR-1531:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1531@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1531@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-lftools-log-publisher:latest cat [2023-10-27T05:01:49.499Z] Removing intermediate container d9393ac7e9bc [2023-10-27T05:01:49.499Z] ---> 481770f152a1 [2023-10-27T05:01:49.499Z] Step 9/10 : COPY . . [2023-10-27T05:01:49.499Z] ---> 9240192bdda5 [2023-10-27T05:01:49.499Z] Step 10/10 : RUN ${MAKE} [2023-10-27T05:01:49.499Z] ---> Running in 7b8a6bbb1ff1 [2023-10-27T05:01:49.499Z] noop [2023-10-27T05:01:49.499Z] Removing intermediate container 7b8a6bbb1ff1 [2023-10-27T05:01:49.499Z] ---> 4a8cb82fa43b [2023-10-27T05:01:49.499Z] Successfully built 4a8cb82fa43b [2023-10-27T05:01:49.499Z] Successfully tagged ci-base-image-arm64:latest [2023-10-27T05:01:53.018Z] $ docker top 589a324c0f03006f813828457773394b9a0e5b664cd00b63dc372ed3c09982cc -eo pid,comm [Pipeline] { [Pipeline] } [Pipeline] // withEnv [Pipeline] libraryResource [Pipeline] sh [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T05:01:53.530Z] ---> job-cost.sh [2023-10-27T05:01:53.530Z] lf-activate-venv: SKIPPING [2023-10-27T05:01:53.530Z] INFO: No Stack... [2023-10-27T05:01:53.683Z] + docker inspect -f . ci-base-image-arm64 [2023-10-27T05:01:53.683Z] . [Pipeline] } [Pipeline] // withEnv [2023-10-27T05:01:53.788Z] INFO: Retrieving Pricing Info for: v3-standard-8 [Pipeline] withDockerContainer [2023-10-27T05:01:53.979Z] prd-ubuntu20.04-docker-arm64-4c-16g-12482 does not seem to be running inside a container [2023-10-27T05:01:54.046Z] INFO: Archiving Costs [2023-10-27T05:01:54.047Z] $ 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 ******** ci-base-image-arm64 cat [2023-10-27T05:01:55.302Z] $ docker top 8fbd11576642fe9ea9cf9af6805600394b91e4dd5678f7b29ff07254618a18f8 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2023-10-27T05:01:55.916Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1531/archives/cost.csv [2023-10-27T05:01:55.916Z] + cut -d, -f6 [Pipeline] lock [2023-10-27T05:01:55.963Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1531-1-stack-cost] [2023-10-27T05:01:55.968Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1531-1-stack-cost] did not exist. Created. [2023-10-27T05:01:55.968Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1531-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-27T05:01:56.316Z] + go version [2023-10-27T05:01:56.316Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-10-27T05:01:56.349Z] $ docker stop --time=1 8fbd11576642fe9ea9cf9af6805600394b91e4dd5678f7b29ff07254618a18f8 [2023-10-27T05:01:56.366Z] + echo total: 0.2199999988079071 [2023-10-27T05:01:58.014Z] $ docker rm -f --volumes 8fbd11576642fe9ea9cf9af6805600394b91e4dd5678f7b29ff07254618a18f8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] stash [2023-10-27T05:01:58.289Z] Stashed 1 file(s) [Pipeline] // script [Pipeline] } [Pipeline] } [2023-10-27T05:01:58.356Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1531-1-stack-cost] [Pipeline] // stage [Pipeline] // lock [Pipeline] } [2023-10-27T05:01:58.506Z] $ docker stop --time=1 589a324c0f03006f813828457773394b9a0e5b664cd00b63dc372ed3c09982cc [2023-10-27T05:01:59.679Z] $ docker rm -f --volumes 589a324c0f03006f813828457773394b9a0e5b664cd00b63dc372ed3c09982cc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] stage [Pipeline] { (Test) [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T05:02:00.417Z] + docker inspect -f . ci-base-image-arm64 [2023-10-27T05:02:00.417Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-27T05:02:00.695Z] prd-ubuntu20.04-docker-arm64-4c-16g-12482 does not seem to be running inside a container [2023-10-27T05:02:00.756Z] $ 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 ******** ci-base-image-arm64 cat [2023-10-27T05:02:02.027Z] $ docker top af84d72b0ab03cf0ec3738b727154f2d6a50ab759b025b2dc4c54ce101ccb592 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-27T05:02:02.603Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-10-27T05:02:03.261Z] + make test [2023-10-27T05:02:03.261Z] go test -race -coverprofile=coverage.out ./... [2023-10-27T05:02:42.140Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-10-27T05:04:18.793Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-10-27T05:04:18.793Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-10-27T05:04:18.793Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-10-27T05:04:18.793Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-10-27T05:04:18.793Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-10-27T05:04:28.986Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.211s coverage: 27.6% of statements [2023-10-27T05:04:37.185Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.256s coverage: 81.5% of statements [2023-10-27T05:04:45.397Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-10-27T05:04:45.397Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-10-27T05:04:46.823Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.394s coverage: 86.0% of statements [2023-10-27T05:04:52.174Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-10-27T05:04:53.132Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.393s coverage: 71.8% of statements [2023-10-27T05:04:56.479Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.295s coverage: 14.4% of statements [2023-10-27T05:04:56.479Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.840s coverage: 45.9% of statements [2023-10-27T05:04:56.748Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-10-27T05:04:56.748Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-10-27T05:04:58.168Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.387s coverage: 68.5% of statements [2023-10-27T05:05:01.544Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.474s coverage: 89.2% of statements [2023-10-27T05:05:01.819Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-10-27T05:05:03.231Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.235s coverage: 5.5% of statements [2023-10-27T05:05:03.814Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-10-27T05:05:03.814Z] GO111MODULE=on go vet ./... [2023-10-27T05:07:10.499Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-27T05:07:10.499Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-27T05:07:10.499Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-27T05:07:10.537Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-27T05:07:10.571Z] $ docker stop --time=1 af84d72b0ab03cf0ec3738b727154f2d6a50ab759b025b2dc4c54ce101ccb592 [2023-10-27T05:07:12.952Z] $ docker rm -f --volumes af84d72b0ab03cf0ec3738b727154f2d6a50ab759b025b2dc4c54ce101ccb592 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-27T05:07:14.950Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-27T05:07:14.984Z] Warning: overwriting stash ‘coverage-report’ [2023-10-27T05:07:15.598Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-27T05:07:16.223Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-27T05:07:16.571Z] + ls -al . [2023-10-27T05:07:16.571Z] total 300 [2023-10-27T05:07:16.571Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 27 05:02 . [2023-10-27T05:07:16.571Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 27 04:59 .. [2023-10-27T05:07:16.571Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 27 04:59 .dockerignore [2023-10-27T05:07:16.571Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 27 04:59 .git [2023-10-27T05:07:16.571Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 27 04:59 .github [2023-10-27T05:07:16.571Z] -rw-rw-r-- 1 jenkins jenkins 137 Oct 27 04:59 .gitignore [2023-10-27T05:07:16.571Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 27 04:59 .golangci.yml [2023-10-27T05:07:16.571Z] -rw-rw-r-- 1 jenkins jenkins 44878 Oct 27 04:59 CHANGELOG.md [2023-10-27T05:07:16.571Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 27 04:59 GOVERNANCE.md [2023-10-27T05:07:16.571Z] -rw-rw-r-- 1 jenkins jenkins 885 Oct 27 04:59 Jenkinsfile [2023-10-27T05:07:16.571Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 27 04:59 LICENSE [2023-10-27T05:07:16.571Z] -rw-rw-r-- 1 jenkins jenkins 1842 Oct 27 04:59 Makefile [2023-10-27T05:07:16.571Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 27 04:59 OWNERS.md [2023-10-27T05:07:16.571Z] -rw-rw-r-- 1 jenkins jenkins 4933 Oct 27 04:59 README.md [2023-10-27T05:07:16.571Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 27 04:58 VERSION [2023-10-27T05:07:16.571Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 27 04:59 bin [2023-10-27T05:07:16.571Z] -rw-r--r-- 1 jenkins jenkins 122154 Oct 27 05:05 coverage.out [2023-10-27T05:07:16.571Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 27 04:59 example [2023-10-27T05:07:16.571Z] -rw-rw-r-- 1 jenkins jenkins 3723 Oct 27 04:59 go.mod [2023-10-27T05:07:16.571Z] -rw-rw-r-- 1 jenkins jenkins 34277 Oct 27 04:59 go.sum [2023-10-27T05:07:16.571Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 27 04:59 internal [2023-10-27T05:07:16.571Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 27 04:59 openapi [2023-10-27T05:07:16.571Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 27 04:59 pkg [2023-10-27T05:07:16.571Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 27 04:59 snap [2023-10-27T05:07:16.571Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 27 04:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T05:07:16.993Z] + 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=8a1ae1e898068d4c5c4946da98df4a6f2aecea43 --label arch=arm64 --label version=0.0.0 . [2023-10-27T05:07:17.598Z] Sending build context to Docker daemon 6.146MB [2023-10-27T05:07:17.598Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-10-27T05:07:17.598Z] Step 2/23 : FROM ${BASE} AS builder [2023-10-27T05:07:17.598Z] ---> 4a8cb82fa43b [2023-10-27T05:07:17.599Z] Step 3/23 : ARG MAKE=make build [2023-10-27T05:07:17.884Z] ---> Running in f179ed46fad3 [2023-10-27T05:07:18.162Z] Removing intermediate container f179ed46fad3 [2023-10-27T05:07:18.162Z] ---> 407b403ab45c [2023-10-27T05:07:18.162Z] Step 4/23 : WORKDIR /device-sdk-go [2023-10-27T05:07:18.438Z] ---> Running in 3d649df8cf06 [2023-10-27T05:07:18.708Z] Removing intermediate container 3d649df8cf06 [2023-10-27T05:07:18.708Z] ---> 3c43d758cc5a [2023-10-27T05:07:18.708Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-10-27T05:07:18.984Z] ---> Running in d80e29d18b04 [2023-10-27T05:07:19.258Z] Removing intermediate container d80e29d18b04 [2023-10-27T05:07:19.258Z] ---> 1c948f4c3705 [2023-10-27T05:07:19.258Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-10-27T05:07:19.529Z] ---> Running in 2bc19e3ed3df [2023-10-27T05:07:20.966Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-27T05:07:21.235Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-27T05:07:22.725Z] OK: 266 MiB in 52 packages [2023-10-27T05:07:26.142Z] Removing intermediate container 2bc19e3ed3df [2023-10-27T05:07:26.142Z] ---> 29af7f4c0ee6 [2023-10-27T05:07:26.142Z] Step 7/23 : COPY go.mod vendor* ./ [2023-10-27T05:07:26.434Z] ---> d0bba4755776 [2023-10-27T05:07:26.434Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-27T05:07:26.708Z] ---> Running in 4f87626c2233 [2023-10-27T05:07:29.303Z] Removing intermediate container 4f87626c2233 [2023-10-27T05:07:29.303Z] ---> e12d8aca36b3 [2023-10-27T05:07:29.303Z] Step 9/23 : COPY . . [2023-10-27T05:07:30.266Z] ---> 8b115fb398e1 [2023-10-27T05:07:30.267Z] Step 10/23 : RUN ${MAKE} [2023-10-27T05:07:30.267Z] ---> Running in aa4bc64448ea [2023-10-27T05:07:31.228Z] 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-10-27T05:09:37.905Z] Removing intermediate container aa4bc64448ea [2023-10-27T05:09:37.905Z] ---> a22783372a73 [2023-10-27T05:09:37.905Z] Step 11/23 : FROM alpine:3.18 [2023-10-27T05:09:37.905Z] 3.18: Pulling from library/alpine [2023-10-27T05:09:37.905Z] 579b34f0a95b: Pulling fs layer [2023-10-27T05:09:37.905Z] 579b34f0a95b: Download complete [2023-10-27T05:09:37.905Z] 579b34f0a95b: Pull complete [2023-10-27T05:09:37.905Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-27T05:09:37.905Z] Status: Downloaded newer image for alpine:3.18 [2023-10-27T05:09:37.905Z] ---> 3cc203321400 [2023-10-27T05:09:37.905Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-10-27T05:09:37.905Z] ---> Running in 7cae63fd2ee8 [2023-10-27T05:09:37.905Z] Removing intermediate container 7cae63fd2ee8 [2023-10-27T05:09:37.905Z] ---> 6033c7f4dfad [2023-10-27T05:09:37.905Z] Step 13/23 : RUN apk add --update --no-cache [2023-10-27T05:09:37.905Z] ---> Running in ec06e1becc35 [2023-10-27T05:09:37.905Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-27T05:09:37.905Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-27T05:09:37.905Z] OK: 8 MiB in 15 packages [2023-10-27T05:09:37.905Z] Removing intermediate container ec06e1becc35 [2023-10-27T05:09:37.905Z] ---> fa12836ff362 [2023-10-27T05:09:37.905Z] Step 14/23 : WORKDIR / [2023-10-27T05:09:37.905Z] ---> Running in ee9ea5169ca5 [2023-10-27T05:09:37.905Z] Removing intermediate container ee9ea5169ca5 [2023-10-27T05:09:37.905Z] ---> 116474cbe9a0 [2023-10-27T05:09:37.905Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-10-27T05:09:37.905Z] ---> 23bcc3963b8e [2023-10-27T05:09:37.905Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-10-27T05:09:37.905Z] ---> 7e079659ed1d [2023-10-27T05:09:37.905Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-10-27T05:09:37.905Z] ---> 15dc66b1b005 [2023-10-27T05:09:37.905Z] Step 18/23 : EXPOSE 59999 [2023-10-27T05:09:37.905Z] ---> Running in 0b49f5d0f603 [2023-10-27T05:09:37.905Z] Removing intermediate container 0b49f5d0f603 [2023-10-27T05:09:37.905Z] ---> 14be15d9c9f2 [2023-10-27T05:09:37.905Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-10-27T05:09:37.905Z] ---> Running in 6b2e6d6091b7 [2023-10-27T05:09:37.905Z] Removing intermediate container 6b2e6d6091b7 [2023-10-27T05:09:37.905Z] ---> 6f0227853599 [2023-10-27T05:09:37.905Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-10-27T05:09:37.905Z] ---> Running in 1381220d09ad [2023-10-27T05:09:38.175Z] Removing intermediate container 1381220d09ad [2023-10-27T05:09:38.175Z] ---> 6a4ab05475ac [2023-10-27T05:09:38.175Z] Step 21/23 : LABEL arch=arm64 [2023-10-27T05:09:38.446Z] ---> Running in 41b5b7da2023 [2023-10-27T05:09:38.717Z] Removing intermediate container 41b5b7da2023 [2023-10-27T05:09:38.717Z] ---> f25726646b37 [2023-10-27T05:09:38.717Z] Step 22/23 : LABEL git_sha=8a1ae1e898068d4c5c4946da98df4a6f2aecea43 [2023-10-27T05:09:38.717Z] ---> Running in 96101e018f13 [2023-10-27T05:09:38.988Z] Removing intermediate container 96101e018f13 [2023-10-27T05:09:38.988Z] ---> 1adf994f14ba [2023-10-27T05:09:38.988Z] Step 23/23 : LABEL version=0.0.0 [2023-10-27T05:09:39.255Z] ---> Running in 45b9111c2b97 [2023-10-27T05:09:39.524Z] Removing intermediate container 45b9111c2b97 [2023-10-27T05:09:39.524Z] ---> b5620ccb00db [2023-10-27T05:09:39.524Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-27T05:09:39.524Z] Successfully built b5620ccb00db [2023-10-27T05:09:39.524Z] 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-10-27T05:09:40.308Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-27T05:09:40.308Z] [2023-10-27T05:09:40.308Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T05:09:40.715Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-27T05:09:40.983Z] arm64: Pulling from edgex-lftools-log-publisher [2023-10-27T05:09:40.983Z] 8998bd30e6a1: Pulling fs layer [2023-10-27T05:09:40.983Z] 04944245beec: Pulling fs layer [2023-10-27T05:09:40.983Z] 699f458cf7ca: Pulling fs layer [2023-10-27T05:09:40.983Z] 765212b225bb: Pulling fs layer [2023-10-27T05:09:40.983Z] f23df028b6ca: Pulling fs layer [2023-10-27T05:09:40.983Z] d65c8cfc05b1: Pulling fs layer [2023-10-27T05:09:40.983Z] 2437ff75d9bd: Pulling fs layer [2023-10-27T05:09:40.983Z] 765212b225bb: Waiting [2023-10-27T05:09:40.983Z] d65c8cfc05b1: Waiting [2023-10-27T05:09:40.983Z] f23df028b6ca: Waiting [2023-10-27T05:09:40.983Z] 2437ff75d9bd: Waiting [2023-10-27T05:09:40.983Z] 04944245beec: Verifying Checksum [2023-10-27T05:09:40.983Z] 04944245beec: Download complete [2023-10-27T05:09:40.983Z] 765212b225bb: Verifying Checksum [2023-10-27T05:09:40.983Z] 765212b225bb: Download complete [2023-10-27T05:09:41.251Z] f23df028b6ca: Download complete [2023-10-27T05:09:41.251Z] d65c8cfc05b1: Verifying Checksum [2023-10-27T05:09:41.251Z] d65c8cfc05b1: Download complete [2023-10-27T05:09:41.251Z] 699f458cf7ca: Verifying Checksum [2023-10-27T05:09:41.251Z] 699f458cf7ca: Download complete [2023-10-27T05:09:41.835Z] 8998bd30e6a1: Verifying Checksum [2023-10-27T05:09:41.835Z] 8998bd30e6a1: Download complete [2023-10-27T05:09:44.418Z] 2437ff75d9bd: Verifying Checksum [2023-10-27T05:09:44.418Z] 2437ff75d9bd: Download complete [2023-10-27T05:09:46.369Z] 8998bd30e6a1: Pull complete [2023-10-27T05:09:46.952Z] 04944245beec: Pull complete [2023-10-27T05:09:48.369Z] 699f458cf7ca: Pull complete [2023-10-27T05:09:48.648Z] 765212b225bb: Pull complete [2023-10-27T05:09:49.612Z] f23df028b6ca: Pull complete [2023-10-27T05:09:49.612Z] d65c8cfc05b1: Pull complete [2023-10-27T05:10:07.819Z] 2437ff75d9bd: Pull complete [2023-10-27T05:10:07.820Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-10-27T05:10:07.820Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-27T05:10:07.820Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-27T05:10:08.164Z] prd-ubuntu20.04-docker-arm64-4c-16g-12482 does not seem to be running inside a container [2023-10-27T05:10:08.218Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-10-27T05:10:11.019Z] $ docker top c3636e4791b382198e1174b894f343cf5fd05337e160ec7b98c1964021be953c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-27T05:10:11.935Z] ---> job-cost.sh [2023-10-27T05:10:11.935Z] lf-activate-venv: SKIPPING [2023-10-27T05:10:11.935Z] INFO: No Stack... [2023-10-27T05:10:12.516Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-10-27T05:10:13.096Z] INFO: Archiving Costs [Pipeline] sh [2023-10-27T05:10:13.438Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2023-10-27T05:10:13.438Z] + cut -d, -f6 [Pipeline] lock [2023-10-27T05:10:13.781Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1531-1-stack-cost] [2023-10-27T05:10:13.786Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1531-1-stack-cost] did not exist. Created. [2023-10-27T05:10:13.786Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1531-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-27T05:10:14.495Z] /w/workspace/device-sdk-go/1@tmp/durable-9c45f595/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-10-27T05:10:15.167Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-10-27T05:10:15.201Z] Warning: overwriting stash ‘stack-cost’ [2023-10-27T05:10:15.283Z] Stashed 1 file(s) [Pipeline] } [2023-10-27T05:10:15.299Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1531-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-27T05:10:15.374Z] $ docker stop --time=1 c3636e4791b382198e1174b894f343cf5fd05337e160ec7b98c1964021be953c [2023-10-27T05:10:16.889Z] $ docker rm -f --volumes c3636e4791b382198e1174b894f343cf5fd05337e160ec7b98c1964021be953c [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-10-27T05:10:17.840Z] provisioning config files... [2023-10-27T05:10:17.848Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1531@tmp/config16512662917956496494tmp [Pipeline] { [Pipeline] sh [2023-10-27T05:10:18.189Z] + set +x [2023-10-27T05:10:18.189Z] + curl -s https://codecov.io/bash [2023-10-27T05:10:18.189Z] + bash -s -- [2023-10-27T05:10:18.189Z] [2023-10-27T05:10:18.189Z] _____ _ [2023-10-27T05:10:18.189Z] / ____| | | [2023-10-27T05:10:18.189Z] | | ___ __| | ___ ___ _____ __ [2023-10-27T05:10:18.189Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-10-27T05:10:18.189Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-10-27T05:10:18.189Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-10-27T05:10:18.189Z] Bash-1.0.6 [2023-10-27T05:10:18.189Z] [2023-10-27T05:10:18.189Z] [2023-10-27T05:10:18.189Z] ==> git version 2.25.1 found [2023-10-27T05:10:18.189Z] ==> 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-10-27T05:10:18.189Z] Release-Date: 2020-01-08 [2023-10-27T05:10:18.189Z] 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-10-27T05:10:18.189Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-10-27T05:10:18.189Z] ==> Jenkins CI detected. [2023-10-27T05:10:18.189Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1531 [2023-10-27T05:10:18.189Z] project root: . [2023-10-27T05:10:18.189Z] --> token set from env [2023-10-27T05:10:18.189Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-10-27T05:10:18.189Z] ==> Running gcov in . (disable via -X gcov) [2023-10-27T05:10:18.189Z] ==> Python coveragepy not found [2023-10-27T05:10:18.189Z] ==> Searching for coverage reports in: [2023-10-27T05:10:18.189Z] + . [2023-10-27T05:10:18.447Z] -> Found 1 reports [2023-10-27T05:10:18.447Z] ==> Detecting git/mercurial file structure [2023-10-27T05:10:18.447Z] ==> Reading reports [2023-10-27T05:10:18.447Z] + ./coverage.out bytes=122154 [2023-10-27T05:10:18.447Z] ==> Appending adjustments [2023-10-27T05:10:18.447Z] https://docs.codecov.io/docs/fixing-reports [2023-10-27T05:10:18.706Z] + Found adjustments [2023-10-27T05:10:18.706Z] ==> Gzipping contents [2023-10-27T05:10:18.706Z] 20K /tmp/codecov.q4IB9s.gz [2023-10-27T05:10:18.706Z] ==> Uploading reports [2023-10-27T05:10:18.706Z] url: https://codecov.io [2023-10-27T05:10:18.706Z] query: branch=PR-1531&commit=8a1ae1e898068d4c5c4946da98df4a6f2aecea43&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1531%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1531&job=&cmd_args= [2023-10-27T05:10:18.706Z] -> Pinging Codecov [2023-10-27T05:10:18.706Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1531&commit=8a1ae1e898068d4c5c4946da98df4a6f2aecea43&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1531%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1531&job=&cmd_args= [2023-10-27T05:10:18.706Z] -> Uploading to [2023-10-27T05:10:18.706Z] https://storage.googleapis.com/codecov/v4/raw/2023-10-27/7E55EF52A471D76F132DFD9A03CDDE97/8a1ae1e898068d4c5c4946da98df4a6f2aecea43/23ed5a03-5e95-4dac-86ad-5976fb5174de.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231027%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231027T051018Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=eb841e4c0bd8e0de95404e6897759a9157c06cb485f1f69badf5fe8f088351c6 [2023-10-27T05:10:18.706Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-27T05:10:18.706Z] Dload Upload Total Spent Left Speed [2023-10-27T05:10:19.274Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16750 0 0 100 16750 0 36732 --:--:-- --:--:-- --:--:-- 36732 [2023-10-27T05:10:19.274Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/8a1ae1e898068d4c5c4946da98df4a6f2aecea43 [Pipeline] } [2023-10-27T05:10:19.301Z] 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-10-27T05:10:21.101Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1531/archives ] [2023-10-27T05:10:21.101Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1531/archives [2023-10-27T05:10:21.101Z] total 16 [2023-10-27T05:10:21.101Z] drwxr-xr-x 3 root root 4096 Oct 27 05:01 . [2023-10-27T05:10:21.101Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 27 05:01 .. [2023-10-27T05:10:21.101Z] drwxr-xr-x 2 root root 4096 Oct 27 05:01 cost [2023-10-27T05:10:21.101Z] -rw-r--r-- 1 root root 86 Oct 27 05:01 cost.csv [2023-10-27T05:10:21.101Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1531/archives [2023-10-27T05:10:21.101Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1531/archives [2023-10-27T05:10:21.101Z] total 16 [2023-10-27T05:10:21.101Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 27 05:01 . [2023-10-27T05:10:21.101Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 27 05:01 .. [2023-10-27T05:10:21.101Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 27 05:01 cost [2023-10-27T05:10:21.101Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 27 05:01 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-10-27T05:10:21.428Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-27T05:10:22.315Z] ---> package-listing.sh [2023-10-27T05:10:22.315Z] ++ facter osfamily [2023-10-27T05:10:22.315Z] ++ tr '[:upper:]' '[:lower:]' [2023-10-27T05:10:22.575Z] + OS_FAMILY=debian [2023-10-27T05:10:22.575Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1531 [2023-10-27T05:10:22.575Z] + START_PACKAGES=/tmp/packages_start.txt [2023-10-27T05:10:22.575Z] + END_PACKAGES=/tmp/packages_end.txt [2023-10-27T05:10:22.575Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-10-27T05:10:22.575Z] + PACKAGES=/tmp/packages_start.txt [2023-10-27T05:10:22.575Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1531 ']' [2023-10-27T05:10:22.575Z] + PACKAGES=/tmp/packages_end.txt [2023-10-27T05:10:22.575Z] + case "${OS_FAMILY}" in [2023-10-27T05:10:22.575Z] + dpkg -l [2023-10-27T05:10:22.575Z] + grep '^ii' [2023-10-27T05:10:22.575Z] + '[' -f /tmp/packages_start.txt ']' [2023-10-27T05:10:22.575Z] + '[' -f /tmp/packages_end.txt ']' [2023-10-27T05:10:22.575Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-10-27T05:10:22.575Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1531 ']' [2023-10-27T05:10:22.575Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1531/archives/ [2023-10-27T05:10:22.575Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1531/archives/ [Pipeline] echo [2023-10-27T05:10:22.611Z] 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-1531/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-10-27T05:10:22.902Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T05:10:23.515Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-27T05:10:23.515Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-27T05:10:23.649Z] prd-ubuntu20.04-docker-8c-8g-12483 does not seem to be running inside a container [2023-10-27T05:10:23.692Z] $ 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-1531/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-1531 -v /w/workspace/gexfoundry_device-sdk-go_PR-1531:/w/workspace/gexfoundry_device-sdk-go_PR-1531:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1531@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1531@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-27T05:10:23.901Z] $ docker top a869dc62a2a01a7276faa9b5aa78efd4264f04562fa48f1ef318486a67cdc138 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-27T05:10:24.274Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-10-27T05:10:24.589Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-10-27T05:10:24.900Z] + ls /var/log/sa-host [2023-10-27T05:10:24.900Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-27T05:10:25.046Z] provisioning config files... [2023-10-27T05:10:25.055Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1531@tmp/config17612659368062696951tmp [Pipeline] { [Pipeline] echo [2023-10-27T05:10:25.110Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-27T05:10:25.420Z] ---> create-netrc.sh [Pipeline] } [2023-10-27T05:10:25.446Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-10-27T05:10:25.854Z] ---> python-tools-install.sh [Pipeline] echo [2023-10-27T05:10:25.888Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-27T05:10:26.194Z] ---> sudo-logs.sh [2023-10-27T05:10:26.195Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-10-27T05:10:26.282Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-27T05:10:26.592Z] ---> job-cost.sh [2023-10-27T05:10:26.592Z] lf-activate-venv: SKIPPING [2023-10-27T05:10:26.592Z] DEBUG: total: 0.2199999988079071 [2023-10-27T05:10:26.592Z] INFO: Retrieving Stack Cost... [2023-10-27T05:10:26.852Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-27T05:10:27.418Z] INFO: Archiving Costs [Pipeline] echo [2023-10-27T05:10:27.457Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-27T05:10:27.766Z] ---> logs-deploy.sh [2023-10-27T05:10:27.766Z] lf-activate-venv: SKIPPING [2023-10-27T05:10:27.766Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1531/1 [2023-10-27T05:10:27.766Z] INFO: archiving workspace using pattern(s): [2023-10-27T05:10:28.702Z] Archives upload complete. [2023-10-27T05:10:28.702Z] INFO: archiving logs to Nexus