Pull request #1416 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 443c9a94e52e360bd32f8140badb75194677b1f2+661b18549173505f3afdb4be110c3839c952cb0c (a726449285886cf9c89f333c19e687a9839981a9) 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-ssh17049023416050732190.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh4247605018088980792.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 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1416/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1416/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8902872794558949000.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1416/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15067696561023230250.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh11476367163802469099.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1416/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1416/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh180767868433724349.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-6961 in /w/workspace/gexfoundry_device-sdk-go_PR-1416 [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-1416 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1416/head:refs/remotes/origin/PR-1416 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 661b18549173505f3afdb4be110c3839c952cb0c into PR head commit 443c9a94e52e360bd32f8140badb75194677b1f2 Merge succeeded, producing 443c9a94e52e360bd32f8140badb75194677b1f2 Checking out Revision 443c9a94e52e360bd32f8140badb75194677b1f2 (PR-1416) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-06T04:59:37.851Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-06T04:59:38.030Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW > git config core.sparsecheckout # timeout=10 > git checkout -f 443c9a94e52e360bd32f8140badb75194677b1f2 # 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 661b18549173505f3afdb4be110c3839c952cb0c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 443c9a94e52e360bd32f8140badb75194677b1f2 # timeout=10 [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-06T04:59:38.129Z] ========================================================= [2023-04-06T04:59:38.129Z] EdgeX Global Pipelines Version Info [2023-04-06T04:59:38.129Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-06T04:59:38.860Z] ------------------- [2023-04-06T04:59:38.860Z] stable info: [2023-04-06T04:59:38.860Z] ------------------- [2023-04-06T04:59:38.860Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-04-06T04:59:38.860Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-04-06T04:59:38.860Z] Message: update stable to v1.0.245 [2023-04-06T04:59:39.429Z] ------------------- [2023-04-06T04:59:39.429Z] experimental info: [2023-04-06T04:59:39.429Z] ------------------- [2023-04-06T04:59:39.429Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-06T04:59:39.429Z] Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 [2023-04-06T04:59:39.429Z] Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-06T04:59:39.726Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-04-06T04:59:39.774Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-04-06T04:59:39.816Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-06T04:59:39.859Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-06T04:59:39.900Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-06T04:59:39.940Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-06T04:59:39.981Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-06T04:59:40.023Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-04-06T04:59:40.063Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-06T04:59:40.099Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-06T04:59:40.143Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-06T04:59:40.182Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-04-06T04:59:40.218Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-06T04:59:40.261Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-06T04:59:40.305Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-06T04:59:40.349Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-04-06T04:59:40.388Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-06T04:59:40.431Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-06T04:59:40.467Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-06T04:59:40.511Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-06T04:59:40.550Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-04-06T04:59:40.591Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-04-06T04:59:40.629Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-06T04:59:40.671Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-06T04:59:40.709Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-06T04:59:40.754Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-06T04:59:40.798Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-06T04:59:40.841Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1416 [Pipeline] echo [2023-04-06T04:59:40.878Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1416 [Pipeline] echo [2023-04-06T04:59:40.919Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1416 [Pipeline] echo [2023-04-06T04:59:40.955Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 443c9a94e52e360bd32f8140badb75194677b1f2 [Pipeline] echo [2023-04-06T04:59:40.993Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 443c9a9 [Pipeline] echo [2023-04-06T04:59:41.030Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-06T04:59:41.138Z] provisioning config files... [2023-04-06T04:59:41.157Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1416@tmp/config2094869400682927332tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-06T04:59:41.513Z] ---> docker-login.sh [2023-04-06T04:59:41.513Z] nexus3.edgexfoundry.org:10001 [2023-04-06T04:59:41.773Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T04:59:41.773Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T04:59:41.773Z] Configure a credential helper to remove this warning. See [2023-04-06T04:59:41.773Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T04:59:41.773Z] [2023-04-06T04:59:41.773Z] Login Succeeded [2023-04-06T04:59:41.773Z] nexus3.edgexfoundry.org:10002 [2023-04-06T04:59:42.032Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T04:59:42.032Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T04:59:42.032Z] Configure a credential helper to remove this warning. See [2023-04-06T04:59:42.032Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T04:59:42.032Z] [2023-04-06T04:59:42.032Z] Login Succeeded [2023-04-06T04:59:42.032Z] nexus3.edgexfoundry.org:10003 [2023-04-06T04:59:42.032Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T04:59:42.032Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T04:59:42.032Z] Configure a credential helper to remove this warning. See [2023-04-06T04:59:42.032Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T04:59:42.032Z] [2023-04-06T04:59:42.032Z] Login Succeeded [2023-04-06T04:59:42.032Z] nexus3.edgexfoundry.org:10004 [2023-04-06T04:59:42.293Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T04:59:42.293Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T04:59:42.293Z] Configure a credential helper to remove this warning. See [2023-04-06T04:59:42.293Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T04:59:42.293Z] [2023-04-06T04:59:42.293Z] Login Succeeded [2023-04-06T04:59:42.293Z] docker.io [2023-04-06T04:59:42.293Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T04:59:42.554Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T04:59:42.554Z] Configure a credential helper to remove this warning. See [2023-04-06T04:59:42.554Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T04:59:42.554Z] [2023-04-06T04:59:42.554Z] Login Succeeded [2023-04-06T04:59:42.554Z] ---> docker-login.sh ends [Pipeline] } [2023-04-06T04:59:42.587Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-06T04:59:43.202Z] + git rev-list -1 --merges 443c9a94e52e360bd32f8140badb75194677b1f2~1..443c9a94e52e360bd32f8140badb75194677b1f2 [Pipeline] echo [2023-04-06T04:59:43.270Z] -----------> git rev-list -1 --merges 443c9a94e52e360bd32f8140badb75194677b1f2~1..443c9a94e52e360bd32f8140badb75194677b1f2 443c9a94e52e360bd32f8140badb75194677b1f2 [false] [Pipeline] sh [2023-04-06T04:59:43.579Z] + git log --format=format:%s -1 443c9a94e52e360bd32f8140badb75194677b1f2 [Pipeline] echo [2023-04-06T04:59:43.611Z] ========================================================= [2023-04-06T04:59:43.611Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-06T04:59:43.611Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-06T04:59:44.019Z] + git log --format=format:%s -1 443c9a94e52e360bd32f8140badb75194677b1f2 [Pipeline] echo [2023-04-06T04:59:44.056Z] [semverPrep] GIT_COMMIT: 443c9a94e52e360bd32f8140badb75194677b1f2, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2023-04-06T04:59:44.085Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-06T04:59:44.455Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-06T04:59:44.455Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-06T04:59:44.455Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-06T04:59:44.455Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-06T04:59:44.455Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-06T04:59:44.455Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-06T04:59:44.455Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-06T04:59:44.885Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-06T04:59:44.885Z] [2023-04-06T04:59:44.885Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-06T04:59:45.264Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-06T04:59:45.264Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-06T04:59:45.264Z] b85a868b505f: Pulling fs layer [2023-04-06T04:59:45.264Z] e2be974225ed: Pulling fs layer [2023-04-06T04:59:45.264Z] 339a4e72a1f5: Pulling fs layer [2023-04-06T04:59:45.264Z] 988bab9f4d93: Pulling fs layer [2023-04-06T04:59:45.264Z] 1469e6f7b9e6: Pulling fs layer [2023-04-06T04:59:45.264Z] eaf3925da568: Pulling fs layer [2023-04-06T04:59:45.264Z] bab4dde63d76: Pulling fs layer [2023-04-06T04:59:45.264Z] bde34c3a00c8: Pulling fs layer [2023-04-06T04:59:45.264Z] b352a97aabf1: Pulling fs layer [2023-04-06T04:59:45.264Z] 4872d77fe225: Pulling fs layer [2023-04-06T04:59:45.264Z] 5851b861e8e6: Pulling fs layer [2023-04-06T04:59:45.264Z] bab4dde63d76: Waiting [2023-04-06T04:59:45.264Z] eaf3925da568: Waiting [2023-04-06T04:59:45.264Z] 1469e6f7b9e6: Waiting [2023-04-06T04:59:45.264Z] bde34c3a00c8: Waiting [2023-04-06T04:59:45.264Z] b352a97aabf1: Waiting [2023-04-06T04:59:45.264Z] 4872d77fe225: Waiting [2023-04-06T04:59:45.264Z] 988bab9f4d93: Waiting [2023-04-06T04:59:45.264Z] 5851b861e8e6: Waiting [2023-04-06T04:59:45.264Z] e2be974225ed: Download complete [2023-04-06T04:59:45.264Z] 988bab9f4d93: Verifying Checksum [2023-04-06T04:59:45.264Z] 988bab9f4d93: Download complete [2023-04-06T04:59:45.264Z] 1469e6f7b9e6: Verifying Checksum [2023-04-06T04:59:45.264Z] 1469e6f7b9e6: Download complete [2023-04-06T04:59:45.523Z] 339a4e72a1f5: Verifying Checksum [2023-04-06T04:59:45.523Z] 339a4e72a1f5: Download complete [2023-04-06T04:59:45.523Z] eaf3925da568: Verifying Checksum [2023-04-06T04:59:45.523Z] eaf3925da568: Download complete [2023-04-06T04:59:45.523Z] bde34c3a00c8: Verifying Checksum [2023-04-06T04:59:45.523Z] bde34c3a00c8: Download complete [2023-04-06T04:59:45.523Z] b352a97aabf1: Download complete [2023-04-06T04:59:45.523Z] 4872d77fe225: Verifying Checksum [2023-04-06T04:59:45.523Z] 4872d77fe225: Download complete [2023-04-06T04:59:45.523Z] 5851b861e8e6: Verifying Checksum [2023-04-06T04:59:45.523Z] 5851b861e8e6: Download complete [2023-04-06T04:59:45.523Z] b85a868b505f: Verifying Checksum [2023-04-06T04:59:45.523Z] b85a868b505f: Download complete [2023-04-06T04:59:45.782Z] bab4dde63d76: Verifying Checksum [2023-04-06T04:59:45.782Z] bab4dde63d76: Download complete [2023-04-06T04:59:46.718Z] b85a868b505f: Pull complete [2023-04-06T04:59:46.718Z] e2be974225ed: Pull complete [2023-04-06T04:59:47.284Z] 339a4e72a1f5: Pull complete [2023-04-06T04:59:47.284Z] 988bab9f4d93: Pull complete [2023-04-06T04:59:47.543Z] 1469e6f7b9e6: Pull complete [2023-04-06T04:59:47.801Z] eaf3925da568: Pull complete [2023-04-06T04:59:49.183Z] bab4dde63d76: Pull complete [2023-04-06T04:59:49.445Z] bde34c3a00c8: Pull complete [2023-04-06T04:59:49.445Z] b352a97aabf1: Pull complete [2023-04-06T04:59:49.705Z] 4872d77fe225: Pull complete [2023-04-06T04:59:49.705Z] 5851b861e8e6: Pull complete [2023-04-06T04:59:49.705Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-06T04:59:49.705Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-06T04:59:49.705Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-06T04:59:49.950Z] prd-ubuntu20.04-docker-8c-8g-6961 does not seem to be running inside a container [2023-04-06T04:59:49.976Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1416 -v /w/workspace/gexfoundry_device-sdk-go_PR-1416:/w/workspace/gexfoundry_device-sdk-go_PR-1416:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1416@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1416@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-06T04:59:51.461Z] $ docker top 2087af2e295e28fa394ef332685e04121c4c0214a0a2b093982b81b59af5e280 -eo pid,comm [2023-04-06T04:59:51.513Z] 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-04-06T04:59:51.513Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-06T04:59:51.631Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-06T04:59:51.631Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-06T04:59:51.753Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-06T04:59:51.753Z] $ docker exec 2087af2e295e28fa394ef332685e04121c4c0214a0a2b093982b81b59af5e280 ssh-agent [2023-04-06T04:59:51.860Z] SSH_AUTH_SOCK=/tmp/ssh-8aYcyyRQTmZu/agent.32 [2023-04-06T04:59:51.860Z] SSH_AGENT_PID=38 [2023-04-06T04:59:51.865Z] Running ssh-add (command line suppressed) [2023-04-06T04:59:51.968Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1416@tmp/private_key_7300392008687717320.key (/w/workspace/gexfoundry_device-sdk-go_PR-1416@tmp/private_key_7300392008687717320.key) [2023-04-06T04:59:51.989Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-06T04:59:52.319Z] + git tag --points-at HEAD [Pipeline] } [2023-04-06T04:59:52.346Z] $ docker exec --env ******** --env ******** 2087af2e295e28fa394ef332685e04121c4c0214a0a2b093982b81b59af5e280 ssh-agent -k [2023-04-06T04:59:52.457Z] unset SSH_AUTH_SOCK; [2023-04-06T04:59:52.457Z] unset SSH_AGENT_PID; [2023-04-06T04:59:52.458Z] echo Agent pid 38 killed; [2023-04-06T04:59:52.469Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-06T04:59:52.547Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-06T04:59:52.547Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-06T04:59:52.672Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-06T04:59:52.672Z] $ docker exec 2087af2e295e28fa394ef332685e04121c4c0214a0a2b093982b81b59af5e280 ssh-agent [2023-04-06T04:59:52.782Z] SSH_AUTH_SOCK=/tmp/ssh-ELQFfOGwx1ci/agent.70 [2023-04-06T04:59:52.782Z] SSH_AGENT_PID=76 [2023-04-06T04:59:52.787Z] Running ssh-add (command line suppressed) [2023-04-06T04:59:52.890Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1416@tmp/private_key_16445134052350792511.key (/w/workspace/gexfoundry_device-sdk-go_PR-1416@tmp/private_key_16445134052350792511.key) [2023-04-06T04:59:52.906Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-06T04:59:53.231Z] + git semver init [2023-04-06T04:59:53.492Z] 2023-04-06 04:59:53,430 [run_init] DEBUG init version:0.0.0 force:False [2023-04-06T04:59:53.492Z] 2023-04-06 04:59:53,431 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1416/.semver [2023-04-06T04:59:53.492Z] 2023-04-06 04:59:53,431 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1416/.semver [2023-04-06T04:59:53.492Z] 2023-04-06 04:59:53,431 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1416/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1416, universal_newlines=False, shell=None, istream=None) [2023-04-06T04:59:54.432Z] 2023-04-06 04:59:54,340 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1416/.git/info/exclude [2023-04-06T04:59:54.432Z] 2023-04-06 04:59:54,341 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1416/.semver/PR-1416 with force:False [2023-04-06T04:59:54.432Z] 2023-04-06 04:59:54,341 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1416/.semver/PR-1416 [2023-04-06T04:59:54.432Z] 2023-04-06 04:59:54,346 [execute] INFO git cat-file --batch-check [2023-04-06T04:59:54.432Z] 2023-04-06 04:59:54,346 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1416/.semver, universal_newlines=False, shell=None, istream=) [2023-04-06T04:59:54.432Z] 2023-04-06 04:59:54,352 [execute] INFO git cat-file --batch [2023-04-06T04:59:54.432Z] 2023-04-06 04:59:54,352 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1416/.semver, universal_newlines=False, shell=None, istream=) [2023-04-06T04:59:54.432Z] 2023-04-06 04:59:54,358 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1416/.semver/PR-1416 [2023-04-06T04:59:54.432Z] 0.0.0 [Pipeline] } [2023-04-06T04:59:54.456Z] $ docker exec --env ******** --env ******** 2087af2e295e28fa394ef332685e04121c4c0214a0a2b093982b81b59af5e280 ssh-agent -k [2023-04-06T04:59:54.563Z] unset SSH_AUTH_SOCK; [2023-04-06T04:59:54.563Z] unset SSH_AGENT_PID; [2023-04-06T04:59:54.563Z] echo Agent pid 76 killed; [2023-04-06T04:59:54.575Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-06T04:59:54.984Z] + git semver [Pipeline] } [2023-04-06T04:59:55.265Z] $ docker stop --time=1 2087af2e295e28fa394ef332685e04121c4c0214a0a2b093982b81b59af5e280 [2023-04-06T04:59:56.571Z] $ docker rm -f --volumes 2087af2e295e28fa394ef332685e04121c4c0214a0a2b093982b81b59af5e280 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-06T04:59:56.965Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-06T04:59:57.226Z] Stashed 1 file(s) [Pipeline] echo [2023-04-06T04:59:57.242Z] [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-04-06T04:59:57.812Z] provisioning config files... [2023-04-06T04:59:57.822Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1416@tmp/config12413746276164106436tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-06T04:59:58.167Z] ---> docker-login.sh [2023-04-06T04:59:58.167Z] nexus3.edgexfoundry.org:10001 [2023-04-06T04:59:58.167Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T04:59:58.167Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T04:59:58.167Z] Configure a credential helper to remove this warning. See [2023-04-06T04:59:58.167Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T04:59:58.167Z] [2023-04-06T04:59:58.167Z] Login Succeeded [2023-04-06T04:59:58.167Z] nexus3.edgexfoundry.org:10002 [2023-04-06T04:59:58.167Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T04:59:58.167Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T04:59:58.167Z] Configure a credential helper to remove this warning. See [2023-04-06T04:59:58.167Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T04:59:58.167Z] [2023-04-06T04:59:58.167Z] Login Succeeded [2023-04-06T04:59:58.167Z] nexus3.edgexfoundry.org:10003 [2023-04-06T04:59:58.426Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T04:59:58.426Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T04:59:58.426Z] Configure a credential helper to remove this warning. See [2023-04-06T04:59:58.426Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T04:59:58.426Z] [2023-04-06T04:59:58.426Z] Login Succeeded [2023-04-06T04:59:58.426Z] nexus3.edgexfoundry.org:10004 [2023-04-06T04:59:58.426Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T04:59:58.426Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T04:59:58.426Z] Configure a credential helper to remove this warning. See [2023-04-06T04:59:58.426Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T04:59:58.426Z] [2023-04-06T04:59:58.426Z] Login Succeeded [2023-04-06T04:59:58.426Z] docker.io [2023-04-06T04:59:58.686Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T04:59:58.946Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T04:59:58.946Z] Configure a credential helper to remove this warning. See [2023-04-06T04:59:58.946Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T04:59:58.946Z] [2023-04-06T04:59:58.946Z] Login Succeeded [2023-04-06T04:59:58.946Z] ---> docker-login.sh ends [Pipeline] } [2023-04-06T04:59:58.973Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-06T04:59:59.147Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-06T04:59:59.181Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-06T04:59:59.216Z] ========================================================= [2023-04-06T04:59:59.216Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-06T04:59:59.216Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-06T04:59:59.758Z] + 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-04-06T04:59:59.758Z] Sending build context to Docker daemon 10.91MB [2023-04-06T04:59:59.758Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-04-06T04:59:59.758Z] Step 2/10 : FROM ${BASE} AS builder [2023-04-06T05:00:00.017Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-06T05:00:00.017Z] 63b65145d645: Pulling fs layer [2023-04-06T05:00:00.017Z] a2d21d5440eb: Pulling fs layer [2023-04-06T05:00:00.017Z] 935e6c44a52c: Pulling fs layer [2023-04-06T05:00:00.017Z] 94cc34f8dd06: Pulling fs layer [2023-04-06T05:00:00.017Z] 30dea6a524f1: Pulling fs layer [2023-04-06T05:00:00.017Z] a2aff8979fd8: Pulling fs layer [2023-04-06T05:00:00.017Z] 6808be2612f2: Pulling fs layer [2023-04-06T05:00:00.017Z] f25807f1079a: Pulling fs layer [2023-04-06T05:00:00.017Z] 94cc34f8dd06: Waiting [2023-04-06T05:00:00.017Z] 30dea6a524f1: Waiting [2023-04-06T05:00:00.017Z] a2aff8979fd8: Waiting [2023-04-06T05:00:00.017Z] 6808be2612f2: Waiting [2023-04-06T05:00:00.017Z] a2d21d5440eb: Download complete [2023-04-06T05:00:00.017Z] 94cc34f8dd06: Verifying Checksum [2023-04-06T05:00:00.017Z] 94cc34f8dd06: Download complete [2023-04-06T05:00:00.017Z] 63b65145d645: Verifying Checksum [2023-04-06T05:00:00.017Z] 63b65145d645: Download complete [2023-04-06T05:00:00.017Z] 30dea6a524f1: Verifying Checksum [2023-04-06T05:00:00.017Z] 30dea6a524f1: Download complete [2023-04-06T05:00:00.017Z] a2aff8979fd8: Verifying Checksum [2023-04-06T05:00:00.017Z] a2aff8979fd8: Download complete [2023-04-06T05:00:00.277Z] 63b65145d645: Pull complete [2023-04-06T05:00:00.277Z] a2d21d5440eb: Pull complete [2023-04-06T05:00:00.535Z] f25807f1079a: Verifying Checksum [2023-04-06T05:00:00.535Z] f25807f1079a: Download complete [2023-04-06T05:00:00.794Z] 935e6c44a52c: Verifying Checksum [2023-04-06T05:00:00.794Z] 935e6c44a52c: Download complete [2023-04-06T05:00:00.794Z] 6808be2612f2: Verifying Checksum [2023-04-06T05:00:00.794Z] 6808be2612f2: Download complete [2023-04-06T05:00:04.982Z] 935e6c44a52c: Pull complete [2023-04-06T05:00:04.982Z] 94cc34f8dd06: Pull complete [2023-04-06T05:00:04.982Z] 30dea6a524f1: Pull complete [2023-04-06T05:00:04.982Z] a2aff8979fd8: Pull complete [2023-04-06T05:00:07.795Z] 6808be2612f2: Pull complete [2023-04-06T05:00:08.598Z] f25807f1079a: Pull complete [2023-04-06T05:00:08.599Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-04-06T05:00:08.599Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-06T05:00:08.599Z] ---> 3b553350e43f [2023-04-06T05:00:08.599Z] Step 3/10 : ARG MAKE=make build [2023-04-06T05:00:11.218Z] ---> Running in 62b47595109c [2023-04-06T05:00:11.218Z] Removing intermediate container 62b47595109c [2023-04-06T05:00:11.218Z] ---> d59d8e133c9c [2023-04-06T05:00:11.218Z] Step 4/10 : WORKDIR /device-sdk-go [2023-04-06T05:00:11.502Z] ---> Running in 0fe708f0e560 [2023-04-06T05:00:11.502Z] Removing intermediate container 0fe708f0e560 [2023-04-06T05:00:11.502Z] ---> 882e05a2c2eb [2023-04-06T05:00:11.502Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-04-06T05:00:11.502Z] ---> Running in 9327d2b3a2f4 [2023-04-06T05:00:11.502Z] Removing intermediate container 9327d2b3a2f4 [2023-04-06T05:00:11.502Z] ---> c4a7cb500316 [2023-04-06T05:00:11.502Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-04-06T05:00:11.766Z] ---> Running in 2f4f02c1bf81 [2023-04-06T05:00:12.030Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-06T05:00:12.030Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-06T05:00:12.334Z] OK: 265 MiB in 53 packages [2023-04-06T05:00:12.641Z] Still waiting to schedule task [2023-04-06T05:00:12.641Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-04-06T05:00:13.005Z] Removing intermediate container 2f4f02c1bf81 [2023-04-06T05:00:13.005Z] ---> 90bc89f7af62 [2023-04-06T05:00:13.005Z] Step 7/10 : COPY go.mod vendor* ./ [2023-04-06T05:00:13.005Z] ---> a14fd71b965b [2023-04-06T05:00:13.005Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-06T05:00:13.005Z] ---> Running in b2ab182658d8 [2023-04-06T05:00:41.803Z] Removing intermediate container b2ab182658d8 [2023-04-06T05:00:41.803Z] ---> 1d20fd795e35 [2023-04-06T05:00:41.803Z] Step 9/10 : COPY . . [2023-04-06T05:00:41.803Z] ---> 9dd9cf01b0bb [2023-04-06T05:00:41.803Z] Step 10/10 : RUN ${MAKE} [2023-04-06T05:00:41.803Z] ---> Running in 49f540a55f75 [2023-04-06T05:00:41.803Z] noop [2023-04-06T05:00:41.803Z] Removing intermediate container 49f540a55f75 [2023-04-06T05:00:41.803Z] ---> 003a56afb6e2 [2023-04-06T05:00:41.803Z] Successfully built 003a56afb6e2 [2023-04-06T05:00:41.803Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-06T05:00:42.260Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-06T05:00:42.260Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-06T05:00:42.417Z] prd-ubuntu20.04-docker-8c-8g-6961 does not seem to be running inside a container [2023-04-06T05:00:42.448Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1416 -v /w/workspace/gexfoundry_device-sdk-go_PR-1416:/w/workspace/gexfoundry_device-sdk-go_PR-1416:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1416@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1416@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-06T05:00:42.966Z] $ docker top ed3d5b4262a910968897b14aa5c85b1977a6448b25706cf3514f2e505a3474f7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-06T05:00:43.362Z] + go version [2023-04-06T05:00:43.362Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-06T05:00:43.391Z] $ docker stop --time=1 ed3d5b4262a910968897b14aa5c85b1977a6448b25706cf3514f2e505a3474f7 [2023-04-06T05:00:44.831Z] $ docker rm -f --volumes ed3d5b4262a910968897b14aa5c85b1977a6448b25706cf3514f2e505a3474f7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-06T05:00:45.585Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-06T05:00:45.585Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-06T05:00:45.740Z] prd-ubuntu20.04-docker-8c-8g-6961 does not seem to be running inside a container [2023-04-06T05:00:45.770Z] $ 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-1416 -v /w/workspace/gexfoundry_device-sdk-go_PR-1416:/w/workspace/gexfoundry_device-sdk-go_PR-1416:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1416@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1416@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-06T05:00:46.436Z] $ docker top 69a64bd9b659c4d5b260017592d98c602cfe2c00f862592b80886e8df7c0ad44 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-06T05:00:46.832Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1416 [Pipeline] fileExists [Pipeline] sh [2023-04-06T05:00:47.192Z] + make test [2023-04-06T05:00:47.192Z] go test -race -coverprofile=coverage.out ./... [2023-04-06T05:00:55.329Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-04-06T05:01:10.205Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-04-06T05:01:10.206Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-04-06T05:01:10.206Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-04-06T05:01:10.206Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-04-06T05:01:10.206Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-04-06T05:01:10.206Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.069s coverage: 27.6% of statements [2023-04-06T05:01:10.464Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-04-06T05:01:10.464Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-04-06T05:01:10.464Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.060s coverage: 79.9% of statements [2023-04-06T05:01:10.464Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.075s coverage: 86.0% of statements [2023-04-06T05:01:11.523Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-04-06T05:01:11.523Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-04-06T05:01:11.811Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.127s coverage: 75.7% of statements [2023-04-06T05:01:11.811Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-04-06T05:01:11.811Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-04-06T05:01:12.755Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-04-06T05:01:14.657Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.065s coverage: 14.9% of statements [2023-04-06T05:01:14.657Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.083s coverage: 68.5% of statements [2023-04-06T05:01:14.657Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.126s coverage: 89.2% of statements [2023-04-06T05:01:14.657Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.063s coverage: 5.5% of statements [2023-04-06T05:01:36.605Z] GO111MODULE=on go vet ./... [2023-04-06T05:01:39.156Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-06T05:01:39.156Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-06T05:01:39.156Z] ./bin/test-attribution-txt.sh [2023-04-06T05:01:39.156Z] An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo [2023-04-06T05:01:39.191Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-06T05:01:39.223Z] $ docker stop --time=1 69a64bd9b659c4d5b260017592d98c602cfe2c00f862592b80886e8df7c0ad44 [2023-04-06T05:01:42.404Z] $ docker rm -f --volumes 69a64bd9b659c4d5b260017592d98c602cfe2c00f862592b80886e8df7c0ad44 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-06T05:01:42.985Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-06T05:01:43.086Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-04-06T05:01:43.696Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-06T05:01:44.004Z] + ls -al . [2023-04-06T05:01:44.004Z] total 276 [2023-04-06T05:01:44.004Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 6 05:00 . [2023-04-06T05:01:44.004Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 04:59 .. [2023-04-06T05:01:44.004Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 6 04:59 .dockerignore [2023-04-06T05:01:44.004Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 6 04:59 .git [2023-04-06T05:01:44.004Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 04:59 .github [2023-04-06T05:01:44.004Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 6 04:59 .gitignore [2023-04-06T05:01:44.004Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 6 04:59 .golangci.yml [2023-04-06T05:01:44.004Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 6 04:59 .semver [2023-04-06T05:01:44.004Z] -rw-rw-r-- 1 jenkins jenkins 31677 Apr 6 04:59 CHANGELOG.md [2023-04-06T05:01:44.004Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 6 04:59 GOVERNANCE.md [2023-04-06T05:01:44.004Z] -rw-rw-r-- 1 jenkins jenkins 885 Apr 6 04:59 Jenkinsfile [2023-04-06T05:01:44.004Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 6 04:59 LICENSE [2023-04-06T05:01:44.004Z] -rw-rw-r-- 1 jenkins jenkins 1714 Apr 6 04:59 Makefile [2023-04-06T05:01:44.004Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 6 04:59 OWNERS.md [2023-04-06T05:01:44.004Z] -rw-rw-r-- 1 jenkins jenkins 4891 Apr 6 04:59 README.md [2023-04-06T05:01:44.004Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 6 04:59 VERSION [2023-04-06T05:01:44.004Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 04:59 bin [2023-04-06T05:01:44.004Z] -rw-r--r-- 1 jenkins jenkins 106714 Apr 6 05:01 coverage.out [2023-04-06T05:01:44.004Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 6 04:59 example [2023-04-06T05:01:44.004Z] -rw-rw-r-- 1 jenkins jenkins 3246 Apr 6 04:59 go.mod [2023-04-06T05:01:44.004Z] -rw-rw-r-- 1 jenkins jenkins 31006 Apr 6 04:59 go.sum [2023-04-06T05:01:44.004Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 6 04:59 internal [2023-04-06T05:01:44.004Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 04:59 openapi [2023-04-06T05:01:44.004Z] drwxrwxr-x 6 jenkins jenkins 4096 Apr 6 04:59 pkg [2023-04-06T05:01:44.004Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 04:59 snap [2023-04-06T05:01:44.004Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 6 04:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-06T05:01:44.395Z] + 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=443c9a94e52e360bd32f8140badb75194677b1f2 --label arch=amd64 --label version=0.0.0 . [2023-04-06T05:01:44.395Z] Sending build context to Docker daemon 11.02MB [2023-04-06T05:01:44.395Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-04-06T05:01:44.395Z] Step 2/23 : FROM ${BASE} AS builder [2023-04-06T05:01:44.395Z] ---> 003a56afb6e2 [2023-04-06T05:01:44.395Z] Step 3/23 : ARG MAKE=make build [2023-04-06T05:01:44.657Z] ---> Running in 06a3a6186fae [2023-04-06T05:01:45.005Z] Removing intermediate container 06a3a6186fae [2023-04-06T05:01:45.005Z] ---> 43e1af48e2ba [2023-04-06T05:01:45.005Z] Step 4/23 : WORKDIR /device-sdk-go [2023-04-06T05:01:45.005Z] ---> Running in 0ef0ab6f4663 [2023-04-06T05:01:45.005Z] Removing intermediate container 0ef0ab6f4663 [2023-04-06T05:01:45.005Z] ---> 6cf90d0a1602 [2023-04-06T05:01:45.005Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-04-06T05:01:45.005Z] ---> Running in d9f1fadc498d [2023-04-06T05:01:45.270Z] Removing intermediate container d9f1fadc498d [2023-04-06T05:01:45.270Z] ---> dd148906c4a1 [2023-04-06T05:01:45.270Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-04-06T05:01:45.270Z] ---> Running in f6dee0c95379 [2023-04-06T05:01:45.535Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-06T05:01:45.535Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-06T05:01:45.796Z] OK: 265 MiB in 53 packages [2023-04-06T05:01:46.363Z] Removing intermediate container f6dee0c95379 [2023-04-06T05:01:46.363Z] ---> 2cef6019875b [2023-04-06T05:01:46.363Z] Step 7/23 : COPY go.mod vendor* ./ [2023-04-06T05:01:46.363Z] ---> dd52b25376ed [2023-04-06T05:01:46.363Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-06T05:01:46.622Z] ---> Running in 9113de78bfa8 [2023-04-06T05:01:47.562Z] Removing intermediate container 9113de78bfa8 [2023-04-06T05:01:47.562Z] ---> 9cf6deff27fd [2023-04-06T05:01:47.562Z] Step 9/23 : COPY . . [2023-04-06T05:01:47.820Z] ---> d0026996a61f [2023-04-06T05:01:47.820Z] Step 10/23 : RUN ${MAKE} [2023-04-06T05:01:48.078Z] ---> Running in bb0aafd8c665 [2023-04-06T05:01:48.336Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-04-06T05:02:10.301Z] Removing intermediate container bb0aafd8c665 [2023-04-06T05:02:10.301Z] ---> 582f5c85e6cf [2023-04-06T05:02:10.301Z] Step 11/23 : FROM alpine:3.17 [2023-04-06T05:02:10.301Z] 3.17: Pulling from library/alpine [2023-04-06T05:02:10.301Z] f56be85fc22e: Pulling fs layer [2023-04-06T05:02:10.301Z] f56be85fc22e: Verifying Checksum [2023-04-06T05:02:10.301Z] f56be85fc22e: Download complete [2023-04-06T05:02:10.301Z] f56be85fc22e: Pull complete [2023-04-06T05:02:10.301Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-06T05:02:10.301Z] Status: Downloaded newer image for alpine:3.17 [2023-04-06T05:02:10.301Z] ---> 9ed4aefc74f6 [2023-04-06T05:02:10.301Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-04-06T05:02:10.301Z] ---> Running in 070989811dbf [2023-04-06T05:02:10.301Z] Removing intermediate container 070989811dbf [2023-04-06T05:02:10.301Z] ---> f92776acd5d0 [2023-04-06T05:02:10.301Z] Step 13/23 : RUN apk add --update --no-cache [2023-04-06T05:02:10.301Z] ---> Running in 8757f4686e32 [2023-04-06T05:02:10.301Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-06T05:02:10.301Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-06T05:02:10.562Z] OK: 7 MiB in 15 packages [2023-04-06T05:02:10.822Z] Removing intermediate container 8757f4686e32 [2023-04-06T05:02:10.822Z] ---> 6b5026199c1d [2023-04-06T05:02:10.822Z] Step 14/23 : WORKDIR / [2023-04-06T05:02:10.822Z] ---> Running in c263e1c57448 [2023-04-06T05:02:10.822Z] Removing intermediate container c263e1c57448 [2023-04-06T05:02:10.822Z] ---> 24a8902d82d7 [2023-04-06T05:02:10.822Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-04-06T05:02:11.083Z] ---> a4354fd3843a [2023-04-06T05:02:11.083Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-04-06T05:02:11.672Z] ---> 5f60b5692f55 [2023-04-06T05:02:11.672Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-04-06T05:02:11.932Z] ---> a18aa7fb551c [2023-04-06T05:02:11.932Z] Step 18/23 : EXPOSE 59999 [2023-04-06T05:02:11.932Z] ---> Running in 16e61bd3e494 [2023-04-06T05:02:11.932Z] Removing intermediate container 16e61bd3e494 [2023-04-06T05:02:11.932Z] ---> 6973125fd970 [2023-04-06T05:02:11.932Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-04-06T05:02:12.192Z] ---> Running in 88c1d714bb1e [2023-04-06T05:02:12.192Z] Removing intermediate container 88c1d714bb1e [2023-04-06T05:02:12.192Z] ---> 506abe1f9545 [2023-04-06T05:02:12.192Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-06T05:02:12.192Z] ---> Running in c1c21239134a [2023-04-06T05:02:12.192Z] Removing intermediate container c1c21239134a [2023-04-06T05:02:12.192Z] ---> 18e65204170b [2023-04-06T05:02:12.192Z] Step 21/23 : LABEL arch=amd64 [2023-04-06T05:02:12.192Z] ---> Running in b14e9ff33c6a [2023-04-06T05:02:12.192Z] Removing intermediate container b14e9ff33c6a [2023-04-06T05:02:12.192Z] ---> ff95a1a74f11 [2023-04-06T05:02:12.192Z] Step 22/23 : LABEL git_sha=443c9a94e52e360bd32f8140badb75194677b1f2 [2023-04-06T05:02:12.451Z] ---> Running in 45b89b3f5161 [2023-04-06T05:02:12.451Z] Removing intermediate container 45b89b3f5161 [2023-04-06T05:02:12.451Z] ---> 43a9f29b8892 [2023-04-06T05:02:12.451Z] Step 23/23 : LABEL version=0.0.0 [2023-04-06T05:02:12.451Z] ---> Running in 0516ed589f4b [2023-04-06T05:02:12.451Z] Removing intermediate container 0516ed589f4b [2023-04-06T05:02:12.451Z] ---> ef1aacab870f [2023-04-06T05:02:12.451Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-06T05:02:12.451Z] Successfully built ef1aacab870f [2023-04-06T05:02:12.451Z] 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-04-06T05:02:13.288Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-06T05:02:13.288Z] [2023-04-06T05:02:13.288Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-06T05:02:13.669Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-06T05:02:13.669Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-06T05:02:13.669Z] 5eb5b503b376: Pulling fs layer [2023-04-06T05:02:13.669Z] 5c69ac0246d0: Pulling fs layer [2023-04-06T05:02:13.669Z] ec43610c2a17: Pulling fs layer [2023-04-06T05:02:13.669Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-06T05:02:13.669Z] 33b1e0a273af: Pulling fs layer [2023-04-06T05:02:13.669Z] 5d3b04190fa2: Pulling fs layer [2023-04-06T05:02:13.669Z] 2f39f015ded8: Pulling fs layer [2023-04-06T05:02:13.669Z] 3a2ae6a8a46f: Waiting [2023-04-06T05:02:13.669Z] 33b1e0a273af: Waiting [2023-04-06T05:02:13.669Z] 5d3b04190fa2: Waiting [2023-04-06T05:02:13.669Z] 2f39f015ded8: Waiting [2023-04-06T05:02:13.669Z] 5c69ac0246d0: Download complete [2023-04-06T05:02:13.669Z] 3a2ae6a8a46f: Verifying Checksum [2023-04-06T05:02:13.669Z] 3a2ae6a8a46f: Download complete [2023-04-06T05:02:13.669Z] 33b1e0a273af: Verifying Checksum [2023-04-06T05:02:13.669Z] 33b1e0a273af: Download complete [2023-04-06T05:02:13.669Z] ec43610c2a17: Verifying Checksum [2023-04-06T05:02:13.669Z] ec43610c2a17: Download complete [2023-04-06T05:02:13.669Z] 5d3b04190fa2: Verifying Checksum [2023-04-06T05:02:13.929Z] 5eb5b503b376: Verifying Checksum [2023-04-06T05:02:13.929Z] 5eb5b503b376: Download complete [2023-04-06T05:02:14.499Z] 2f39f015ded8: Verifying Checksum [2023-04-06T05:02:14.499Z] 2f39f015ded8: Download complete [2023-04-06T05:02:15.435Z] 5eb5b503b376: Pull complete [2023-04-06T05:02:15.435Z] 5c69ac0246d0: Pull complete [2023-04-06T05:02:16.004Z] ec43610c2a17: Pull complete [2023-04-06T05:02:16.004Z] 3a2ae6a8a46f: Pull complete [2023-04-06T05:02:16.262Z] 33b1e0a273af: Pull complete [2023-04-06T05:02:16.262Z] 5d3b04190fa2: Pull complete [2023-04-06T05:02:21.534Z] 2f39f015ded8: Pull complete [2023-04-06T05:02:21.534Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-06T05:02:21.534Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-06T05:02:21.534Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-06T05:02:21.770Z] prd-ubuntu20.04-docker-8c-8g-6961 does not seem to be running inside a container [2023-04-06T05:02:21.800Z] $ 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-1416 -v /w/workspace/gexfoundry_device-sdk-go_PR-1416:/w/workspace/gexfoundry_device-sdk-go_PR-1416:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1416@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1416@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-06T05:02:24.926Z] $ docker top ce247ccc6f22aa2a521581f8cbc4c55fa65239f9d08c2bc50f0d2745d3ec20c4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-06T05:02:25.370Z] ---> job-cost.sh [2023-04-06T05:02:25.370Z] lf-activate-venv: SKIPPING [2023-04-06T05:02:25.370Z] INFO: No Stack... [2023-04-06T05:02:25.629Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-06T05:02:25.891Z] INFO: Archiving Costs [Pipeline] sh [2023-04-06T05:02:26.211Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1416/archives/cost.csv [2023-04-06T05:02:26.211Z] + cut -d, -f6 [Pipeline] lock [2023-04-06T05:02:26.252Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1416-1-stack-cost] [2023-04-06T05:02:26.257Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1416-1-stack-cost] did not exist. Created. [2023-04-06T05:02:26.257Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1416-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-06T05:02:26.654Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-06T05:02:26.707Z] Stashed 1 file(s) [Pipeline] } [2023-04-06T05:02:26.737Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1416-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-06T05:02:26.814Z] $ docker stop --time=1 ce247ccc6f22aa2a521581f8cbc4c55fa65239f9d08c2bc50f0d2745d3ec20c4 [2023-04-06T05:02:27.959Z] $ docker rm -f --volumes ce247ccc6f22aa2a521581f8cbc4c55fa65239f9d08c2bc50f0d2745d3ec20c4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-06T05:02:28.960Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6965 in /w/workspace/gexfoundry_device-sdk-go_PR-1416 [Pipeline] { [Pipeline] ws [2023-04-06T05:02:29.012Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-04-06T05:02:29.092Z] The recommended git tool is: git [2023-04-06T05:02:35.931Z] using credential edgex-jenkins-ssh [2023-04-06T05:02:35.947Z] Cloning the remote Git repository [2023-04-06T05:02:36.001Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-04-06T05:02:36.115Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-04-06T05:02:36.281Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-04-06T05:02:36.282Z] > git --version # timeout=10 [2023-04-06T05:02:36.304Z] > git --version # 'git version 2.25.1' [2023-04-06T05:02:36.307Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-06T05:02:36.482Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-06T05:02:38.153Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-04-06T05:02:38.174Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-06T05:02:39.118Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-04-06T05:02:39.167Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-04-06T05:02:39.168Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-06T05:02:39.187Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1416/head:refs/remotes/origin/PR-1416 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-04-06T05:02:39.771Z] Merging remotes/origin/main commit 661b18549173505f3afdb4be110c3839c952cb0c into PR head commit 443c9a94e52e360bd32f8140badb75194677b1f2 [2023-04-06T05:02:40.077Z] Merge succeeded, producing 443c9a94e52e360bd32f8140badb75194677b1f2 [2023-04-06T05:02:40.077Z] Checking out Revision 443c9a94e52e360bd32f8140badb75194677b1f2 (PR-1416) [2023-04-06T05:02:40.668Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2023-04-06T05:02:40.722Z] > git --version # timeout=10 [2023-04-06T05:02:40.736Z] > git --version # 'git version 2.25.1' [2023-04-06T05:02:40.760Z] fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-04-06T05:02:39.794Z] > git config core.sparsecheckout # timeout=10 [2023-04-06T05:02:39.873Z] > git checkout -f 443c9a94e52e360bd32f8140badb75194677b1f2 # timeout=10 [2023-04-06T05:02:39.982Z] > git remote # timeout=10 [2023-04-06T05:02:40.002Z] > git config --get remote.origin.url # timeout=10 [2023-04-06T05:02:40.019Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-06T05:02:40.034Z] > git merge 661b18549173505f3afdb4be110c3839c952cb0c # timeout=10 [2023-04-06T05:02:40.061Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-04-06T05:02:40.086Z] > git config core.sparsecheckout # timeout=10 [2023-04-06T05:02:40.104Z] > git checkout -f 443c9a94e52e360bd32f8140badb75194677b1f2 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-06T05:02:41.897Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-06T05:02:41.897Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-06T05:02:41.897Z] Dload Upload Total Spent Left Speed [2023-04-06T05:02:41.897Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 222k 0 --:--:-- --:--:-- --:--:-- 222k [Pipeline] sh [2023-04-06T05:02:42.606Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-06T05:02:42.953Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-06T05:02:42.953Z] + sudo tee /etc/docker/daemon.new [2023-04-06T05:02:42.953Z] { [2023-04-06T05:02:42.953Z] "registry-mirrors": [ [2023-04-06T05:02:42.953Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-06T05:02:42.953Z] ], [2023-04-06T05:02:42.953Z] "bip": "10.250.0.254/24", [2023-04-06T05:02:42.953Z] "hosts": [ [2023-04-06T05:02:42.953Z] "tcp://0.0.0.0:5555", [2023-04-06T05:02:42.953Z] "unix:///var/run/docker.sock" [2023-04-06T05:02:42.953Z] ], [2023-04-06T05:02:42.953Z] "mtu": 1458, [2023-04-06T05:02:42.953Z] "selinux-enabled": true, [2023-04-06T05:02:42.953Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-06T05:02:42.953Z] } [Pipeline] sh [2023-04-06T05:02:43.298Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-06T05:02:43.676Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-06T05:03:05.852Z] provisioning config files... [2023-04-06T05:03:05.878Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config14608716255812750546tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-06T05:03:06.271Z] ---> docker-login.sh [2023-04-06T05:03:06.271Z] nexus3.edgexfoundry.org:10001 [2023-04-06T05:03:06.857Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T05:03:07.125Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T05:03:07.125Z] Configure a credential helper to remove this warning. See [2023-04-06T05:03:07.125Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T05:03:07.125Z] [2023-04-06T05:03:07.125Z] Login Succeeded [2023-04-06T05:03:07.125Z] nexus3.edgexfoundry.org:10002 [2023-04-06T05:03:07.125Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T05:03:07.393Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T05:03:07.393Z] Configure a credential helper to remove this warning. See [2023-04-06T05:03:07.393Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T05:03:07.393Z] [2023-04-06T05:03:07.393Z] Login Succeeded [2023-04-06T05:03:07.393Z] nexus3.edgexfoundry.org:10003 [2023-04-06T05:03:07.662Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T05:03:07.662Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T05:03:07.662Z] Configure a credential helper to remove this warning. See [2023-04-06T05:03:07.662Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T05:03:07.662Z] [2023-04-06T05:03:07.662Z] Login Succeeded [2023-04-06T05:03:07.662Z] nexus3.edgexfoundry.org:10004 [2023-04-06T05:03:07.930Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T05:03:07.930Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T05:03:07.930Z] Configure a credential helper to remove this warning. See [2023-04-06T05:03:07.930Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T05:03:07.930Z] [2023-04-06T05:03:07.930Z] Login Succeeded [2023-04-06T05:03:07.930Z] docker.io [2023-04-06T05:03:08.199Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T05:03:08.469Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T05:03:08.469Z] Configure a credential helper to remove this warning. See [2023-04-06T05:03:08.469Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T05:03:08.469Z] [2023-04-06T05:03:08.469Z] Login Succeeded [2023-04-06T05:03:08.469Z] ---> docker-login.sh ends [Pipeline] } [2023-04-06T05:03:08.501Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-06T05:03:08.937Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-06T05:03:08.970Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-06T05:03:09.003Z] ========================================================= [2023-04-06T05:03:09.003Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-06T05:03:09.003Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-06T05:03:09.495Z] + 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-04-06T05:03:10.083Z] Sending build context to Docker daemon 5.862MB [2023-04-06T05:03:10.083Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-04-06T05:03:10.083Z] Step 2/10 : FROM ${BASE} AS builder [2023-04-06T05:03:10.083Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-06T05:03:10.083Z] af6eaf76a39c: Pulling fs layer [2023-04-06T05:03:10.083Z] 55522c791124: Pulling fs layer [2023-04-06T05:03:10.083Z] ce5c4a1c91eb: Pulling fs layer [2023-04-06T05:03:10.083Z] 169dfbe0d373: Pulling fs layer [2023-04-06T05:03:10.083Z] 169dfbe0d373: Waiting [2023-04-06T05:03:10.083Z] e1ff8fa3b103: Pulling fs layer [2023-04-06T05:03:10.083Z] 52ebb69f0ebf: Pulling fs layer [2023-04-06T05:03:10.083Z] e1ff8fa3b103: Waiting [2023-04-06T05:03:10.083Z] 52ebb69f0ebf: Waiting [2023-04-06T05:03:10.083Z] 5abe8eddf0d5: Pulling fs layer [2023-04-06T05:03:10.083Z] 5abe8eddf0d5: Waiting [2023-04-06T05:03:10.083Z] 55522c791124: Verifying Checksum [2023-04-06T05:03:10.083Z] 55522c791124: Download complete [2023-04-06T05:03:10.083Z] 169dfbe0d373: Verifying Checksum [2023-04-06T05:03:10.083Z] 169dfbe0d373: Download complete [2023-04-06T05:03:10.083Z] e1ff8fa3b103: Verifying Checksum [2023-04-06T05:03:10.083Z] e1ff8fa3b103: Download complete [2023-04-06T05:03:10.360Z] af6eaf76a39c: Verifying Checksum [2023-04-06T05:03:10.360Z] af6eaf76a39c: Download complete [2023-04-06T05:03:11.340Z] af6eaf76a39c: Pull complete [2023-04-06T05:03:11.340Z] 5abe8eddf0d5: Verifying Checksum [2023-04-06T05:03:11.340Z] 5abe8eddf0d5: Download complete [2023-04-06T05:03:11.609Z] 55522c791124: Pull complete [2023-04-06T05:03:12.580Z] ce5c4a1c91eb: Verifying Checksum [2023-04-06T05:03:12.580Z] ce5c4a1c91eb: Download complete [2023-04-06T05:03:12.580Z] 52ebb69f0ebf: Verifying Checksum [2023-04-06T05:03:12.580Z] 52ebb69f0ebf: Download complete [2023-04-06T05:03:22.677Z] ce5c4a1c91eb: Pull complete [2023-04-06T05:03:22.677Z] 169dfbe0d373: Pull complete [2023-04-06T05:03:22.946Z] e1ff8fa3b103: Pull complete [2023-04-06T05:03:29.599Z] 52ebb69f0ebf: Pull complete [2023-04-06T05:03:30.563Z] 5abe8eddf0d5: Pull complete [2023-04-06T05:03:30.563Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-04-06T05:03:30.563Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-06T05:03:30.563Z] ---> 6cb57ee374ae [2023-04-06T05:03:30.563Z] Step 3/10 : ARG MAKE=make build [2023-04-06T05:03:32.510Z] ---> Running in fcd69dd8579a [2023-04-06T05:03:32.510Z] Removing intermediate container fcd69dd8579a [2023-04-06T05:03:32.510Z] ---> 5c836f2d5698 [2023-04-06T05:03:32.510Z] Step 4/10 : WORKDIR /device-sdk-go [2023-04-06T05:03:32.510Z] ---> Running in 6e1645f57a9d [2023-04-06T05:03:33.101Z] Removing intermediate container 6e1645f57a9d [2023-04-06T05:03:33.101Z] ---> 4c6e3febd164 [2023-04-06T05:03:33.101Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-04-06T05:03:33.101Z] ---> Running in ffe9d4264faf [2023-04-06T05:03:33.373Z] Removing intermediate container ffe9d4264faf [2023-04-06T05:03:33.373Z] ---> 6f0d0054c914 [2023-04-06T05:03:33.373Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-04-06T05:03:33.373Z] ---> Running in c3c25f60ba3f [2023-04-06T05:03:34.804Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-06T05:03:35.074Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-06T05:03:36.491Z] OK: 263 MiB in 53 packages [2023-04-06T05:03:37.082Z] Removing intermediate container c3c25f60ba3f [2023-04-06T05:03:37.082Z] ---> 646c27e3cc69 [2023-04-06T05:03:37.082Z] Step 7/10 : COPY go.mod vendor* ./ [2023-04-06T05:03:37.667Z] ---> 85173e12ccef [2023-04-06T05:03:37.667Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-06T05:03:37.667Z] ---> Running in 2cad224e5135 [2023-04-06T05:04:45.558Z] Removing intermediate container 2cad224e5135 [2023-04-06T05:04:45.558Z] ---> 135940f18388 [2023-04-06T05:04:45.558Z] Step 9/10 : COPY . . [2023-04-06T05:04:45.558Z] ---> de9fe910e0ac [2023-04-06T05:04:45.558Z] Step 10/10 : RUN ${MAKE} [2023-04-06T05:04:45.558Z] ---> Running in 469d95f76802 [2023-04-06T05:04:45.558Z] noop [2023-04-06T05:04:45.558Z] Removing intermediate container 469d95f76802 [2023-04-06T05:04:45.558Z] ---> ad54d9971bee [2023-04-06T05:04:45.558Z] Successfully built ad54d9971bee [2023-04-06T05:04:45.558Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-06T05:04:46.040Z] + docker inspect -f . ci-base-image-arm64 [2023-04-06T05:04:46.040Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-06T05:04:46.321Z] prd-ubuntu20.04-docker-arm64-4c-16g-6965 does not seem to be running inside a container [2023-04-06T05:04:46.396Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-06T05:04:47.837Z] $ docker top db7be6a8ebf4d1dff5d62bf8bc47af8f8753f0c64c0b6f6c8fe7b363553c15ad -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-06T05:04:48.757Z] + go version [2023-04-06T05:04:48.757Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-06T05:04:48.790Z] $ docker stop --time=1 db7be6a8ebf4d1dff5d62bf8bc47af8f8753f0c64c0b6f6c8fe7b363553c15ad [2023-04-06T05:04:50.473Z] $ docker rm -f --volumes db7be6a8ebf4d1dff5d62bf8bc47af8f8753f0c64c0b6f6c8fe7b363553c15ad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-06T05:04:51.374Z] + docker inspect -f . ci-base-image-arm64 [2023-04-06T05:04:51.374Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-06T05:04:51.645Z] prd-ubuntu20.04-docker-arm64-4c-16g-6965 does not seem to be running inside a container [2023-04-06T05:04:51.720Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-06T05:04:53.145Z] $ docker top 20869617bd2064616f8248d7a0bebbb6c01c758589b1244247e7d64f573ea5a2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-06T05:04:54.082Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-04-06T05:04:54.798Z] + make test [2023-04-06T05:04:54.798Z] go test -race -coverprofile=coverage.out ./... [2023-04-06T05:05:42.882Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-04-06T05:08:04.615Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-04-06T05:08:04.615Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-04-06T05:08:04.615Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-04-06T05:08:04.615Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-04-06T05:08:04.615Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-04-06T05:08:16.948Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.239s coverage: 27.6% of statements [2023-04-06T05:08:17.214Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.269s coverage: 79.9% of statements [2023-04-06T05:08:32.221Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-04-06T05:08:32.221Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-04-06T05:08:32.221Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.387s coverage: 86.0% of statements [2023-04-06T05:08:38.883Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-04-06T05:08:38.883Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.511s coverage: 75.7% of statements [2023-04-06T05:08:43.143Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-04-06T05:08:45.108Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-04-06T05:08:45.108Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-04-06T05:08:46.534Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.305s coverage: 14.9% of statements [2023-04-06T05:08:46.534Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.450s coverage: 68.5% of statements [2023-04-06T05:08:49.893Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.482s coverage: 89.2% of statements [2023-04-06T05:08:51.312Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-04-06T05:08:51.312Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.281s coverage: 5.5% of statements [2023-04-06T05:08:52.274Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-04-06T05:08:52.274Z] GO111MODULE=on go vet ./... [2023-04-06T05:11:29.085Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-06T05:11:29.085Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-06T05:11:29.085Z] ./bin/test-attribution-txt.sh [2023-04-06T05:11:29.085Z] An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo [2023-04-06T05:11:29.131Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-06T05:11:29.163Z] $ docker stop --time=1 20869617bd2064616f8248d7a0bebbb6c01c758589b1244247e7d64f573ea5a2 [2023-04-06T05:11:31.185Z] $ docker rm -f --volumes 20869617bd2064616f8248d7a0bebbb6c01c758589b1244247e7d64f573ea5a2 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-06T05:11:32.901Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-06T05:11:32.937Z] Warning: overwriting stash ‘coverage-report’ [2023-04-06T05:11:33.680Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-06T05:11:34.356Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-06T05:11:34.705Z] + ls -al . [2023-04-06T05:11:34.706Z] total 272 [2023-04-06T05:11:34.706Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 6 05:04 . [2023-04-06T05:11:34.706Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 05:02 .. [2023-04-06T05:11:34.706Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 6 05:02 .dockerignore [2023-04-06T05:11:34.706Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 6 05:02 .git [2023-04-06T05:11:34.706Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 05:02 .github [2023-04-06T05:11:34.706Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 6 05:02 .gitignore [2023-04-06T05:11:34.706Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 6 05:02 .golangci.yml [2023-04-06T05:11:34.706Z] -rw-rw-r-- 1 jenkins jenkins 31677 Apr 6 05:02 CHANGELOG.md [2023-04-06T05:11:34.706Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 6 05:02 GOVERNANCE.md [2023-04-06T05:11:34.706Z] -rw-rw-r-- 1 jenkins jenkins 885 Apr 6 05:02 Jenkinsfile [2023-04-06T05:11:34.706Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 6 05:02 LICENSE [2023-04-06T05:11:34.706Z] -rw-rw-r-- 1 jenkins jenkins 1714 Apr 6 05:02 Makefile [2023-04-06T05:11:34.706Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 6 05:02 OWNERS.md [2023-04-06T05:11:34.706Z] -rw-rw-r-- 1 jenkins jenkins 4891 Apr 6 05:02 README.md [2023-04-06T05:11:34.706Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 6 04:59 VERSION [2023-04-06T05:11:34.706Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 05:02 bin [2023-04-06T05:11:34.706Z] -rw-r--r-- 1 jenkins jenkins 106712 Apr 6 05:08 coverage.out [2023-04-06T05:11:34.706Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 6 05:02 example [2023-04-06T05:11:34.706Z] -rw-rw-r-- 1 jenkins jenkins 3246 Apr 6 05:02 go.mod [2023-04-06T05:11:34.706Z] -rw-rw-r-- 1 jenkins jenkins 31006 Apr 6 05:02 go.sum [2023-04-06T05:11:34.706Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 6 05:02 internal [2023-04-06T05:11:34.706Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 05:02 openapi [2023-04-06T05:11:34.706Z] drwxrwxr-x 6 jenkins jenkins 4096 Apr 6 05:02 pkg [2023-04-06T05:11:34.706Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 05:02 snap [2023-04-06T05:11:34.706Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 6 05:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-06T05:11:35.133Z] + 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=443c9a94e52e360bd32f8140badb75194677b1f2 --label arch=arm64 --label version=0.0.0 . [2023-04-06T05:11:35.718Z] Sending build context to Docker daemon 5.97MB [2023-04-06T05:11:35.718Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-04-06T05:11:35.718Z] Step 2/23 : FROM ${BASE} AS builder [2023-04-06T05:11:35.718Z] ---> ad54d9971bee [2023-04-06T05:11:35.718Z] Step 3/23 : ARG MAKE=make build [2023-04-06T05:11:35.718Z] ---> Running in 25926d9b0980 [2023-04-06T05:11:35.987Z] Removing intermediate container 25926d9b0980 [2023-04-06T05:11:35.987Z] ---> 93a3e4220301 [2023-04-06T05:11:35.987Z] Step 4/23 : WORKDIR /device-sdk-go [2023-04-06T05:11:35.987Z] ---> Running in 81cc00c703fd [2023-04-06T05:11:36.584Z] Removing intermediate container 81cc00c703fd [2023-04-06T05:11:36.585Z] ---> f64b9e2040a1 [2023-04-06T05:11:36.585Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-04-06T05:11:36.585Z] ---> Running in f6160cec2cec [2023-04-06T05:11:36.856Z] Removing intermediate container f6160cec2cec [2023-04-06T05:11:36.856Z] ---> 5a8a4aa4d31a [2023-04-06T05:11:36.856Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-04-06T05:11:36.856Z] ---> Running in 77789d14ddf5 [2023-04-06T05:11:38.274Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-06T05:11:38.542Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-06T05:11:39.964Z] OK: 263 MiB in 53 packages [2023-04-06T05:11:40.935Z] Removing intermediate container 77789d14ddf5 [2023-04-06T05:11:40.935Z] ---> 68b1b68ba185 [2023-04-06T05:11:40.935Z] Step 7/23 : COPY go.mod vendor* ./ [2023-04-06T05:11:41.205Z] ---> 297abff49c26 [2023-04-06T05:11:41.205Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-06T05:11:41.472Z] ---> Running in 4966333ea993 [2023-04-06T05:11:44.070Z] Removing intermediate container 4966333ea993 [2023-04-06T05:11:44.070Z] ---> d828ea2bebd6 [2023-04-06T05:11:44.070Z] Step 9/23 : COPY . . [2023-04-06T05:11:45.497Z] ---> e21fc9c59403 [2023-04-06T05:11:45.497Z] Step 10/23 : RUN ${MAKE} [2023-04-06T05:11:45.497Z] ---> Running in 88f6730fc333 [2023-04-06T05:11:46.916Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-04-06T05:14:23.656Z] Removing intermediate container 88f6730fc333 [2023-04-06T05:14:23.657Z] ---> e2bf3eb88734 [2023-04-06T05:14:23.657Z] Step 11/23 : FROM alpine:3.17 [2023-04-06T05:14:23.657Z] 3.17: Pulling from library/alpine [2023-04-06T05:14:23.657Z] c41833b44d91: Pulling fs layer [2023-04-06T05:14:23.657Z] c41833b44d91: Verifying Checksum [2023-04-06T05:14:23.657Z] c41833b44d91: Download complete [2023-04-06T05:14:23.657Z] c41833b44d91: Pull complete [2023-04-06T05:14:23.657Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-06T05:14:23.657Z] Status: Downloaded newer image for alpine:3.17 [2023-04-06T05:14:23.657Z] ---> 51e60588ff2c [2023-04-06T05:14:23.657Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-04-06T05:14:23.657Z] ---> Running in b48a1b944567 [2023-04-06T05:14:23.657Z] Removing intermediate container b48a1b944567 [2023-04-06T05:14:23.657Z] ---> 0ac8e4b89ae9 [2023-04-06T05:14:23.657Z] Step 13/23 : RUN apk add --update --no-cache [2023-04-06T05:14:23.657Z] ---> Running in 689560a912cb [2023-04-06T05:14:23.657Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-06T05:14:23.657Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-06T05:14:23.657Z] OK: 7 MiB in 15 packages [2023-04-06T05:14:23.657Z] Removing intermediate container 689560a912cb [2023-04-06T05:14:23.657Z] ---> b15dccda9fe3 [2023-04-06T05:14:23.657Z] Step 14/23 : WORKDIR / [2023-04-06T05:14:23.657Z] ---> Running in 4272185dff68 [2023-04-06T05:14:23.657Z] Removing intermediate container 4272185dff68 [2023-04-06T05:14:23.657Z] ---> 559e82b02e3d [2023-04-06T05:14:23.657Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-04-06T05:14:23.657Z] ---> abbb99d27d9f [2023-04-06T05:14:23.657Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-04-06T05:14:23.657Z] ---> 0c2b325d72f7 [2023-04-06T05:14:23.657Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-04-06T05:14:23.657Z] ---> 836890bb1a0a [2023-04-06T05:14:23.657Z] Step 18/23 : EXPOSE 59999 [2023-04-06T05:14:23.657Z] ---> Running in cf2b2c5de95c [2023-04-06T05:14:23.657Z] Removing intermediate container cf2b2c5de95c [2023-04-06T05:14:23.657Z] ---> 958e1b85acfd [2023-04-06T05:14:23.657Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-04-06T05:14:23.657Z] ---> Running in 7dae4f471d3f [2023-04-06T05:14:23.657Z] Removing intermediate container 7dae4f471d3f [2023-04-06T05:14:23.657Z] ---> 84ccda9259b7 [2023-04-06T05:14:23.657Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-06T05:14:23.657Z] ---> Running in b7d1526bf4c6 [2023-04-06T05:14:23.657Z] Removing intermediate container b7d1526bf4c6 [2023-04-06T05:14:23.657Z] ---> 6179c0cb4bf6 [2023-04-06T05:14:23.657Z] Step 21/23 : LABEL arch=arm64 [2023-04-06T05:14:23.657Z] ---> Running in 3e1f9e850048 [2023-04-06T05:14:23.657Z] Removing intermediate container 3e1f9e850048 [2023-04-06T05:14:23.657Z] ---> 9f1a5cb8d732 [2023-04-06T05:14:23.657Z] Step 22/23 : LABEL git_sha=443c9a94e52e360bd32f8140badb75194677b1f2 [2023-04-06T05:14:23.657Z] ---> Running in 4e8188ee44e0 [2023-04-06T05:14:23.657Z] Removing intermediate container 4e8188ee44e0 [2023-04-06T05:14:23.657Z] ---> 611b7bf938c0 [2023-04-06T05:14:23.657Z] Step 23/23 : LABEL version=0.0.0 [2023-04-06T05:14:23.657Z] ---> Running in 8918d01b641e [2023-04-06T05:14:23.657Z] Removing intermediate container 8918d01b641e [2023-04-06T05:14:23.657Z] ---> 9d36f37cf268 [2023-04-06T05:14:23.657Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-06T05:14:23.657Z] Successfully built 9d36f37cf268 [2023-04-06T05:14:23.657Z] 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-04-06T05:14:24.517Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-06T05:14:24.517Z] [2023-04-06T05:14:24.517Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-06T05:14:24.920Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-06T05:14:24.920Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-06T05:14:24.920Z] 8998bd30e6a1: Pulling fs layer [2023-04-06T05:14:24.920Z] 04944245beec: Pulling fs layer [2023-04-06T05:14:24.920Z] 699f458cf7ca: Pulling fs layer [2023-04-06T05:14:24.920Z] 765212b225bb: Pulling fs layer [2023-04-06T05:14:24.920Z] f23df028b6ca: Pulling fs layer [2023-04-06T05:14:24.920Z] d65c8cfc05b1: Pulling fs layer [2023-04-06T05:14:24.920Z] 2437ff75d9bd: Pulling fs layer [2023-04-06T05:14:24.920Z] 765212b225bb: Waiting [2023-04-06T05:14:24.920Z] f23df028b6ca: Waiting [2023-04-06T05:14:24.920Z] d65c8cfc05b1: Waiting [2023-04-06T05:14:24.920Z] 2437ff75d9bd: Waiting [2023-04-06T05:14:25.188Z] 04944245beec: Verifying Checksum [2023-04-06T05:14:25.188Z] 04944245beec: Download complete [2023-04-06T05:14:25.188Z] 765212b225bb: Verifying Checksum [2023-04-06T05:14:25.188Z] 765212b225bb: Download complete [2023-04-06T05:14:25.188Z] f23df028b6ca: Verifying Checksum [2023-04-06T05:14:25.188Z] f23df028b6ca: Download complete [2023-04-06T05:14:25.188Z] d65c8cfc05b1: Download complete [2023-04-06T05:14:25.455Z] 699f458cf7ca: Verifying Checksum [2023-04-06T05:14:25.455Z] 699f458cf7ca: Download complete [2023-04-06T05:14:25.739Z] 8998bd30e6a1: Verifying Checksum [2023-04-06T05:14:25.739Z] 8998bd30e6a1: Download complete [2023-04-06T05:14:28.321Z] 2437ff75d9bd: Verifying Checksum [2023-04-06T05:14:28.321Z] 2437ff75d9bd: Download complete [2023-04-06T05:14:29.731Z] 8998bd30e6a1: Pull complete [2023-04-06T05:14:29.997Z] 04944245beec: Pull complete [2023-04-06T05:14:31.409Z] 699f458cf7ca: Pull complete [2023-04-06T05:14:31.678Z] 765212b225bb: Pull complete [2023-04-06T05:14:34.266Z] f23df028b6ca: Pull complete [2023-04-06T05:14:34.266Z] d65c8cfc05b1: Pull complete [2023-04-06T05:14:49.261Z] 2437ff75d9bd: Pull complete [2023-04-06T05:14:49.261Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-06T05:14:49.261Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-06T05:14:49.261Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-06T05:14:49.603Z] prd-ubuntu20.04-docker-arm64-4c-16g-6965 does not seem to be running inside a container [2023-04-06T05:14:49.662Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-04-06T05:14:52.284Z] $ docker top 0e85367b8913cbdb218d8342989563a695c5918beb9c1f243295a2dfb12045df -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-06T05:14:53.212Z] ---> job-cost.sh [2023-04-06T05:14:53.212Z] lf-activate-venv: SKIPPING [2023-04-06T05:14:53.212Z] INFO: No Stack... [2023-04-06T05:14:53.478Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-06T05:14:54.440Z] INFO: Archiving Costs [Pipeline] sh [2023-04-06T05:14:54.786Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2023-04-06T05:14:54.786Z] + cut -d, -f6 [Pipeline] lock [2023-04-06T05:14:55.105Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1416-1-stack-cost] [2023-04-06T05:14:55.111Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1416-1-stack-cost] did not exist. Created. [2023-04-06T05:14:55.111Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1416-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-06T05:14:55.849Z] /w/workspace/device-sdk-go/1@tmp/durable-e1c12afe/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-06T05:14:56.520Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-06T05:14:56.559Z] Warning: overwriting stash ‘stack-cost’ [2023-04-06T05:14:56.629Z] Stashed 1 file(s) [Pipeline] } [2023-04-06T05:14:56.644Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1416-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-06T05:14:56.724Z] $ docker stop --time=1 0e85367b8913cbdb218d8342989563a695c5918beb9c1f243295a2dfb12045df [2023-04-06T05:14:58.195Z] $ docker rm -f --volumes 0e85367b8913cbdb218d8342989563a695c5918beb9c1f243295a2dfb12045df [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-04-06T05:14:59.138Z] provisioning config files... [2023-04-06T05:14:59.145Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1416@tmp/config8350950155889605327tmp [Pipeline] { [Pipeline] sh [2023-04-06T05:14:59.488Z] + set +x [2023-04-06T05:14:59.488Z] + bash -s -- [2023-04-06T05:14:59.488Z] + curl -s https://codecov.io/bash [2023-04-06T05:14:59.488Z] [2023-04-06T05:14:59.488Z] _____ _ [2023-04-06T05:14:59.488Z] / ____| | | [2023-04-06T05:14:59.488Z] | | ___ __| | ___ ___ _____ __ [2023-04-06T05:14:59.488Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-04-06T05:14:59.488Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-04-06T05:14:59.488Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-04-06T05:14:59.488Z] Bash-1.0.6 [2023-04-06T05:14:59.488Z] [2023-04-06T05:14:59.488Z] [2023-04-06T05:14:59.488Z] ==> git version 2.25.1 found [2023-04-06T05:14:59.488Z] ==> 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-04-06T05:14:59.488Z] Release-Date: 2020-01-08 [2023-04-06T05:14:59.488Z] 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-04-06T05:14:59.488Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-04-06T05:14:59.488Z] ==> Jenkins CI detected. [2023-04-06T05:14:59.488Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1416 [2023-04-06T05:14:59.488Z] project root: . [2023-04-06T05:14:59.488Z] --> token set from env [2023-04-06T05:14:59.488Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-04-06T05:14:59.488Z] ==> Running gcov in . (disable via -X gcov) [2023-04-06T05:14:59.488Z] ==> Python coveragepy not found [2023-04-06T05:14:59.488Z] ==> Searching for coverage reports in: [2023-04-06T05:14:59.488Z] + . [2023-04-06T05:14:59.488Z] -> Found 1 reports [2023-04-06T05:14:59.488Z] ==> Detecting git/mercurial file structure [2023-04-06T05:14:59.488Z] ==> Reading reports [2023-04-06T05:14:59.488Z] + ./coverage.out bytes=106712 [2023-04-06T05:14:59.488Z] ==> Appending adjustments [2023-04-06T05:14:59.488Z] https://docs.codecov.io/docs/fixing-reports [2023-04-06T05:14:59.748Z] + Found adjustments [2023-04-06T05:14:59.748Z] ==> Gzipping contents [2023-04-06T05:15:00.007Z] 16K /tmp/codecov.eUnuur.gz [2023-04-06T05:15:00.007Z] ==> Uploading reports [2023-04-06T05:15:00.007Z] url: https://codecov.io [2023-04-06T05:15:00.007Z] query: branch=PR-1416&commit=443c9a94e52e360bd32f8140badb75194677b1f2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1416%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1416&job=&cmd_args= [2023-04-06T05:15:00.008Z] -> Pinging Codecov [2023-04-06T05:15:00.008Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1416&commit=443c9a94e52e360bd32f8140badb75194677b1f2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1416%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1416&job=&cmd_args= [2023-04-06T05:15:00.008Z] -> Uploading to [2023-04-06T05:15:00.008Z] https://storage.googleapis.com/codecov/v4/raw/2023-04-06/7E55EF52A471D76F132DFD9A03CDDE97/443c9a94e52e360bd32f8140badb75194677b1f2/209bbb67-4826-459a-a3ea-1cd1ff15293d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230406%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230406T051459Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9ac8d9c0c6be687daf547665a48d93092368cca85ad2d45787674abf89864b4b [2023-04-06T05:15:00.008Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-06T05:15:00.008Z] Dload Upload Total Spent Left Speed [2023-04-06T05:15:00.268Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15122 0 0 100 15122 0 58840 --:--:-- --:--:-- --:--:-- 59070 [2023-04-06T05:15:00.268Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/443c9a94e52e360bd32f8140badb75194677b1f2 [Pipeline] } [2023-04-06T05:15:00.296Z] 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-04-06T05:15:02.020Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1416/archives ] [2023-04-06T05:15:02.020Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1416/archives [2023-04-06T05:15:02.020Z] total 16 [2023-04-06T05:15:02.020Z] drwxr-xr-x 3 root root 4096 Apr 6 05:02 . [2023-04-06T05:15:02.020Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 6 05:02 .. [2023-04-06T05:15:02.020Z] drwxr-xr-x 2 root root 4096 Apr 6 05:02 cost [2023-04-06T05:15:02.020Z] -rw-r--r-- 1 root root 86 Apr 6 05:02 cost.csv [2023-04-06T05:15:02.020Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1416/archives [2023-04-06T05:15:02.020Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1416/archives [2023-04-06T05:15:02.020Z] total 16 [2023-04-06T05:15:02.020Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 6 05:02 . [2023-04-06T05:15:02.020Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 6 05:02 .. [2023-04-06T05:15:02.020Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 6 05:02 cost [2023-04-06T05:15:02.020Z] -rw-r--r-- 1 jenkins jenkins 86 Apr 6 05:02 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-06T05:15:02.343Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-06T05:15:03.233Z] ---> package-listing.sh [2023-04-06T05:15:03.233Z] ++ facter osfamily [2023-04-06T05:15:03.233Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-06T05:15:03.493Z] + OS_FAMILY=debian [2023-04-06T05:15:03.493Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1416 [2023-04-06T05:15:03.493Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-06T05:15:03.493Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-06T05:15:03.493Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-06T05:15:03.493Z] + PACKAGES=/tmp/packages_start.txt [2023-04-06T05:15:03.493Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1416 ']' [2023-04-06T05:15:03.493Z] + PACKAGES=/tmp/packages_end.txt [2023-04-06T05:15:03.493Z] + case "${OS_FAMILY}" in [2023-04-06T05:15:03.493Z] + dpkg -l [2023-04-06T05:15:03.493Z] + grep '^ii' [2023-04-06T05:15:03.493Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-06T05:15:03.493Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-06T05:15:03.493Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-06T05:15:03.493Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1416 ']' [2023-04-06T05:15:03.493Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1416/archives/ [2023-04-06T05:15:03.493Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1416/archives/ [Pipeline] echo [2023-04-06T05:15:03.524Z] 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-1416/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-04-06T05:15:03.813Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-06T05:15:04.435Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-06T05:15:04.435Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-06T05:15:04.576Z] prd-ubuntu20.04-docker-8c-8g-6961 does not seem to be running inside a container [2023-04-06T05:15:04.609Z] $ 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-1416/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-1416 -v /w/workspace/gexfoundry_device-sdk-go_PR-1416:/w/workspace/gexfoundry_device-sdk-go_PR-1416:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1416@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1416@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-06T05:15:04.806Z] $ docker top 756e26564c2047a9014327505f5b16d0561568929f512b5675256be88d7538da -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-06T05:15:05.202Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-06T05:15:05.511Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-06T05:15:05.812Z] + ls /var/log/sa-host [2023-04-06T05:15:05.812Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-06T05:15:05.940Z] provisioning config files... [2023-04-06T05:15:05.947Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1416@tmp/config1919869827486528866tmp [Pipeline] { [Pipeline] echo [2023-04-06T05:15:05.998Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-06T05:15:06.306Z] ---> create-netrc.sh [Pipeline] } [2023-04-06T05:15:06.333Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-06T05:15:06.725Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-06T05:15:06.758Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-06T05:15:07.066Z] ---> sudo-logs.sh [2023-04-06T05:15:07.066Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-06T05:15:07.144Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-06T05:15:07.462Z] ---> job-cost.sh [2023-04-06T05:15:07.462Z] lf-activate-venv: SKIPPING [2023-04-06T05:15:07.462Z] DEBUG: total: 0.2199999988079071 [2023-04-06T05:15:07.462Z] INFO: Retrieving Stack Cost... [2023-04-06T05:15:07.720Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-06T05:15:08.287Z] INFO: Archiving Costs [Pipeline] echo [2023-04-06T05:15:08.321Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-06T05:15:08.641Z] ---> logs-deploy.sh [2023-04-06T05:15:08.641Z] lf-activate-venv: SKIPPING [2023-04-06T05:15:08.641Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1416/1 [2023-04-06T05:15:08.641Z] INFO: archiving workspace using pattern(s): [2023-04-06T05:15:09.582Z] Archives upload complete. [2023-04-06T05:15:09.582Z] INFO: archiving logs to Nexus