Pull request #1526 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3ad9b1a776b5d3d82caffa278ac54904303183e3+3c2cb8e37424beb0a61f3ad1af8fd93e44d6349e (c7b8c98eda1a3308940e5e6d175c09485ec484de) 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-ssh8158797157238040745.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-ssh5266183332406501775.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-1526/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-1526/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4651176107468559886.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-1526/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18010841960167789959.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-ssh4783387828216824939.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-1526/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-1526/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11012594311336347809.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9481 in /w/workspace/gexfoundry_device-sdk-go_PR-1526 [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-1526 # 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 Merging remotes/origin/main commit 3c2cb8e37424beb0a61f3ad1af8fd93e44d6349e into PR head commit 3ad9b1a776b5d3d82caffa278ac54904303183e3 Merge succeeded, producing 3ad9b1a776b5d3d82caffa278ac54904303183e3 Checking out Revision 3ad9b1a776b5d3d82caffa278ac54904303183e3 (PR-1526) > 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/1526/head:refs/remotes/origin/PR-1526 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3ad9b1a776b5d3d82caffa278ac54904303183e3 # 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 3c2cb8e37424beb0a61f3ad1af8fd93e44d6349e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3ad9b1a776b5d3d82caffa278ac54904303183e3 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" 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-18T04:05:21.436Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-10-18T04:05:21.645Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-10-18T04:05:21.772Z] ========================================================= [2023-10-18T04:05:21.772Z] EdgeX Global Pipelines Version Info [2023-10-18T04:05:21.772Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-10-18T04:05:22.538Z] ------------------- [2023-10-18T04:05:22.538Z] stable info: [2023-10-18T04:05:22.538Z] ------------------- [2023-10-18T04:05:22.538Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-10-18T04:05:22.538Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-18T04:05:22.538Z] Message: update stable to v1.0.254 [2023-10-18T04:05:23.128Z] ------------------- [2023-10-18T04:05:23.128Z] experimental info: [2023-10-18T04:05:23.128Z] ------------------- [2023-10-18T04:05:23.128Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-10-18T04:05:23.128Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-18T04:05:23.128Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-10-18T04:05:23.399Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-10-18T04:05:23.439Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-10-18T04:05:23.491Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-10-18T04:05:23.534Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-10-18T04:05:23.574Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-10-18T04:05:23.633Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-10-18T04:05:23.675Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-10-18T04:05:23.717Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-10-18T04:05:23.764Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-10-18T04:05:23.810Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-10-18T04:05:23.852Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-10-18T04:05:23.893Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-10-18T04:05:23.939Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-10-18T04:05:23.986Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-10-18T04:05:24.025Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-10-18T04:05:24.126Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-10-18T04:05:24.168Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-10-18T04:05:24.207Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-10-18T04:05:24.260Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-10-18T04:05:24.319Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-10-18T04:05:24.364Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-10-18T04:05:24.404Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-10-18T04:05:24.445Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-10-18T04:05:24.485Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-10-18T04:05:24.523Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-10-18T04:05:24.559Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-10-18T04:05:24.595Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-10-18T04:05:24.631Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1526 [Pipeline] echo [2023-10-18T04:05:24.670Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1526 [Pipeline] echo [2023-10-18T04:05:24.711Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1526 [Pipeline] echo [2023-10-18T04:05:24.750Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3ad9b1a776b5d3d82caffa278ac54904303183e3 [Pipeline] echo [2023-10-18T04:05:24.794Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3ad9b1a [Pipeline] echo [2023-10-18T04:05:24.835Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-18T04:05:24.959Z] provisioning config files... [2023-10-18T04:05:24.973Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1526@tmp/config14521673375037235782tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-18T04:05:25.334Z] ---> docker-login.sh [2023-10-18T04:05:25.334Z] nexus3.edgexfoundry.org:10001 [2023-10-18T04:05:25.598Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T04:05:25.598Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T04:05:25.598Z] Configure a credential helper to remove this warning. See [2023-10-18T04:05:25.598Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T04:05:25.598Z] [2023-10-18T04:05:25.598Z] Login Succeeded [2023-10-18T04:05:25.598Z] nexus3.edgexfoundry.org:10002 [2023-10-18T04:05:25.858Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T04:05:25.858Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T04:05:25.858Z] Configure a credential helper to remove this warning. See [2023-10-18T04:05:25.858Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T04:05:25.858Z] [2023-10-18T04:05:25.858Z] Login Succeeded [2023-10-18T04:05:25.858Z] nexus3.edgexfoundry.org:10003 [2023-10-18T04:05:25.858Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T04:05:25.858Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T04:05:25.858Z] Configure a credential helper to remove this warning. See [2023-10-18T04:05:25.858Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T04:05:25.858Z] [2023-10-18T04:05:25.858Z] Login Succeeded [2023-10-18T04:05:25.858Z] nexus3.edgexfoundry.org:10004 [2023-10-18T04:05:25.858Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T04:05:26.118Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T04:05:26.118Z] Configure a credential helper to remove this warning. See [2023-10-18T04:05:26.118Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T04:05:26.118Z] [2023-10-18T04:05:26.118Z] Login Succeeded [2023-10-18T04:05:26.118Z] docker.io [2023-10-18T04:05:26.118Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T04:05:26.379Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T04:05:26.379Z] Configure a credential helper to remove this warning. See [2023-10-18T04:05:26.379Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T04:05:26.379Z] [2023-10-18T04:05:26.379Z] Login Succeeded [2023-10-18T04:05:26.379Z] ---> docker-login.sh ends [Pipeline] } [2023-10-18T04:05:26.407Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-10-18T04:05:27.214Z] + git rev-list -1 --merges 3ad9b1a776b5d3d82caffa278ac54904303183e3~1..3ad9b1a776b5d3d82caffa278ac54904303183e3 [Pipeline] echo [2023-10-18T04:05:27.342Z] -----------> git rev-list -1 --merges 3ad9b1a776b5d3d82caffa278ac54904303183e3~1..3ad9b1a776b5d3d82caffa278ac54904303183e3 3ad9b1a776b5d3d82caffa278ac54904303183e3 [false] [Pipeline] sh [2023-10-18T04:05:27.682Z] + git log --format=format:%s -1 3ad9b1a776b5d3d82caffa278ac54904303183e3 [Pipeline] echo [2023-10-18T04:05:27.718Z] ========================================================= [2023-10-18T04:05:27.718Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-18T04:05:27.718Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-18T04:05:28.168Z] + git log --format=format:%s -1 3ad9b1a776b5d3d82caffa278ac54904303183e3 [Pipeline] echo [2023-10-18T04:05:28.204Z] [semverPrep] GIT_COMMIT: 3ad9b1a776b5d3d82caffa278ac54904303183e3, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2023-10-18T04:05:28.234Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-10-18T04:05:28.651Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-18T04:05:28.651Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-10-18T04:05:28.651Z] + [ -e /tmp/ssh_known_hosts ] [2023-10-18T04:05:28.651Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-10-18T04:05:28.651Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-10-18T04:05:28.651Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-10-18T04:05:28.651Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T04:05:29.161Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-18T04:05:29.161Z] [2023-10-18T04:05:29.161Z] 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-18T04:05:29.551Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-18T04:05:29.551Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-10-18T04:05:29.551Z] b85a868b505f: Pulling fs layer [2023-10-18T04:05:29.551Z] e2be974225ed: Pulling fs layer [2023-10-18T04:05:29.551Z] 339a4e72a1f5: Pulling fs layer [2023-10-18T04:05:29.551Z] 988bab9f4d93: Pulling fs layer [2023-10-18T04:05:29.551Z] 1469e6f7b9e6: Pulling fs layer [2023-10-18T04:05:29.551Z] eaf3925da568: Pulling fs layer [2023-10-18T04:05:29.551Z] bab4dde63d76: Pulling fs layer [2023-10-18T04:05:29.551Z] bde34c3a00c8: Pulling fs layer [2023-10-18T04:05:29.551Z] b352a97aabf1: Pulling fs layer [2023-10-18T04:05:29.551Z] 4872d77fe225: Pulling fs layer [2023-10-18T04:05:29.551Z] 5851b861e8e6: Pulling fs layer [2023-10-18T04:05:29.551Z] bab4dde63d76: Waiting [2023-10-18T04:05:29.551Z] b352a97aabf1: Waiting [2023-10-18T04:05:29.551Z] 988bab9f4d93: Waiting [2023-10-18T04:05:29.551Z] bde34c3a00c8: Waiting [2023-10-18T04:05:29.551Z] 1469e6f7b9e6: Waiting [2023-10-18T04:05:29.551Z] eaf3925da568: Waiting [2023-10-18T04:05:29.551Z] 5851b861e8e6: Waiting [2023-10-18T04:05:29.551Z] 4872d77fe225: Waiting [2023-10-18T04:05:29.551Z] e2be974225ed: Download complete [2023-10-18T04:05:29.551Z] 988bab9f4d93: Verifying Checksum [2023-10-18T04:05:29.551Z] 988bab9f4d93: Download complete [2023-10-18T04:05:29.814Z] 339a4e72a1f5: Download complete [2023-10-18T04:05:29.814Z] 1469e6f7b9e6: Verifying Checksum [2023-10-18T04:05:29.814Z] 1469e6f7b9e6: Download complete [2023-10-18T04:05:29.814Z] eaf3925da568: Verifying Checksum [2023-10-18T04:05:29.814Z] eaf3925da568: Download complete [2023-10-18T04:05:29.814Z] bde34c3a00c8: Verifying Checksum [2023-10-18T04:05:29.814Z] bde34c3a00c8: Download complete [2023-10-18T04:05:29.814Z] b352a97aabf1: Verifying Checksum [2023-10-18T04:05:29.814Z] b352a97aabf1: Download complete [2023-10-18T04:05:29.814Z] 4872d77fe225: Verifying Checksum [2023-10-18T04:05:29.814Z] 5851b861e8e6: Download complete [2023-10-18T04:05:29.814Z] b85a868b505f: Verifying Checksum [2023-10-18T04:05:29.814Z] b85a868b505f: Download complete [2023-10-18T04:05:30.073Z] bab4dde63d76: Verifying Checksum [2023-10-18T04:05:30.073Z] bab4dde63d76: Download complete [2023-10-18T04:05:31.011Z] b85a868b505f: Pull complete [2023-10-18T04:05:31.270Z] e2be974225ed: Pull complete [2023-10-18T04:05:31.529Z] 339a4e72a1f5: Pull complete [2023-10-18T04:05:31.788Z] 988bab9f4d93: Pull complete [2023-10-18T04:05:32.046Z] 1469e6f7b9e6: Pull complete [2023-10-18T04:05:32.046Z] eaf3925da568: Pull complete [2023-10-18T04:05:33.948Z] bab4dde63d76: Pull complete [2023-10-18T04:05:33.948Z] bde34c3a00c8: Pull complete [2023-10-18T04:05:33.948Z] b352a97aabf1: Pull complete [2023-10-18T04:05:34.207Z] 4872d77fe225: Pull complete [2023-10-18T04:05:34.207Z] 5851b861e8e6: Pull complete [2023-10-18T04:05:34.207Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-10-18T04:05:34.208Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-18T04:05:34.208Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-18T04:05:34.460Z] prd-ubuntu20.04-docker-8c-8g-9481 does not seem to be running inside a container [2023-10-18T04:05:34.490Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1526 -v /w/workspace/gexfoundry_device-sdk-go_PR-1526:/w/workspace/gexfoundry_device-sdk-go_PR-1526:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1526@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1526@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-18T04:05:37.374Z] $ docker top 697b3f31241d25d66f25b5c9fdd2115b5aa099ec7385f51b11ff74b45fb87f30 -eo pid,comm [2023-10-18T04:05:37.432Z] 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-18T04:05:37.432Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-18T04:05:37.564Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-18T04:05:37.564Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-18T04:05:37.673Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-18T04:05:37.677Z] $ docker exec 697b3f31241d25d66f25b5c9fdd2115b5aa099ec7385f51b11ff74b45fb87f30 ssh-agent [2023-10-18T04:05:37.792Z] SSH_AUTH_SOCK=/tmp/ssh-Wo0xsj9w1d23/agent.33 [2023-10-18T04:05:37.792Z] SSH_AGENT_PID=39 [2023-10-18T04:05:37.805Z] Running ssh-add (command line suppressed) [2023-10-18T04:05:37.915Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1526@tmp/private_key_7159526226406917048.key (/w/workspace/gexfoundry_device-sdk-go_PR-1526@tmp/private_key_7159526226406917048.key) [2023-10-18T04:05:37.929Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-18T04:05:38.264Z] + git tag --points-at HEAD [Pipeline] } [2023-10-18T04:05:38.292Z] $ docker exec --env ******** --env ******** 697b3f31241d25d66f25b5c9fdd2115b5aa099ec7385f51b11ff74b45fb87f30 ssh-agent -k [2023-10-18T04:05:38.394Z] unset SSH_AUTH_SOCK; [2023-10-18T04:05:38.395Z] unset SSH_AGENT_PID; [2023-10-18T04:05:38.395Z] echo Agent pid 39 killed; [2023-10-18T04:05:38.404Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-10-18T04:05:38.495Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-18T04:05:38.495Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-18T04:05:38.616Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-18T04:05:38.620Z] $ docker exec 697b3f31241d25d66f25b5c9fdd2115b5aa099ec7385f51b11ff74b45fb87f30 ssh-agent [2023-10-18T04:05:38.723Z] SSH_AUTH_SOCK=/tmp/ssh-M5POgtwCIPoN/agent.71 [2023-10-18T04:05:38.723Z] SSH_AGENT_PID=77 [2023-10-18T04:05:38.727Z] Running ssh-add (command line suppressed) [2023-10-18T04:05:38.827Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1526@tmp/private_key_4202407000371610623.key (/w/workspace/gexfoundry_device-sdk-go_PR-1526@tmp/private_key_4202407000371610623.key) [2023-10-18T04:05:38.842Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-18T04:05:39.175Z] + git semver init [2023-10-18T04:05:39.435Z] 2023-10-18 04:05:39,339 [run_init] DEBUG init version:0.0.0 force:False [2023-10-18T04:05:39.435Z] 2023-10-18 04:05:39,340 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1526/.semver [2023-10-18T04:05:39.435Z] 2023-10-18 04:05:39,341 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1526/.semver [2023-10-18T04:05:39.435Z] 2023-10-18 04:05:39,341 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1526/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1526, universal_newlines=False, shell=None, istream=None) [2023-10-18T04:05:40.374Z] 2023-10-18 04:05:40,335 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1526/.git/info/exclude [2023-10-18T04:05:40.374Z] 2023-10-18 04:05:40,336 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1526/.semver/PR-1526 with force:False [2023-10-18T04:05:40.374Z] 2023-10-18 04:05:40,336 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1526/.semver/PR-1526 [2023-10-18T04:05:40.374Z] 2023-10-18 04:05:40,341 [execute] INFO git cat-file --batch-check [2023-10-18T04:05:40.374Z] 2023-10-18 04:05:40,341 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1526/.semver, universal_newlines=False, shell=None, istream=) [2023-10-18T04:05:40.374Z] 2023-10-18 04:05:40,349 [execute] INFO git cat-file --batch [2023-10-18T04:05:40.374Z] 2023-10-18 04:05:40,349 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1526/.semver, universal_newlines=False, shell=None, istream=) [2023-10-18T04:05:40.374Z] 2023-10-18 04:05:40,356 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1526/.semver/PR-1526 [2023-10-18T04:05:40.374Z] 0.0.0 [Pipeline] } [2023-10-18T04:05:40.650Z] $ docker exec --env ******** --env ******** 697b3f31241d25d66f25b5c9fdd2115b5aa099ec7385f51b11ff74b45fb87f30 ssh-agent -k [2023-10-18T04:05:40.743Z] unset SSH_AUTH_SOCK; [2023-10-18T04:05:40.743Z] unset SSH_AGENT_PID; [2023-10-18T04:05:40.744Z] echo Agent pid 77 killed; [2023-10-18T04:05:40.753Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-18T04:05:41.176Z] + git semver [Pipeline] } [2023-10-18T04:05:41.462Z] $ docker stop --time=1 697b3f31241d25d66f25b5c9fdd2115b5aa099ec7385f51b11ff74b45fb87f30 [2023-10-18T04:05:42.757Z] $ docker rm -f --volumes 697b3f31241d25d66f25b5c9fdd2115b5aa099ec7385f51b11ff74b45fb87f30 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-18T04:05:43.176Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-10-18T04:05:43.450Z] Stashed 1 file(s) [Pipeline] echo [2023-10-18T04:05:43.465Z] [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-18T04:05:44.081Z] provisioning config files... [2023-10-18T04:05:44.091Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1526@tmp/config14888065010917811679tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-18T04:05:44.442Z] ---> docker-login.sh [2023-10-18T04:05:44.442Z] nexus3.edgexfoundry.org:10001 [2023-10-18T04:05:44.442Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T04:05:44.442Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T04:05:44.442Z] Configure a credential helper to remove this warning. See [2023-10-18T04:05:44.442Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T04:05:44.442Z] [2023-10-18T04:05:44.442Z] Login Succeeded [2023-10-18T04:05:44.442Z] nexus3.edgexfoundry.org:10002 [2023-10-18T04:05:44.442Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T04:05:44.442Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T04:05:44.442Z] Configure a credential helper to remove this warning. See [2023-10-18T04:05:44.442Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T04:05:44.442Z] [2023-10-18T04:05:44.442Z] Login Succeeded [2023-10-18T04:05:44.442Z] nexus3.edgexfoundry.org:10003 [2023-10-18T04:05:44.701Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T04:05:44.701Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T04:05:44.701Z] Configure a credential helper to remove this warning. See [2023-10-18T04:05:44.701Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T04:05:44.701Z] [2023-10-18T04:05:44.701Z] Login Succeeded [2023-10-18T04:05:44.701Z] nexus3.edgexfoundry.org:10004 [2023-10-18T04:05:44.701Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T04:05:44.701Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T04:05:44.701Z] Configure a credential helper to remove this warning. See [2023-10-18T04:05:44.701Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T04:05:44.701Z] [2023-10-18T04:05:44.701Z] Login Succeeded [2023-10-18T04:05:44.702Z] docker.io [2023-10-18T04:05:44.963Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T04:05:45.225Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T04:05:45.225Z] Configure a credential helper to remove this warning. See [2023-10-18T04:05:45.225Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T04:05:45.225Z] [2023-10-18T04:05:45.225Z] Login Succeeded [2023-10-18T04:05:45.225Z] ---> docker-login.sh ends [Pipeline] } [2023-10-18T04:05:45.259Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-18T04:05:45.447Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-18T04:05:45.486Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-18T04:05:45.522Z] ========================================================= [2023-10-18T04:05:45.522Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-10-18T04:05:45.522Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T04:05:45.989Z] + 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-18T04:05:45.989Z] Sending build context to Docker daemon 11.23MB [2023-10-18T04:05:45.989Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-10-18T04:05:45.989Z] Step 2/10 : FROM ${BASE} AS builder [2023-10-18T04:05:45.989Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-10-18T04:05:45.989Z] 7264a8db6415: Pulling fs layer [2023-10-18T04:05:45.989Z] c4d48a809fc2: Pulling fs layer [2023-10-18T04:05:45.989Z] 4f1c88b9dad5: Pulling fs layer [2023-10-18T04:05:45.989Z] ad3a456e5733: Pulling fs layer [2023-10-18T04:05:45.989Z] 33e27b845d1e: Pulling fs layer [2023-10-18T04:05:45.989Z] c68163c4e522: Pulling fs layer [2023-10-18T04:05:45.989Z] 50da416c3ac9: Pulling fs layer [2023-10-18T04:05:45.989Z] 23d2d4c4bb30: Pulling fs layer [2023-10-18T04:05:45.989Z] ad3a456e5733: Waiting [2023-10-18T04:05:45.989Z] 33e27b845d1e: Waiting [2023-10-18T04:05:45.989Z] c68163c4e522: Waiting [2023-10-18T04:05:45.989Z] 50da416c3ac9: Waiting [2023-10-18T04:05:45.989Z] 23d2d4c4bb30: Waiting [2023-10-18T04:05:46.249Z] c4d48a809fc2: Verifying Checksum [2023-10-18T04:05:46.249Z] c4d48a809fc2: Download complete [2023-10-18T04:05:46.249Z] 33e27b845d1e: Download complete [2023-10-18T04:05:46.249Z] 7264a8db6415: Download complete [2023-10-18T04:05:46.249Z] c68163c4e522: Verifying Checksum [2023-10-18T04:05:46.249Z] c68163c4e522: Download complete [2023-10-18T04:05:46.249Z] 7264a8db6415: Pull complete [2023-10-18T04:05:46.508Z] c4d48a809fc2: Pull complete [2023-10-18T04:05:46.508Z] 23d2d4c4bb30: Verifying Checksum [2023-10-18T04:05:46.508Z] 23d2d4c4bb30: Download complete [2023-10-18T04:05:46.508Z] 4f1c88b9dad5: Verifying Checksum [2023-10-18T04:05:46.508Z] 4f1c88b9dad5: Download complete [2023-10-18T04:05:47.074Z] 50da416c3ac9: Verifying Checksum [2023-10-18T04:05:47.074Z] 50da416c3ac9: Download complete [2023-10-18T04:05:49.604Z] 4f1c88b9dad5: Pull complete [2023-10-18T04:05:49.863Z] ad3a456e5733: Pull complete [2023-10-18T04:05:49.863Z] 33e27b845d1e: Pull complete [2023-10-18T04:05:49.863Z] c68163c4e522: Pull complete [2023-10-18T04:05:52.391Z] 50da416c3ac9: Pull complete [2023-10-18T04:05:52.654Z] 23d2d4c4bb30: Pull complete [2023-10-18T04:05:52.655Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-10-18T04:05:52.655Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-10-18T04:05:52.655Z] ---> 0786185ac409 [2023-10-18T04:05:52.655Z] Step 3/10 : ARG MAKE=make build [2023-10-18T04:05:56.848Z] ---> Running in c397c5cc5a29 [2023-10-18T04:05:56.848Z] Removing intermediate container c397c5cc5a29 [2023-10-18T04:05:56.848Z] ---> 9264d7aa6adb [2023-10-18T04:05:56.848Z] Step 4/10 : WORKDIR /device-sdk-go [2023-10-18T04:05:56.849Z] ---> Running in 23d1fd055161 [2023-10-18T04:05:56.849Z] Removing intermediate container 23d1fd055161 [2023-10-18T04:05:56.849Z] ---> ffe852c3ad88 [2023-10-18T04:05:56.849Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-10-18T04:05:56.849Z] ---> Running in 9a80c6b2b146 [2023-10-18T04:05:56.849Z] Removing intermediate container 9a80c6b2b146 [2023-10-18T04:05:56.849Z] ---> d8c71c0dbc57 [2023-10-18T04:05:56.849Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-10-18T04:05:56.849Z] ---> Running in 1e49175c87cb [2023-10-18T04:05:57.112Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-18T04:05:57.372Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-18T04:05:57.633Z] OK: 264 MiB in 52 packages [2023-10-18T04:05:57.943Z] Removing intermediate container 1e49175c87cb [2023-10-18T04:05:57.943Z] ---> 410391f76756 [2023-10-18T04:05:57.943Z] Step 7/10 : COPY go.mod vendor* ./ [2023-10-18T04:05:57.943Z] ---> d4a3e671be0f [2023-10-18T04:05:57.943Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-18T04:05:57.943Z] ---> Running in a09e25a6753c [2023-10-18T04:05:58.894Z] Still waiting to schedule task [2023-10-18T04:05:58.895Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-10-18T04:07:19.421Z] Removing intermediate container a09e25a6753c [2023-10-18T04:07:19.421Z] ---> 421e8401c8dc [2023-10-18T04:07:19.421Z] Step 9/10 : COPY . . [2023-10-18T04:07:19.421Z] ---> f3696daf5f79 [2023-10-18T04:07:19.421Z] Step 10/10 : RUN ${MAKE} [2023-10-18T04:07:19.421Z] ---> Running in fc643d040447 [2023-10-18T04:07:19.421Z] noop [2023-10-18T04:07:19.421Z] Removing intermediate container fc643d040447 [2023-10-18T04:07:19.421Z] ---> 260bab6736c6 [2023-10-18T04:07:19.421Z] Successfully built 260bab6736c6 [2023-10-18T04:07:19.421Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T04:07:19.864Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-18T04:07:19.864Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-18T04:07:20.033Z] prd-ubuntu20.04-docker-8c-8g-9481 does not seem to be running inside a container [2023-10-18T04:07:20.063Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1526 -v /w/workspace/gexfoundry_device-sdk-go_PR-1526:/w/workspace/gexfoundry_device-sdk-go_PR-1526:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1526@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1526@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-10-18T04:07:20.401Z] $ docker top eaf15c71aa3dc0e2744fc760536eef787e8457807de9cfcbf8539ddc41f2cd43 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-18T04:07:20.789Z] + go version [2023-10-18T04:07:20.789Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-10-18T04:07:20.820Z] $ docker stop --time=1 eaf15c71aa3dc0e2744fc760536eef787e8457807de9cfcbf8539ddc41f2cd43 [2023-10-18T04:07:22.075Z] $ docker rm -f --volumes eaf15c71aa3dc0e2744fc760536eef787e8457807de9cfcbf8539ddc41f2cd43 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T04:07:23.005Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-18T04:07:23.006Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-18T04:07:23.162Z] prd-ubuntu20.04-docker-8c-8g-9481 does not seem to be running inside a container [2023-10-18T04:07:23.201Z] $ 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-1526 -v /w/workspace/gexfoundry_device-sdk-go_PR-1526:/w/workspace/gexfoundry_device-sdk-go_PR-1526:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1526@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1526@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-10-18T04:07:23.542Z] $ docker top aed3c2c1a725db69824cf90b75dc45cc32f8734e7175611b4c518c977d3a716d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-18T04:07:23.937Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1526 [Pipeline] fileExists [Pipeline] sh [2023-10-18T04:07:24.309Z] + make test [2023-10-18T04:07:24.309Z] go test -race -coverprofile=coverage.out ./... [2023-10-18T04:07:31.248Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-10-18T04:07:41.462Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9482 in /w/workspace/gexfoundry_device-sdk-go_PR-1526 [Pipeline] { [Pipeline] ws [2023-10-18T04:07:41.527Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-10-18T04:07:41.684Z] The recommended git tool is: git [2023-10-18T04:07:43.433Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-10-18T04:07:43.433Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-10-18T04:07:43.433Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-10-18T04:07:43.433Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-10-18T04:07:43.433Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-10-18T04:07:43.997Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-10-18T04:07:43.997Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-10-18T04:07:44.929Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.053s coverage: 27.6% of statements [2023-10-18T04:07:44.929Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-10-18T04:07:44.929Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.046s coverage: 81.5% of statements [2023-10-18T04:07:44.929Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.060s coverage: 86.0% of statements [2023-10-18T04:07:45.862Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.083s coverage: 71.8% of statements [2023-10-18T04:07:46.121Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-10-18T04:07:46.121Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-10-18T04:07:46.121Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-10-18T04:07:47.730Z] using credential edgex-jenkins-ssh [2023-10-18T04:07:47.751Z] Cloning the remote Git repository [2023-10-18T04:07:47.805Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-10-18T04:07:47.915Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-10-18T04:07:48.076Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-10-18T04:07:48.077Z] > git --version # timeout=10 [2023-10-18T04:07:48.100Z] > git --version # 'git version 2.25.1' [2023-10-18T04:07:48.103Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-18T04:07:48.282Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-18T04:07:49.406Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.052s coverage: 14.4% of statements [2023-10-18T04:07:49.406Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.082s coverage: 45.9% of statements [2023-10-18T04:07:49.406Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.067s coverage: 68.5% of statements [2023-10-18T04:07:49.406Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.101s coverage: 89.2% of statements [2023-10-18T04:07:49.406Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.047s coverage: 5.5% of statements [2023-10-18T04:07:52.183Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-10-18T04:07:52.203Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-18T04:07:53.260Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-10-18T04:07:53.303Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-10-18T04:07:53.305Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-18T04:07:53.327Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1526/head:refs/remotes/origin/PR-1526 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-10-18T04:07:53.897Z] Merging remotes/origin/main commit 3c2cb8e37424beb0a61f3ad1af8fd93e44d6349e into PR head commit 3ad9b1a776b5d3d82caffa278ac54904303183e3 [2023-10-18T04:07:54.259Z] Merge succeeded, producing 3ad9b1a776b5d3d82caffa278ac54904303183e3 [2023-10-18T04:07:54.260Z] Checking out Revision 3ad9b1a776b5d3d82caffa278ac54904303183e3 (PR-1526) [2023-10-18T04:07:54.886Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2023-10-18T04:07:53.928Z] > git config core.sparsecheckout # timeout=10 [2023-10-18T04:07:54.024Z] > git checkout -f 3ad9b1a776b5d3d82caffa278ac54904303183e3 # timeout=10 [2023-10-18T04:07:54.161Z] > git remote # timeout=10 [2023-10-18T04:07:54.182Z] > git config --get remote.origin.url # timeout=10 [2023-10-18T04:07:54.204Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-18T04:07:54.219Z] > git merge 3c2cb8e37424beb0a61f3ad1af8fd93e44d6349e # timeout=10 [2023-10-18T04:07:54.247Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-10-18T04:07:54.269Z] > git config core.sparsecheckout # timeout=10 [2023-10-18T04:07:54.285Z] > git checkout -f 3ad9b1a776b5d3d82caffa278ac54904303183e3 # timeout=10 [2023-10-18T04:07:54.952Z] > git --version # timeout=10 [2023-10-18T04:07:54.966Z] > git --version # 'git version 2.25.1' [2023-10-18T04:07:54.990Z] fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-18T04:07:56.236Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-10-18T04:07:56.236Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-18T04:07:56.236Z] Dload Upload Total Spent Left Speed [2023-10-18T04:07:56.236Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 108k 0 --:--:-- --:--:-- --:--:-- 108k [Pipeline] sh [2023-10-18T04:07:56.983Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-10-18T04:07:57.334Z] + sudo tee /etc/docker/daemon.new [2023-10-18T04:07:57.334Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-10-18T04:07:57.334Z] { [2023-10-18T04:07:57.334Z] "registry-mirrors": [ [2023-10-18T04:07:57.334Z] "https://nexus3.edgexfoundry.org:10001" [2023-10-18T04:07:57.334Z] ], [2023-10-18T04:07:57.334Z] "bip": "10.250.0.254/24", [2023-10-18T04:07:57.334Z] "hosts": [ [2023-10-18T04:07:57.334Z] "tcp://0.0.0.0:5555", [2023-10-18T04:07:57.334Z] "unix:///var/run/docker.sock" [2023-10-18T04:07:57.334Z] ], [2023-10-18T04:07:57.334Z] "mtu": 1458, [2023-10-18T04:07:57.334Z] "selinux-enabled": true, [2023-10-18T04:07:57.334Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-10-18T04:07:57.334Z] } [Pipeline] sh [2023-10-18T04:07:57.684Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-10-18T04:07:58.038Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-18T04:08:16.380Z] provisioning config files... [2023-10-18T04:08:16.407Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config15476004961233070862tmp [Pipeline] { [Pipeline] libraryResource [2023-10-18T04:08:16.466Z] GO111MODULE=on go vet ./... [2023-10-18T04:08:16.466Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-18T04:08:16.467Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-18T04:08:16.467Z] ./bin/test-attribution-txt.sh [Pipeline] sh [Pipeline] echo [2023-10-18T04:08:16.618Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-18T04:08:16.648Z] $ docker stop --time=1 aed3c2c1a725db69824cf90b75dc45cc32f8734e7175611b4c518c977d3a716d [2023-10-18T04:08:16.801Z] ---> docker-login.sh [2023-10-18T04:08:16.801Z] nexus3.edgexfoundry.org:10001 [2023-10-18T04:08:17.392Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T04:08:17.660Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T04:08:17.660Z] Configure a credential helper to remove this warning. See [2023-10-18T04:08:17.660Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T04:08:17.660Z] [2023-10-18T04:08:17.660Z] Login Succeeded [2023-10-18T04:08:17.660Z] nexus3.edgexfoundry.org:10002 [2023-10-18T04:08:17.929Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T04:08:17.929Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T04:08:17.929Z] Configure a credential helper to remove this warning. See [2023-10-18T04:08:17.929Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T04:08:17.929Z] [2023-10-18T04:08:17.929Z] Login Succeeded [2023-10-18T04:08:17.929Z] nexus3.edgexfoundry.org:10003 [2023-10-18T04:08:18.199Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T04:08:18.199Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T04:08:18.199Z] Configure a credential helper to remove this warning. See [2023-10-18T04:08:18.199Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T04:08:18.199Z] [2023-10-18T04:08:18.199Z] Login Succeeded [2023-10-18T04:08:18.472Z] nexus3.edgexfoundry.org:10004 [2023-10-18T04:08:18.472Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T04:08:18.742Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T04:08:18.742Z] Configure a credential helper to remove this warning. See [2023-10-18T04:08:18.742Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T04:08:18.742Z] [2023-10-18T04:08:18.742Z] Login Succeeded [2023-10-18T04:08:18.742Z] docker.io [2023-10-18T04:08:19.011Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T04:08:19.279Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T04:08:19.279Z] Configure a credential helper to remove this warning. See [2023-10-18T04:08:19.279Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T04:08:19.279Z] [2023-10-18T04:08:19.279Z] Login Succeeded [2023-10-18T04:08:19.279Z] ---> docker-login.sh ends [2023-10-18T04:08:21.397Z] $ docker rm -f --volumes aed3c2c1a725db69824cf90b75dc45cc32f8734e7175611b4c518c977d3a716d [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] } [2023-10-18T04:08:21.961Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2023-10-18T04:08:22.204Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-18T04:08:22.283Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] echo [2023-10-18T04:08:22.451Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] stage [Pipeline] { (Build) [Pipeline] echo [2023-10-18T04:08:22.513Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-18T04:08:22.541Z] ========================================================= [2023-10-18T04:08:22.541Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-10-18T04:08:22.541Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] sh [2023-10-18T04:08:22.967Z] + 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-18T04:08:23.240Z] + sudo chown -R jenkins:jenkins . [2023-10-18T04:08:23.245Z] Sending build context to Docker daemon 6.012MB [2023-10-18T04:08:23.246Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-10-18T04:08:23.246Z] Step 2/10 : FROM ${BASE} AS builder [Pipeline] sh [2023-10-18T04:08:23.514Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-10-18T04:08:23.514Z] 9fda8d8052c6: Pulling fs layer [2023-10-18T04:08:23.514Z] 5d54e960e981: Pulling fs layer [2023-10-18T04:08:23.514Z] c4a7e357bf2a: Pulling fs layer [2023-10-18T04:08:23.514Z] f0e02332f6b5: Pulling fs layer [2023-10-18T04:08:23.514Z] cefa15bbcfad: Pulling fs layer [2023-10-18T04:08:23.514Z] 17808c966233: Pulling fs layer [2023-10-18T04:08:23.514Z] f4c1fc716caa: Pulling fs layer [2023-10-18T04:08:23.514Z] f0e02332f6b5: Waiting [2023-10-18T04:08:23.514Z] cefa15bbcfad: Waiting [2023-10-18T04:08:23.514Z] f4c1fc716caa: Waiting [2023-10-18T04:08:23.514Z] 5d54e960e981: Verifying Checksum [2023-10-18T04:08:23.514Z] 5d54e960e981: Download complete [2023-10-18T04:08:23.514Z] f0e02332f6b5: Verifying Checksum [2023-10-18T04:08:23.514Z] f0e02332f6b5: Download complete [2023-10-18T04:08:23.514Z] cefa15bbcfad: Verifying Checksum [2023-10-18T04:08:23.514Z] cefa15bbcfad: Download complete [2023-10-18T04:08:23.574Z] + ls -al . [2023-10-18T04:08:23.574Z] total 304 [2023-10-18T04:08:23.574Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 18 04:07 . [2023-10-18T04:08:23.574Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 04:05 .. [2023-10-18T04:08:23.574Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 18 04:05 .dockerignore [2023-10-18T04:08:23.574Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 18 04:07 .git [2023-10-18T04:08:23.574Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 04:05 .github [2023-10-18T04:08:23.574Z] -rw-rw-r-- 1 jenkins jenkins 137 Oct 18 04:05 .gitignore [2023-10-18T04:08:23.574Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 18 04:05 .golangci.yml [2023-10-18T04:08:23.574Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 18 04:05 .semver [2023-10-18T04:08:23.574Z] -rw-rw-r-- 1 jenkins jenkins 44878 Oct 18 04:05 CHANGELOG.md [2023-10-18T04:08:23.574Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 18 04:05 GOVERNANCE.md [2023-10-18T04:08:23.574Z] -rw-rw-r-- 1 jenkins jenkins 885 Oct 18 04:05 Jenkinsfile [2023-10-18T04:08:23.574Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 18 04:05 LICENSE [2023-10-18T04:08:23.574Z] -rw-rw-r-- 1 jenkins jenkins 1842 Oct 18 04:05 Makefile [2023-10-18T04:08:23.574Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 18 04:05 OWNERS.md [2023-10-18T04:08:23.574Z] -rw-rw-r-- 1 jenkins jenkins 4933 Oct 18 04:05 README.md [2023-10-18T04:08:23.574Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 18 04:05 VERSION [2023-10-18T04:08:23.574Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 18 04:05 bin [2023-10-18T04:08:23.574Z] -rw-r--r-- 1 jenkins jenkins 122153 Oct 18 04:07 coverage.out [2023-10-18T04:08:23.574Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 18 04:05 example [2023-10-18T04:08:23.574Z] -rw-rw-r-- 1 jenkins jenkins 3723 Oct 18 04:05 go.mod [2023-10-18T04:08:23.574Z] -rw-rw-r-- 1 jenkins jenkins 34277 Oct 18 04:05 go.sum [2023-10-18T04:08:23.574Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 18 04:05 internal [2023-10-18T04:08:23.574Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 04:05 openapi [2023-10-18T04:08:23.574Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 18 04:05 pkg [2023-10-18T04:08:23.574Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 04:05 snap [2023-10-18T04:08:23.574Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 18 04:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T04:08:23.796Z] 9fda8d8052c6: Verifying Checksum [2023-10-18T04:08:23.796Z] 9fda8d8052c6: Download complete [2023-10-18T04:08:24.074Z] f4c1fc716caa: Verifying Checksum [2023-10-18T04:08:24.074Z] f4c1fc716caa: Download complete [2023-10-18T04:08:24.091Z] + 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=3ad9b1a776b5d3d82caffa278ac54904303183e3 --label arch=amd64 --label version=0.0.0 . [2023-10-18T04:08:24.091Z] Sending build context to Docker daemon 11.36MB [2023-10-18T04:08:24.091Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-10-18T04:08:24.091Z] Step 2/23 : FROM ${BASE} AS builder [2023-10-18T04:08:24.091Z] ---> 260bab6736c6 [2023-10-18T04:08:24.091Z] Step 3/23 : ARG MAKE=make build [2023-10-18T04:08:24.349Z] ---> Running in 5544ed39d16c [2023-10-18T04:08:24.349Z] Removing intermediate container 5544ed39d16c [2023-10-18T04:08:24.349Z] ---> 97efabdfe4d4 [2023-10-18T04:08:24.349Z] Step 4/23 : WORKDIR /device-sdk-go [2023-10-18T04:08:24.607Z] ---> Running in 9cb7d9c3b9a2 [2023-10-18T04:08:24.607Z] Removing intermediate container 9cb7d9c3b9a2 [2023-10-18T04:08:24.607Z] ---> 1bc8d28280c3 [2023-10-18T04:08:24.607Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-10-18T04:08:24.607Z] ---> Running in c90854298b71 [2023-10-18T04:08:24.607Z] Removing intermediate container c90854298b71 [2023-10-18T04:08:24.607Z] ---> c17480f2ca96 [2023-10-18T04:08:24.607Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-10-18T04:08:24.607Z] ---> Running in cc0f2bc98aa9 [2023-10-18T04:08:24.664Z] 9fda8d8052c6: Pull complete [2023-10-18T04:08:24.866Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-18T04:08:25.124Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-18T04:08:25.262Z] 5d54e960e981: Pull complete [2023-10-18T04:08:25.384Z] OK: 264 MiB in 52 packages [2023-10-18T04:08:25.534Z] c4a7e357bf2a: Download complete [2023-10-18T04:08:25.643Z] Removing intermediate container cc0f2bc98aa9 [2023-10-18T04:08:25.643Z] ---> 6656b032bf40 [2023-10-18T04:08:25.643Z] Step 7/23 : COPY go.mod vendor* ./ [2023-10-18T04:08:25.643Z] ---> 91b223fa764d [2023-10-18T04:08:25.643Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-18T04:08:25.643Z] ---> Running in 38ce2ba8a0e7 [2023-10-18T04:08:26.512Z] 17808c966233: Verifying Checksum [2023-10-18T04:08:26.512Z] 17808c966233: Download complete [2023-10-18T04:08:26.578Z] Removing intermediate container 38ce2ba8a0e7 [2023-10-18T04:08:26.578Z] ---> ed9de84e0523 [2023-10-18T04:08:26.578Z] Step 9/23 : COPY . . [2023-10-18T04:08:26.837Z] ---> cf03e45dceb8 [2023-10-18T04:08:26.837Z] Step 10/23 : RUN ${MAKE} [2023-10-18T04:08:26.837Z] ---> Running in 0ec242a50d61 [2023-10-18T04:08:27.095Z] 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-18T04:08:38.841Z] c4a7e357bf2a: Pull complete [2023-10-18T04:08:38.841Z] f0e02332f6b5: Pull complete [2023-10-18T04:08:38.841Z] cefa15bbcfad: Pull complete [2023-10-18T04:08:47.100Z] 17808c966233: Pull complete [2023-10-18T04:08:48.074Z] f4c1fc716caa: Pull complete [2023-10-18T04:08:48.074Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-10-18T04:08:48.074Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-10-18T04:08:48.074Z] ---> ea914061e18c [2023-10-18T04:08:48.074Z] Step 3/10 : ARG MAKE=make build [2023-10-18T04:08:49.020Z] Removing intermediate container 0ec242a50d61 [2023-10-18T04:08:49.020Z] ---> 116338d4e433 [2023-10-18T04:08:49.020Z] Step 11/23 : FROM alpine:3.18 [2023-10-18T04:08:49.020Z] 3.18: Pulling from library/alpine [2023-10-18T04:08:49.020Z] 96526aa774ef: Pulling fs layer [2023-10-18T04:08:49.020Z] 96526aa774ef: Verifying Checksum [2023-10-18T04:08:49.020Z] 96526aa774ef: Download complete [2023-10-18T04:08:49.020Z] 96526aa774ef: Pull complete [2023-10-18T04:08:49.020Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-18T04:08:49.020Z] Status: Downloaded newer image for alpine:3.18 [2023-10-18T04:08:49.020Z] ---> 8ca4688f4f35 [2023-10-18T04:08:49.020Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-10-18T04:08:49.020Z] ---> Running in 7c7f78d18ae9 [2023-10-18T04:08:49.020Z] Removing intermediate container 7c7f78d18ae9 [2023-10-18T04:08:49.020Z] ---> 06504c57dc0c [2023-10-18T04:08:49.020Z] Step 13/23 : RUN apk add --update --no-cache [2023-10-18T04:08:49.020Z] ---> Running in 34a5bd0dd02e [2023-10-18T04:08:49.020Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-18T04:08:49.020Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-18T04:08:49.040Z] ---> Running in edc1e3bb7bfc [2023-10-18T04:08:49.280Z] OK: 7 MiB in 15 packages [2023-10-18T04:08:49.308Z] Removing intermediate container edc1e3bb7bfc [2023-10-18T04:08:49.308Z] ---> cb23652771d3 [2023-10-18T04:08:49.308Z] Step 4/10 : WORKDIR /device-sdk-go [2023-10-18T04:08:49.308Z] ---> Running in dfe93d954767 [2023-10-18T04:08:49.539Z] Removing intermediate container 34a5bd0dd02e [2023-10-18T04:08:49.539Z] ---> aeddf071eae1 [2023-10-18T04:08:49.539Z] Step 14/23 : WORKDIR / [2023-10-18T04:08:49.539Z] ---> Running in 86c21d9eeeee [2023-10-18T04:08:49.539Z] Removing intermediate container 86c21d9eeeee [2023-10-18T04:08:49.539Z] ---> 66c26969dc6d [2023-10-18T04:08:49.539Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-10-18T04:08:49.583Z] Removing intermediate container dfe93d954767 [2023-10-18T04:08:49.583Z] ---> 3dd3eb84be9b [2023-10-18T04:08:49.583Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-10-18T04:08:49.799Z] ---> 45de460017d3 [2023-10-18T04:08:49.799Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-10-18T04:08:49.851Z] ---> Running in 608a23203384 [2023-10-18T04:08:50.120Z] Removing intermediate container 608a23203384 [2023-10-18T04:08:50.120Z] ---> c00bdc300ee4 [2023-10-18T04:08:50.120Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-10-18T04:08:50.120Z] ---> Running in a8df2cc1ea97 [2023-10-18T04:08:50.737Z] ---> 58371a602d3d [2023-10-18T04:08:50.737Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-10-18T04:08:50.737Z] ---> a3c8216daaa6 [2023-10-18T04:08:50.737Z] Step 18/23 : EXPOSE 59999 [2023-10-18T04:08:50.737Z] ---> Running in 84b225e8cb39 [2023-10-18T04:08:50.737Z] Removing intermediate container 84b225e8cb39 [2023-10-18T04:08:50.737Z] ---> ca2d72072302 [2023-10-18T04:08:50.737Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-10-18T04:08:50.737Z] ---> Running in d4f04cf14d33 [2023-10-18T04:08:50.997Z] Removing intermediate container d4f04cf14d33 [2023-10-18T04:08:50.997Z] ---> f88ccee321ae [2023-10-18T04:08:50.997Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-10-18T04:08:50.997Z] ---> Running in bcf0e7d68a97 [2023-10-18T04:08:50.997Z] Removing intermediate container bcf0e7d68a97 [2023-10-18T04:08:50.997Z] ---> e7f79f0ca974 [2023-10-18T04:08:50.997Z] Step 21/23 : LABEL arch=amd64 [2023-10-18T04:08:50.997Z] ---> Running in 2f9e9fdab5d3 [2023-10-18T04:08:50.997Z] Removing intermediate container 2f9e9fdab5d3 [2023-10-18T04:08:50.997Z] ---> d151c7ae33ba [2023-10-18T04:08:50.997Z] Step 22/23 : LABEL git_sha=3ad9b1a776b5d3d82caffa278ac54904303183e3 [2023-10-18T04:08:50.997Z] ---> Running in e7d07226abb3 [2023-10-18T04:08:51.256Z] Removing intermediate container e7d07226abb3 [2023-10-18T04:08:51.256Z] ---> 1564f9fe777b [2023-10-18T04:08:51.256Z] Step 23/23 : LABEL version=0.0.0 [2023-10-18T04:08:51.256Z] ---> Running in 1acefbcd2ad6 [2023-10-18T04:08:51.256Z] Removing intermediate container 1acefbcd2ad6 [2023-10-18T04:08:51.256Z] ---> 231990b53266 [2023-10-18T04:08:51.256Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-18T04:08:51.256Z] Successfully built 231990b53266 [2023-10-18T04:08:51.256Z] 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] } [2023-10-18T04:08:51.544Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-18T04:08:51.544Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [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-18T04:08:52.769Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-18T04:08:52.769Z] [2023-10-18T04:08:52.769Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T04:08:53.150Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-18T04:08:53.150Z] latest: Pulling from edgex-lftools-log-publisher [2023-10-18T04:08:53.150Z] 5eb5b503b376: Pulling fs layer [2023-10-18T04:08:53.150Z] 5c69ac0246d0: Pulling fs layer [2023-10-18T04:08:53.150Z] ec43610c2a17: Pulling fs layer [2023-10-18T04:08:53.150Z] 3a2ae6a8a46f: Pulling fs layer [2023-10-18T04:08:53.150Z] 33b1e0a273af: Pulling fs layer [2023-10-18T04:08:53.150Z] 3a2ae6a8a46f: Waiting [2023-10-18T04:08:53.150Z] 5d3b04190fa2: Pulling fs layer [2023-10-18T04:08:53.150Z] 2f39f015ded8: Pulling fs layer [2023-10-18T04:08:53.150Z] 5d3b04190fa2: Waiting [2023-10-18T04:08:53.150Z] 2f39f015ded8: Waiting [2023-10-18T04:08:53.150Z] 5c69ac0246d0: Verifying Checksum [2023-10-18T04:08:53.150Z] 3a2ae6a8a46f: Verifying Checksum [2023-10-18T04:08:53.150Z] 3a2ae6a8a46f: Download complete [2023-10-18T04:08:53.150Z] 33b1e0a273af: Verifying Checksum [2023-10-18T04:08:53.150Z] 33b1e0a273af: Download complete [2023-10-18T04:08:53.150Z] ec43610c2a17: Verifying Checksum [2023-10-18T04:08:53.150Z] ec43610c2a17: Download complete [2023-10-18T04:08:53.150Z] 5d3b04190fa2: Verifying Checksum [2023-10-18T04:08:53.150Z] 5d3b04190fa2: Download complete [2023-10-18T04:08:53.409Z] 5eb5b503b376: Verifying Checksum [2023-10-18T04:08:53.409Z] 5eb5b503b376: Download complete [2023-10-18T04:08:53.493Z] OK: 266 MiB in 52 packages [2023-10-18T04:08:53.977Z] 2f39f015ded8: Verifying Checksum [2023-10-18T04:08:53.977Z] 2f39f015ded8: Download complete [2023-10-18T04:08:54.465Z] Removing intermediate container a8df2cc1ea97 [2023-10-18T04:08:54.465Z] ---> da4a8f5e131c [2023-10-18T04:08:54.465Z] Step 7/10 : COPY go.mod vendor* ./ [2023-10-18T04:08:54.546Z] 5eb5b503b376: Pull complete [2023-10-18T04:08:54.737Z] ---> a91e59db6b2d [2023-10-18T04:08:54.737Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-18T04:08:54.805Z] 5c69ac0246d0: Pull complete [2023-10-18T04:08:55.014Z] ---> Running in 5400fd684a0a [2023-10-18T04:08:55.063Z] ec43610c2a17: Pull complete [2023-10-18T04:08:55.063Z] 3a2ae6a8a46f: Pull complete [2023-10-18T04:08:55.322Z] 33b1e0a273af: Pull complete [2023-10-18T04:08:55.582Z] 5d3b04190fa2: Pull complete [2023-10-18T04:08:59.763Z] 2f39f015ded8: Pull complete [2023-10-18T04:08:59.763Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-10-18T04:08:59.763Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-18T04:08:59.763Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-18T04:09:00.010Z] prd-ubuntu20.04-docker-8c-8g-9481 does not seem to be running inside a container [2023-10-18T04:09:00.037Z] $ 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-1526 -v /w/workspace/gexfoundry_device-sdk-go_PR-1526:/w/workspace/gexfoundry_device-sdk-go_PR-1526:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1526@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1526@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-18T04:09:07.925Z] $ docker top 83ab9594929db252efb51c91470cb4c3aaad4d5c60de75ff7c1382b8d7915e5d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-18T04:09:08.394Z] ---> job-cost.sh [2023-10-18T04:09:08.394Z] lf-activate-venv: SKIPPING [2023-10-18T04:09:08.394Z] INFO: No Stack... [2023-10-18T04:09:09.712Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-18T04:09:12.773Z] INFO: Archiving Costs [Pipeline] sh [2023-10-18T04:09:13.092Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1526/archives/cost.csv [2023-10-18T04:09:13.092Z] + cut -d, -f6 [Pipeline] lock [2023-10-18T04:09:13.140Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1526-1-stack-cost] [2023-10-18T04:09:13.145Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1526-1-stack-cost] did not exist. Created. [2023-10-18T04:09:13.145Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1526-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-18T04:09:13.552Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-10-18T04:09:13.612Z] Stashed 1 file(s) [Pipeline] } [2023-10-18T04:09:13.639Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1526-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-18T04:09:13.724Z] $ docker stop --time=1 83ab9594929db252efb51c91470cb4c3aaad4d5c60de75ff7c1382b8d7915e5d [2023-10-18T04:09:17.142Z] $ docker rm -f --volumes 83ab9594929db252efb51c91470cb4c3aaad4d5c60de75ff7c1382b8d7915e5d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-10-18T04:10:35.594Z] Removing intermediate container 5400fd684a0a [2023-10-18T04:10:35.594Z] ---> d64c91809aa6 [2023-10-18T04:10:35.594Z] Step 9/10 : COPY . . [2023-10-18T04:10:35.594Z] ---> 648e8a93c98b [2023-10-18T04:10:35.594Z] Step 10/10 : RUN ${MAKE} [2023-10-18T04:10:35.594Z] ---> Running in 3666369ab446 [2023-10-18T04:10:35.594Z] noop [2023-10-18T04:10:35.594Z] Removing intermediate container 3666369ab446 [2023-10-18T04:10:35.594Z] ---> 200dbf52ddf7 [2023-10-18T04:10:35.594Z] Successfully built 200dbf52ddf7 [2023-10-18T04:10:35.594Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T04:10:36.098Z] + docker inspect -f . ci-base-image-arm64 [2023-10-18T04:10:36.099Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-18T04:10:36.385Z] prd-ubuntu20.04-docker-arm64-4c-16g-9482 does not seem to be running inside a container [2023-10-18T04:10:36.459Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-10-18T04:10:37.566Z] $ docker top c2e4681de7717d0650f5ef5b22f1ed907aa7cb887f113e0f39a88746b1b8d273 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-18T04:10:38.451Z] + go version [2023-10-18T04:10:38.451Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-10-18T04:10:38.490Z] $ docker stop --time=1 c2e4681de7717d0650f5ef5b22f1ed907aa7cb887f113e0f39a88746b1b8d273 [2023-10-18T04:10:40.144Z] $ docker rm -f --volumes c2e4681de7717d0650f5ef5b22f1ed907aa7cb887f113e0f39a88746b1b8d273 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T04:10:41.028Z] + docker inspect -f . ci-base-image-arm64 [2023-10-18T04:10:41.028Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-18T04:10:41.273Z] prd-ubuntu20.04-docker-arm64-4c-16g-9482 does not seem to be running inside a container [2023-10-18T04:10:41.336Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-10-18T04:10:42.474Z] $ docker top d4bf238fd88cebdb2cfe2044a841b3a3563f80b1c3f3e9a9338ea7f94ef2ccf9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-18T04:10:43.022Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-10-18T04:10:43.737Z] + make test [2023-10-18T04:10:43.738Z] go test -race -coverprofile=coverage.out ./... [2023-10-18T04:11:15.938Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-10-18T04:13:07.845Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-10-18T04:13:07.845Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-10-18T04:13:07.845Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-10-18T04:13:07.845Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-10-18T04:13:07.845Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-10-18T04:13:07.845Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.185s coverage: 27.6% of statements [2023-10-18T04:13:14.480Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.239s coverage: 81.5% of statements [2023-10-18T04:13:22.660Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-10-18T04:13:22.660Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-10-18T04:13:23.243Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.359s coverage: 86.0% of statements [2023-10-18T04:13:28.578Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-10-18T04:13:29.162Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.379s coverage: 71.8% of statements [2023-10-18T04:13:32.544Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.289s coverage: 14.4% of statements [2023-10-18T04:13:32.544Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.611s coverage: 45.9% of statements [2023-10-18T04:13:32.816Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-10-18T04:13:32.816Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-10-18T04:13:34.782Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.422s coverage: 68.5% of statements [2023-10-18T04:13:36.731Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.413s coverage: 89.2% of statements [2023-10-18T04:13:37.688Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-10-18T04:13:39.109Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.224s coverage: 5.5% of statements [2023-10-18T04:13:39.693Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-10-18T04:13:39.693Z] GO111MODULE=on go vet ./... [2023-10-18T04:15:35.164Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-18T04:15:35.164Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-18T04:15:35.164Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-18T04:15:35.204Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-18T04:15:35.240Z] $ docker stop --time=1 d4bf238fd88cebdb2cfe2044a841b3a3563f80b1c3f3e9a9338ea7f94ef2ccf9 [2023-10-18T04:15:37.202Z] $ docker rm -f --volumes d4bf238fd88cebdb2cfe2044a841b3a3563f80b1c3f3e9a9338ea7f94ef2ccf9 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-18T04:15:40.603Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-18T04:15:40.640Z] Warning: overwriting stash ‘coverage-report’ [2023-10-18T04:15:41.224Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-18T04:15:42.862Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-18T04:15:43.197Z] + ls -al . [2023-10-18T04:15:43.197Z] total 300 [2023-10-18T04:15:43.197Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 18 04:10 . [2023-10-18T04:15:43.197Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 04:07 .. [2023-10-18T04:15:43.197Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 18 04:07 .dockerignore [2023-10-18T04:15:43.197Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 18 04:07 .git [2023-10-18T04:15:43.197Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 04:07 .github [2023-10-18T04:15:43.197Z] -rw-rw-r-- 1 jenkins jenkins 137 Oct 18 04:07 .gitignore [2023-10-18T04:15:43.198Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 18 04:07 .golangci.yml [2023-10-18T04:15:43.198Z] -rw-rw-r-- 1 jenkins jenkins 44878 Oct 18 04:07 CHANGELOG.md [2023-10-18T04:15:43.198Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 18 04:07 GOVERNANCE.md [2023-10-18T04:15:43.198Z] -rw-rw-r-- 1 jenkins jenkins 885 Oct 18 04:07 Jenkinsfile [2023-10-18T04:15:43.198Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 18 04:07 LICENSE [2023-10-18T04:15:43.198Z] -rw-rw-r-- 1 jenkins jenkins 1842 Oct 18 04:07 Makefile [2023-10-18T04:15:43.198Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 18 04:07 OWNERS.md [2023-10-18T04:15:43.198Z] -rw-rw-r-- 1 jenkins jenkins 4933 Oct 18 04:07 README.md [2023-10-18T04:15:43.198Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 18 04:05 VERSION [2023-10-18T04:15:43.198Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 18 04:07 bin [2023-10-18T04:15:43.198Z] -rw-r--r-- 1 jenkins jenkins 122155 Oct 18 04:13 coverage.out [2023-10-18T04:15:43.198Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 18 04:07 example [2023-10-18T04:15:43.198Z] -rw-rw-r-- 1 jenkins jenkins 3723 Oct 18 04:07 go.mod [2023-10-18T04:15:43.198Z] -rw-rw-r-- 1 jenkins jenkins 34277 Oct 18 04:07 go.sum [2023-10-18T04:15:43.198Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 18 04:07 internal [2023-10-18T04:15:43.198Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 04:07 openapi [2023-10-18T04:15:43.198Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 18 04:07 pkg [2023-10-18T04:15:43.198Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 04:07 snap [2023-10-18T04:15:43.198Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 18 04:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T04:15:43.628Z] + 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=3ad9b1a776b5d3d82caffa278ac54904303183e3 --label arch=arm64 --label version=0.0.0 . [2023-10-18T04:15:43.896Z] Sending build context to Docker daemon 6.135MB [2023-10-18T04:15:44.165Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-10-18T04:15:44.166Z] Step 2/23 : FROM ${BASE} AS builder [2023-10-18T04:15:44.166Z] ---> 200dbf52ddf7 [2023-10-18T04:15:44.166Z] Step 3/23 : ARG MAKE=make build [2023-10-18T04:15:44.166Z] ---> Running in b6c2984bb4ee [2023-10-18T04:15:44.436Z] Removing intermediate container b6c2984bb4ee [2023-10-18T04:15:44.436Z] ---> 6cbcc06ed3ba [2023-10-18T04:15:44.436Z] Step 4/23 : WORKDIR /device-sdk-go [2023-10-18T04:15:44.702Z] ---> Running in c95fbc368a02 [2023-10-18T04:15:44.973Z] Removing intermediate container c95fbc368a02 [2023-10-18T04:15:44.973Z] ---> 9d4a05ea5dc8 [2023-10-18T04:15:44.973Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-10-18T04:15:44.973Z] ---> Running in 6aeffd2a054c [2023-10-18T04:15:45.245Z] Removing intermediate container 6aeffd2a054c [2023-10-18T04:15:45.245Z] ---> 09ed5e3396a0 [2023-10-18T04:15:45.245Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-10-18T04:15:45.512Z] ---> Running in 39d3ad49d544 [2023-10-18T04:15:46.473Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-18T04:15:47.062Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-18T04:15:48.030Z] OK: 266 MiB in 52 packages [2023-10-18T04:15:48.998Z] Removing intermediate container 39d3ad49d544 [2023-10-18T04:15:48.998Z] ---> 3581bd3ed035 [2023-10-18T04:15:48.998Z] Step 7/23 : COPY go.mod vendor* ./ [2023-10-18T04:15:49.272Z] ---> 669537525b18 [2023-10-18T04:15:49.272Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-18T04:15:49.541Z] ---> Running in 15e56b3c897d [2023-10-18T04:15:51.494Z] Removing intermediate container 15e56b3c897d [2023-10-18T04:15:51.494Z] ---> 4695ae131a56 [2023-10-18T04:15:51.494Z] Step 9/23 : COPY . . [2023-10-18T04:15:52.914Z] ---> 7b5e541809da [2023-10-18T04:15:52.914Z] Step 10/23 : RUN ${MAKE} [2023-10-18T04:15:52.914Z] ---> Running in 1acc114e66ce [2023-10-18T04:15:53.889Z] 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-18T04:17:45.547Z] Removing intermediate container 1acc114e66ce [2023-10-18T04:17:45.547Z] ---> 2c92d2cd2d66 [2023-10-18T04:17:45.547Z] Step 11/23 : FROM alpine:3.18 [2023-10-18T04:17:45.547Z] 3.18: Pulling from library/alpine [2023-10-18T04:17:45.547Z] 579b34f0a95b: Pulling fs layer [2023-10-18T04:17:45.547Z] 579b34f0a95b: Verifying Checksum [2023-10-18T04:17:45.547Z] 579b34f0a95b: Download complete [2023-10-18T04:17:45.547Z] 579b34f0a95b: Pull complete [2023-10-18T04:17:45.547Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-18T04:17:45.547Z] Status: Downloaded newer image for alpine:3.18 [2023-10-18T04:17:45.547Z] ---> 3cc203321400 [2023-10-18T04:17:45.547Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-10-18T04:17:45.547Z] ---> Running in 44b6e13be64c [2023-10-18T04:17:45.547Z] Removing intermediate container 44b6e13be64c [2023-10-18T04:17:45.547Z] ---> b00e14565a7b [2023-10-18T04:17:45.547Z] Step 13/23 : RUN apk add --update --no-cache [2023-10-18T04:17:45.547Z] ---> Running in 64a0ca741a71 [2023-10-18T04:17:45.547Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-18T04:17:45.547Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-18T04:17:45.547Z] OK: 8 MiB in 15 packages [2023-10-18T04:17:45.547Z] Removing intermediate container 64a0ca741a71 [2023-10-18T04:17:45.547Z] ---> c42005d29a52 [2023-10-18T04:17:45.547Z] Step 14/23 : WORKDIR / [2023-10-18T04:17:45.547Z] ---> Running in 4fd1994b832a [2023-10-18T04:17:45.547Z] Removing intermediate container 4fd1994b832a [2023-10-18T04:17:45.547Z] ---> 84a46d75d0c3 [2023-10-18T04:17:45.547Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-10-18T04:17:45.547Z] ---> 9380580ccee8 [2023-10-18T04:17:45.547Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-10-18T04:17:47.503Z] ---> c031d5774d3e [2023-10-18T04:17:47.503Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-10-18T04:17:48.090Z] ---> acc6fa529502 [2023-10-18T04:17:48.090Z] Step 18/23 : EXPOSE 59999 [2023-10-18T04:17:48.090Z] ---> Running in d2303b436ea0 [2023-10-18T04:17:48.358Z] Removing intermediate container d2303b436ea0 [2023-10-18T04:17:48.358Z] ---> 6283bed350f4 [2023-10-18T04:17:48.358Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-10-18T04:17:48.636Z] ---> Running in 53ef33b7e886 [2023-10-18T04:17:48.901Z] Removing intermediate container 53ef33b7e886 [2023-10-18T04:17:48.901Z] ---> 7c2cc642d37d [2023-10-18T04:17:48.901Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-10-18T04:17:48.901Z] ---> Running in e4232b287473 [2023-10-18T04:17:49.169Z] Removing intermediate container e4232b287473 [2023-10-18T04:17:49.169Z] ---> 91c94caae0b8 [2023-10-18T04:17:49.169Z] Step 21/23 : LABEL arch=arm64 [2023-10-18T04:17:49.169Z] ---> Running in 1b49a9ab00e3 [2023-10-18T04:17:49.438Z] Removing intermediate container 1b49a9ab00e3 [2023-10-18T04:17:49.438Z] ---> afc15608ad17 [2023-10-18T04:17:49.438Z] Step 22/23 : LABEL git_sha=3ad9b1a776b5d3d82caffa278ac54904303183e3 [2023-10-18T04:17:49.705Z] ---> Running in c1967f58004e [2023-10-18T04:17:49.972Z] Removing intermediate container c1967f58004e [2023-10-18T04:17:49.972Z] ---> c1a8bd8fda4f [2023-10-18T04:17:49.972Z] Step 23/23 : LABEL version=0.0.0 [2023-10-18T04:17:49.972Z] ---> Running in d7e424c08cd9 [2023-10-18T04:17:50.239Z] Removing intermediate container d7e424c08cd9 [2023-10-18T04:17:50.239Z] ---> 8278edf76905 [2023-10-18T04:17:50.239Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-18T04:17:50.239Z] Successfully built 8278edf76905 [2023-10-18T04:17:50.239Z] 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-18T04:17:51.065Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-18T04:17:51.065Z] [2023-10-18T04:17:51.065Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T04:17:51.460Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-18T04:17:51.460Z] arm64: Pulling from edgex-lftools-log-publisher [2023-10-18T04:17:51.460Z] 8998bd30e6a1: Pulling fs layer [2023-10-18T04:17:51.460Z] 04944245beec: Pulling fs layer [2023-10-18T04:17:51.460Z] 699f458cf7ca: Pulling fs layer [2023-10-18T04:17:51.460Z] 765212b225bb: Pulling fs layer [2023-10-18T04:17:51.460Z] f23df028b6ca: Pulling fs layer [2023-10-18T04:17:51.460Z] d65c8cfc05b1: Pulling fs layer [2023-10-18T04:17:51.460Z] 2437ff75d9bd: Pulling fs layer [2023-10-18T04:17:51.460Z] 765212b225bb: Waiting [2023-10-18T04:17:51.460Z] f23df028b6ca: Waiting [2023-10-18T04:17:51.460Z] d65c8cfc05b1: Waiting [2023-10-18T04:17:51.460Z] 2437ff75d9bd: Waiting [2023-10-18T04:17:51.728Z] 04944245beec: Verifying Checksum [2023-10-18T04:17:51.728Z] 04944245beec: Download complete [2023-10-18T04:17:51.728Z] 765212b225bb: Verifying Checksum [2023-10-18T04:17:51.728Z] 765212b225bb: Download complete [2023-10-18T04:17:51.728Z] f23df028b6ca: Verifying Checksum [2023-10-18T04:17:51.728Z] f23df028b6ca: Download complete [2023-10-18T04:17:51.728Z] d65c8cfc05b1: Verifying Checksum [2023-10-18T04:17:51.728Z] d65c8cfc05b1: Download complete [2023-10-18T04:17:51.995Z] 699f458cf7ca: Verifying Checksum [2023-10-18T04:17:51.995Z] 699f458cf7ca: Download complete [2023-10-18T04:17:52.260Z] 8998bd30e6a1: Download complete [2023-10-18T04:17:54.833Z] 2437ff75d9bd: Download complete [2023-10-18T04:17:56.771Z] 8998bd30e6a1: Pull complete [2023-10-18T04:17:57.036Z] 04944245beec: Pull complete [2023-10-18T04:17:58.975Z] 699f458cf7ca: Pull complete [2023-10-18T04:17:58.975Z] 765212b225bb: Pull complete [2023-10-18T04:17:59.933Z] f23df028b6ca: Pull complete [2023-10-18T04:18:00.516Z] d65c8cfc05b1: Pull complete [2023-10-18T04:18:18.734Z] 2437ff75d9bd: Pull complete [2023-10-18T04:18:18.734Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-10-18T04:18:18.734Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-18T04:18:18.734Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-18T04:18:19.200Z] prd-ubuntu20.04-docker-arm64-4c-16g-9482 does not seem to be running inside a container [2023-10-18T04:18:19.284Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-10-18T04:18:21.969Z] $ docker top 0546a4cc9e91d4c3ac9fef27cc6d988a21091f23efa194b12c085a9bd4cd45cf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-18T04:18:22.932Z] ---> job-cost.sh [2023-10-18T04:18:22.932Z] lf-activate-venv: SKIPPING [2023-10-18T04:18:22.932Z] INFO: No Stack... [2023-10-18T04:18:23.201Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-10-18T04:18:24.176Z] INFO: Archiving Costs [Pipeline] sh [2023-10-18T04:18:24.845Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2023-10-18T04:18:24.845Z] + cut -d, -f6 [Pipeline] lock [2023-10-18T04:18:24.927Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1526-1-stack-cost] [2023-10-18T04:18:24.932Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1526-1-stack-cost] did not exist. Created. [2023-10-18T04:18:24.932Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1526-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-18T04:18:25.671Z] /w/workspace/device-sdk-go/1@tmp/durable-fc870d81/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-10-18T04:18:26.348Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-10-18T04:18:26.383Z] Warning: overwriting stash ‘stack-cost’ [2023-10-18T04:18:26.490Z] Stashed 1 file(s) [Pipeline] } [2023-10-18T04:18:26.505Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1526-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-18T04:18:26.593Z] $ docker stop --time=1 0546a4cc9e91d4c3ac9fef27cc6d988a21091f23efa194b12c085a9bd4cd45cf [2023-10-18T04:18:29.095Z] $ docker rm -f --volumes 0546a4cc9e91d4c3ac9fef27cc6d988a21091f23efa194b12c085a9bd4cd45cf [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-18T04:18:30.138Z] provisioning config files... [2023-10-18T04:18:30.144Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1526@tmp/config11063551079996573641tmp [Pipeline] { [Pipeline] sh [2023-10-18T04:18:30.487Z] + set +x [2023-10-18T04:18:30.487Z] + curl -s https://codecov.io/bash [2023-10-18T04:18:30.487Z] + bash -s -- [2023-10-18T04:18:30.487Z] [2023-10-18T04:18:30.487Z] _____ _ [2023-10-18T04:18:30.487Z] / ____| | | [2023-10-18T04:18:30.487Z] | | ___ __| | ___ ___ _____ __ [2023-10-18T04:18:30.487Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-10-18T04:18:30.487Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-10-18T04:18:30.487Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-10-18T04:18:30.487Z] Bash-1.0.6 [2023-10-18T04:18:30.487Z] [2023-10-18T04:18:30.487Z] [2023-10-18T04:18:30.487Z] ==> git version 2.25.1 found [2023-10-18T04:18:30.487Z] ==> 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-18T04:18:30.487Z] Release-Date: 2020-01-08 [2023-10-18T04:18:30.487Z] 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-18T04:18:30.487Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-10-18T04:18:30.487Z] ==> Jenkins CI detected. [2023-10-18T04:18:30.487Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1526 [2023-10-18T04:18:30.487Z] project root: . [2023-10-18T04:18:30.487Z] --> token set from env [2023-10-18T04:18:30.487Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-10-18T04:18:30.487Z] ==> Running gcov in . (disable via -X gcov) [2023-10-18T04:18:30.745Z] ==> Python coveragepy not found [2023-10-18T04:18:30.745Z] ==> Searching for coverage reports in: [2023-10-18T04:18:30.745Z] + . [2023-10-18T04:18:30.745Z] -> Found 1 reports [2023-10-18T04:18:30.745Z] ==> Detecting git/mercurial file structure [2023-10-18T04:18:30.745Z] ==> Reading reports [2023-10-18T04:18:30.745Z] + ./coverage.out bytes=122155 [2023-10-18T04:18:30.745Z] ==> Appending adjustments [2023-10-18T04:18:30.745Z] https://docs.codecov.io/docs/fixing-reports [2023-10-18T04:18:31.004Z] + Found adjustments [2023-10-18T04:18:31.005Z] ==> Gzipping contents [2023-10-18T04:18:31.005Z] 20K /tmp/codecov.lML6DJ.gz [2023-10-18T04:18:31.005Z] ==> Uploading reports [2023-10-18T04:18:31.005Z] url: https://codecov.io [2023-10-18T04:18:31.005Z] query: branch=PR-1526&commit=3ad9b1a776b5d3d82caffa278ac54904303183e3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1526%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1526&job=&cmd_args= [2023-10-18T04:18:31.005Z] -> Pinging Codecov [2023-10-18T04:18:31.005Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1526&commit=3ad9b1a776b5d3d82caffa278ac54904303183e3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1526%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1526&job=&cmd_args= [2023-10-18T04:18:31.005Z] -> Uploading to [2023-10-18T04:18:31.005Z] https://storage.googleapis.com/codecov/v4/raw/2023-10-18/7E55EF52A471D76F132DFD9A03CDDE97/3ad9b1a776b5d3d82caffa278ac54904303183e3/d270ab6f-19d0-417a-bed1-35860884593a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231018%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231018T041830Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8fcf3eaf8403ebb8b09655b07a910916014f33171c067fbacb6bdddd3181f8aa [2023-10-18T04:18:31.005Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-18T04:18:31.005Z] Dload Upload Total Spent Left Speed [2023-10-18T04:18:31.573Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16753 0 0 100 16753 0 49273 --:--:-- --:--:-- --:--:-- 49273 [2023-10-18T04:18:31.573Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/3ad9b1a776b5d3d82caffa278ac54904303183e3 [Pipeline] } [2023-10-18T04:18:31.599Z] 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-18T04:18:33.428Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1526/archives ] [2023-10-18T04:18:33.428Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1526/archives [2023-10-18T04:18:33.428Z] total 16 [2023-10-18T04:18:33.428Z] drwxr-xr-x 3 root root 4096 Oct 18 04:09 . [2023-10-18T04:18:33.428Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 18 04:09 .. [2023-10-18T04:18:33.428Z] drwxr-xr-x 2 root root 4096 Oct 18 04:09 cost [2023-10-18T04:18:33.428Z] -rw-r--r-- 1 root root 86 Oct 18 04:09 cost.csv [2023-10-18T04:18:33.428Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1526/archives [2023-10-18T04:18:33.428Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1526/archives [2023-10-18T04:18:33.428Z] total 16 [2023-10-18T04:18:33.428Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 18 04:09 . [2023-10-18T04:18:33.428Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 18 04:09 .. [2023-10-18T04:18:33.428Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 18 04:09 cost [2023-10-18T04:18:33.428Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 18 04:09 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-10-18T04:18:33.762Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-18T04:18:34.651Z] ---> package-listing.sh [2023-10-18T04:18:34.651Z] ++ facter osfamily [2023-10-18T04:18:34.651Z] ++ tr '[:upper:]' '[:lower:]' [2023-10-18T04:18:34.651Z] + OS_FAMILY=debian [2023-10-18T04:18:34.651Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1526 [2023-10-18T04:18:34.651Z] + START_PACKAGES=/tmp/packages_start.txt [2023-10-18T04:18:34.651Z] + END_PACKAGES=/tmp/packages_end.txt [2023-10-18T04:18:34.651Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-10-18T04:18:34.651Z] + PACKAGES=/tmp/packages_start.txt [2023-10-18T04:18:34.651Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1526 ']' [2023-10-18T04:18:34.651Z] + PACKAGES=/tmp/packages_end.txt [2023-10-18T04:18:34.651Z] + case "${OS_FAMILY}" in [2023-10-18T04:18:34.651Z] + dpkg -l [2023-10-18T04:18:34.651Z] + grep '^ii' [2023-10-18T04:18:34.910Z] + '[' -f /tmp/packages_start.txt ']' [2023-10-18T04:18:34.910Z] + '[' -f /tmp/packages_end.txt ']' [2023-10-18T04:18:34.910Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-10-18T04:18:34.910Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1526 ']' [2023-10-18T04:18:34.910Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1526/archives/ [2023-10-18T04:18:34.910Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1526/archives/ [Pipeline] echo [2023-10-18T04:18:34.947Z] 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-1526/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-10-18T04:18:35.242Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T04:18:35.862Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-18T04:18:35.862Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-18T04:18:36.006Z] prd-ubuntu20.04-docker-8c-8g-9481 does not seem to be running inside a container [2023-10-18T04:18:36.033Z] $ 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-1526/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-1526 -v /w/workspace/gexfoundry_device-sdk-go_PR-1526:/w/workspace/gexfoundry_device-sdk-go_PR-1526:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1526@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1526@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-18T04:18:36.282Z] $ docker top 3169ba7bf1d55935af66a2ec7435f36247c292f80ccebccd7adeb584272a21e5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-18T04:18:36.670Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-10-18T04:18:36.978Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-10-18T04:18:37.286Z] + ls /var/log/sa-host [2023-10-18T04:18:37.286Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-18T04:18:37.516Z] provisioning config files... [2023-10-18T04:18:37.525Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1526@tmp/config15419606608282034952tmp [Pipeline] { [Pipeline] echo [2023-10-18T04:18:37.593Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-18T04:18:37.904Z] ---> create-netrc.sh [Pipeline] } [2023-10-18T04:18:37.929Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-10-18T04:18:38.336Z] ---> python-tools-install.sh [Pipeline] echo [2023-10-18T04:18:38.368Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-18T04:18:38.673Z] ---> sudo-logs.sh [2023-10-18T04:18:38.673Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-10-18T04:18:38.760Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-18T04:18:39.070Z] ---> job-cost.sh [2023-10-18T04:18:39.070Z] lf-activate-venv: SKIPPING [2023-10-18T04:18:39.070Z] DEBUG: total: 0.2199999988079071 [2023-10-18T04:18:39.070Z] INFO: Retrieving Stack Cost... [2023-10-18T04:18:39.637Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-18T04:18:39.895Z] INFO: Archiving Costs [Pipeline] echo [2023-10-18T04:18:39.933Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-18T04:18:40.259Z] ---> logs-deploy.sh [2023-10-18T04:18:40.259Z] lf-activate-venv: SKIPPING [2023-10-18T04:18:40.259Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1526/1 [2023-10-18T04:18:40.259Z] INFO: archiving workspace using pattern(s): [2023-10-18T04:18:41.200Z] Archives upload complete. [2023-10-18T04:18:41.200Z] INFO: archiving logs to Nexus