Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-sdk-go Loading trusted files from base branch main at 301ec9e234ed6ba8212a6781c9c1d0fe6eaef3c0 rather than fdbdbc112457214c0e1c2a8eec7425427dc3eb50 Obtained Jenkinsfile from 301ec9e234ed6ba8212a6781c9c1d0fe6eaef3c0 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-ssh9998144698406167659.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh15316383072949305540.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1502/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-1502/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16056185789472991419.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh17741593079828138670.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1502/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-1502/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1522200640834326251.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-4916 in /w/workspace/gexfoundry_device-sdk-go_PR-1502 [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-1502 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 301ec9e234ed6ba8212a6781c9c1d0fe6eaef3c0 into PR head commit fdbdbc112457214c0e1c2a8eec7425427dc3eb50 Merge succeeded, producing 8b2749d174061137ef1b3b81211fed69c5a45a24 Checking out Revision 8b2749d174061137ef1b3b81211fed69c5a45a24 (PR-1502) > 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/1502/head:refs/remotes/origin/PR-1502 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fdbdbc112457214c0e1c2a8eec7425427dc3eb50 # 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 301ec9e234ed6ba8212a6781c9c1d0fe6eaef3c0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8b2749d174061137ef1b3b81211fed69c5a45a24 # timeout=10 Commit message: "Merge commit '301ec9e234ed6ba8212a6781c9c1d0fe6eaef3c0' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-08-30T18:41:41.518Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-08-30T18:41:41.588Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-08-30T18:41:41.614Z] ========================================================= [2023-08-30T18:41:41.614Z] EdgeX Global Pipelines Version Info [2023-08-30T18:41:41.614Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk bfd061ba66a13690f6bf759196bf371b7e4a34e9 # timeout=10 [2023-08-30T18:41:42.353Z] ------------------- [2023-08-30T18:41:42.353Z] stable info: [2023-08-30T18:41:42.353Z] ------------------- [2023-08-30T18:41:42.353Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-08-30T18:41:42.353Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-30T18:41:42.353Z] Message: update stable to v1.0.253 [2023-08-30T18:41:42.924Z] ------------------- [2023-08-30T18:41:42.924Z] experimental info: [2023-08-30T18:41:42.924Z] ------------------- [2023-08-30T18:41:42.924Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-08-30T18:41:42.924Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-30T18:41:42.924Z] Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-08-30T18:41:43.151Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-08-30T18:41:43.164Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-08-30T18:41:43.179Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-08-30T18:41:43.198Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-08-30T18:41:43.211Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-08-30T18:41:43.227Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-08-30T18:41:43.237Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-08-30T18:41:43.251Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-08-30T18:41:43.265Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-08-30T18:41:43.280Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-08-30T18:41:43.295Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-08-30T18:41:43.309Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-08-30T18:41:43.321Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-08-30T18:41:43.334Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-08-30T18:41:43.346Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-08-30T18:41:43.359Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-08-30T18:41:43.374Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-08-30T18:41:43.388Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-08-30T18:41:43.402Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-08-30T18:41:43.416Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-08-30T18:41:43.432Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-08-30T18:41:43.446Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-08-30T18:41:43.459Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-08-30T18:41:43.472Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-08-30T18:41:43.488Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-08-30T18:41:43.508Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-08-30T18:41:43.524Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-08-30T18:41:43.538Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1502 [Pipeline] echo [2023-08-30T18:41:43.551Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1502 [Pipeline] echo [2023-08-30T18:41:43.569Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1502 [Pipeline] echo [2023-08-30T18:41:43.584Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8b2749d174061137ef1b3b81211fed69c5a45a24 [Pipeline] echo [2023-08-30T18:41:43.600Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8b2749d [Pipeline] echo [2023-08-30T18:41:43.620Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-30T18:41:43.669Z] provisioning config files... [2023-08-30T18:41:43.686Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1502@tmp/config7947697304476668714tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-30T18:41:43.990Z] ---> docker-login.sh [2023-08-30T18:41:43.990Z] nexus3.edgexfoundry.org:10001 [2023-08-30T18:41:44.250Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T18:41:44.250Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T18:41:44.250Z] Configure a credential helper to remove this warning. See [2023-08-30T18:41:44.250Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T18:41:44.250Z] [2023-08-30T18:41:44.250Z] Login Succeeded [2023-08-30T18:41:44.250Z] nexus3.edgexfoundry.org:10002 [2023-08-30T18:41:44.510Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T18:41:44.510Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T18:41:44.510Z] Configure a credential helper to remove this warning. See [2023-08-30T18:41:44.510Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T18:41:44.510Z] [2023-08-30T18:41:44.510Z] Login Succeeded [2023-08-30T18:41:44.510Z] nexus3.edgexfoundry.org:10003 [2023-08-30T18:41:44.510Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T18:41:44.510Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T18:41:44.510Z] Configure a credential helper to remove this warning. See [2023-08-30T18:41:44.510Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T18:41:44.510Z] [2023-08-30T18:41:44.510Z] Login Succeeded [2023-08-30T18:41:44.772Z] nexus3.edgexfoundry.org:10004 [2023-08-30T18:41:44.772Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T18:41:44.772Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T18:41:44.772Z] Configure a credential helper to remove this warning. See [2023-08-30T18:41:44.772Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T18:41:44.772Z] [2023-08-30T18:41:44.772Z] Login Succeeded [2023-08-30T18:41:44.772Z] docker.io [2023-08-30T18:41:44.772Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T18:41:45.033Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T18:41:45.033Z] Configure a credential helper to remove this warning. See [2023-08-30T18:41:45.033Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T18:41:45.033Z] [2023-08-30T18:41:45.033Z] Login Succeeded [2023-08-30T18:41:45.033Z] ---> docker-login.sh ends [Pipeline] } [2023-08-30T18:41:45.041Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-08-30T18:41:45.428Z] + git rev-list -1 --merges 8b2749d174061137ef1b3b81211fed69c5a45a24~1..8b2749d174061137ef1b3b81211fed69c5a45a24 [Pipeline] echo [2023-08-30T18:41:45.480Z] -----------> git rev-list -1 --merges 8b2749d174061137ef1b3b81211fed69c5a45a24~1..8b2749d174061137ef1b3b81211fed69c5a45a24 8b2749d174061137ef1b3b81211fed69c5a45a24 [2023-08-30T18:41:45.480Z] 8b2749d174061137ef1b3b81211fed69c5a45a24 [false] [Pipeline] sh [2023-08-30T18:41:45.771Z] + git log --format=format:%s -1 8b2749d174061137ef1b3b81211fed69c5a45a24 [Pipeline] echo [2023-08-30T18:41:45.787Z] ========================================================= [2023-08-30T18:41:45.787Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-08-30T18:41:45.787Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-30T18:41:46.135Z] + git log --format=format:%s -1 8b2749d174061137ef1b3b81211fed69c5a45a24 [Pipeline] echo [2023-08-30T18:41:46.146Z] [semverPrep] GIT_COMMIT: 8b2749d174061137ef1b3b81211fed69c5a45a24, Commit Message: Merge commit '301ec9e234ed6ba8212a6781c9c1d0fe6eaef3c0' into HEAD [Pipeline] echo [2023-08-30T18:41:46.156Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-08-30T18:41:46.515Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-30T18:41:46.515Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-08-30T18:41:46.515Z] + [ -e /tmp/ssh_known_hosts ] [2023-08-30T18:41:46.515Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-08-30T18:41:46.515Z] + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee [2023-08-30T18:41:46.515Z] -a /etc/ssh/ssh_known_hosts [2023-08-30T18:41:46.515Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T18:41:46.935Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-30T18:41:46.935Z] [2023-08-30T18:41:46.935Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T18:41:47.244Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-30T18:41:47.245Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-08-30T18:41:47.245Z] b85a868b505f: Pulling fs layer [2023-08-30T18:41:47.245Z] e2be974225ed: Pulling fs layer [2023-08-30T18:41:47.245Z] 339a4e72a1f5: Pulling fs layer [2023-08-30T18:41:47.245Z] 988bab9f4d93: Pulling fs layer [2023-08-30T18:41:47.245Z] 1469e6f7b9e6: Pulling fs layer [2023-08-30T18:41:47.245Z] eaf3925da568: Pulling fs layer [2023-08-30T18:41:47.245Z] bab4dde63d76: Pulling fs layer [2023-08-30T18:41:47.245Z] bde34c3a00c8: Pulling fs layer [2023-08-30T18:41:47.245Z] b352a97aabf1: Pulling fs layer [2023-08-30T18:41:47.245Z] 4872d77fe225: Pulling fs layer [2023-08-30T18:41:47.245Z] 5851b861e8e6: Pulling fs layer [2023-08-30T18:41:47.245Z] bde34c3a00c8: Waiting [2023-08-30T18:41:47.245Z] 988bab9f4d93: Waiting [2023-08-30T18:41:47.245Z] 1469e6f7b9e6: Waiting [2023-08-30T18:41:47.245Z] b352a97aabf1: Waiting [2023-08-30T18:41:47.245Z] 4872d77fe225: Waiting [2023-08-30T18:41:47.245Z] eaf3925da568: Waiting [2023-08-30T18:41:47.245Z] bab4dde63d76: Waiting [2023-08-30T18:41:47.245Z] 5851b861e8e6: Waiting [2023-08-30T18:41:47.245Z] e2be974225ed: Verifying Checksum [2023-08-30T18:41:47.245Z] e2be974225ed: Download complete [2023-08-30T18:41:47.245Z] 988bab9f4d93: Verifying Checksum [2023-08-30T18:41:47.245Z] 988bab9f4d93: Download complete [2023-08-30T18:41:47.506Z] 1469e6f7b9e6: Verifying Checksum [2023-08-30T18:41:47.506Z] 1469e6f7b9e6: Download complete [2023-08-30T18:41:47.506Z] 339a4e72a1f5: Verifying Checksum [2023-08-30T18:41:47.506Z] 339a4e72a1f5: Download complete [2023-08-30T18:41:47.506Z] eaf3925da568: Verifying Checksum [2023-08-30T18:41:47.506Z] eaf3925da568: Download complete [2023-08-30T18:41:47.506Z] bde34c3a00c8: Verifying Checksum [2023-08-30T18:41:47.506Z] bde34c3a00c8: Download complete [2023-08-30T18:41:47.506Z] b352a97aabf1: Download complete [2023-08-30T18:41:47.506Z] 4872d77fe225: Verifying Checksum [2023-08-30T18:41:47.506Z] 4872d77fe225: Download complete [2023-08-30T18:41:47.506Z] 5851b861e8e6: Verifying Checksum [2023-08-30T18:41:47.506Z] 5851b861e8e6: Download complete [2023-08-30T18:41:47.764Z] b85a868b505f: Verifying Checksum [2023-08-30T18:41:47.764Z] b85a868b505f: Download complete [2023-08-30T18:41:48.023Z] bab4dde63d76: Verifying Checksum [2023-08-30T18:41:48.023Z] bab4dde63d76: Download complete [2023-08-30T18:41:48.960Z] b85a868b505f: Pull complete [2023-08-30T18:41:49.223Z] e2be974225ed: Pull complete [2023-08-30T18:41:49.811Z] 339a4e72a1f5: Pull complete [2023-08-30T18:41:49.811Z] 988bab9f4d93: Pull complete [2023-08-30T18:41:50.070Z] 1469e6f7b9e6: Pull complete [2023-08-30T18:41:50.070Z] eaf3925da568: Pull complete [2023-08-30T18:41:51.975Z] bab4dde63d76: Pull complete [2023-08-30T18:41:51.975Z] bde34c3a00c8: Pull complete [2023-08-30T18:41:52.234Z] b352a97aabf1: Pull complete [2023-08-30T18:41:52.494Z] 4872d77fe225: Pull complete [2023-08-30T18:41:52.494Z] 5851b861e8e6: Pull complete [2023-08-30T18:41:52.494Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-08-30T18:41:52.494Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-30T18:41:52.494Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-30T18:41:52.593Z] prd-ubuntu20.04-docker-8c-8g-4916 does not seem to be running inside a container [2023-08-30T18:41:52.630Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1502 -v /w/workspace/gexfoundry_device-sdk-go_PR-1502:/w/workspace/gexfoundry_device-sdk-go_PR-1502:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1502@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1502@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-30T18:41:55.665Z] $ docker top 7e26c1d78226fc07a299d2f77975c10a4d3695fd6da1c9e9bf982bcb91dc0f88 -eo pid,comm [2023-08-30T18:41:55.717Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-08-30T18:41:55.717Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-30T18:41:55.747Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-30T18:41:55.747Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-30T18:41:55.855Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-30T18:41:55.862Z] $ docker exec 7e26c1d78226fc07a299d2f77975c10a4d3695fd6da1c9e9bf982bcb91dc0f88 ssh-agent [2023-08-30T18:41:55.959Z] SSH_AUTH_SOCK=/tmp/ssh-gvTQxO3kuYYZ/agent.31 [2023-08-30T18:41:55.959Z] SSH_AGENT_PID=37 [2023-08-30T18:41:55.966Z] Running ssh-add (command line suppressed) [2023-08-30T18:41:56.073Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1502@tmp/private_key_5635527215210799988.key (/w/workspace/gexfoundry_device-sdk-go_PR-1502@tmp/private_key_5635527215210799988.key) [2023-08-30T18:41:56.085Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-30T18:41:56.369Z] + git tag --points-at HEAD [Pipeline] } [2023-08-30T18:41:56.398Z] $ docker exec --env ******** --env ******** 7e26c1d78226fc07a299d2f77975c10a4d3695fd6da1c9e9bf982bcb91dc0f88 ssh-agent -k [2023-08-30T18:41:56.509Z] unset SSH_AUTH_SOCK; [2023-08-30T18:41:56.510Z] unset SSH_AGENT_PID; [2023-08-30T18:41:56.510Z] echo Agent pid 37 killed; [2023-08-30T18:41:56.519Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-08-30T18:41:56.546Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-30T18:41:56.546Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-30T18:41:56.658Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-30T18:41:56.664Z] $ docker exec 7e26c1d78226fc07a299d2f77975c10a4d3695fd6da1c9e9bf982bcb91dc0f88 ssh-agent [2023-08-30T18:41:56.768Z] SSH_AUTH_SOCK=/tmp/ssh-GSJj07k4Ul6Y/agent.69 [2023-08-30T18:41:56.768Z] SSH_AGENT_PID=75 [2023-08-30T18:41:56.772Z] Running ssh-add (command line suppressed) [2023-08-30T18:41:56.883Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1502@tmp/private_key_3267967104098243867.key (/w/workspace/gexfoundry_device-sdk-go_PR-1502@tmp/private_key_3267967104098243867.key) [2023-08-30T18:41:56.892Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-30T18:41:57.180Z] + git semver init [2023-08-30T18:41:57.439Z] 2023-08-30 18:41:57,369 [run_init] DEBUG init version:0.0.0 force:False [2023-08-30T18:41:57.440Z] 2023-08-30 18:41:57,370 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1502/.semver [2023-08-30T18:41:57.440Z] 2023-08-30 18:41:57,370 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1502/.semver [2023-08-30T18:41:57.440Z] 2023-08-30 18:41:57,371 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1502/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1502, universal_newlines=False, shell=None, istream=None) [2023-08-30T18:41:58.379Z] 2023-08-30 18:41:58,343 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1502/.git/info/exclude [2023-08-30T18:41:58.379Z] 2023-08-30 18:41:58,344 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1502/.semver/PR-1502 with force:False [2023-08-30T18:41:58.379Z] 2023-08-30 18:41:58,344 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1502/.semver/PR-1502 [2023-08-30T18:41:58.379Z] 2023-08-30 18:41:58,348 [execute] INFO git cat-file --batch-check [2023-08-30T18:41:58.379Z] 2023-08-30 18:41:58,349 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1502/.semver, universal_newlines=False, shell=None, istream=) [2023-08-30T18:41:58.379Z] 2023-08-30 18:41:58,355 [execute] INFO git cat-file --batch [2023-08-30T18:41:58.379Z] 2023-08-30 18:41:58,356 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1502/.semver, universal_newlines=False, shell=None, istream=) [2023-08-30T18:41:58.379Z] 2023-08-30 18:41:58,361 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1502/.semver/PR-1502 [2023-08-30T18:41:58.379Z] 0.0.0 [Pipeline] } [2023-08-30T18:41:58.391Z] $ docker exec --env ******** --env ******** 7e26c1d78226fc07a299d2f77975c10a4d3695fd6da1c9e9bf982bcb91dc0f88 ssh-agent -k [2023-08-30T18:41:58.496Z] unset SSH_AUTH_SOCK; [2023-08-30T18:41:58.497Z] unset SSH_AGENT_PID; [2023-08-30T18:41:58.497Z] echo Agent pid 75 killed; [2023-08-30T18:41:58.502Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-30T18:41:58.813Z] + git semver [Pipeline] } [2023-08-30T18:41:59.089Z] $ docker stop --time=1 7e26c1d78226fc07a299d2f77975c10a4d3695fd6da1c9e9bf982bcb91dc0f88 [2023-08-30T18:42:00.385Z] $ docker rm -f --volumes 7e26c1d78226fc07a299d2f77975c10a4d3695fd6da1c9e9bf982bcb91dc0f88 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-30T18:42:00.713Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-08-30T18:42:00.931Z] Stashed 1 file(s) [Pipeline] echo [2023-08-30T18:42:00.933Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-30T18:42:01.108Z] provisioning config files... [2023-08-30T18:42:01.117Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1502@tmp/config16916585604849648680tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-30T18:42:01.412Z] ---> docker-login.sh [2023-08-30T18:42:01.412Z] nexus3.edgexfoundry.org:10001 [2023-08-30T18:42:01.412Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T18:42:01.412Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T18:42:01.412Z] Configure a credential helper to remove this warning. See [2023-08-30T18:42:01.412Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T18:42:01.412Z] [2023-08-30T18:42:01.412Z] Login Succeeded [2023-08-30T18:42:01.412Z] nexus3.edgexfoundry.org:10002 [2023-08-30T18:42:01.412Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T18:42:01.412Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T18:42:01.412Z] Configure a credential helper to remove this warning. See [2023-08-30T18:42:01.412Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T18:42:01.412Z] [2023-08-30T18:42:01.412Z] Login Succeeded [2023-08-30T18:42:01.412Z] nexus3.edgexfoundry.org:10003 [2023-08-30T18:42:01.675Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T18:42:01.675Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T18:42:01.675Z] Configure a credential helper to remove this warning. See [2023-08-30T18:42:01.675Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T18:42:01.675Z] [2023-08-30T18:42:01.675Z] Login Succeeded [2023-08-30T18:42:01.675Z] nexus3.edgexfoundry.org:10004 [2023-08-30T18:42:01.675Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T18:42:01.675Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T18:42:01.675Z] Configure a credential helper to remove this warning. See [2023-08-30T18:42:01.675Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T18:42:01.675Z] [2023-08-30T18:42:01.675Z] Login Succeeded [2023-08-30T18:42:01.675Z] docker.io [2023-08-30T18:42:01.934Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T18:42:02.193Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T18:42:02.193Z] Configure a credential helper to remove this warning. See [2023-08-30T18:42:02.193Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T18:42:02.193Z] [2023-08-30T18:42:02.193Z] Login Succeeded [2023-08-30T18:42:02.193Z] ---> docker-login.sh ends [Pipeline] } [2023-08-30T18:42:02.201Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-30T18:42:02.279Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-30T18:42:02.295Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-30T18:42:02.306Z] ========================================================= [2023-08-30T18:42:02.306Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-08-30T18:42:02.306Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T18:42:02.630Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-08-30T18:42:02.630Z] Sending build context to Docker daemon 11.12MB [2023-08-30T18:42:02.630Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-08-30T18:42:02.630Z] Step 2/10 : FROM ${BASE} AS builder [2023-08-30T18:42:02.630Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-08-30T18:42:02.630Z] 4db1b89c0bd1: Pulling fs layer [2023-08-30T18:42:02.630Z] 6911f1a30b25: Pulling fs layer [2023-08-30T18:42:02.630Z] e194b8c5c2a9: Pulling fs layer [2023-08-30T18:42:02.630Z] 6863d3e3a2b1: Pulling fs layer [2023-08-30T18:42:02.630Z] ec0bb842ea78: Pulling fs layer [2023-08-30T18:42:02.630Z] 40a00589a448: Pulling fs layer [2023-08-30T18:42:02.630Z] 6c08303d61cc: Pulling fs layer [2023-08-30T18:42:02.630Z] ec0bb842ea78: Waiting [2023-08-30T18:42:02.630Z] 6863d3e3a2b1: Waiting [2023-08-30T18:42:02.630Z] 40a00589a448: Waiting [2023-08-30T18:42:02.630Z] 798269fcf238: Pulling fs layer [2023-08-30T18:42:02.630Z] 6c08303d61cc: Waiting [2023-08-30T18:42:02.630Z] 798269fcf238: Waiting [2023-08-30T18:42:02.889Z] 6911f1a30b25: Verifying Checksum [2023-08-30T18:42:02.889Z] 6911f1a30b25: Download complete [2023-08-30T18:42:02.889Z] 6863d3e3a2b1: Verifying Checksum [2023-08-30T18:42:02.889Z] ec0bb842ea78: Verifying Checksum [2023-08-30T18:42:02.889Z] ec0bb842ea78: Download complete [2023-08-30T18:42:02.889Z] 4db1b89c0bd1: Download complete [2023-08-30T18:42:02.889Z] 40a00589a448: Verifying Checksum [2023-08-30T18:42:02.889Z] 40a00589a448: Download complete [2023-08-30T18:42:02.889Z] 4db1b89c0bd1: Pull complete [2023-08-30T18:42:03.154Z] 6911f1a30b25: Pull complete [2023-08-30T18:42:03.722Z] 798269fcf238: Verifying Checksum [2023-08-30T18:42:03.722Z] 798269fcf238: Download complete [2023-08-30T18:42:03.722Z] e194b8c5c2a9: Verifying Checksum [2023-08-30T18:42:03.722Z] e194b8c5c2a9: Download complete [2023-08-30T18:42:03.722Z] 6c08303d61cc: Verifying Checksum [2023-08-30T18:42:03.722Z] 6c08303d61cc: Download complete [2023-08-30T18:42:07.910Z] e194b8c5c2a9: Pull complete [2023-08-30T18:42:07.910Z] 6863d3e3a2b1: Pull complete [2023-08-30T18:42:07.910Z] ec0bb842ea78: Pull complete [2023-08-30T18:42:08.479Z] 40a00589a448: Pull complete [2023-08-30T18:42:11.012Z] 6c08303d61cc: Pull complete [2023-08-30T18:42:12.391Z] 798269fcf238: Pull complete [2023-08-30T18:42:12.391Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-08-30T18:42:12.391Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-08-30T18:42:12.391Z] ---> ec979cd7f677 [2023-08-30T18:42:12.391Z] Step 3/10 : ARG MAKE=make build [2023-08-30T18:42:16.055Z] Still waiting to schedule task [2023-08-30T18:42:16.055Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-08-30T18:42:20.625Z] ---> Running in 6533b8fc7ee7 [2023-08-30T18:42:20.625Z] Removing intermediate container 6533b8fc7ee7 [2023-08-30T18:42:20.625Z] ---> 60a961ea13ac [2023-08-30T18:42:20.625Z] Step 4/10 : WORKDIR /device-sdk-go [2023-08-30T18:42:20.625Z] ---> Running in bb325a8ab13a [2023-08-30T18:42:20.625Z] Removing intermediate container bb325a8ab13a [2023-08-30T18:42:20.625Z] ---> ac2eea2c244a [2023-08-30T18:42:20.625Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-08-30T18:42:20.625Z] ---> Running in 5ac9b812b8d7 [2023-08-30T18:42:20.625Z] Removing intermediate container 5ac9b812b8d7 [2023-08-30T18:42:20.625Z] ---> cbd66686ce7a [2023-08-30T18:42:20.625Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-08-30T18:42:20.625Z] ---> Running in 29c7262cf117 [2023-08-30T18:42:20.625Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-30T18:42:20.625Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-30T18:42:20.625Z] OK: 265 MiB in 53 packages [2023-08-30T18:42:20.884Z] Removing intermediate container 29c7262cf117 [2023-08-30T18:42:20.884Z] ---> e10a658271cd [2023-08-30T18:42:20.884Z] Step 7/10 : COPY go.mod vendor* ./ [2023-08-30T18:42:21.143Z] ---> ddff9e80d3bb [2023-08-30T18:42:21.143Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-30T18:42:21.143Z] ---> Running in 8c1bc555be7b [2023-08-30T18:43:17.436Z] Removing intermediate container 8c1bc555be7b [2023-08-30T18:43:17.436Z] ---> b222c15653d7 [2023-08-30T18:43:17.436Z] Step 9/10 : COPY . . [2023-08-30T18:43:18.004Z] ---> c0d6320de7da [2023-08-30T18:43:18.004Z] Step 10/10 : RUN ${MAKE} [2023-08-30T18:43:18.004Z] ---> Running in 66b694063aa8 [2023-08-30T18:43:18.263Z] noop [2023-08-30T18:43:18.523Z] Removing intermediate container 66b694063aa8 [2023-08-30T18:43:18.523Z] ---> c60513342170 [2023-08-30T18:43:18.523Z] Successfully built c60513342170 [2023-08-30T18:43:18.523Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T18:43:18.841Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-30T18:43:18.841Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-30T18:43:18.915Z] prd-ubuntu20.04-docker-8c-8g-4916 does not seem to be running inside a container [2023-08-30T18:43:18.950Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1502 -v /w/workspace/gexfoundry_device-sdk-go_PR-1502:/w/workspace/gexfoundry_device-sdk-go_PR-1502:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1502@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1502@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-08-30T18:43:19.320Z] $ docker top 68ffa7835505a592b72fb399ce3e3652d6961bcb42205edcb5dca47f6db4fd5c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-30T18:43:19.666Z] + go version [2023-08-30T18:43:19.666Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-08-30T18:43:19.680Z] $ docker stop --time=1 68ffa7835505a592b72fb399ce3e3652d6961bcb42205edcb5dca47f6db4fd5c [2023-08-30T18:43:20.945Z] $ docker rm -f --volumes 68ffa7835505a592b72fb399ce3e3652d6961bcb42205edcb5dca47f6db4fd5c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T18:43:21.341Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-30T18:43:21.341Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-30T18:43:21.417Z] prd-ubuntu20.04-docker-8c-8g-4916 does not seem to be running inside a container [2023-08-30T18:43:21.452Z] $ 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-1502 -v /w/workspace/gexfoundry_device-sdk-go_PR-1502:/w/workspace/gexfoundry_device-sdk-go_PR-1502:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1502@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1502@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-08-30T18:43:21.777Z] $ docker top ec4fedc676767d725aded91a76bd04f962b433a801ec6996899294fa2b074a54 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-30T18:43:22.119Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1502 [Pipeline] fileExists [Pipeline] sh [2023-08-30T18:43:22.418Z] + make test [2023-08-30T18:43:22.419Z] go test -race -coverprofile=coverage.out ./... [2023-08-30T18:43:30.542Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-08-30T18:43:42.747Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-08-30T18:43:42.747Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-08-30T18:43:42.747Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-08-30T18:43:42.747Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-08-30T18:43:42.748Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-08-30T18:43:43.680Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.061s coverage: 27.6% of statements [2023-08-30T18:43:43.680Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-08-30T18:43:43.680Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-08-30T18:43:43.680Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.061s coverage: 80.2% of statements [2023-08-30T18:43:43.680Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.084s coverage: 86.0% of statements [2023-08-30T18:43:44.614Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-08-30T18:43:44.614Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.062s coverage: 71.8% of statements [2023-08-30T18:43:44.872Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-08-30T18:43:44.872Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-08-30T18:43:45.441Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-08-30T18:43:47.137Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4917 in /w/workspace/gexfoundry_device-sdk-go_PR-1502 [Pipeline] { [Pipeline] ws [2023-08-30T18:43:47.151Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2023-08-30T18:43:47.181Z] The recommended git tool is: git [2023-08-30T18:43:47.976Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.067s coverage: 14.1% of statements [2023-08-30T18:43:47.976Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.270s coverage: 43.8% of statements [2023-08-30T18:43:47.976Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.060s coverage: 68.5% of statements [2023-08-30T18:43:47.976Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.124s coverage: 89.2% of statements [2023-08-30T18:43:47.976Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.060s coverage: 5.5% of statements [2023-08-30T18:43:52.093Z] using credential edgex-jenkins-ssh [2023-08-30T18:43:52.112Z] Cloning the remote Git repository [2023-08-30T18:43:52.146Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-08-30T18:43:52.256Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2023-08-30T18:43:52.403Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-08-30T18:43:52.404Z] > git --version # timeout=10 [2023-08-30T18:43:52.427Z] > git --version # 'git version 2.25.1' [2023-08-30T18:43:52.429Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-30T18:43:52.580Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-30T18:43:54.069Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-08-30T18:43:54.092Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-30T18:43:55.563Z] Merging remotes/origin/main commit 301ec9e234ed6ba8212a6781c9c1d0fe6eaef3c0 into PR head commit fdbdbc112457214c0e1c2a8eec7425427dc3eb50 [2023-08-30T18:43:55.932Z] Merge succeeded, producing 644a61b16b14163bf2c0f51f1f9f69af932fa6f1 [2023-08-30T18:43:55.932Z] Checking out Revision 644a61b16b14163bf2c0f51f1f9f69af932fa6f1 (PR-1502) [2023-08-30T18:43:54.895Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-08-30T18:43:54.933Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-08-30T18:43:54.934Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-30T18:43:54.947Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1502/head:refs/remotes/origin/PR-1502 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-08-30T18:43:55.573Z] > git config core.sparsecheckout # timeout=10 [2023-08-30T18:43:55.648Z] > git checkout -f fdbdbc112457214c0e1c2a8eec7425427dc3eb50 # timeout=10 [2023-08-30T18:43:55.753Z] > git remote # timeout=10 [2023-08-30T18:43:55.771Z] > git config --get remote.origin.url # timeout=10 [2023-08-30T18:43:55.798Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-30T18:43:55.811Z] > git merge 301ec9e234ed6ba8212a6781c9c1d0fe6eaef3c0 # timeout=10 [2023-08-30T18:43:55.902Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-08-30T18:43:55.933Z] > git config core.sparsecheckout # timeout=10 [2023-08-30T18:43:55.948Z] > git checkout -f 644a61b16b14163bf2c0f51f1f9f69af932fa6f1 # timeout=10 [2023-08-30T18:43:59.429Z] Commit message: "Merge commit '301ec9e234ed6ba8212a6781c9c1d0fe6eaef3c0' into HEAD" [2023-08-30T18:43:59.453Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-30T18:44:00.399Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-08-30T18:44:00.399Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-30T18:44:00.399Z] Dload Upload Total Spent Left Speed [2023-08-30T18:44:00.399Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k [2023-08-30T18:43:59.434Z] > git rev-list --no-walk bfd061ba66a13690f6bf759196bf371b7e4a34e9 # timeout=10 [Pipeline] sh [2023-08-30T18:44:01.060Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-08-30T18:44:01.396Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-08-30T18:44:01.396Z] + sudo tee /etc/docker/daemon.new [2023-08-30T18:44:01.396Z] { [2023-08-30T18:44:01.396Z] "registry-mirrors": [ [2023-08-30T18:44:01.396Z] "https://nexus3.edgexfoundry.org:10001" [2023-08-30T18:44:01.396Z] ], [2023-08-30T18:44:01.396Z] "bip": "10.250.0.254/24", [2023-08-30T18:44:01.396Z] "hosts": [ [2023-08-30T18:44:01.396Z] "tcp://0.0.0.0:5555", [2023-08-30T18:44:01.396Z] "unix:///var/run/docker.sock" [2023-08-30T18:44:01.396Z] ], [2023-08-30T18:44:01.396Z] "mtu": 1458, [2023-08-30T18:44:01.396Z] "selinux-enabled": true, [2023-08-30T18:44:01.396Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-08-30T18:44:01.396Z] } [Pipeline] sh [2023-08-30T18:44:01.714Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-08-30T18:44:02.041Z] + sudo service docker restart [2023-08-30T18:44:09.934Z] GO111MODULE=on go vet ./... [2023-08-30T18:44:13.234Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-30T18:44:13.234Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-30T18:44:13.234Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-30T18:44:13.245Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-30T18:44:13.258Z] $ docker stop --time=1 ec4fedc676767d725aded91a76bd04f962b433a801ec6996899294fa2b074a54 [2023-08-30T18:44:18.037Z] $ docker rm -f --volumes ec4fedc676767d725aded91a76bd04f962b433a801ec6996899294fa2b074a54 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-30T18:44:18.562Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-30T18:44:18.624Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-08-30T18:44:19.140Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-30T18:44:19.423Z] + ls -al . [2023-08-30T18:44:19.423Z] total 304 [2023-08-30T18:44:19.423Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 30 18:43 . [2023-08-30T18:44:19.423Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 30 18:41 .. [2023-08-30T18:44:19.423Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 30 18:41 .dockerignore [2023-08-30T18:44:19.423Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 30 18:41 .git [2023-08-30T18:44:19.423Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 30 18:41 .github [2023-08-30T18:44:19.423Z] -rw-rw-r-- 1 jenkins jenkins 137 Aug 30 18:41 .gitignore [2023-08-30T18:44:19.423Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 30 18:41 .golangci.yml [2023-08-30T18:44:19.423Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 30 18:41 .semver [2023-08-30T18:44:19.423Z] -rw-rw-r-- 1 jenkins jenkins 44878 Aug 30 18:41 CHANGELOG.md [2023-08-30T18:44:19.423Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 30 18:41 GOVERNANCE.md [2023-08-30T18:44:19.423Z] -rw-rw-r-- 1 jenkins jenkins 885 Aug 30 18:41 Jenkinsfile [2023-08-30T18:44:19.423Z] -rw-rw-r-- 1 jenkins jenkins 11341 Aug 30 18:41 LICENSE [2023-08-30T18:44:19.423Z] -rw-rw-r-- 1 jenkins jenkins 1842 Aug 30 18:41 Makefile [2023-08-30T18:44:19.423Z] -rw-rw-r-- 1 jenkins jenkins 619 Aug 30 18:41 OWNERS.md [2023-08-30T18:44:19.423Z] -rw-rw-r-- 1 jenkins jenkins 4933 Aug 30 18:41 README.md [2023-08-30T18:44:19.423Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 30 18:42 VERSION [2023-08-30T18:44:19.423Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 30 18:41 bin [2023-08-30T18:44:19.423Z] -rw-r--r-- 1 jenkins jenkins 120468 Aug 30 18:43 coverage.out [2023-08-30T18:44:19.423Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 30 18:41 example [2023-08-30T18:44:19.423Z] -rw-rw-r-- 1 jenkins jenkins 3721 Aug 30 18:41 go.mod [2023-08-30T18:44:19.423Z] -rw-rw-r-- 1 jenkins jenkins 33545 Aug 30 18:41 go.sum [2023-08-30T18:44:19.423Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 30 18:41 internal [2023-08-30T18:44:19.423Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 30 18:41 openapi [2023-08-30T18:44:19.423Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 30 18:41 pkg [2023-08-30T18:44:19.423Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 30 18:41 snap [2023-08-30T18:44:19.423Z] -rw-rw-r-- 1 jenkins jenkins 222 Aug 30 18:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T18:44:19.727Z] + 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=8b2749d174061137ef1b3b81211fed69c5a45a24 --label arch=amd64 --label version=0.0.0 . [2023-08-30T18:44:19.727Z] Sending build context to Docker daemon 11.24MB [2023-08-30T18:44:19.727Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-08-30T18:44:19.727Z] Step 2/23 : FROM ${BASE} AS builder [2023-08-30T18:44:19.727Z] ---> c60513342170 [2023-08-30T18:44:19.727Z] Step 3/23 : ARG MAKE=make build [2023-08-30T18:44:19.986Z] ---> Running in e4f46412a2c6 [2023-08-30T18:44:20.246Z] Removing intermediate container e4f46412a2c6 [2023-08-30T18:44:20.246Z] ---> 1f5d9355938a [2023-08-30T18:44:20.246Z] Step 4/23 : WORKDIR /device-sdk-go [2023-08-30T18:44:20.246Z] ---> Running in cd9f6cc3cba4 [2023-08-30T18:44:20.246Z] Removing intermediate container cd9f6cc3cba4 [2023-08-30T18:44:20.246Z] ---> 06e6eb43b0dc [2023-08-30T18:44:20.246Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-08-30T18:44:20.246Z] ---> Running in 21ab9702179a [2023-08-30T18:44:20.246Z] Removing intermediate container 21ab9702179a [2023-08-30T18:44:20.246Z] ---> fe132aabc4ca [2023-08-30T18:44:20.246Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-08-30T18:44:20.246Z] ---> Running in be7e4d174ed9 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-30T18:44:20.291Z] provisioning config files... [2023-08-30T18:44:20.313Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config607250460157559400tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-30T18:44:20.506Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-30T18:44:20.658Z] ---> docker-login.sh [2023-08-30T18:44:20.658Z] nexus3.edgexfoundry.org:10001 [2023-08-30T18:44:20.765Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-30T18:44:20.926Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T18:44:21.024Z] OK: 265 MiB in 53 packages [2023-08-30T18:44:21.196Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T18:44:21.196Z] Configure a credential helper to remove this warning. See [2023-08-30T18:44:21.196Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T18:44:21.196Z] [2023-08-30T18:44:21.196Z] Login Succeeded [2023-08-30T18:44:21.196Z] nexus3.edgexfoundry.org:10002 [2023-08-30T18:44:21.282Z] Removing intermediate container be7e4d174ed9 [2023-08-30T18:44:21.282Z] ---> 65436e89885b [2023-08-30T18:44:21.282Z] Step 7/23 : COPY go.mod vendor* ./ [2023-08-30T18:44:21.469Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T18:44:21.469Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T18:44:21.469Z] Configure a credential helper to remove this warning. See [2023-08-30T18:44:21.469Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T18:44:21.469Z] [2023-08-30T18:44:21.469Z] Login Succeeded [2023-08-30T18:44:21.469Z] nexus3.edgexfoundry.org:10003 [2023-08-30T18:44:21.540Z] ---> c79ecf5457e1 [2023-08-30T18:44:21.540Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-30T18:44:21.540Z] ---> Running in 8a88d929cfbf [2023-08-30T18:44:21.738Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T18:44:22.137Z] Removing intermediate container 8a88d929cfbf [2023-08-30T18:44:22.137Z] ---> 0c5b695f4cf6 [2023-08-30T18:44:22.137Z] Step 9/23 : COPY . . [2023-08-30T18:44:22.143Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T18:44:22.143Z] Configure a credential helper to remove this warning. See [2023-08-30T18:44:22.143Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T18:44:22.143Z] [2023-08-30T18:44:22.143Z] Login Succeeded [2023-08-30T18:44:22.143Z] nexus3.edgexfoundry.org:10004 [2023-08-30T18:44:22.143Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T18:44:22.143Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T18:44:22.143Z] Configure a credential helper to remove this warning. See [2023-08-30T18:44:22.143Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T18:44:22.143Z] [2023-08-30T18:44:22.143Z] Login Succeeded [2023-08-30T18:44:22.143Z] docker.io [2023-08-30T18:44:22.411Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T18:44:22.679Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T18:44:22.679Z] Configure a credential helper to remove this warning. See [2023-08-30T18:44:22.679Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T18:44:22.679Z] [2023-08-30T18:44:22.679Z] Login Succeeded [2023-08-30T18:44:22.679Z] ---> docker-login.sh ends [Pipeline] } [2023-08-30T18:44:22.691Z] Deleting 1 temporary files [2023-08-30T18:44:22.703Z] ---> d8c53cd5e8bd [2023-08-30T18:44:22.703Z] Step 10/23 : RUN ${MAKE} [2023-08-30T18:44:22.703Z] ---> Running in e8afc63be96b [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-30T18:44:22.934Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-30T18:44:22.950Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [2023-08-30T18:44:22.961Z] 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 [Pipeline] echo [2023-08-30T18:44:22.965Z] ========================================================= [2023-08-30T18:44:22.965Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-08-30T18:44:22.965Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T18:44:23.314Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-08-30T18:44:23.586Z] Sending build context to Docker daemon 5.946MB [2023-08-30T18:44:23.586Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-08-30T18:44:23.586Z] Step 2/10 : FROM ${BASE} AS builder [2023-08-30T18:44:23.857Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-08-30T18:44:23.857Z] edb6bdbacee9: Pulling fs layer [2023-08-30T18:44:23.857Z] 5f9638ab2659: Pulling fs layer [2023-08-30T18:44:23.857Z] 8d51d6327a98: Pulling fs layer [2023-08-30T18:44:23.857Z] 8b374f2dd631: Pulling fs layer [2023-08-30T18:44:23.857Z] ec14aa9079de: Pulling fs layer [2023-08-30T18:44:23.857Z] 2f466654f4bb: Pulling fs layer [2023-08-30T18:44:23.857Z] 554e91adad29: Pulling fs layer [2023-08-30T18:44:23.857Z] 8b374f2dd631: Waiting [2023-08-30T18:44:23.857Z] ec14aa9079de: Waiting [2023-08-30T18:44:23.857Z] 2f466654f4bb: Waiting [2023-08-30T18:44:23.857Z] 554e91adad29: Waiting [2023-08-30T18:44:23.857Z] 5f9638ab2659: Download complete [2023-08-30T18:44:23.857Z] 8b374f2dd631: Verifying Checksum [2023-08-30T18:44:23.857Z] 8b374f2dd631: Download complete [2023-08-30T18:44:23.857Z] ec14aa9079de: Download complete [2023-08-30T18:44:23.857Z] edb6bdbacee9: Verifying Checksum [2023-08-30T18:44:23.857Z] edb6bdbacee9: Download complete [2023-08-30T18:44:24.831Z] edb6bdbacee9: Pull complete [2023-08-30T18:44:25.442Z] 554e91adad29: Verifying Checksum [2023-08-30T18:44:25.442Z] 554e91adad29: Download complete [2023-08-30T18:44:26.405Z] 8d51d6327a98: Verifying Checksum [2023-08-30T18:44:26.405Z] 8d51d6327a98: Download complete [2023-08-30T18:44:26.405Z] 2f466654f4bb: Verifying Checksum [2023-08-30T18:44:26.405Z] 2f466654f4bb: Download complete [2023-08-30T18:44:28.348Z] 5f9638ab2659: Pull complete [2023-08-30T18:44:43.387Z] 8d51d6327a98: Pull complete [2023-08-30T18:44:43.387Z] 8b374f2dd631: Pull complete [2023-08-30T18:44:43.387Z] ec14aa9079de: Pull complete [2023-08-30T18:44:44.934Z] Removing intermediate container e8afc63be96b [2023-08-30T18:44:44.934Z] ---> 23ef83615e00 [2023-08-30T18:44:44.934Z] Step 11/23 : FROM alpine:3.17 [2023-08-30T18:44:44.934Z] 3.17: Pulling from library/alpine [2023-08-30T18:44:44.934Z] 9398808236ff: Pulling fs layer [2023-08-30T18:44:44.934Z] 9398808236ff: Download complete [2023-08-30T18:44:44.934Z] 9398808236ff: Pull complete [2023-08-30T18:44:44.934Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-30T18:44:44.934Z] Status: Downloaded newer image for alpine:3.17 [2023-08-30T18:44:44.934Z] ---> 1e0b8b5322fc [2023-08-30T18:44:44.934Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-08-30T18:44:44.934Z] ---> Running in cc1914aa2b40 [2023-08-30T18:44:44.934Z] Removing intermediate container cc1914aa2b40 [2023-08-30T18:44:44.934Z] ---> dc1a10ab72d0 [2023-08-30T18:44:44.934Z] Step 13/23 : RUN apk add --update --no-cache [2023-08-30T18:44:44.934Z] ---> Running in a993f8fcd78c [2023-08-30T18:44:44.934Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-30T18:44:44.934Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-30T18:44:44.934Z] OK: 7 MiB in 15 packages [2023-08-30T18:44:44.934Z] Removing intermediate container a993f8fcd78c [2023-08-30T18:44:44.934Z] ---> 5798141ececc [2023-08-30T18:44:44.934Z] Step 14/23 : WORKDIR / [2023-08-30T18:44:44.934Z] ---> Running in 8bd550309d4f [2023-08-30T18:44:44.934Z] Removing intermediate container 8bd550309d4f [2023-08-30T18:44:44.934Z] ---> b3aba50d4db9 [2023-08-30T18:44:44.934Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-08-30T18:44:45.193Z] ---> ba75801840d9 [2023-08-30T18:44:45.193Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-08-30T18:44:46.130Z] ---> 7c299c8e749f [2023-08-30T18:44:46.130Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-08-30T18:44:46.130Z] ---> c401304a7979 [2023-08-30T18:44:46.130Z] Step 18/23 : EXPOSE 59999 [2023-08-30T18:44:46.130Z] ---> Running in 3a1c9d3a52a7 [2023-08-30T18:44:46.130Z] Removing intermediate container 3a1c9d3a52a7 [2023-08-30T18:44:46.130Z] ---> 9d8ff6c2c6ed [2023-08-30T18:44:46.130Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-08-30T18:44:46.389Z] ---> Running in ff4dbd427991 [2023-08-30T18:44:46.389Z] Removing intermediate container ff4dbd427991 [2023-08-30T18:44:46.389Z] ---> 6d15cf74b051 [2023-08-30T18:44:46.389Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-08-30T18:44:46.389Z] ---> Running in 3d7f7180e261 [2023-08-30T18:44:46.389Z] Removing intermediate container 3d7f7180e261 [2023-08-30T18:44:46.389Z] ---> cc0a66b710a9 [2023-08-30T18:44:46.389Z] Step 21/23 : LABEL arch=amd64 [2023-08-30T18:44:46.389Z] ---> Running in 4bb84b71e7d3 [2023-08-30T18:44:46.649Z] Removing intermediate container 4bb84b71e7d3 [2023-08-30T18:44:46.649Z] ---> 1d5add4caf26 [2023-08-30T18:44:46.649Z] Step 22/23 : LABEL git_sha=8b2749d174061137ef1b3b81211fed69c5a45a24 [2023-08-30T18:44:46.649Z] ---> Running in ee3b809c094a [2023-08-30T18:44:46.649Z] Removing intermediate container ee3b809c094a [2023-08-30T18:44:46.649Z] ---> 6c6708b509cf [2023-08-30T18:44:46.649Z] Step 23/23 : LABEL version=0.0.0 [2023-08-30T18:44:46.649Z] ---> Running in bc6519e538ac [2023-08-30T18:44:46.649Z] Removing intermediate container bc6519e538ac [2023-08-30T18:44:46.649Z] ---> aa62ee812292 [2023-08-30T18:44:46.649Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-30T18:44:46.910Z] Successfully built aa62ee812292 [2023-08-30T18:44:46.910Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T18:44:47.333Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-30T18:44:47.333Z] [2023-08-30T18:44:47.333Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T18:44:47.636Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-30T18:44:47.636Z] latest: Pulling from edgex-lftools-log-publisher [2023-08-30T18:44:47.636Z] 5eb5b503b376: Pulling fs layer [2023-08-30T18:44:47.636Z] 5c69ac0246d0: Pulling fs layer [2023-08-30T18:44:47.636Z] ec43610c2a17: Pulling fs layer [2023-08-30T18:44:47.636Z] 3a2ae6a8a46f: Pulling fs layer [2023-08-30T18:44:47.636Z] 33b1e0a273af: Pulling fs layer [2023-08-30T18:44:47.636Z] 5d3b04190fa2: Pulling fs layer [2023-08-30T18:44:47.636Z] 2f39f015ded8: Pulling fs layer [2023-08-30T18:44:47.636Z] 3a2ae6a8a46f: Waiting [2023-08-30T18:44:47.636Z] 33b1e0a273af: Waiting [2023-08-30T18:44:47.636Z] 5d3b04190fa2: Waiting [2023-08-30T18:44:47.636Z] 2f39f015ded8: Waiting [2023-08-30T18:44:47.636Z] 5c69ac0246d0: Download complete [2023-08-30T18:44:47.636Z] 3a2ae6a8a46f: Download complete [2023-08-30T18:44:47.636Z] 33b1e0a273af: Verifying Checksum [2023-08-30T18:44:47.636Z] 33b1e0a273af: Download complete [2023-08-30T18:44:47.937Z] 5d3b04190fa2: Verifying Checksum [2023-08-30T18:44:47.937Z] 5d3b04190fa2: Download complete [2023-08-30T18:44:47.937Z] ec43610c2a17: Verifying Checksum [2023-08-30T18:44:47.937Z] ec43610c2a17: Download complete [2023-08-30T18:44:47.937Z] 5eb5b503b376: Verifying Checksum [2023-08-30T18:44:47.937Z] 5eb5b503b376: Download complete [2023-08-30T18:44:48.874Z] 2f39f015ded8: Download complete [2023-08-30T18:44:49.133Z] 5eb5b503b376: Pull complete [2023-08-30T18:44:49.391Z] 5c69ac0246d0: Pull complete [2023-08-30T18:44:49.650Z] ec43610c2a17: Pull complete [2023-08-30T18:44:49.650Z] 3a2ae6a8a46f: Pull complete [2023-08-30T18:44:49.909Z] 33b1e0a273af: Pull complete [2023-08-30T18:44:50.055Z] 2f466654f4bb: Pull complete [2023-08-30T18:44:50.167Z] 5d3b04190fa2: Pull complete [2023-08-30T18:44:52.004Z] 554e91adad29: Pull complete [2023-08-30T18:44:52.004Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-08-30T18:44:52.004Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-08-30T18:44:52.004Z] ---> 1e15ea492957 [2023-08-30T18:44:52.004Z] Step 3/10 : ARG MAKE=make build [2023-08-30T18:44:53.951Z] ---> Running in edf0a8053034 [2023-08-30T18:44:53.951Z] Removing intermediate container edf0a8053034 [2023-08-30T18:44:53.951Z] ---> 8c3e325a8c3d [2023-08-30T18:44:53.951Z] Step 4/10 : WORKDIR /device-sdk-go [2023-08-30T18:44:53.951Z] ---> Running in 9d0fd3b74a93 [2023-08-30T18:44:54.219Z] Removing intermediate container 9d0fd3b74a93 [2023-08-30T18:44:54.219Z] ---> 8cf752db3bd1 [2023-08-30T18:44:54.219Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-08-30T18:44:54.486Z] ---> Running in 1e25edbb6ad5 [2023-08-30T18:44:54.755Z] Removing intermediate container 1e25edbb6ad5 [2023-08-30T18:44:54.755Z] ---> 730e872dee28 [2023-08-30T18:44:54.755Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-08-30T18:44:54.755Z] ---> Running in 06de78d2395e [2023-08-30T18:44:55.439Z] 2f39f015ded8: Pull complete [2023-08-30T18:44:55.439Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-08-30T18:44:55.439Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-30T18:44:55.439Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-30T18:44:55.518Z] prd-ubuntu20.04-docker-8c-8g-4916 does not seem to be running inside a container [2023-08-30T18:44:55.553Z] $ 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-1502 -v /w/workspace/gexfoundry_device-sdk-go_PR-1502:/w/workspace/gexfoundry_device-sdk-go_PR-1502:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1502@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1502@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-08-30T18:44:55.728Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-30T18:44:56.312Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-30T18:44:57.273Z] OK: 263 MiB in 53 packages [2023-08-30T18:44:57.857Z] Removing intermediate container 06de78d2395e [2023-08-30T18:44:57.857Z] ---> df26b9152511 [2023-08-30T18:44:57.857Z] Step 7/10 : COPY go.mod vendor* ./ [2023-08-30T18:44:58.447Z] ---> d29c65b99e27 [2023-08-30T18:44:58.447Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-30T18:44:58.447Z] ---> Running in f40cbf1c1996 [2023-08-30T18:44:58.909Z] $ docker top dd4529d0964404bdf9ca3b8ce4ef383ad571204ff60be64a11b9362c72e3a459 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-30T18:44:59.314Z] ---> job-cost.sh [2023-08-30T18:44:59.314Z] lf-activate-venv: SKIPPING [2023-08-30T18:44:59.314Z] INFO: No Stack... [2023-08-30T18:44:59.882Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-30T18:45:00.141Z] INFO: Archiving Costs [Pipeline] sh [2023-08-30T18:45:00.436Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1502/archives/cost.csv [2023-08-30T18:45:00.436Z] + cut -d, -f6 [Pipeline] lock [2023-08-30T18:45:00.449Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1502-2-stack-cost] [2023-08-30T18:45:00.461Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1502-2-stack-cost] did not exist. Created. [2023-08-30T18:45:00.461Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1502-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-30T18:45:00.763Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-08-30T18:45:00.801Z] Stashed 1 file(s) [Pipeline] } [2023-08-30T18:45:00.807Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1502-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-30T18:45:00.827Z] $ docker stop --time=1 dd4529d0964404bdf9ca3b8ce4ef383ad571204ff60be64a11b9362c72e3a459 [2023-08-30T18:45:01.983Z] $ docker rm -f --volumes dd4529d0964404bdf9ca3b8ce4ef383ad571204ff60be64a11b9362c72e3a459 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-08-30T18:46:06.300Z] Removing intermediate container f40cbf1c1996 [2023-08-30T18:46:06.300Z] ---> 60673c2581d0 [2023-08-30T18:46:06.300Z] Step 9/10 : COPY . . [2023-08-30T18:46:06.300Z] ---> 4446972110ad [2023-08-30T18:46:06.300Z] Step 10/10 : RUN ${MAKE} [2023-08-30T18:46:06.300Z] ---> Running in 00dc3b88af1f [2023-08-30T18:46:06.300Z] noop [2023-08-30T18:46:06.300Z] Removing intermediate container 00dc3b88af1f [2023-08-30T18:46:06.300Z] ---> f4456766569d [2023-08-30T18:46:06.300Z] Successfully built f4456766569d [2023-08-30T18:46:06.300Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T18:46:06.645Z] + docker inspect -f . ci-base-image-arm64 [2023-08-30T18:46:06.645Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-30T18:46:06.853Z] prd-ubuntu20.04-docker-arm64-4c-16g-4917 does not seem to be running inside a container [2023-08-30T18:46:06.919Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-08-30T18:46:08.088Z] $ docker top d855df04989f8aae564fdb908992578ce3e3ec95599c5fba74312c43fff06c6e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-30T18:46:08.903Z] + go version [2023-08-30T18:46:08.903Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-08-30T18:46:08.928Z] $ docker stop --time=1 d855df04989f8aae564fdb908992578ce3e3ec95599c5fba74312c43fff06c6e [2023-08-30T18:46:10.492Z] $ docker rm -f --volumes d855df04989f8aae564fdb908992578ce3e3ec95599c5fba74312c43fff06c6e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T18:46:11.023Z] + docker inspect -f . ci-base-image-arm64 [2023-08-30T18:46:11.024Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-30T18:46:11.206Z] prd-ubuntu20.04-docker-arm64-4c-16g-4917 does not seem to be running inside a container [2023-08-30T18:46:11.273Z] $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-08-30T18:46:12.400Z] $ docker top 6e9dbc494893e5232e80b809be88e9310c87113282b8628de355c348e85cc30e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-30T18:46:12.907Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh [2023-08-30T18:46:13.237Z] + make test [2023-08-30T18:46:13.237Z] go test -race -coverprofile=coverage.out ./... [2023-08-30T18:46:52.130Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-08-30T18:48:58.790Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-08-30T18:48:58.790Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-08-30T18:48:58.790Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-08-30T18:48:58.790Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-08-30T18:48:58.790Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-08-30T18:49:05.418Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.227s coverage: 27.6% of statements [2023-08-30T18:49:08.753Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.259s coverage: 80.2% of statements [2023-08-30T18:49:21.039Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-08-30T18:49:21.039Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-08-30T18:49:21.039Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.351s coverage: 86.0% of statements [2023-08-30T18:49:27.685Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-08-30T18:49:27.685Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.386s coverage: 71.8% of statements [2023-08-30T18:49:31.045Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.286s coverage: 14.1% of statements [2023-08-30T18:49:33.619Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-08-30T18:49:33.619Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-08-30T18:49:33.619Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.882s coverage: 43.8% of statements [2023-08-30T18:49:33.619Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.438s coverage: 68.5% of statements [2023-08-30T18:49:36.958Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.437s coverage: 89.2% of statements [2023-08-30T18:49:38.365Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-08-30T18:49:38.631Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.248s coverage: 5.5% of statements [2023-08-30T18:49:39.224Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-08-30T18:49:39.224Z] GO111MODULE=on go vet ./... [2023-08-30T18:52:01.249Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-30T18:52:01.249Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-30T18:52:01.249Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-30T18:52:01.270Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-30T18:52:01.296Z] $ docker stop --time=1 6e9dbc494893e5232e80b809be88e9310c87113282b8628de355c348e85cc30e [2023-08-30T18:52:03.186Z] $ docker rm -f --volumes 6e9dbc494893e5232e80b809be88e9310c87113282b8628de355c348e85cc30e [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-30T18:52:04.671Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-30T18:52:04.686Z] Warning: overwriting stash ‘coverage-report’ [2023-08-30T18:52:05.189Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-30T18:52:05.558Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-30T18:52:05.865Z] + ls -al . [2023-08-30T18:52:05.865Z] total 300 [2023-08-30T18:52:05.865Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 30 18:46 . [2023-08-30T18:52:05.865Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 30 18:43 .. [2023-08-30T18:52:05.865Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 30 18:43 .dockerignore [2023-08-30T18:52:05.865Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 30 18:43 .git [2023-08-30T18:52:05.865Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 30 18:43 .github [2023-08-30T18:52:05.865Z] -rw-rw-r-- 1 jenkins jenkins 137 Aug 30 18:43 .gitignore [2023-08-30T18:52:05.865Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 30 18:43 .golangci.yml [2023-08-30T18:52:05.865Z] -rw-rw-r-- 1 jenkins jenkins 44878 Aug 30 18:43 CHANGELOG.md [2023-08-30T18:52:05.865Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 30 18:43 GOVERNANCE.md [2023-08-30T18:52:05.865Z] -rw-rw-r-- 1 jenkins jenkins 885 Aug 30 18:43 Jenkinsfile [2023-08-30T18:52:05.865Z] -rw-rw-r-- 1 jenkins jenkins 11341 Aug 30 18:43 LICENSE [2023-08-30T18:52:05.865Z] -rw-rw-r-- 1 jenkins jenkins 1842 Aug 30 18:43 Makefile [2023-08-30T18:52:05.865Z] -rw-rw-r-- 1 jenkins jenkins 619 Aug 30 18:43 OWNERS.md [2023-08-30T18:52:05.865Z] -rw-rw-r-- 1 jenkins jenkins 4933 Aug 30 18:43 README.md [2023-08-30T18:52:05.865Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 30 18:42 VERSION [2023-08-30T18:52:05.865Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 30 18:43 bin [2023-08-30T18:52:05.865Z] -rw-r--r-- 1 jenkins jenkins 120470 Aug 30 18:49 coverage.out [2023-08-30T18:52:05.865Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 30 18:43 example [2023-08-30T18:52:05.865Z] -rw-rw-r-- 1 jenkins jenkins 3721 Aug 30 18:43 go.mod [2023-08-30T18:52:05.865Z] -rw-rw-r-- 1 jenkins jenkins 33545 Aug 30 18:43 go.sum [2023-08-30T18:52:05.865Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 30 18:43 internal [2023-08-30T18:52:05.865Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 30 18:43 openapi [2023-08-30T18:52:05.865Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 30 18:43 pkg [2023-08-30T18:52:05.865Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 30 18:43 snap [2023-08-30T18:52:05.865Z] -rw-rw-r-- 1 jenkins jenkins 222 Aug 30 18:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T18:52:06.193Z] + 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=644a61b16b14163bf2c0f51f1f9f69af932fa6f1 --label arch=arm64 --label version=0.0.0 . [2023-08-30T18:52:06.460Z] Sending build context to Docker daemon 6.068MB [2023-08-30T18:52:06.460Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-08-30T18:52:06.460Z] Step 2/23 : FROM ${BASE} AS builder [2023-08-30T18:52:06.460Z] ---> f4456766569d [2023-08-30T18:52:06.460Z] Step 3/23 : ARG MAKE=make build [2023-08-30T18:52:06.726Z] ---> Running in 601fb5a222f1 [2023-08-30T18:52:06.993Z] Removing intermediate container 601fb5a222f1 [2023-08-30T18:52:06.993Z] ---> 6fe9fb95ae03 [2023-08-30T18:52:06.993Z] Step 4/23 : WORKDIR /device-sdk-go [2023-08-30T18:52:06.993Z] ---> Running in 4e791e46bc39 [2023-08-30T18:52:07.260Z] Removing intermediate container 4e791e46bc39 [2023-08-30T18:52:07.260Z] ---> 906ca013a4d7 [2023-08-30T18:52:07.260Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-08-30T18:52:07.260Z] ---> Running in c186860d335b [2023-08-30T18:52:07.526Z] Removing intermediate container c186860d335b [2023-08-30T18:52:07.527Z] ---> da6394289fed [2023-08-30T18:52:07.527Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-08-30T18:52:07.795Z] ---> Running in 43c451070709 [2023-08-30T18:52:08.753Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-30T18:52:09.335Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-30T18:52:10.292Z] OK: 263 MiB in 53 packages [2023-08-30T18:52:11.248Z] Removing intermediate container 43c451070709 [2023-08-30T18:52:11.248Z] ---> 19affd36437b [2023-08-30T18:52:11.248Z] Step 7/23 : COPY go.mod vendor* ./ [2023-08-30T18:52:11.833Z] ---> 8e263c0cb5b0 [2023-08-30T18:52:11.833Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-30T18:52:11.833Z] ---> Running in 065aacc95459 [2023-08-30T18:52:13.770Z] Removing intermediate container 065aacc95459 [2023-08-30T18:52:13.770Z] ---> 4f0a54dfd0af [2023-08-30T18:52:13.770Z] Step 9/23 : COPY . . [2023-08-30T18:52:14.733Z] ---> 7176f0d04d27 [2023-08-30T18:52:14.733Z] Step 10/23 : RUN ${MAKE} [2023-08-30T18:52:14.733Z] ---> Running in 7f3614e15c4a [2023-08-30T18:52:15.694Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-08-30T18:54:37.358Z] Removing intermediate container 7f3614e15c4a [2023-08-30T18:54:37.358Z] ---> 67d1f2d2a1a6 [2023-08-30T18:54:37.358Z] Step 11/23 : FROM alpine:3.17 [2023-08-30T18:54:37.358Z] 3.17: Pulling from library/alpine [2023-08-30T18:54:37.358Z] 4060ece20d7a: Pulling fs layer [2023-08-30T18:54:37.358Z] 4060ece20d7a: Verifying Checksum [2023-08-30T18:54:37.358Z] 4060ece20d7a: Download complete [2023-08-30T18:54:37.358Z] 4060ece20d7a: Pull complete [2023-08-30T18:54:37.358Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-30T18:54:37.358Z] Status: Downloaded newer image for alpine:3.17 [2023-08-30T18:54:37.358Z] ---> 8650cd65339b [2023-08-30T18:54:37.358Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-08-30T18:54:37.358Z] ---> Running in c0c7d3adb682 [2023-08-30T18:54:37.358Z] Removing intermediate container c0c7d3adb682 [2023-08-30T18:54:37.358Z] ---> 429966644c81 [2023-08-30T18:54:37.358Z] Step 13/23 : RUN apk add --update --no-cache [2023-08-30T18:54:37.358Z] ---> Running in 06e3257bd8de [2023-08-30T18:54:37.358Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-30T18:54:37.358Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-30T18:54:37.358Z] OK: 7 MiB in 15 packages [2023-08-30T18:54:37.358Z] Removing intermediate container 06e3257bd8de [2023-08-30T18:54:37.358Z] ---> 02b642ae159b [2023-08-30T18:54:37.358Z] Step 14/23 : WORKDIR / [2023-08-30T18:54:37.358Z] ---> Running in 420e3b0565cf [2023-08-30T18:54:37.358Z] Removing intermediate container 420e3b0565cf [2023-08-30T18:54:37.358Z] ---> 38e77f31f1e6 [2023-08-30T18:54:37.358Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-08-30T18:54:37.358Z] ---> 56d7879de24a [2023-08-30T18:54:37.358Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-08-30T18:54:37.358Z] ---> ae4158dc1587 [2023-08-30T18:54:37.358Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-08-30T18:54:37.358Z] ---> 8d3b62a43cd4 [2023-08-30T18:54:37.358Z] Step 18/23 : EXPOSE 59999 [2023-08-30T18:54:37.358Z] ---> Running in 484b499fcf3a [2023-08-30T18:54:37.359Z] Removing intermediate container 484b499fcf3a [2023-08-30T18:54:37.359Z] ---> 2699eaf5fec8 [2023-08-30T18:54:37.359Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-08-30T18:54:37.359Z] ---> Running in 91ca4e97e67c [2023-08-30T18:54:37.359Z] Removing intermediate container 91ca4e97e67c [2023-08-30T18:54:37.359Z] ---> f9eee78ee843 [2023-08-30T18:54:37.359Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-08-30T18:54:37.359Z] ---> Running in c59ae0f25d40 [2023-08-30T18:54:37.359Z] Removing intermediate container c59ae0f25d40 [2023-08-30T18:54:37.359Z] ---> c3cb895f7b22 [2023-08-30T18:54:37.359Z] Step 21/23 : LABEL arch=arm64 [2023-08-30T18:54:37.359Z] ---> Running in a625a3caa419 [2023-08-30T18:54:37.359Z] Removing intermediate container a625a3caa419 [2023-08-30T18:54:37.359Z] ---> 87a150c5a184 [2023-08-30T18:54:37.359Z] Step 22/23 : LABEL git_sha=644a61b16b14163bf2c0f51f1f9f69af932fa6f1 [2023-08-30T18:54:37.359Z] ---> Running in f1990ccdad07 [2023-08-30T18:54:37.359Z] Removing intermediate container f1990ccdad07 [2023-08-30T18:54:37.359Z] ---> 8d000ae1c9f6 [2023-08-30T18:54:37.359Z] Step 23/23 : LABEL version=0.0.0 [2023-08-30T18:54:37.359Z] ---> Running in 98e31c54bf34 [2023-08-30T18:54:37.359Z] Removing intermediate container 98e31c54bf34 [2023-08-30T18:54:37.359Z] ---> a473de627f3f [2023-08-30T18:54:37.359Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-30T18:54:37.359Z] Successfully built a473de627f3f [2023-08-30T18:54:37.359Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T18:54:37.767Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-30T18:54:37.767Z] [2023-08-30T18:54:37.767Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T18:54:38.095Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-30T18:54:38.096Z] arm64: Pulling from edgex-lftools-log-publisher [2023-08-30T18:54:38.096Z] 8998bd30e6a1: Pulling fs layer [2023-08-30T18:54:38.096Z] 04944245beec: Pulling fs layer [2023-08-30T18:54:38.096Z] 699f458cf7ca: Pulling fs layer [2023-08-30T18:54:38.096Z] 765212b225bb: Pulling fs layer [2023-08-30T18:54:38.096Z] f23df028b6ca: Pulling fs layer [2023-08-30T18:54:38.096Z] d65c8cfc05b1: Pulling fs layer [2023-08-30T18:54:38.096Z] 2437ff75d9bd: Pulling fs layer [2023-08-30T18:54:38.096Z] 765212b225bb: Waiting [2023-08-30T18:54:38.096Z] d65c8cfc05b1: Waiting [2023-08-30T18:54:38.096Z] f23df028b6ca: Waiting [2023-08-30T18:54:38.096Z] 2437ff75d9bd: Waiting [2023-08-30T18:54:38.362Z] 04944245beec: Verifying Checksum [2023-08-30T18:54:38.362Z] 04944245beec: Download complete [2023-08-30T18:54:38.362Z] 765212b225bb: Verifying Checksum [2023-08-30T18:54:38.362Z] 765212b225bb: Download complete [2023-08-30T18:54:38.362Z] f23df028b6ca: Verifying Checksum [2023-08-30T18:54:38.362Z] f23df028b6ca: Download complete [2023-08-30T18:54:38.362Z] d65c8cfc05b1: Verifying Checksum [2023-08-30T18:54:38.362Z] d65c8cfc05b1: Download complete [2023-08-30T18:54:38.362Z] 699f458cf7ca: Verifying Checksum [2023-08-30T18:54:38.362Z] 699f458cf7ca: Download complete [2023-08-30T18:54:38.944Z] 8998bd30e6a1: Verifying Checksum [2023-08-30T18:54:38.944Z] 8998bd30e6a1: Download complete [2023-08-30T18:54:40.887Z] 2437ff75d9bd: Verifying Checksum [2023-08-30T18:54:40.887Z] 2437ff75d9bd: Download complete [2023-08-30T18:54:42.831Z] 8998bd30e6a1: Pull complete [2023-08-30T18:54:43.098Z] 04944245beec: Pull complete [2023-08-30T18:54:44.508Z] 699f458cf7ca: Pull complete [2023-08-30T18:54:44.776Z] 765212b225bb: Pull complete [2023-08-30T18:54:45.357Z] f23df028b6ca: Pull complete [2023-08-30T18:54:45.623Z] d65c8cfc05b1: Pull complete [2023-08-30T18:55:00.618Z] 2437ff75d9bd: Pull complete [2023-08-30T18:55:00.618Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-08-30T18:55:00.618Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-30T18:55:00.618Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-30T18:55:00.831Z] prd-ubuntu20.04-docker-arm64-4c-16g-4917 does not seem to be running inside a container [2023-08-30T18:55:00.910Z] $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-08-30T18:55:03.463Z] $ docker top fb80edd9b83ec5d4654c24e2564ffe24e3f26db484f926db31856d4309144576 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-30T18:55:03.955Z] ---> job-cost.sh [2023-08-30T18:55:04.221Z] lf-activate-venv: SKIPPING [2023-08-30T18:55:04.221Z] INFO: No Stack... [2023-08-30T18:55:04.801Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-08-30T18:55:06.204Z] INFO: Archiving Costs [Pipeline] sh [2023-08-30T18:55:06.838Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2023-08-30T18:55:06.838Z] + cut -d, -f6 [Pipeline] lock [2023-08-30T18:55:06.902Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1502-2-stack-cost] [2023-08-30T18:55:06.908Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1502-2-stack-cost] did not exist. Created. [2023-08-30T18:55:06.908Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1502-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-30T18:55:07.560Z] /w/workspace/device-sdk-go/2@tmp/durable-5cd35d01/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-08-30T18:55:08.216Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-08-30T18:55:08.230Z] Warning: overwriting stash ‘stack-cost’ [2023-08-30T18:55:08.306Z] Stashed 1 file(s) [Pipeline] } [2023-08-30T18:55:08.314Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1502-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-30T18:55:08.345Z] $ docker stop --time=1 fb80edd9b83ec5d4654c24e2564ffe24e3f26db484f926db31856d4309144576 [2023-08-30T18:55:09.820Z] $ docker rm -f --volumes fb80edd9b83ec5d4654c24e2564ffe24e3f26db484f926db31856d4309144576 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-08-30T18:55:10.237Z] provisioning config files... [2023-08-30T18:55:10.244Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1502@tmp/config2381810751419811789tmp [Pipeline] { [Pipeline] sh [2023-08-30T18:55:10.534Z] + set +x [2023-08-30T18:55:10.534Z] + + bash -s -- [2023-08-30T18:55:10.534Z] curl -s https://codecov.io/bash [2023-08-30T18:55:10.534Z] [2023-08-30T18:55:10.534Z] _____ _ [2023-08-30T18:55:10.534Z] / ____| | | [2023-08-30T18:55:10.534Z] | | ___ __| | ___ ___ _____ __ [2023-08-30T18:55:10.534Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-08-30T18:55:10.534Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-08-30T18:55:10.534Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-08-30T18:55:10.534Z] Bash-1.0.6 [2023-08-30T18:55:10.534Z] [2023-08-30T18:55:10.534Z] [2023-08-30T18:55:10.534Z] ==> git version 2.25.1 found [2023-08-30T18:55:10.534Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-08-30T18:55:10.534Z] Release-Date: 2020-01-08 [2023-08-30T18:55:10.534Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-08-30T18:55:10.534Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-08-30T18:55:10.534Z] ==> Jenkins CI detected. [2023-08-30T18:55:10.534Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1502 [2023-08-30T18:55:10.534Z] project root: . [2023-08-30T18:55:10.534Z] --> token set from env [2023-08-30T18:55:10.534Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-08-30T18:55:10.534Z] ==> Running gcov in . (disable via -X gcov) [2023-08-30T18:55:10.534Z] ==> Python coveragepy not found [2023-08-30T18:55:10.534Z] ==> Searching for coverage reports in: [2023-08-30T18:55:10.534Z] + . [2023-08-30T18:55:10.792Z] -> Found 1 reports [2023-08-30T18:55:10.793Z] ==> Detecting git/mercurial file structure [2023-08-30T18:55:10.793Z] ==> Reading reports [2023-08-30T18:55:10.793Z] + ./coverage.out bytes=120470 [2023-08-30T18:55:10.793Z] ==> Appending adjustments [2023-08-30T18:55:10.793Z] https://docs.codecov.io/docs/fixing-reports [2023-08-30T18:55:11.052Z] + Found adjustments [2023-08-30T18:55:11.052Z] ==> Gzipping contents [2023-08-30T18:55:11.052Z] 20K /tmp/codecov.DEkJym.gz [2023-08-30T18:55:11.052Z] ==> Uploading reports [2023-08-30T18:55:11.052Z] url: https://codecov.io [2023-08-30T18:55:11.052Z] query: branch=PR-1502&commit=8b2749d174061137ef1b3b81211fed69c5a45a24&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1502%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1502&job=&cmd_args= [2023-08-30T18:55:11.052Z] -> Pinging Codecov [2023-08-30T18:55:11.052Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1502&commit=8b2749d174061137ef1b3b81211fed69c5a45a24&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1502%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1502&job=&cmd_args= [2023-08-30T18:55:11.052Z] -> Uploading to [2023-08-30T18:55:11.052Z] https://storage.googleapis.com/codecov/v4/raw/2023-08-30/7E55EF52A471D76F132DFD9A03CDDE97/8b2749d174061137ef1b3b81211fed69c5a45a24/b4f93adb-3ff4-4f97-beee-7c48ec68e95d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230830%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230830T185510Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c1b1c0c5e9b211f0f75ed8e1d1b032dd638ccfee11c8c5dd58ffd3e16807cfd1 [2023-08-30T18:55:11.052Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-30T18:55:11.052Z] Dload Upload Total Spent Left Speed [2023-08-30T18:55:11.310Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16423 0 0 100 16423 0 82527 --:--:-- --:--:-- --:--:-- 82115 100 16423 0 0 100 16423 0 82115 --:--:-- --:--:-- --:--:-- 81706 [2023-08-30T18:55:11.310Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/8b2749d174061137ef1b3b81211fed69c5a45a24 [Pipeline] } [2023-08-30T18:55:11.317Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-08-30T18:55:12.181Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1502/archives ] [2023-08-30T18:55:12.181Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1502/archives [2023-08-30T18:55:12.181Z] total 16 [2023-08-30T18:55:12.181Z] drwxr-xr-x 3 root root 4096 Aug 30 18:44 . [2023-08-30T18:55:12.181Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 30 18:45 .. [2023-08-30T18:55:12.181Z] drwxr-xr-x 2 root root 4096 Aug 30 18:44 cost [2023-08-30T18:55:12.181Z] -rw-r--r-- 1 root root 86 Aug 30 18:44 cost.csv [2023-08-30T18:55:12.181Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1502/archives [2023-08-30T18:55:12.181Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1502/archives [2023-08-30T18:55:12.181Z] total 16 [2023-08-30T18:55:12.181Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 30 18:44 . [2023-08-30T18:55:12.181Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 30 18:45 .. [2023-08-30T18:55:12.181Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 30 18:44 cost [2023-08-30T18:55:12.181Z] -rw-r--r-- 1 jenkins jenkins 86 Aug 30 18:44 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-08-30T18:55:12.469Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-30T18:55:13.329Z] ---> package-listing.sh [2023-08-30T18:55:13.329Z] ++ facter osfamily [2023-08-30T18:55:13.329Z] ++ tr '[:upper:]' '[:lower:]' [2023-08-30T18:55:13.588Z] + OS_FAMILY=debian [2023-08-30T18:55:13.588Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1502 [2023-08-30T18:55:13.588Z] + START_PACKAGES=/tmp/packages_start.txt [2023-08-30T18:55:13.588Z] + END_PACKAGES=/tmp/packages_end.txt [2023-08-30T18:55:13.588Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-08-30T18:55:13.588Z] + PACKAGES=/tmp/packages_start.txt [2023-08-30T18:55:13.588Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1502 ']' [2023-08-30T18:55:13.588Z] + PACKAGES=/tmp/packages_end.txt [2023-08-30T18:55:13.588Z] + case "${OS_FAMILY}" in [2023-08-30T18:55:13.588Z] + dpkg -l [2023-08-30T18:55:13.588Z] + grep '^ii' [2023-08-30T18:55:13.588Z] + '[' -f /tmp/packages_start.txt ']' [2023-08-30T18:55:13.588Z] + '[' -f /tmp/packages_end.txt ']' [2023-08-30T18:55:13.588Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-08-30T18:55:13.588Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1502 ']' [2023-08-30T18:55:13.588Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1502/archives/ [2023-08-30T18:55:13.588Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1502/archives/ [Pipeline] echo [2023-08-30T18:55:13.601Z] 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-1502/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-08-30T18:55:13.883Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T18:55:14.448Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-30T18:55:14.448Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-30T18:55:14.517Z] prd-ubuntu20.04-docker-8c-8g-4916 does not seem to be running inside a container [2023-08-30T18:55:14.553Z] $ 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-1502/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-1502 -v /w/workspace/gexfoundry_device-sdk-go_PR-1502:/w/workspace/gexfoundry_device-sdk-go_PR-1502:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1502@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1502@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-08-30T18:55:14.730Z] $ docker top 13beb0e08e1119dea1068c3f668960626ca27d0cdd7bf8475c7d2646f920b6fe -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-30T18:55:15.076Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-08-30T18:55:15.361Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-08-30T18:55:15.650Z] + ls /var/log/sa-host [2023-08-30T18:55:15.650Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-30T18:55:15.793Z] provisioning config files... [2023-08-30T18:55:15.801Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1502@tmp/config12348558774636508693tmp [Pipeline] { [Pipeline] echo [2023-08-30T18:55:15.812Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-30T18:55:16.097Z] ---> create-netrc.sh [Pipeline] } [2023-08-30T18:55:16.104Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-08-30T18:55:16.447Z] ---> python-tools-install.sh [Pipeline] echo [2023-08-30T18:55:16.456Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-30T18:55:16.738Z] ---> sudo-logs.sh [2023-08-30T18:55:16.738Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-08-30T18:55:16.766Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-30T18:55:17.046Z] ---> job-cost.sh [2023-08-30T18:55:17.046Z] lf-activate-venv: SKIPPING [2023-08-30T18:55:17.046Z] DEBUG: total: 0.2199999988079071 [2023-08-30T18:55:17.046Z] INFO: Retrieving Stack Cost... [2023-08-30T18:55:17.305Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-30T18:55:17.874Z] INFO: Archiving Costs [Pipeline] echo [2023-08-30T18:55:17.886Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-30T18:55:18.175Z] ---> logs-deploy.sh [2023-08-30T18:55:18.175Z] lf-activate-venv: SKIPPING [2023-08-30T18:55:18.175Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1502/2 [2023-08-30T18:55:18.175Z] INFO: archiving workspace using pattern(s): [2023-08-30T18:55:19.114Z] Archives upload complete. [2023-08-30T18:55:19.114Z] INFO: archiving logs to Nexus