Pull request #1523 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 14275a07e8748c3c348999daa327bc8f09aedc6e+8a4e603c9daa9d98ee8f2e5896cc64fc9a451017 (cd7b49f33ef1c41d89da438b1c944332b81e28ee) 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-ssh2251547836372093469.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-ssh284768329891510463.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-1523/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-1523/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3270088533436052544.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-1523/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4983147435524465333.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-ssh9087644504668104734.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-1523/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-1523/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9150542679987543310.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 ‘prd-ubuntu20.04-docker-8c-8g-8879’ is offline Running on prd-ubuntu20.04-docker-8c-8g-8885 in /w/workspace/gexfoundry_device-sdk-go_PR-1523 [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-1523 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1523/head:refs/remotes/origin/PR-1523 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 8a4e603c9daa9d98ee8f2e5896cc64fc9a451017 into PR head commit 14275a07e8748c3c348999daa327bc8f09aedc6e Merge succeeded, producing 14275a07e8748c3c348999daa327bc8f09aedc6e Checking out Revision 14275a07e8748c3c348999daa327bc8f09aedc6e (PR-1523) Commit message: "build(deps): bump golang.org/x/net from 0.13.0 to 0.17.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage > git config core.sparsecheckout # timeout=10 > git checkout -f 14275a07e8748c3c348999daa327bc8f09aedc6e # 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 8a4e603c9daa9d98ee8f2e5896cc64fc9a451017 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 14275a07e8748c3c348999daa327bc8f09aedc6e # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-10-11T23:05:42.613Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-10-11T23:05:42.825Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-10-11T23:05:42.945Z] ========================================================= [2023-10-11T23:05:42.945Z] EdgeX Global Pipelines Version Info [2023-10-11T23:05:42.945Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-10-11T23:05:43.696Z] ------------------- [2023-10-11T23:05:43.696Z] stable info: [2023-10-11T23:05:43.696Z] ------------------- [2023-10-11T23:05:43.696Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-10-11T23:05:43.696Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-11T23:05:43.696Z] Message: update stable to v1.0.254 [2023-10-11T23:05:44.326Z] ------------------- [2023-10-11T23:05:44.326Z] experimental info: [2023-10-11T23:05:44.326Z] ------------------- [2023-10-11T23:05:44.326Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-10-11T23:05:44.326Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-11T23:05:44.326Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-10-11T23:05:44.616Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-10-11T23:05:44.663Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-10-11T23:05:44.710Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-10-11T23:05:44.753Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-10-11T23:05:44.795Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-10-11T23:05:44.835Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-10-11T23:05:44.878Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-10-11T23:05:44.919Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-10-11T23:05:44.958Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-10-11T23:05:44.997Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-10-11T23:05:45.040Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-10-11T23:05:45.084Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-10-11T23:05:45.127Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-10-11T23:05:45.167Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-10-11T23:05:45.213Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-10-11T23:05:45.260Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-10-11T23:05:45.305Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-10-11T23:05:45.346Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-10-11T23:05:45.397Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-10-11T23:05:45.437Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-10-11T23:05:45.477Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-10-11T23:05:45.521Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-10-11T23:05:45.569Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-10-11T23:05:45.610Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-10-11T23:05:45.661Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-10-11T23:05:45.706Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-10-11T23:05:45.746Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-10-11T23:05:45.794Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1523 [Pipeline] echo [2023-10-11T23:05:45.845Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1523 [Pipeline] echo [2023-10-11T23:05:45.887Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1523 [Pipeline] echo [2023-10-11T23:05:45.931Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 14275a07e8748c3c348999daa327bc8f09aedc6e [Pipeline] echo [2023-10-11T23:05:45.978Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 14275a0 [Pipeline] echo [2023-10-11T23:05:46.023Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-11T23:05:46.145Z] provisioning config files... [2023-10-11T23:05:46.215Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1523@tmp/config1812556716246794175tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-11T23:05:46.589Z] ---> docker-login.sh [2023-10-11T23:05:46.589Z] nexus3.edgexfoundry.org:10001 [2023-10-11T23:05:46.851Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-11T23:05:46.851Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-11T23:05:46.851Z] Configure a credential helper to remove this warning. See [2023-10-11T23:05:46.851Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-11T23:05:46.851Z] [2023-10-11T23:05:46.851Z] Login Succeeded [2023-10-11T23:05:46.851Z] nexus3.edgexfoundry.org:10002 [2023-10-11T23:05:46.851Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-11T23:05:46.851Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-11T23:05:46.851Z] Configure a credential helper to remove this warning. See [2023-10-11T23:05:46.851Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-11T23:05:46.851Z] [2023-10-11T23:05:46.851Z] Login Succeeded [2023-10-11T23:05:46.851Z] nexus3.edgexfoundry.org:10003 [2023-10-11T23:05:47.112Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-11T23:05:47.112Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-11T23:05:47.112Z] Configure a credential helper to remove this warning. See [2023-10-11T23:05:47.112Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-11T23:05:47.112Z] [2023-10-11T23:05:47.112Z] Login Succeeded [2023-10-11T23:05:47.112Z] nexus3.edgexfoundry.org:10004 [2023-10-11T23:05:47.112Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-11T23:05:47.112Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-11T23:05:47.112Z] Configure a credential helper to remove this warning. See [2023-10-11T23:05:47.112Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-11T23:05:47.112Z] [2023-10-11T23:05:47.112Z] Login Succeeded [2023-10-11T23:05:47.112Z] docker.io [2023-10-11T23:05:47.374Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-11T23:05:47.634Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-11T23:05:47.634Z] Configure a credential helper to remove this warning. See [2023-10-11T23:05:47.634Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-11T23:05:47.634Z] [2023-10-11T23:05:47.634Z] Login Succeeded [2023-10-11T23:05:47.634Z] ---> docker-login.sh ends [Pipeline] } [2023-10-11T23:05:47.660Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-10-11T23:05:48.303Z] + git rev-list -1 --merges 14275a07e8748c3c348999daa327bc8f09aedc6e~1..14275a07e8748c3c348999daa327bc8f09aedc6e [Pipeline] echo [2023-10-11T23:05:48.373Z] -----------> git rev-list -1 --merges 14275a07e8748c3c348999daa327bc8f09aedc6e~1..14275a07e8748c3c348999daa327bc8f09aedc6e 14275a07e8748c3c348999daa327bc8f09aedc6e [false] [Pipeline] sh [2023-10-11T23:05:48.694Z] + git log --format=format:%s -1 14275a07e8748c3c348999daa327bc8f09aedc6e [Pipeline] echo [2023-10-11T23:05:48.732Z] ========================================================= [2023-10-11T23:05:48.732Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-11T23:05:48.732Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-11T23:05:49.171Z] + git log --format=format:%s -1 14275a07e8748c3c348999daa327bc8f09aedc6e [Pipeline] echo [2023-10-11T23:05:49.202Z] [semverPrep] GIT_COMMIT: 14275a07e8748c3c348999daa327bc8f09aedc6e, Commit Message: build(deps): bump golang.org/x/net from 0.13.0 to 0.17.0 [Pipeline] echo [2023-10-11T23:05:49.229Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-10-11T23:05:49.614Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-11T23:05:49.614Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-10-11T23:05:49.614Z] + [ -e /tmp/ssh_known_hosts ] [2023-10-11T23:05:49.614Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-10-11T23:05:49.614Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-10-11T23:05:49.614Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-10-11T23:05:49.614Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-11T23:05:50.047Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-11T23:05:50.047Z] [2023-10-11T23:05:50.047Z] 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-11T23:05:50.425Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-11T23:05:50.425Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-10-11T23:05:50.425Z] b85a868b505f: Pulling fs layer [2023-10-11T23:05:50.425Z] e2be974225ed: Pulling fs layer [2023-10-11T23:05:50.425Z] 339a4e72a1f5: Pulling fs layer [2023-10-11T23:05:50.425Z] 988bab9f4d93: Pulling fs layer [2023-10-11T23:05:50.425Z] 1469e6f7b9e6: Pulling fs layer [2023-10-11T23:05:50.425Z] eaf3925da568: Pulling fs layer [2023-10-11T23:05:50.425Z] bab4dde63d76: Pulling fs layer [2023-10-11T23:05:50.425Z] bde34c3a00c8: Pulling fs layer [2023-10-11T23:05:50.425Z] b352a97aabf1: Pulling fs layer [2023-10-11T23:05:50.425Z] 4872d77fe225: Pulling fs layer [2023-10-11T23:05:50.425Z] 5851b861e8e6: Pulling fs layer [2023-10-11T23:05:50.425Z] 1469e6f7b9e6: Waiting [2023-10-11T23:05:50.425Z] eaf3925da568: Waiting [2023-10-11T23:05:50.425Z] bab4dde63d76: Waiting [2023-10-11T23:05:50.425Z] 988bab9f4d93: Waiting [2023-10-11T23:05:50.425Z] b352a97aabf1: Waiting [2023-10-11T23:05:50.425Z] 5851b861e8e6: Waiting [2023-10-11T23:05:50.425Z] 4872d77fe225: Waiting [2023-10-11T23:05:50.425Z] e2be974225ed: Verifying Checksum [2023-10-11T23:05:50.425Z] e2be974225ed: Download complete [2023-10-11T23:05:50.425Z] 988bab9f4d93: Verifying Checksum [2023-10-11T23:05:50.425Z] 988bab9f4d93: Download complete [2023-10-11T23:05:50.686Z] 1469e6f7b9e6: Verifying Checksum [2023-10-11T23:05:50.686Z] 1469e6f7b9e6: Download complete [2023-10-11T23:05:50.686Z] eaf3925da568: Download complete [2023-10-11T23:05:50.686Z] 339a4e72a1f5: Verifying Checksum [2023-10-11T23:05:50.686Z] 339a4e72a1f5: Download complete [2023-10-11T23:05:50.686Z] bde34c3a00c8: Verifying Checksum [2023-10-11T23:05:50.686Z] bde34c3a00c8: Download complete [2023-10-11T23:05:50.686Z] b352a97aabf1: Verifying Checksum [2023-10-11T23:05:50.686Z] b352a97aabf1: Download complete [2023-10-11T23:05:50.686Z] 4872d77fe225: Verifying Checksum [2023-10-11T23:05:50.686Z] 4872d77fe225: Download complete [2023-10-11T23:05:50.686Z] 5851b861e8e6: Verifying Checksum [2023-10-11T23:05:50.686Z] 5851b861e8e6: Download complete [2023-10-11T23:05:50.686Z] b85a868b505f: Verifying Checksum [2023-10-11T23:05:50.686Z] b85a868b505f: Download complete [2023-10-11T23:05:51.252Z] bab4dde63d76: Verifying Checksum [2023-10-11T23:05:51.252Z] bab4dde63d76: Download complete [2023-10-11T23:05:52.185Z] b85a868b505f: Pull complete [2023-10-11T23:05:52.185Z] e2be974225ed: Pull complete [2023-10-11T23:05:52.752Z] 339a4e72a1f5: Pull complete [2023-10-11T23:05:52.752Z] 988bab9f4d93: Pull complete [2023-10-11T23:05:53.010Z] 1469e6f7b9e6: Pull complete [2023-10-11T23:05:53.269Z] eaf3925da568: Pull complete [2023-10-11T23:05:55.410Z] bab4dde63d76: Pull complete [2023-10-11T23:05:55.410Z] bde34c3a00c8: Pull complete [2023-10-11T23:05:55.410Z] b352a97aabf1: Pull complete [2023-10-11T23:05:55.676Z] 4872d77fe225: Pull complete [2023-10-11T23:05:55.676Z] 5851b861e8e6: Pull complete [2023-10-11T23:05:55.676Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-10-11T23:05:55.676Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-11T23:05:55.676Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-11T23:05:55.925Z] prd-ubuntu20.04-docker-8c-8g-8885 does not seem to be running inside a container [2023-10-11T23:05:55.957Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1523 -v /w/workspace/gexfoundry_device-sdk-go_PR-1523:/w/workspace/gexfoundry_device-sdk-go_PR-1523:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1523@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1523@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-11T23:05:58.869Z] $ docker top 2b04a35c2a65dc966c0dc23388c7e1dd325b9bd428e4291be8123ff16b1f33be -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-11T23:05:59.041Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-11T23:05:59.041Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-11T23:05:59.160Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-11T23:05:59.165Z] $ docker exec 2b04a35c2a65dc966c0dc23388c7e1dd325b9bd428e4291be8123ff16b1f33be ssh-agent [2023-10-11T23:05:59.271Z] SSH_AUTH_SOCK=/tmp/ssh-n8SNQufKOx0a/agent.32 [2023-10-11T23:05:59.271Z] SSH_AGENT_PID=38 [2023-10-11T23:05:59.278Z] Running ssh-add (command line suppressed) [2023-10-11T23:05:59.379Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1523@tmp/private_key_5713385836055069436.key (/w/workspace/gexfoundry_device-sdk-go_PR-1523@tmp/private_key_5713385836055069436.key) [2023-10-11T23:05:59.394Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-11T23:05:59.721Z] + git tag --points-at HEAD [Pipeline] } [2023-10-11T23:05:59.753Z] $ docker exec --env ******** --env ******** 2b04a35c2a65dc966c0dc23388c7e1dd325b9bd428e4291be8123ff16b1f33be ssh-agent -k [2023-10-11T23:05:59.865Z] unset SSH_AUTH_SOCK; [2023-10-11T23:05:59.865Z] unset SSH_AGENT_PID; [2023-10-11T23:05:59.866Z] echo Agent pid 38 killed; [2023-10-11T23:05:59.872Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-10-11T23:05:59.959Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-11T23:05:59.959Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-11T23:06:00.074Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-11T23:06:00.079Z] $ docker exec 2b04a35c2a65dc966c0dc23388c7e1dd325b9bd428e4291be8123ff16b1f33be ssh-agent [2023-10-11T23:06:00.203Z] SSH_AUTH_SOCK=/tmp/ssh-VtNcg3pu5IpQ/agent.70 [2023-10-11T23:06:00.203Z] SSH_AGENT_PID=76 [2023-10-11T23:06:00.207Z] Running ssh-add (command line suppressed) [2023-10-11T23:06:00.320Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1523@tmp/private_key_6147874656029583731.key (/w/workspace/gexfoundry_device-sdk-go_PR-1523@tmp/private_key_6147874656029583731.key) [2023-10-11T23:06:00.332Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-11T23:06:00.669Z] + git semver init [2023-10-11T23:06:00.931Z] 2023-10-11 23:06:00,874 [run_init] DEBUG init version:0.0.0 force:False [2023-10-11T23:06:00.931Z] 2023-10-11 23:06:00,876 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1523/.semver [2023-10-11T23:06:00.931Z] 2023-10-11 23:06:00,876 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1523/.semver [2023-10-11T23:06:00.931Z] 2023-10-11 23:06:00,877 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1523/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1523, universal_newlines=False, shell=None, istream=None) [2023-10-11T23:06:02.314Z] 2023-10-11 23:06:01,921 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1523/.git/info/exclude [2023-10-11T23:06:02.314Z] 2023-10-11 23:06:01,921 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1523/.semver/PR-1523 with force:False [2023-10-11T23:06:02.314Z] 2023-10-11 23:06:01,921 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1523/.semver/PR-1523 [2023-10-11T23:06:02.314Z] 2023-10-11 23:06:01,926 [execute] INFO git cat-file --batch-check [2023-10-11T23:06:02.314Z] 2023-10-11 23:06:01,927 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1523/.semver, universal_newlines=False, shell=None, istream=) [2023-10-11T23:06:02.314Z] 2023-10-11 23:06:01,933 [execute] INFO git cat-file --batch [2023-10-11T23:06:02.314Z] 2023-10-11 23:06:01,933 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1523/.semver, universal_newlines=False, shell=None, istream=) [2023-10-11T23:06:02.315Z] 2023-10-11 23:06:01,938 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1523/.semver/PR-1523 [2023-10-11T23:06:02.315Z] 0.0.0 [Pipeline] } [2023-10-11T23:06:02.452Z] $ docker exec --env ******** --env ******** 2b04a35c2a65dc966c0dc23388c7e1dd325b9bd428e4291be8123ff16b1f33be ssh-agent -k [2023-10-11T23:06:02.551Z] unset SSH_AUTH_SOCK; [2023-10-11T23:06:02.551Z] unset SSH_AGENT_PID; [2023-10-11T23:06:02.551Z] echo Agent pid 76 killed; [2023-10-11T23:06:02.558Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-11T23:06:02.976Z] + git semver [Pipeline] } [2023-10-11T23:06:03.259Z] $ docker stop --time=1 2b04a35c2a65dc966c0dc23388c7e1dd325b9bd428e4291be8123ff16b1f33be [2023-10-11T23:06:04.587Z] $ docker rm -f --volumes 2b04a35c2a65dc966c0dc23388c7e1dd325b9bd428e4291be8123ff16b1f33be [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-11T23:06:04.982Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-10-11T23:06:05.251Z] Stashed 1 file(s) [Pipeline] echo [2023-10-11T23:06:05.267Z] [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-11T23:06:05.873Z] provisioning config files... [2023-10-11T23:06:05.882Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1523@tmp/config3082635429243207198tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-11T23:06:06.231Z] ---> docker-login.sh [2023-10-11T23:06:06.231Z] nexus3.edgexfoundry.org:10001 [2023-10-11T23:06:06.231Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-11T23:06:06.231Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-11T23:06:06.231Z] Configure a credential helper to remove this warning. See [2023-10-11T23:06:06.231Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-11T23:06:06.231Z] [2023-10-11T23:06:06.231Z] Login Succeeded [2023-10-11T23:06:06.231Z] nexus3.edgexfoundry.org:10002 [2023-10-11T23:06:06.231Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-11T23:06:06.231Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-11T23:06:06.231Z] Configure a credential helper to remove this warning. See [2023-10-11T23:06:06.231Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-11T23:06:06.231Z] [2023-10-11T23:06:06.231Z] Login Succeeded [2023-10-11T23:06:06.231Z] nexus3.edgexfoundry.org:10003 [2023-10-11T23:06:06.489Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-11T23:06:06.489Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-11T23:06:06.489Z] Configure a credential helper to remove this warning. See [2023-10-11T23:06:06.489Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-11T23:06:06.489Z] [2023-10-11T23:06:06.489Z] Login Succeeded [2023-10-11T23:06:06.489Z] nexus3.edgexfoundry.org:10004 [2023-10-11T23:06:06.489Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-11T23:06:06.489Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-11T23:06:06.489Z] Configure a credential helper to remove this warning. See [2023-10-11T23:06:06.489Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-11T23:06:06.489Z] [2023-10-11T23:06:06.489Z] Login Succeeded [2023-10-11T23:06:06.489Z] docker.io [2023-10-11T23:06:06.748Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-11T23:06:07.007Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-11T23:06:07.007Z] Configure a credential helper to remove this warning. See [2023-10-11T23:06:07.007Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-11T23:06:07.007Z] [2023-10-11T23:06:07.007Z] Login Succeeded [2023-10-11T23:06:07.007Z] ---> docker-login.sh ends [Pipeline] } [2023-10-11T23:06:07.034Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-11T23:06:07.227Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-11T23:06:07.261Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-11T23:06:07.294Z] ========================================================= [2023-10-11T23:06:07.295Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-10-11T23:06:07.295Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-11T23:06:07.771Z] + 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-11T23:06:07.771Z] Sending build context to Docker daemon 11.23MB [2023-10-11T23:06:07.771Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-10-11T23:06:07.771Z] Step 2/10 : FROM ${BASE} AS builder [2023-10-11T23:06:07.771Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-10-11T23:06:07.771Z] 7264a8db6415: Pulling fs layer [2023-10-11T23:06:07.771Z] c4d48a809fc2: Pulling fs layer [2023-10-11T23:06:07.771Z] 4f1c88b9dad5: Pulling fs layer [2023-10-11T23:06:07.771Z] ad3a456e5733: Pulling fs layer [2023-10-11T23:06:07.771Z] 33e27b845d1e: Pulling fs layer [2023-10-11T23:06:07.771Z] c68163c4e522: Pulling fs layer [2023-10-11T23:06:07.771Z] 50da416c3ac9: Pulling fs layer [2023-10-11T23:06:07.771Z] 23d2d4c4bb30: Pulling fs layer [2023-10-11T23:06:07.771Z] c68163c4e522: Waiting [2023-10-11T23:06:07.771Z] ad3a456e5733: Waiting [2023-10-11T23:06:07.771Z] 33e27b845d1e: Waiting [2023-10-11T23:06:07.771Z] 23d2d4c4bb30: Waiting [2023-10-11T23:06:07.771Z] c4d48a809fc2: Download complete [2023-10-11T23:06:08.030Z] ad3a456e5733: Download complete [2023-10-11T23:06:08.030Z] 33e27b845d1e: Verifying Checksum [2023-10-11T23:06:08.030Z] 33e27b845d1e: Download complete [2023-10-11T23:06:08.030Z] 7264a8db6415: Verifying Checksum [2023-10-11T23:06:08.030Z] 7264a8db6415: Download complete [2023-10-11T23:06:08.030Z] c68163c4e522: Verifying Checksum [2023-10-11T23:06:08.030Z] c68163c4e522: Download complete [2023-10-11T23:06:08.030Z] 7264a8db6415: Pull complete [2023-10-11T23:06:08.290Z] 23d2d4c4bb30: Verifying Checksum [2023-10-11T23:06:08.290Z] 23d2d4c4bb30: Download complete [2023-10-11T23:06:08.290Z] c4d48a809fc2: Pull complete [2023-10-11T23:06:08.290Z] 4f1c88b9dad5: Verifying Checksum [2023-10-11T23:06:08.290Z] 4f1c88b9dad5: Download complete [2023-10-11T23:06:08.855Z] 50da416c3ac9: Verifying Checksum [2023-10-11T23:06:08.855Z] 50da416c3ac9: Download complete [2023-10-11T23:06:12.139Z] 4f1c88b9dad5: Pull complete [2023-10-11T23:06:12.139Z] ad3a456e5733: Pull complete [2023-10-11T23:06:12.398Z] 33e27b845d1e: Pull complete [2023-10-11T23:06:12.658Z] c68163c4e522: Pull complete [2023-10-11T23:06:15.192Z] 50da416c3ac9: Pull complete [2023-10-11T23:06:15.455Z] 23d2d4c4bb30: Pull complete [2023-10-11T23:06:15.455Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-10-11T23:06:15.455Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-10-11T23:06:15.455Z] ---> 0786185ac409 [2023-10-11T23:06:15.455Z] Step 3/10 : ARG MAKE=make build [2023-10-11T23:06:20.688Z] Still waiting to schedule task [2023-10-11T23:06:20.688Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-8888’ [2023-10-11T23:06:20.720Z] ---> Running in f5981a209fe5 [2023-10-11T23:06:20.720Z] Removing intermediate container f5981a209fe5 [2023-10-11T23:06:20.720Z] ---> 62ed0968785c [2023-10-11T23:06:20.720Z] Step 4/10 : WORKDIR /device-sdk-go [2023-10-11T23:06:20.720Z] ---> Running in 4ba3c6a1dd21 [2023-10-11T23:06:20.720Z] Removing intermediate container 4ba3c6a1dd21 [2023-10-11T23:06:20.720Z] ---> a35e1dde9aa9 [2023-10-11T23:06:20.720Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-10-11T23:06:20.720Z] ---> Running in 4c6a1312c857 [2023-10-11T23:06:20.720Z] Removing intermediate container 4c6a1312c857 [2023-10-11T23:06:20.720Z] ---> 2a30402b375e [2023-10-11T23:06:20.720Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-10-11T23:06:20.720Z] ---> Running in 6b1fa092d29b [2023-10-11T23:06:20.720Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-11T23:06:20.720Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-11T23:06:20.720Z] OK: 264 MiB in 52 packages [2023-10-11T23:06:21.288Z] Removing intermediate container 6b1fa092d29b [2023-10-11T23:06:21.288Z] ---> 86b584cc5cb8 [2023-10-11T23:06:21.288Z] Step 7/10 : COPY go.mod vendor* ./ [2023-10-11T23:06:21.288Z] ---> 3095fb90a98f [2023-10-11T23:06:21.288Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-11T23:06:21.288Z] ---> Running in e0917f4cf1ff [2023-10-11T23:07:17.654Z] Removing intermediate container e0917f4cf1ff [2023-10-11T23:07:17.654Z] ---> 8e639e6150e4 [2023-10-11T23:07:17.654Z] Step 9/10 : COPY . . [2023-10-11T23:07:17.913Z] ---> daa0a7480da7 [2023-10-11T23:07:17.913Z] Step 10/10 : RUN ${MAKE} [2023-10-11T23:07:17.913Z] ---> Running in 256e6845da26 [2023-10-11T23:07:18.172Z] noop [2023-10-11T23:07:18.430Z] Removing intermediate container 256e6845da26 [2023-10-11T23:07:18.430Z] ---> 0e37924f9121 [2023-10-11T23:07:18.430Z] Successfully built 0e37924f9121 [2023-10-11T23:07:18.430Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-11T23:07:18.883Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-11T23:07:18.883Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-11T23:07:19.054Z] prd-ubuntu20.04-docker-8c-8g-8885 does not seem to be running inside a container [2023-10-11T23:07:19.082Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1523 -v /w/workspace/gexfoundry_device-sdk-go_PR-1523:/w/workspace/gexfoundry_device-sdk-go_PR-1523:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1523@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1523@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-11T23:07:19.433Z] $ docker top f917d1eb39ee393d68d8be7b81720780404b8747742f5b09831d51b546a615e5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-11T23:07:19.824Z] + go version [2023-10-11T23:07:19.824Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-10-11T23:07:19.863Z] $ docker stop --time=1 f917d1eb39ee393d68d8be7b81720780404b8747742f5b09831d51b546a615e5 [2023-10-11T23:07:21.114Z] $ docker rm -f --volumes f917d1eb39ee393d68d8be7b81720780404b8747742f5b09831d51b546a615e5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-11T23:07:21.851Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-11T23:07:21.851Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-11T23:07:21.996Z] prd-ubuntu20.04-docker-8c-8g-8885 does not seem to be running inside a container [2023-10-11T23:07:22.028Z] $ 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-1523 -v /w/workspace/gexfoundry_device-sdk-go_PR-1523:/w/workspace/gexfoundry_device-sdk-go_PR-1523:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1523@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1523@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-11T23:07:22.422Z] $ docker top 3c5169fac7257863862830c6b7d490bf4fd8cca8f9041c4b5e27ca8162561965 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-11T23:07:22.824Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1523 [Pipeline] fileExists [Pipeline] sh [2023-10-11T23:07:23.184Z] + make test [2023-10-11T23:07:23.185Z] go test -race -coverprofile=coverage.out ./... [2023-10-11T23:07:29.890Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-10-11T23:07:44.793Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-10-11T23:07:44.793Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-10-11T23:07:44.793Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-10-11T23:07:44.793Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-10-11T23:07:44.793Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-10-11T23:07:44.793Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-10-11T23:07:44.793Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-10-11T23:07:45.729Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.041s coverage: 27.6% of statements [2023-10-11T23:07:45.989Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.057s coverage: 81.5% of statements [2023-10-11T23:07:45.989Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.065s coverage: 86.0% of statements [2023-10-11T23:07:45.989Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-10-11T23:07:47.362Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.088s coverage: 71.8% of statements [2023-10-11T23:07:47.362Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-10-11T23:07:47.362Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-10-11T23:07:47.362Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-10-11T23:07:50.693Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.063s coverage: 14.4% of statements [2023-10-11T23:07:50.693Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.188s coverage: 45.9% of statements [2023-10-11T23:07:50.693Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.071s coverage: 68.5% of statements [2023-10-11T23:07:50.693Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.117s coverage: 89.2% of statements [2023-10-11T23:07:50.693Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.044s coverage: 5.5% of statements [2023-10-11T23:08:12.618Z] GO111MODULE=on go vet ./... [2023-10-11T23:08:14.559Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-11T23:08:14.559Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-11T23:08:14.559Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-11T23:08:14.597Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-11T23:08:14.631Z] $ docker stop --time=1 3c5169fac7257863862830c6b7d490bf4fd8cca8f9041c4b5e27ca8162561965 [2023-10-11T23:08:19.874Z] $ docker rm -f --volumes 3c5169fac7257863862830c6b7d490bf4fd8cca8f9041c4b5e27ca8162561965 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-11T23:08:20.480Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-11T23:08:20.575Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-10-11T23:08:21.184Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-11T23:08:21.572Z] + ls -al . [2023-10-11T23:08:21.572Z] total 304 [2023-10-11T23:08:21.572Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 11 23:07 . [2023-10-11T23:08:21.572Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 23:05 .. [2023-10-11T23:08:21.572Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 11 23:05 .dockerignore [2023-10-11T23:08:21.572Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 11 23:07 .git [2023-10-11T23:08:21.572Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 11 23:05 .github [2023-10-11T23:08:21.572Z] -rw-rw-r-- 1 jenkins jenkins 137 Oct 11 23:05 .gitignore [2023-10-11T23:08:21.572Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 11 23:05 .golangci.yml [2023-10-11T23:08:21.572Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 11 23:06 .semver [2023-10-11T23:08:21.572Z] -rw-rw-r-- 1 jenkins jenkins 44878 Oct 11 23:05 CHANGELOG.md [2023-10-11T23:08:21.572Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 11 23:05 GOVERNANCE.md [2023-10-11T23:08:21.572Z] -rw-rw-r-- 1 jenkins jenkins 885 Oct 11 23:05 Jenkinsfile [2023-10-11T23:08:21.572Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 11 23:05 LICENSE [2023-10-11T23:08:21.572Z] -rw-rw-r-- 1 jenkins jenkins 1842 Oct 11 23:05 Makefile [2023-10-11T23:08:21.572Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 11 23:05 OWNERS.md [2023-10-11T23:08:21.572Z] -rw-rw-r-- 1 jenkins jenkins 4933 Oct 11 23:05 README.md [2023-10-11T23:08:21.572Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 11 23:06 VERSION [2023-10-11T23:08:21.572Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 11 23:05 bin [2023-10-11T23:08:21.572Z] -rw-r--r-- 1 jenkins jenkins 122153 Oct 11 23:07 coverage.out [2023-10-11T23:08:21.572Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 11 23:05 example [2023-10-11T23:08:21.572Z] -rw-rw-r-- 1 jenkins jenkins 3722 Oct 11 23:05 go.mod [2023-10-11T23:08:21.572Z] -rw-rw-r-- 1 jenkins jenkins 34806 Oct 11 23:05 go.sum [2023-10-11T23:08:21.572Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 11 23:05 internal [2023-10-11T23:08:21.572Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 11 23:05 openapi [2023-10-11T23:08:21.572Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 11 23:05 pkg [2023-10-11T23:08:21.572Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 23:05 snap [2023-10-11T23:08:21.572Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 11 23:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-11T23:08:21.971Z] + 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=14275a07e8748c3c348999daa327bc8f09aedc6e --label arch=amd64 --label version=0.0.0 . [2023-10-11T23:08:21.972Z] Sending build context to Docker daemon 11.35MB [2023-10-11T23:08:21.972Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-10-11T23:08:21.972Z] Step 2/23 : FROM ${BASE} AS builder [2023-10-11T23:08:21.972Z] ---> 0e37924f9121 [2023-10-11T23:08:21.972Z] Step 3/23 : ARG MAKE=make build [2023-10-11T23:08:22.904Z] ---> Running in 8277ddee6a4e [2023-10-11T23:08:22.904Z] Removing intermediate container 8277ddee6a4e [2023-10-11T23:08:22.904Z] ---> ac1f34c2b725 [2023-10-11T23:08:22.904Z] Step 4/23 : WORKDIR /device-sdk-go [2023-10-11T23:08:22.904Z] ---> Running in 59d430b5c253 [2023-10-11T23:08:22.904Z] Removing intermediate container 59d430b5c253 [2023-10-11T23:08:22.904Z] ---> bde0993f5426 [2023-10-11T23:08:22.904Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-10-11T23:08:22.904Z] ---> Running in 74a7a1da617d [2023-10-11T23:08:22.904Z] Removing intermediate container 74a7a1da617d [2023-10-11T23:08:22.904Z] ---> a0b7606a795d [2023-10-11T23:08:22.904Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-10-11T23:08:22.904Z] ---> Running in bccb179765df [2023-10-11T23:08:23.162Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-11T23:08:23.420Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-11T23:08:23.681Z] OK: 264 MiB in 52 packages [2023-10-11T23:08:24.254Z] Removing intermediate container bccb179765df [2023-10-11T23:08:24.254Z] ---> 12345481d3fa [2023-10-11T23:08:24.254Z] Step 7/23 : COPY go.mod vendor* ./ [2023-10-11T23:08:24.254Z] ---> a76b4b6c8102 [2023-10-11T23:08:24.254Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-11T23:08:24.254Z] ---> Running in 36695aedcf6e [2023-10-11T23:08:25.193Z] Removing intermediate container 36695aedcf6e [2023-10-11T23:08:25.193Z] ---> a09b55375e7d [2023-10-11T23:08:25.193Z] Step 9/23 : COPY . . [2023-10-11T23:08:25.796Z] ---> ccbf8183ec4c [2023-10-11T23:08:25.796Z] Step 10/23 : RUN ${MAKE} [2023-10-11T23:08:26.056Z] ---> Running in fe6c697cead5 [2023-10-11T23:08:26.313Z] 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-11T23:08:49.089Z] Removing intermediate container fe6c697cead5 [2023-10-11T23:08:49.089Z] ---> 8d21be00a035 [2023-10-11T23:08:49.089Z] Step 11/23 : FROM alpine:3.18 [2023-10-11T23:08:49.089Z] 3.18: Pulling from library/alpine [2023-10-11T23:08:49.089Z] 96526aa774ef: Pulling fs layer [2023-10-11T23:08:49.089Z] 96526aa774ef: Verifying Checksum [2023-10-11T23:08:49.089Z] 96526aa774ef: Download complete [2023-10-11T23:08:49.350Z] 96526aa774ef: Pull complete [2023-10-11T23:08:49.350Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-11T23:08:49.350Z] Status: Downloaded newer image for alpine:3.18 [2023-10-11T23:08:49.350Z] ---> 8ca4688f4f35 [2023-10-11T23:08:49.350Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-10-11T23:08:49.350Z] ---> Running in 8cdf0a1405c6 [2023-10-11T23:08:49.350Z] Removing intermediate container 8cdf0a1405c6 [2023-10-11T23:08:49.350Z] ---> a6ddbc10936c [2023-10-11T23:08:49.350Z] Step 13/23 : RUN apk add --update --no-cache [2023-10-11T23:08:49.612Z] ---> Running in 8000cdc2198e [2023-10-11T23:08:49.870Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-11T23:08:49.870Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-11T23:08:50.128Z] OK: 7 MiB in 15 packages [2023-10-11T23:08:50.699Z] Removing intermediate container 8000cdc2198e [2023-10-11T23:08:50.699Z] ---> 2c2828792d30 [2023-10-11T23:08:50.699Z] Step 14/23 : WORKDIR / [2023-10-11T23:08:50.699Z] ---> Running in 141bf47cb90e [2023-10-11T23:08:50.956Z] Removing intermediate container 141bf47cb90e [2023-10-11T23:08:50.956Z] ---> caaa14265780 [2023-10-11T23:08:50.956Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-10-11T23:08:50.956Z] ---> 9c9bd124179e [2023-10-11T23:08:50.956Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-10-11T23:08:51.522Z] ---> b209825e7f6b [2023-10-11T23:08:51.522Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-10-11T23:08:51.784Z] ---> 464cd43ba5f4 [2023-10-11T23:08:51.784Z] Step 18/23 : EXPOSE 59999 [2023-10-11T23:08:51.784Z] ---> Running in ccc2cb599948 [2023-10-11T23:08:51.784Z] Removing intermediate container ccc2cb599948 [2023-10-11T23:08:51.784Z] ---> c5db905bf146 [2023-10-11T23:08:51.784Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-10-11T23:08:51.784Z] ---> Running in aa0e6b8fb110 [2023-10-11T23:08:52.043Z] Removing intermediate container aa0e6b8fb110 [2023-10-11T23:08:52.043Z] ---> 696a84cdb976 [2023-10-11T23:08:52.043Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-10-11T23:08:52.043Z] ---> Running in 9372f9e3f7db [2023-10-11T23:08:52.043Z] Removing intermediate container 9372f9e3f7db [2023-10-11T23:08:52.043Z] ---> 2ad9228c6302 [2023-10-11T23:08:52.043Z] Step 21/23 : LABEL arch=amd64 [2023-10-11T23:08:52.043Z] ---> Running in f5eb14ba1c11 [2023-10-11T23:08:52.043Z] Removing intermediate container f5eb14ba1c11 [2023-10-11T23:08:52.043Z] ---> 79f60191f0ed [2023-10-11T23:08:52.043Z] Step 22/23 : LABEL git_sha=14275a07e8748c3c348999daa327bc8f09aedc6e [2023-10-11T23:08:52.043Z] ---> Running in dd07e1b1bca8 [2023-10-11T23:08:52.309Z] Removing intermediate container dd07e1b1bca8 [2023-10-11T23:08:52.309Z] ---> ba1159b95f6b [2023-10-11T23:08:52.309Z] Step 23/23 : LABEL version=0.0.0 [2023-10-11T23:08:52.883Z] ---> Running in 908eb4ae3a3d [2023-10-11T23:08:52.883Z] Removing intermediate container 908eb4ae3a3d [2023-10-11T23:08:52.883Z] ---> 5a6feeda5fdb [2023-10-11T23:08:52.883Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-11T23:08:52.883Z] Successfully built 5a6feeda5fdb [2023-10-11T23:08:52.883Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-11T23:08:53.848Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-11T23:08:53.848Z] [2023-10-11T23:08:53.848Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-11T23:08:54.239Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-11T23:08:54.239Z] latest: Pulling from edgex-lftools-log-publisher [2023-10-11T23:08:54.239Z] 5eb5b503b376: Pulling fs layer [2023-10-11T23:08:54.239Z] 5c69ac0246d0: Pulling fs layer [2023-10-11T23:08:54.239Z] ec43610c2a17: Pulling fs layer [2023-10-11T23:08:54.239Z] 3a2ae6a8a46f: Pulling fs layer [2023-10-11T23:08:54.239Z] 33b1e0a273af: Pulling fs layer [2023-10-11T23:08:54.239Z] 3a2ae6a8a46f: Waiting [2023-10-11T23:08:54.239Z] 33b1e0a273af: Waiting [2023-10-11T23:08:54.239Z] 5d3b04190fa2: Pulling fs layer [2023-10-11T23:08:54.239Z] 2f39f015ded8: Pulling fs layer [2023-10-11T23:08:54.239Z] 5d3b04190fa2: Waiting [2023-10-11T23:08:54.239Z] 5c69ac0246d0: Verifying Checksum [2023-10-11T23:08:54.239Z] 5c69ac0246d0: Download complete [2023-10-11T23:08:54.239Z] 3a2ae6a8a46f: Download complete [2023-10-11T23:08:54.239Z] 33b1e0a273af: Verifying Checksum [2023-10-11T23:08:54.239Z] 33b1e0a273af: Download complete [2023-10-11T23:08:54.239Z] 5d3b04190fa2: Download complete [2023-10-11T23:08:54.239Z] ec43610c2a17: Verifying Checksum [2023-10-11T23:08:54.239Z] ec43610c2a17: Download complete [2023-10-11T23:08:54.502Z] 5eb5b503b376: Verifying Checksum [2023-10-11T23:08:54.502Z] 5eb5b503b376: Download complete [2023-10-11T23:08:55.069Z] 2f39f015ded8: Download complete [2023-10-11T23:08:55.634Z] 5eb5b503b376: Pull complete [2023-10-11T23:08:55.893Z] 5c69ac0246d0: Pull complete [2023-10-11T23:08:56.151Z] ec43610c2a17: Pull complete [2023-10-11T23:08:56.152Z] 3a2ae6a8a46f: Pull complete [2023-10-11T23:08:56.412Z] 33b1e0a273af: Pull complete [2023-10-11T23:08:56.673Z] 5d3b04190fa2: Pull complete [2023-10-11T23:09:00.944Z] 2f39f015ded8: Pull complete [2023-10-11T23:09:00.944Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-10-11T23:09:00.944Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-11T23:09:00.944Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-11T23:09:02.126Z] prd-ubuntu20.04-docker-8c-8g-8885 does not seem to be running inside a container [2023-10-11T23:09:02.164Z] $ 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-1523 -v /w/workspace/gexfoundry_device-sdk-go_PR-1523:/w/workspace/gexfoundry_device-sdk-go_PR-1523:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1523@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1523@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-11T23:09:08.253Z] $ docker top bdef199616cec5ce1ce61f512c1a8dd12018ef3afae456bbf334848f88196f4d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-11T23:09:08.785Z] ---> job-cost.sh [2023-10-11T23:09:08.785Z] lf-activate-venv: SKIPPING [2023-10-11T23:09:08.785Z] INFO: No Stack... [2023-10-11T23:09:09.044Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-11T23:09:09.612Z] INFO: Archiving Costs [Pipeline] sh [2023-10-11T23:09:09.941Z] + + cut -d, -f6 [2023-10-11T23:09:09.942Z] cat /w/workspace/gexfoundry_device-sdk-go_PR-1523/archives/cost.csv [Pipeline] lock [2023-10-11T23:09:09.988Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1523-1-stack-cost] [2023-10-11T23:09:09.993Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1523-1-stack-cost] did not exist. Created. [2023-10-11T23:09:09.993Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1523-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-11T23:09:10.388Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-10-11T23:09:10.450Z] Stashed 1 file(s) [Pipeline] } [2023-10-11T23:09:10.573Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1523-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-11T23:09:10.663Z] $ docker stop --time=1 bdef199616cec5ce1ce61f512c1a8dd12018ef3afae456bbf334848f88196f4d [2023-10-11T23:09:11.807Z] $ docker rm -f --volumes bdef199616cec5ce1ce61f512c1a8dd12018ef3afae456bbf334848f88196f4d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-10-11T23:09:15.879Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8901 in /w/workspace/gexfoundry_device-sdk-go_PR-1523 [Pipeline] { [Pipeline] ws [2023-10-11T23:09:15.947Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-10-11T23:09:16.027Z] The recommended git tool is: git [2023-10-11T23:09:23.471Z] using credential edgex-jenkins-ssh [2023-10-11T23:09:23.488Z] Cloning the remote Git repository [2023-10-11T23:09:23.554Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-10-11T23:09:23.687Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-10-11T23:09:23.903Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-10-11T23:09:23.904Z] > git --version # timeout=10 [2023-10-11T23:09:23.934Z] > git --version # 'git version 2.25.1' [2023-10-11T23:09:23.938Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-11T23:09:24.166Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-11T23:09:26.191Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-10-11T23:09:26.248Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-11T23:09:27.393Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-10-11T23:09:27.454Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-10-11T23:09:27.455Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-11T23:09:27.478Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1523/head:refs/remotes/origin/PR-1523 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-10-11T23:09:28.150Z] Merging remotes/origin/main commit 8a4e603c9daa9d98ee8f2e5896cc64fc9a451017 into PR head commit 14275a07e8748c3c348999daa327bc8f09aedc6e [2023-10-11T23:09:28.559Z] Merge succeeded, producing 14275a07e8748c3c348999daa327bc8f09aedc6e [2023-10-11T23:09:28.559Z] Checking out Revision 14275a07e8748c3c348999daa327bc8f09aedc6e (PR-1523) [2023-10-11T23:09:29.228Z] Commit message: "build(deps): bump golang.org/x/net from 0.13.0 to 0.17.0" [2023-10-11T23:09:29.291Z] > git --version # timeout=10 [2023-10-11T23:09:29.304Z] > git --version # 'git version 2.25.1' [2023-10-11T23:09:29.338Z] fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-11T23:09:28.177Z] > git config core.sparsecheckout # timeout=10 [2023-10-11T23:09:28.287Z] > git checkout -f 14275a07e8748c3c348999daa327bc8f09aedc6e # timeout=10 [2023-10-11T23:09:28.427Z] > git remote # timeout=10 [2023-10-11T23:09:28.454Z] > git config --get remote.origin.url # timeout=10 [2023-10-11T23:09:28.481Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-11T23:09:28.502Z] > git merge 8a4e603c9daa9d98ee8f2e5896cc64fc9a451017 # timeout=10 [2023-10-11T23:09:28.537Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-10-11T23:09:28.567Z] > git config core.sparsecheckout # timeout=10 [2023-10-11T23:09:28.590Z] > git checkout -f 14275a07e8748c3c348999daa327bc8f09aedc6e # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-11T23:09:30.490Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-10-11T23:09:30.490Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-11T23:09:30.490Z] Dload Upload Total Spent Left Speed [2023-10-11T23:09:30.490Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 183k 0 --:--:-- --:--:-- --:--:-- 183k [Pipeline] sh [2023-10-11T23:09:31.229Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-10-11T23:09:31.599Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-10-11T23:09:31.599Z] + sudo tee /etc/docker/daemon.new [2023-10-11T23:09:31.599Z] { [2023-10-11T23:09:31.599Z] "registry-mirrors": [ [2023-10-11T23:09:31.599Z] "https://nexus3.edgexfoundry.org:10001" [2023-10-11T23:09:31.599Z] ], [2023-10-11T23:09:31.599Z] "bip": "10.250.0.254/24", [2023-10-11T23:09:31.599Z] "hosts": [ [2023-10-11T23:09:31.599Z] "tcp://0.0.0.0:5555", [2023-10-11T23:09:31.599Z] "unix:///var/run/docker.sock" [2023-10-11T23:09:31.599Z] ], [2023-10-11T23:09:31.599Z] "mtu": 1458, [2023-10-11T23:09:31.599Z] "selinux-enabled": true, [2023-10-11T23:09:31.599Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-10-11T23:09:31.599Z] } [Pipeline] sh [2023-10-11T23:09:31.970Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-10-11T23:09:32.347Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-11T23:09:50.771Z] provisioning config files... [2023-10-11T23:09:50.812Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config8273653241607294709tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-11T23:09:51.220Z] ---> docker-login.sh [2023-10-11T23:09:51.220Z] nexus3.edgexfoundry.org:10001 [2023-10-11T23:09:51.812Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-11T23:09:51.812Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-11T23:09:51.812Z] Configure a credential helper to remove this warning. See [2023-10-11T23:09:51.812Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-11T23:09:51.812Z] [2023-10-11T23:09:51.812Z] Login Succeeded [2023-10-11T23:09:51.812Z] nexus3.edgexfoundry.org:10002 [2023-10-11T23:09:52.083Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-11T23:09:52.353Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-11T23:09:52.353Z] Configure a credential helper to remove this warning. See [2023-10-11T23:09:52.353Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-11T23:09:52.353Z] [2023-10-11T23:09:52.353Z] Login Succeeded [2023-10-11T23:09:52.353Z] nexus3.edgexfoundry.org:10003 [2023-10-11T23:09:52.625Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-11T23:09:52.625Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-11T23:09:52.625Z] Configure a credential helper to remove this warning. See [2023-10-11T23:09:52.625Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-11T23:09:52.625Z] [2023-10-11T23:09:52.625Z] Login Succeeded [2023-10-11T23:09:52.910Z] nexus3.edgexfoundry.org:10004 [2023-10-11T23:09:53.187Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-11T23:09:53.187Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-11T23:09:53.187Z] Configure a credential helper to remove this warning. See [2023-10-11T23:09:53.187Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-11T23:09:53.187Z] [2023-10-11T23:09:53.187Z] Login Succeeded [2023-10-11T23:09:53.187Z] docker.io [2023-10-11T23:09:53.459Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-11T23:09:54.052Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-11T23:09:54.052Z] Configure a credential helper to remove this warning. See [2023-10-11T23:09:54.052Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-11T23:09:54.052Z] [2023-10-11T23:09:54.052Z] Login Succeeded [2023-10-11T23:09:54.052Z] ---> docker-login.sh ends [Pipeline] } [2023-10-11T23:09:54.084Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-11T23:09:54.570Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-11T23:09:54.608Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-11T23:09:54.643Z] ========================================================= [2023-10-11T23:09:54.643Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-10-11T23:09:54.643Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-11T23:09:55.170Z] + 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-11T23:09:55.795Z] Sending build context to Docker daemon 6.006MB [2023-10-11T23:09:55.795Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-10-11T23:09:55.795Z] Step 2/10 : FROM ${BASE} AS builder [2023-10-11T23:09:56.072Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-10-11T23:09:56.072Z] 9fda8d8052c6: Pulling fs layer [2023-10-11T23:09:56.072Z] 5d54e960e981: Pulling fs layer [2023-10-11T23:09:56.072Z] c4a7e357bf2a: Pulling fs layer [2023-10-11T23:09:56.072Z] f0e02332f6b5: Pulling fs layer [2023-10-11T23:09:56.072Z] cefa15bbcfad: Pulling fs layer [2023-10-11T23:09:56.072Z] 17808c966233: Pulling fs layer [2023-10-11T23:09:56.072Z] f0e02332f6b5: Waiting [2023-10-11T23:09:56.072Z] cefa15bbcfad: Waiting [2023-10-11T23:09:56.072Z] f4c1fc716caa: Pulling fs layer [2023-10-11T23:09:56.072Z] 17808c966233: Waiting [2023-10-11T23:09:56.072Z] f4c1fc716caa: Waiting [2023-10-11T23:09:56.072Z] 5d54e960e981: Verifying Checksum [2023-10-11T23:09:56.072Z] 5d54e960e981: Download complete [2023-10-11T23:09:56.072Z] f0e02332f6b5: Verifying Checksum [2023-10-11T23:09:56.072Z] f0e02332f6b5: Download complete [2023-10-11T23:09:56.072Z] cefa15bbcfad: Verifying Checksum [2023-10-11T23:09:56.072Z] cefa15bbcfad: Download complete [2023-10-11T23:09:56.072Z] 9fda8d8052c6: Verifying Checksum [2023-10-11T23:09:56.072Z] 9fda8d8052c6: Download complete [2023-10-11T23:09:56.670Z] f4c1fc716caa: Verifying Checksum [2023-10-11T23:09:56.670Z] f4c1fc716caa: Download complete [2023-10-11T23:09:57.270Z] 9fda8d8052c6: Pull complete [2023-10-11T23:09:57.872Z] 5d54e960e981: Pull complete [2023-10-11T23:09:58.153Z] c4a7e357bf2a: Download complete [2023-10-11T23:09:59.131Z] 17808c966233: Verifying Checksum [2023-10-11T23:09:59.131Z] 17808c966233: Download complete [2023-10-11T23:10:14.296Z] c4a7e357bf2a: Pull complete [2023-10-11T23:10:14.296Z] f0e02332f6b5: Pull complete [2023-10-11T23:10:14.296Z] cefa15bbcfad: Pull complete [2023-10-11T23:10:20.993Z] 17808c966233: Pull complete [2023-10-11T23:10:22.948Z] f4c1fc716caa: Pull complete [2023-10-11T23:10:22.948Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-10-11T23:10:22.948Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-10-11T23:10:22.948Z] ---> ea914061e18c [2023-10-11T23:10:22.948Z] Step 3/10 : ARG MAKE=make build [2023-10-11T23:10:24.390Z] ---> Running in 07efa893f63d [2023-10-11T23:10:24.390Z] Removing intermediate container 07efa893f63d [2023-10-11T23:10:24.390Z] ---> 3c2b3bf524cb [2023-10-11T23:10:24.390Z] Step 4/10 : WORKDIR /device-sdk-go [2023-10-11T23:10:24.665Z] ---> Running in 718c3481f7b0 [2023-10-11T23:10:24.936Z] Removing intermediate container 718c3481f7b0 [2023-10-11T23:10:24.936Z] ---> 72db13e906a4 [2023-10-11T23:10:24.936Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-10-11T23:10:24.936Z] ---> Running in 32140126cd52 [2023-10-11T23:10:25.209Z] Removing intermediate container 32140126cd52 [2023-10-11T23:10:25.209Z] ---> c7a56e6601e1 [2023-10-11T23:10:25.209Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-10-11T23:10:25.485Z] ---> Running in 6554d20c417c [2023-10-11T23:10:26.916Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-11T23:10:26.916Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-11T23:10:28.338Z] OK: 266 MiB in 52 packages [2023-10-11T23:10:29.327Z] Removing intermediate container 6554d20c417c [2023-10-11T23:10:29.327Z] ---> 000aa19c70b4 [2023-10-11T23:10:29.327Z] Step 7/10 : COPY go.mod vendor* ./ [2023-10-11T23:10:29.916Z] ---> 7a46d40f524a [2023-10-11T23:10:29.916Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-11T23:10:29.916Z] ---> Running in ea0ac045e30e [2023-10-11T23:12:06.660Z] Removing intermediate container ea0ac045e30e [2023-10-11T23:12:06.660Z] ---> f08a7c079077 [2023-10-11T23:12:06.660Z] Step 9/10 : COPY . . [2023-10-11T23:12:07.251Z] ---> f9147ffad0d1 [2023-10-11T23:12:07.251Z] Step 10/10 : RUN ${MAKE} [2023-10-11T23:12:07.251Z] ---> Running in 78f515375a9a [2023-10-11T23:12:08.221Z] noop [2023-10-11T23:12:09.204Z] Removing intermediate container 78f515375a9a [2023-10-11T23:12:09.204Z] ---> 326e8d7e6913 [2023-10-11T23:12:09.204Z] Successfully built 326e8d7e6913 [2023-10-11T23:12:09.204Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-11T23:12:09.699Z] + docker inspect -f . ci-base-image-arm64 [2023-10-11T23:12:09.699Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-11T23:12:10.027Z] prd-ubuntu20.04-docker-arm64-4c-16g-8901 does not seem to be running inside a container [2023-10-11T23:12:10.119Z] $ 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-11T23:12:11.577Z] $ docker top f458d61029ad3e1b6de97af757c54830e211d6af8cdf576f492a12ae2a99728e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-11T23:12:12.499Z] + go version [2023-10-11T23:12:12.499Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-10-11T23:12:12.549Z] $ docker stop --time=1 f458d61029ad3e1b6de97af757c54830e211d6af8cdf576f492a12ae2a99728e [2023-10-11T23:12:14.319Z] $ docker rm -f --volumes f458d61029ad3e1b6de97af757c54830e211d6af8cdf576f492a12ae2a99728e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-11T23:12:15.227Z] + docker inspect -f . ci-base-image-arm64 [2023-10-11T23:12:15.228Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-11T23:12:15.535Z] prd-ubuntu20.04-docker-arm64-4c-16g-8901 does not seem to be running inside a container [2023-10-11T23:12:15.625Z] $ 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-11T23:12:17.100Z] $ docker top ea2a38ed887c0f343af035f40772382ea8d60d602af185d904327b0f5ef21116 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-11T23:12:18.016Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-10-11T23:12:18.739Z] + make test [2023-10-11T23:12:18.739Z] go test -race -coverprofile=coverage.out ./... [2023-10-11T23:13:05.632Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-10-11T23:15:42.517Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-10-11T23:15:42.517Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-10-11T23:15:42.517Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-10-11T23:15:42.517Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-10-11T23:15:42.517Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-10-11T23:15:42.517Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.241s coverage: 27.6% of statements [2023-10-11T23:15:52.620Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.319s coverage: 81.5% of statements [2023-10-11T23:16:02.724Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-10-11T23:16:02.724Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-10-11T23:16:03.322Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.392s coverage: 86.0% of statements [2023-10-11T23:16:08.692Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-10-11T23:16:10.107Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.626s coverage: 71.8% of statements [2023-10-11T23:16:13.462Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.276s coverage: 14.4% of statements [2023-10-11T23:16:16.818Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.972s coverage: 45.6% of statements [2023-10-11T23:16:16.818Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-10-11T23:16:16.818Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-10-11T23:16:18.234Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.466s coverage: 68.5% of statements [2023-10-11T23:16:22.530Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.486s coverage: 89.2% of statements [2023-10-11T23:16:22.801Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-10-11T23:16:24.212Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.273s coverage: 5.5% of statements [2023-10-11T23:16:25.174Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-10-11T23:16:25.174Z] GO111MODULE=on go vet ./... [2023-10-11T23:19:01.951Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-11T23:19:01.951Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-11T23:19:01.951Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-11T23:19:01.998Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-11T23:19:02.043Z] $ docker stop --time=1 ea2a38ed887c0f343af035f40772382ea8d60d602af185d904327b0f5ef21116 [2023-10-11T23:19:04.142Z] $ docker rm -f --volumes ea2a38ed887c0f343af035f40772382ea8d60d602af185d904327b0f5ef21116 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-11T23:19:06.105Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-11T23:19:06.142Z] Warning: overwriting stash ‘coverage-report’ [2023-10-11T23:19:06.897Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-11T23:19:07.514Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-11T23:19:07.877Z] + ls -al . [2023-10-11T23:19:07.877Z] total 300 [2023-10-11T23:19:07.877Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 11 23:12 . [2023-10-11T23:19:07.877Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 23:09 .. [2023-10-11T23:19:07.877Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 11 23:09 .dockerignore [2023-10-11T23:19:07.877Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 11 23:09 .git [2023-10-11T23:19:07.877Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 11 23:09 .github [2023-10-11T23:19:07.877Z] -rw-rw-r-- 1 jenkins jenkins 137 Oct 11 23:09 .gitignore [2023-10-11T23:19:07.877Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 11 23:09 .golangci.yml [2023-10-11T23:19:07.877Z] -rw-rw-r-- 1 jenkins jenkins 44878 Oct 11 23:09 CHANGELOG.md [2023-10-11T23:19:07.877Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 11 23:09 GOVERNANCE.md [2023-10-11T23:19:07.877Z] -rw-rw-r-- 1 jenkins jenkins 885 Oct 11 23:09 Jenkinsfile [2023-10-11T23:19:07.877Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 11 23:09 LICENSE [2023-10-11T23:19:07.877Z] -rw-rw-r-- 1 jenkins jenkins 1842 Oct 11 23:09 Makefile [2023-10-11T23:19:07.877Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 11 23:09 OWNERS.md [2023-10-11T23:19:07.877Z] -rw-rw-r-- 1 jenkins jenkins 4933 Oct 11 23:09 README.md [2023-10-11T23:19:07.877Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 11 23:06 VERSION [2023-10-11T23:19:07.877Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 11 23:09 bin [2023-10-11T23:19:07.877Z] -rw-r--r-- 1 jenkins jenkins 122153 Oct 11 23:16 coverage.out [2023-10-11T23:19:07.877Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 11 23:09 example [2023-10-11T23:19:07.877Z] -rw-rw-r-- 1 jenkins jenkins 3722 Oct 11 23:09 go.mod [2023-10-11T23:19:07.877Z] -rw-rw-r-- 1 jenkins jenkins 34806 Oct 11 23:09 go.sum [2023-10-11T23:19:07.877Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 11 23:09 internal [2023-10-11T23:19:07.877Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 11 23:09 openapi [2023-10-11T23:19:07.877Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 11 23:09 pkg [2023-10-11T23:19:07.877Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 23:09 snap [2023-10-11T23:19:07.877Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 11 23:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-11T23:19:08.324Z] + 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=14275a07e8748c3c348999daa327bc8f09aedc6e --label arch=arm64 --label version=0.0.0 . [2023-10-11T23:19:08.911Z] Sending build context to Docker daemon 6.129MB [2023-10-11T23:19:08.911Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-10-11T23:19:08.911Z] Step 2/23 : FROM ${BASE} AS builder [2023-10-11T23:19:08.911Z] ---> 326e8d7e6913 [2023-10-11T23:19:08.911Z] Step 3/23 : ARG MAKE=make build [2023-10-11T23:19:10.324Z] ---> Running in 931d9f9bd0c5 [2023-10-11T23:19:10.324Z] Removing intermediate container 931d9f9bd0c5 [2023-10-11T23:19:10.324Z] ---> 06f64fc3e757 [2023-10-11T23:19:10.324Z] Step 4/23 : WORKDIR /device-sdk-go [2023-10-11T23:19:10.596Z] ---> Running in ada49523fdb5 [2023-10-11T23:19:10.864Z] Removing intermediate container ada49523fdb5 [2023-10-11T23:19:10.864Z] ---> f08d6529c050 [2023-10-11T23:19:10.864Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-10-11T23:19:11.132Z] ---> Running in 84f7f9656f34 [2023-10-11T23:19:11.402Z] Removing intermediate container 84f7f9656f34 [2023-10-11T23:19:11.402Z] ---> 30d830b3d902 [2023-10-11T23:19:11.402Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-10-11T23:19:11.402Z] ---> Running in 6518413cf038 [2023-10-11T23:19:12.816Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-11T23:19:13.102Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-11T23:19:14.514Z] OK: 266 MiB in 52 packages [2023-10-11T23:19:15.479Z] Removing intermediate container 6518413cf038 [2023-10-11T23:19:15.479Z] ---> 230e9a814f0b [2023-10-11T23:19:15.479Z] Step 7/23 : COPY go.mod vendor* ./ [2023-10-11T23:19:16.138Z] ---> 60b2405e0988 [2023-10-11T23:19:16.138Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-11T23:19:16.138Z] ---> Running in e46fd553afac [2023-10-11T23:19:18.850Z] Removing intermediate container e46fd553afac [2023-10-11T23:19:18.850Z] ---> ca5102d0c682 [2023-10-11T23:19:18.850Z] Step 9/23 : COPY . . [2023-10-11T23:19:20.312Z] ---> 66f71bf0fcb7 [2023-10-11T23:19:20.312Z] Step 10/23 : RUN ${MAKE} [2023-10-11T23:19:20.312Z] ---> Running in 8c45b8de6f10 [2023-10-11T23:19:21.277Z] 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-11T23:21:27.996Z] Removing intermediate container 8c45b8de6f10 [2023-10-11T23:21:27.996Z] ---> 7dacb2126b7c [2023-10-11T23:21:27.996Z] Step 11/23 : FROM alpine:3.18 [2023-10-11T23:21:27.996Z] 3.18: Pulling from library/alpine [2023-10-11T23:21:27.996Z] 579b34f0a95b: Pulling fs layer [2023-10-11T23:21:27.996Z] 579b34f0a95b: Verifying Checksum [2023-10-11T23:21:27.996Z] 579b34f0a95b: Download complete [2023-10-11T23:21:27.996Z] 579b34f0a95b: Pull complete [2023-10-11T23:21:27.996Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-11T23:21:27.996Z] Status: Downloaded newer image for alpine:3.18 [2023-10-11T23:21:27.996Z] ---> 3cc203321400 [2023-10-11T23:21:27.996Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-10-11T23:21:27.996Z] ---> Running in a6d96e01eaf2 [2023-10-11T23:21:27.996Z] Removing intermediate container a6d96e01eaf2 [2023-10-11T23:21:27.996Z] ---> f47c2f0d87cf [2023-10-11T23:21:27.996Z] Step 13/23 : RUN apk add --update --no-cache [2023-10-11T23:21:27.996Z] ---> Running in 01f9f2042657 [2023-10-11T23:21:27.996Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-11T23:21:27.996Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-11T23:21:27.996Z] OK: 8 MiB in 15 packages [2023-10-11T23:21:27.996Z] Removing intermediate container 01f9f2042657 [2023-10-11T23:21:27.996Z] ---> 0126855c8de9 [2023-10-11T23:21:27.996Z] Step 14/23 : WORKDIR / [2023-10-11T23:21:27.996Z] ---> Running in 487fcef20a96 [2023-10-11T23:21:27.996Z] Removing intermediate container 487fcef20a96 [2023-10-11T23:21:27.996Z] ---> d08ecd283bce [2023-10-11T23:21:27.996Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-10-11T23:21:27.996Z] ---> 5e0f1aaf59e3 [2023-10-11T23:21:27.996Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-10-11T23:21:27.996Z] ---> a66423737fd7 [2023-10-11T23:21:27.996Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-10-11T23:21:27.996Z] ---> 369fed7b416b [2023-10-11T23:21:27.996Z] Step 18/23 : EXPOSE 59999 [2023-10-11T23:21:27.996Z] ---> Running in f672a6e04108 [2023-10-11T23:21:27.996Z] Removing intermediate container f672a6e04108 [2023-10-11T23:21:27.996Z] ---> f13e9cae0354 [2023-10-11T23:21:27.996Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-10-11T23:21:27.996Z] ---> Running in 4ce71f1f3566 [2023-10-11T23:21:27.996Z] Removing intermediate container 4ce71f1f3566 [2023-10-11T23:21:27.996Z] ---> fe680d42fb47 [2023-10-11T23:21:27.996Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-10-11T23:21:27.996Z] ---> Running in 5a76a077315d [2023-10-11T23:21:27.996Z] Removing intermediate container 5a76a077315d [2023-10-11T23:21:27.996Z] ---> 9f2c981989e1 [2023-10-11T23:21:27.996Z] Step 21/23 : LABEL arch=arm64 [2023-10-11T23:21:27.996Z] ---> Running in 93a7e679e8fa [2023-10-11T23:21:27.996Z] Removing intermediate container 93a7e679e8fa [2023-10-11T23:21:27.996Z] ---> 32c648bf3b72 [2023-10-11T23:21:27.996Z] Step 22/23 : LABEL git_sha=14275a07e8748c3c348999daa327bc8f09aedc6e [2023-10-11T23:21:27.996Z] ---> Running in a538fa2cda46 [2023-10-11T23:21:27.996Z] Removing intermediate container a538fa2cda46 [2023-10-11T23:21:27.996Z] ---> 4e34d6b457e1 [2023-10-11T23:21:27.996Z] Step 23/23 : LABEL version=0.0.0 [2023-10-11T23:21:27.996Z] ---> Running in 805f96566d8a [2023-10-11T23:21:27.996Z] Removing intermediate container 805f96566d8a [2023-10-11T23:21:27.996Z] ---> e40c732f23d8 [2023-10-11T23:21:27.997Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-11T23:21:27.997Z] Successfully built e40c732f23d8 [2023-10-11T23:21:27.997Z] 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-11T23:21:28.810Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-11T23:21:28.810Z] [2023-10-11T23:21:28.810Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-11T23:21:29.226Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-11T23:21:29.226Z] arm64: Pulling from edgex-lftools-log-publisher [2023-10-11T23:21:29.226Z] 8998bd30e6a1: Pulling fs layer [2023-10-11T23:21:29.226Z] 04944245beec: Pulling fs layer [2023-10-11T23:21:29.226Z] 699f458cf7ca: Pulling fs layer [2023-10-11T23:21:29.226Z] 765212b225bb: Pulling fs layer [2023-10-11T23:21:29.226Z] f23df028b6ca: Pulling fs layer [2023-10-11T23:21:29.226Z] d65c8cfc05b1: Pulling fs layer [2023-10-11T23:21:29.226Z] 2437ff75d9bd: Pulling fs layer [2023-10-11T23:21:29.226Z] f23df028b6ca: Waiting [2023-10-11T23:21:29.226Z] d65c8cfc05b1: Waiting [2023-10-11T23:21:29.226Z] 2437ff75d9bd: Waiting [2023-10-11T23:21:29.226Z] 765212b225bb: Waiting [2023-10-11T23:21:29.494Z] 04944245beec: Verifying Checksum [2023-10-11T23:21:29.494Z] 04944245beec: Download complete [2023-10-11T23:21:29.494Z] 765212b225bb: Verifying Checksum [2023-10-11T23:21:29.494Z] 765212b225bb: Download complete [2023-10-11T23:21:29.494Z] f23df028b6ca: Verifying Checksum [2023-10-11T23:21:29.494Z] f23df028b6ca: Download complete [2023-10-11T23:21:29.494Z] d65c8cfc05b1: Verifying Checksum [2023-10-11T23:21:29.494Z] d65c8cfc05b1: Download complete [2023-10-11T23:21:29.763Z] 699f458cf7ca: Verifying Checksum [2023-10-11T23:21:29.763Z] 699f458cf7ca: Download complete [2023-10-11T23:21:30.034Z] 8998bd30e6a1: Verifying Checksum [2023-10-11T23:21:30.034Z] 8998bd30e6a1: Download complete [2023-10-11T23:21:32.615Z] 2437ff75d9bd: Verifying Checksum [2023-10-11T23:21:32.615Z] 2437ff75d9bd: Download complete [2023-10-11T23:21:34.562Z] 8998bd30e6a1: Pull complete [2023-10-11T23:21:35.146Z] 04944245beec: Pull complete [2023-10-11T23:21:36.549Z] 699f458cf7ca: Pull complete [2023-10-11T23:21:36.814Z] 765212b225bb: Pull complete [2023-10-11T23:21:37.783Z] f23df028b6ca: Pull complete [2023-10-11T23:21:38.053Z] d65c8cfc05b1: Pull complete [2023-10-11T23:21:56.251Z] 2437ff75d9bd: Pull complete [2023-10-11T23:21:56.251Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-10-11T23:21:56.251Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-11T23:21:56.251Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-11T23:21:56.578Z] prd-ubuntu20.04-docker-arm64-4c-16g-8901 does not seem to be running inside a container [2023-10-11T23:21:56.654Z] $ 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-11T23:21:59.328Z] $ docker top 870497e7845766fc289c5f60dc26c951c19e9b9aa6224b1e1164225eb81b2a26 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-11T23:22:00.199Z] ---> job-cost.sh [2023-10-11T23:22:00.199Z] lf-activate-venv: SKIPPING [2023-10-11T23:22:00.199Z] INFO: No Stack... [2023-10-11T23:22:00.778Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-10-11T23:22:01.734Z] INFO: Archiving Costs [Pipeline] sh [2023-10-11T23:22:02.396Z] + cut -d, -f6 [2023-10-11T23:22:02.396Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock [2023-10-11T23:22:02.449Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1523-1-stack-cost] [2023-10-11T23:22:02.453Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1523-1-stack-cost] did not exist. Created. [2023-10-11T23:22:02.454Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1523-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-11T23:22:02.871Z] /w/workspace/device-sdk-go/1@tmp/durable-6bdd1950/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-10-11T23:22:03.539Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-10-11T23:22:03.575Z] Warning: overwriting stash ‘stack-cost’ [2023-10-11T23:22:03.660Z] Stashed 1 file(s) [Pipeline] } [2023-10-11T23:22:03.679Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1523-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-11T23:22:03.769Z] $ docker stop --time=1 870497e7845766fc289c5f60dc26c951c19e9b9aa6224b1e1164225eb81b2a26 [2023-10-11T23:22:05.330Z] $ docker rm -f --volumes 870497e7845766fc289c5f60dc26c951c19e9b9aa6224b1e1164225eb81b2a26 [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-11T23:22:06.320Z] provisioning config files... [2023-10-11T23:22:06.327Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1523@tmp/config1674599454482983288tmp [Pipeline] { [Pipeline] sh [2023-10-11T23:22:06.669Z] + set +x [2023-10-11T23:22:06.669Z] + bash -s -- [2023-10-11T23:22:06.669Z] + curl -s https://codecov.io/bash [2023-10-11T23:22:06.669Z] [2023-10-11T23:22:06.669Z] _____ _ [2023-10-11T23:22:06.669Z] / ____| | | [2023-10-11T23:22:06.669Z] | | ___ __| | ___ ___ _____ __ [2023-10-11T23:22:06.669Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-10-11T23:22:06.669Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-10-11T23:22:06.669Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-10-11T23:22:06.669Z] Bash-1.0.6 [2023-10-11T23:22:06.669Z] [2023-10-11T23:22:06.669Z] [2023-10-11T23:22:06.669Z] ==> git version 2.25.1 found [2023-10-11T23:22:06.669Z] ==> 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-11T23:22:06.669Z] Release-Date: 2020-01-08 [2023-10-11T23:22:06.669Z] 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-11T23:22:06.669Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-10-11T23:22:06.669Z] ==> Jenkins CI detected. [2023-10-11T23:22:06.669Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1523 [2023-10-11T23:22:06.669Z] project root: . [2023-10-11T23:22:06.669Z] --> token set from env [2023-10-11T23:22:06.669Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-10-11T23:22:06.669Z] ==> Running gcov in . (disable via -X gcov) [2023-10-11T23:22:06.669Z] ==> Python coveragepy not found [2023-10-11T23:22:06.669Z] ==> Searching for coverage reports in: [2023-10-11T23:22:06.669Z] + . [2023-10-11T23:22:06.669Z] -> Found 1 reports [2023-10-11T23:22:06.669Z] ==> Detecting git/mercurial file structure [2023-10-11T23:22:06.669Z] ==> Reading reports [2023-10-11T23:22:06.669Z] + ./coverage.out bytes=122153 [2023-10-11T23:22:06.669Z] ==> Appending adjustments [2023-10-11T23:22:06.669Z] https://docs.codecov.io/docs/fixing-reports [2023-10-11T23:22:07.236Z] + Found adjustments [2023-10-11T23:22:07.236Z] ==> Gzipping contents [2023-10-11T23:22:07.236Z] 20K /tmp/codecov.b1o5iu.gz [2023-10-11T23:22:07.236Z] ==> Uploading reports [2023-10-11T23:22:07.236Z] url: https://codecov.io [2023-10-11T23:22:07.236Z] query: branch=PR-1523&commit=14275a07e8748c3c348999daa327bc8f09aedc6e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1523%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1523&job=&cmd_args= [2023-10-11T23:22:07.236Z] -> Pinging Codecov [2023-10-11T23:22:07.236Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1523&commit=14275a07e8748c3c348999daa327bc8f09aedc6e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1523%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1523&job=&cmd_args= [2023-10-11T23:22:07.236Z] -> Uploading to [2023-10-11T23:22:07.236Z] https://storage.googleapis.com/codecov/v4/raw/2023-10-11/7E55EF52A471D76F132DFD9A03CDDE97/14275a07e8748c3c348999daa327bc8f09aedc6e/15a6068f-1065-4a4e-98fc-8a4e694a42f0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231011%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231011T232207Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5746e2db2c8e904eda77a6b75968fb8b7e93fdd52d26527f1388196a755153b0 [2023-10-11T23:22:07.236Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-11T23:22:07.236Z] Dload Upload Total Spent Left Speed [2023-10-11T23:22:07.495Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16713 0 0 100 16713 0 57432 --:--:-- --:--:-- --:--:-- 57432 [2023-10-11T23:22:07.495Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/14275a07e8748c3c348999daa327bc8f09aedc6e [Pipeline] } [2023-10-11T23:22:07.522Z] 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-11T23:22:09.295Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1523/archives ] [2023-10-11T23:22:09.296Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1523/archives [2023-10-11T23:22:09.296Z] total 16 [2023-10-11T23:22:09.296Z] drwxr-xr-x 3 root root 4096 Oct 11 23:09 . [2023-10-11T23:22:09.296Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 11 23:09 .. [2023-10-11T23:22:09.296Z] drwxr-xr-x 2 root root 4096 Oct 11 23:09 cost [2023-10-11T23:22:09.296Z] -rw-r--r-- 1 root root 86 Oct 11 23:09 cost.csv [2023-10-11T23:22:09.296Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1523/archives [2023-10-11T23:22:09.296Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1523/archives [2023-10-11T23:22:09.296Z] total 16 [2023-10-11T23:22:09.296Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 11 23:09 . [2023-10-11T23:22:09.296Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 11 23:09 .. [2023-10-11T23:22:09.296Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 11 23:09 cost [2023-10-11T23:22:09.296Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 11 23:09 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-10-11T23:22:09.629Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-11T23:22:10.518Z] ---> package-listing.sh [2023-10-11T23:22:10.518Z] ++ facter osfamily [2023-10-11T23:22:10.518Z] ++ tr '[:upper:]' '[:lower:]' [2023-10-11T23:22:10.778Z] + OS_FAMILY=debian [2023-10-11T23:22:10.778Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1523 [2023-10-11T23:22:10.778Z] + START_PACKAGES=/tmp/packages_start.txt [2023-10-11T23:22:10.778Z] + END_PACKAGES=/tmp/packages_end.txt [2023-10-11T23:22:10.778Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-10-11T23:22:10.778Z] + PACKAGES=/tmp/packages_start.txt [2023-10-11T23:22:10.778Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1523 ']' [2023-10-11T23:22:10.778Z] + PACKAGES=/tmp/packages_end.txt [2023-10-11T23:22:10.778Z] + case "${OS_FAMILY}" in [2023-10-11T23:22:10.778Z] + dpkg -l [2023-10-11T23:22:10.778Z] + grep '^ii' [2023-10-11T23:22:10.778Z] + '[' -f /tmp/packages_start.txt ']' [2023-10-11T23:22:10.778Z] + '[' -f /tmp/packages_end.txt ']' [2023-10-11T23:22:10.778Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-10-11T23:22:10.778Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1523 ']' [2023-10-11T23:22:10.778Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1523/archives/ [2023-10-11T23:22:10.778Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1523/archives/ [Pipeline] echo [2023-10-11T23:22:10.807Z] 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-1523/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-10-11T23:22:11.096Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-11T23:22:11.724Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-11T23:22:11.725Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-11T23:22:11.876Z] prd-ubuntu20.04-docker-8c-8g-8885 does not seem to be running inside a container [2023-10-11T23:22:11.905Z] $ 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-1523/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-1523 -v /w/workspace/gexfoundry_device-sdk-go_PR-1523:/w/workspace/gexfoundry_device-sdk-go_PR-1523:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1523@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1523@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-11T23:22:12.126Z] $ docker top d6b82aa881ab6cbc72998e99e67db21eca3faef657b74a5196bf91d54aab7903 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-11T23:22:12.519Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-10-11T23:22:12.824Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-10-11T23:22:13.132Z] + ls /var/log/sa-host [2023-10-11T23:22:13.132Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-11T23:22:13.271Z] provisioning config files... [2023-10-11T23:22:13.279Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1523@tmp/config17348583082387387481tmp [Pipeline] { [Pipeline] echo [2023-10-11T23:22:13.331Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-11T23:22:13.652Z] ---> create-netrc.sh [Pipeline] } [2023-10-11T23:22:13.676Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-10-11T23:22:14.070Z] ---> python-tools-install.sh [Pipeline] echo [2023-10-11T23:22:14.100Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-11T23:22:14.405Z] ---> sudo-logs.sh [2023-10-11T23:22:14.405Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-10-11T23:22:14.483Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-11T23:22:14.803Z] ---> job-cost.sh [2023-10-11T23:22:14.803Z] lf-activate-venv: SKIPPING [2023-10-11T23:22:14.803Z] DEBUG: total: 0.2199999988079071 [2023-10-11T23:22:14.803Z] INFO: Retrieving Stack Cost... [2023-10-11T23:22:15.372Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-11T23:22:15.631Z] INFO: Archiving Costs [Pipeline] echo [2023-10-11T23:22:15.664Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-11T23:22:15.974Z] ---> logs-deploy.sh [2023-10-11T23:22:15.974Z] lf-activate-venv: SKIPPING [2023-10-11T23:22:15.974Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1523/1 [2023-10-11T23:22:15.974Z] INFO: archiving workspace using pattern(s): [2023-10-11T23:22:16.909Z] Archives upload complete. [2023-10-11T23:22:16.909Z] INFO: archiving logs to Nexus