Pull request #1385 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d2492e3f0e49da88b612947d9f83778383787837+8fb9feca0c10481a594d8c8fb14f04008fc9a26d (46ad249e2c43cd06bea1023a8a477794cab11ad7) 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-ssh15734629591700329795.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-ssh16426044658756057191.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-1385/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-1385/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4488760727758825085.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-1385/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15304352071808324713.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-ssh14400788718950242647.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-1385/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-1385/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2710468791151635195.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-311 in /w/workspace/gexfoundry_device-sdk-go_PR-1385 [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-1385 # 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 Merging remotes/origin/main commit 8fb9feca0c10481a594d8c8fb14f04008fc9a26d into PR head commit d2492e3f0e49da88b612947d9f83778383787837 > 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/1385/head:refs/remotes/origin/PR-1385 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d2492e3f0e49da88b612947d9f83778383787837 # timeout=10 Merge succeeded, producing d2492e3f0e49da88b612947d9f83778383787837 Checking out Revision d2492e3f0e49da88b612947d9f83778383787837 (PR-1385) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/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-03-15T01:27:57.838Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-15T01:27:58.018Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-15T01:27:58.122Z] ========================================================= [2023-03-15T01:27:58.122Z] EdgeX Global Pipelines Version Info [2023-03-15T01:27:58.122Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 8fb9feca0c10481a594d8c8fb14f04008fc9a26d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d2492e3f0e49da88b612947d9f83778383787837 # timeout=10 [2023-03-15T01:27:58.861Z] ------------------- [2023-03-15T01:27:58.862Z] stable info: [2023-03-15T01:27:58.862Z] ------------------- [2023-03-15T01:27:58.862Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-15T01:27:58.862Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-15T01:27:58.862Z] Message: update stable to v1.0.245 [2023-03-15T01:27:59.430Z] ------------------- [2023-03-15T01:27:59.430Z] experimental info: [2023-03-15T01:27:59.430Z] ------------------- [2023-03-15T01:27:59.430Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-15T01:27:59.430Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-15T01:27:59.431Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-15T01:27:59.705Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-03-15T01:27:59.742Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-03-15T01:27:59.782Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-15T01:27:59.819Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-15T01:27:59.862Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-15T01:27:59.903Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-15T01:27:59.941Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-15T01:27:59.982Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-03-15T01:28:00.026Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-15T01:28:00.069Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-15T01:28:00.115Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-15T01:28:00.152Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-03-15T01:28:00.189Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-15T01:28:00.224Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-15T01:28:00.281Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-15T01:28:00.324Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-03-15T01:28:00.364Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-15T01:28:00.406Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-15T01:28:00.440Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-15T01:28:00.478Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-15T01:28:00.515Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-15T01:28:00.553Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-03-15T01:28:00.591Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-15T01:28:00.630Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-15T01:28:00.672Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-15T01:28:00.708Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-15T01:28:00.744Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-15T01:28:00.778Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1385 [Pipeline] echo [2023-03-15T01:28:00.821Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1385 [Pipeline] echo [2023-03-15T01:28:00.863Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1385 [Pipeline] echo [2023-03-15T01:28:00.902Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d2492e3f0e49da88b612947d9f83778383787837 [Pipeline] echo [2023-03-15T01:28:00.939Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d2492e3 [Pipeline] echo [2023-03-15T01:28:00.980Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T01:28:01.097Z] provisioning config files... [2023-03-15T01:28:01.113Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1385@tmp/config6732129519150904547tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T01:28:01.463Z] ---> docker-login.sh [2023-03-15T01:28:01.463Z] nexus3.edgexfoundry.org:10001 [2023-03-15T01:28:01.722Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T01:28:01.722Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T01:28:01.722Z] Configure a credential helper to remove this warning. See [2023-03-15T01:28:01.722Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T01:28:01.722Z] [2023-03-15T01:28:01.722Z] Login Succeeded [2023-03-15T01:28:01.722Z] nexus3.edgexfoundry.org:10002 [2023-03-15T01:28:01.722Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T01:28:01.722Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T01:28:01.722Z] Configure a credential helper to remove this warning. See [2023-03-15T01:28:01.722Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T01:28:01.722Z] [2023-03-15T01:28:01.722Z] Login Succeeded [2023-03-15T01:28:01.722Z] nexus3.edgexfoundry.org:10003 [2023-03-15T01:28:01.981Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T01:28:01.981Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T01:28:01.981Z] Configure a credential helper to remove this warning. See [2023-03-15T01:28:01.981Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T01:28:01.981Z] [2023-03-15T01:28:01.981Z] Login Succeeded [2023-03-15T01:28:01.981Z] nexus3.edgexfoundry.org:10004 [2023-03-15T01:28:01.981Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T01:28:01.981Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T01:28:01.981Z] Configure a credential helper to remove this warning. See [2023-03-15T01:28:01.981Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T01:28:01.981Z] [2023-03-15T01:28:01.981Z] Login Succeeded [2023-03-15T01:28:01.981Z] docker.io [2023-03-15T01:28:02.241Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T01:28:02.241Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T01:28:02.241Z] Configure a credential helper to remove this warning. See [2023-03-15T01:28:02.241Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T01:28:02.241Z] [2023-03-15T01:28:02.241Z] Login Succeeded [2023-03-15T01:28:02.241Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T01:28:02.273Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-15T01:28:02.894Z] + git rev-list -1 --merges d2492e3f0e49da88b612947d9f83778383787837~1..d2492e3f0e49da88b612947d9f83778383787837 [Pipeline] echo [2023-03-15T01:28:02.947Z] -----------> git rev-list -1 --merges d2492e3f0e49da88b612947d9f83778383787837~1..d2492e3f0e49da88b612947d9f83778383787837 d2492e3f0e49da88b612947d9f83778383787837 [false] [Pipeline] sh [2023-03-15T01:28:03.253Z] + git log --format=format:%s -1 d2492e3f0e49da88b612947d9f83778383787837 [Pipeline] echo [2023-03-15T01:28:03.287Z] ========================================================= [2023-03-15T01:28:03.287Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-15T01:28:03.287Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-15T01:28:03.704Z] + git log --format=format:%s -1 d2492e3f0e49da88b612947d9f83778383787837 [Pipeline] echo [2023-03-15T01:28:03.735Z] [semverPrep] GIT_COMMIT: d2492e3f0e49da88b612947d9f83778383787837, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v3 [Pipeline] echo [2023-03-15T01:28:03.761Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-15T01:28:04.129Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-15T01:28:04.129Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-15T01:28:04.129Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-15T01:28:04.129Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-15T01:28:04.129Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-15T01:28:04.129Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-15T01:28:04.129Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T01:28:04.547Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T01:28:04.547Z] [2023-03-15T01:28:04.547Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T01:28:04.926Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T01:28:04.926Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-15T01:28:04.926Z] b85a868b505f: Pulling fs layer [2023-03-15T01:28:04.926Z] e2be974225ed: Pulling fs layer [2023-03-15T01:28:04.926Z] 339a4e72a1f5: Pulling fs layer [2023-03-15T01:28:04.926Z] 988bab9f4d93: Pulling fs layer [2023-03-15T01:28:04.926Z] 1469e6f7b9e6: Pulling fs layer [2023-03-15T01:28:04.926Z] eaf3925da568: Pulling fs layer [2023-03-15T01:28:04.926Z] bab4dde63d76: Pulling fs layer [2023-03-15T01:28:04.926Z] bde34c3a00c8: Pulling fs layer [2023-03-15T01:28:04.926Z] b352a97aabf1: Pulling fs layer [2023-03-15T01:28:04.926Z] 4872d77fe225: Pulling fs layer [2023-03-15T01:28:04.926Z] 5851b861e8e6: Pulling fs layer [2023-03-15T01:28:04.926Z] 1469e6f7b9e6: Waiting [2023-03-15T01:28:04.926Z] eaf3925da568: Waiting [2023-03-15T01:28:04.926Z] bab4dde63d76: Waiting [2023-03-15T01:28:04.926Z] bde34c3a00c8: Waiting [2023-03-15T01:28:04.926Z] 5851b861e8e6: Waiting [2023-03-15T01:28:04.926Z] b352a97aabf1: Waiting [2023-03-15T01:28:04.926Z] 4872d77fe225: Waiting [2023-03-15T01:28:04.926Z] 988bab9f4d93: Waiting [2023-03-15T01:28:04.926Z] e2be974225ed: Verifying Checksum [2023-03-15T01:28:04.926Z] e2be974225ed: Download complete [2023-03-15T01:28:04.926Z] 988bab9f4d93: Verifying Checksum [2023-03-15T01:28:04.926Z] 988bab9f4d93: Download complete [2023-03-15T01:28:05.188Z] 1469e6f7b9e6: Verifying Checksum [2023-03-15T01:28:05.188Z] 1469e6f7b9e6: Download complete [2023-03-15T01:28:05.188Z] eaf3925da568: Verifying Checksum [2023-03-15T01:28:05.188Z] eaf3925da568: Download complete [2023-03-15T01:28:05.188Z] 339a4e72a1f5: Verifying Checksum [2023-03-15T01:28:05.188Z] 339a4e72a1f5: Download complete [2023-03-15T01:28:05.188Z] bde34c3a00c8: Verifying Checksum [2023-03-15T01:28:05.188Z] bde34c3a00c8: Download complete [2023-03-15T01:28:05.188Z] b352a97aabf1: Download complete [2023-03-15T01:28:05.188Z] 4872d77fe225: Download complete [2023-03-15T01:28:05.188Z] 5851b861e8e6: Download complete [2023-03-15T01:28:05.188Z] b85a868b505f: Verifying Checksum [2023-03-15T01:28:05.188Z] b85a868b505f: Download complete [2023-03-15T01:28:05.891Z] bab4dde63d76: Verifying Checksum [2023-03-15T01:28:05.891Z] bab4dde63d76: Download complete [2023-03-15T01:28:06.461Z] b85a868b505f: Pull complete [2023-03-15T01:28:06.721Z] e2be974225ed: Pull complete [2023-03-15T01:28:06.980Z] 339a4e72a1f5: Pull complete [2023-03-15T01:28:07.240Z] 988bab9f4d93: Pull complete [2023-03-15T01:28:07.499Z] 1469e6f7b9e6: Pull complete [2023-03-15T01:28:07.499Z] eaf3925da568: Pull complete [2023-03-15T01:28:09.230Z] bab4dde63d76: Pull complete [2023-03-15T01:28:09.230Z] bde34c3a00c8: Pull complete [2023-03-15T01:28:09.491Z] b352a97aabf1: Pull complete [2023-03-15T01:28:09.491Z] 4872d77fe225: Pull complete [2023-03-15T01:28:09.491Z] 5851b861e8e6: Pull complete [2023-03-15T01:28:09.491Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-15T01:28:09.491Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T01:28:09.491Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T01:28:09.971Z] prd-ubuntu20.04-docker-8c-8g-311 does not seem to be running inside a container [2023-03-15T01:28:09.983Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1385 -v /w/workspace/gexfoundry_device-sdk-go_PR-1385:/w/workspace/gexfoundry_device-sdk-go_PR-1385:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1385@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1385@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-03-15T01:28:12.645Z] $ docker top 0366d9e88e22414b00592cfd829ee7508a99e3ce749f935ac85f5e8decc537cc -eo pid,comm [2023-03-15T01:28:12.711Z] 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-03-15T01:28:12.711Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-15T01:28:12.826Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-15T01:28:12.826Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-15T01:28:12.948Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-15T01:28:12.936Z] $ docker exec 0366d9e88e22414b00592cfd829ee7508a99e3ce749f935ac85f5e8decc537cc ssh-agent [2023-03-15T01:28:13.055Z] SSH_AUTH_SOCK=/tmp/ssh-tWFk6wvNqE8N/agent.32 [2023-03-15T01:28:13.055Z] SSH_AGENT_PID=38 [2023-03-15T01:28:13.063Z] Running ssh-add (command line suppressed) [2023-03-15T01:28:13.154Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1385@tmp/private_key_15244652155875435923.key (/w/workspace/gexfoundry_device-sdk-go_PR-1385@tmp/private_key_15244652155875435923.key) [2023-03-15T01:28:13.183Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-15T01:28:13.963Z] + git tag --points-at HEAD [Pipeline] } [2023-03-15T01:28:13.972Z] $ docker exec --env ******** --env ******** 0366d9e88e22414b00592cfd829ee7508a99e3ce749f935ac85f5e8decc537cc ssh-agent -k [2023-03-15T01:28:14.077Z] unset SSH_AUTH_SOCK; [2023-03-15T01:28:14.078Z] unset SSH_AGENT_PID; [2023-03-15T01:28:14.078Z] echo Agent pid 38 killed; [2023-03-15T01:28:14.105Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-15T01:28:14.191Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-15T01:28:14.191Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-15T01:28:14.305Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-15T01:28:14.293Z] $ docker exec 0366d9e88e22414b00592cfd829ee7508a99e3ce749f935ac85f5e8decc537cc ssh-agent [2023-03-15T01:28:14.407Z] SSH_AUTH_SOCK=/tmp/ssh-hyardXCiIFQg/agent.70 [2023-03-15T01:28:14.408Z] SSH_AGENT_PID=76 [2023-03-15T01:28:14.413Z] Running ssh-add (command line suppressed) [2023-03-15T01:28:14.505Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1385@tmp/private_key_2810187569756298385.key (/w/workspace/gexfoundry_device-sdk-go_PR-1385@tmp/private_key_2810187569756298385.key) [2023-03-15T01:28:14.531Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-15T01:28:14.900Z] + git semver init [2023-03-15T01:28:15.408Z] 2023-03-15 01:28:15,059 [run_init] DEBUG init version:0.0.0 force:False [2023-03-15T01:28:15.408Z] 2023-03-15 01:28:15,060 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1385/.semver [2023-03-15T01:28:15.408Z] 2023-03-15 01:28:15,061 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1385/.semver [2023-03-15T01:28:15.408Z] 2023-03-15 01:28:15,061 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1385/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1385, universal_newlines=False, shell=None, istream=None) [2023-03-15T01:28:21.180Z] 2023-03-15 01:28:21,030 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1385/.git/info/exclude [2023-03-15T01:28:21.180Z] 2023-03-15 01:28:21,032 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1385/.semver/PR-1385 with force:False [2023-03-15T01:28:21.180Z] 2023-03-15 01:28:21,032 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1385/.semver/PR-1385 [2023-03-15T01:28:21.180Z] 2023-03-15 01:28:21,037 [execute] INFO git cat-file --batch-check [2023-03-15T01:28:21.180Z] 2023-03-15 01:28:21,038 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1385/.semver, universal_newlines=False, shell=None, istream=) [2023-03-15T01:28:21.180Z] 2023-03-15 01:28:21,044 [execute] INFO git cat-file --batch [2023-03-15T01:28:21.180Z] 2023-03-15 01:28:21,045 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1385/.semver, universal_newlines=False, shell=None, istream=) [2023-03-15T01:28:21.180Z] 2023-03-15 01:28:21,050 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1385/.semver/PR-1385 [2023-03-15T01:28:21.180Z] 0.0.0 [Pipeline] } [2023-03-15T01:28:21.297Z] $ docker exec --env ******** --env ******** 0366d9e88e22414b00592cfd829ee7508a99e3ce749f935ac85f5e8decc537cc ssh-agent -k [2023-03-15T01:28:21.412Z] unset SSH_AUTH_SOCK; [2023-03-15T01:28:21.413Z] unset SSH_AGENT_PID; [2023-03-15T01:28:21.413Z] echo Agent pid 76 killed; [2023-03-15T01:28:21.432Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-15T01:28:22.045Z] + git semver [Pipeline] } [2023-03-15T01:28:22.324Z] $ docker stop --time=1 0366d9e88e22414b00592cfd829ee7508a99e3ce749f935ac85f5e8decc537cc [2023-03-15T01:28:23.623Z] $ docker rm -f --volumes 0366d9e88e22414b00592cfd829ee7508a99e3ce749f935ac85f5e8decc537cc [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-15T01:28:24.023Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-15T01:28:24.266Z] Stashed 1 file(s) [Pipeline] echo [2023-03-15T01:28:24.283Z] [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-03-15T01:28:24.841Z] provisioning config files... [2023-03-15T01:28:24.851Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1385@tmp/config7717735725967013464tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T01:28:25.194Z] ---> docker-login.sh [2023-03-15T01:28:25.194Z] nexus3.edgexfoundry.org:10001 [2023-03-15T01:28:25.194Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T01:28:25.194Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T01:28:25.194Z] Configure a credential helper to remove this warning. See [2023-03-15T01:28:25.194Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T01:28:25.194Z] [2023-03-15T01:28:25.194Z] Login Succeeded [2023-03-15T01:28:25.194Z] nexus3.edgexfoundry.org:10002 [2023-03-15T01:28:25.195Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T01:28:25.195Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T01:28:25.195Z] Configure a credential helper to remove this warning. See [2023-03-15T01:28:25.195Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T01:28:25.195Z] [2023-03-15T01:28:25.195Z] Login Succeeded [2023-03-15T01:28:25.195Z] nexus3.edgexfoundry.org:10003 [2023-03-15T01:28:25.454Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T01:28:25.454Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T01:28:25.454Z] Configure a credential helper to remove this warning. See [2023-03-15T01:28:25.454Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T01:28:25.454Z] [2023-03-15T01:28:25.454Z] Login Succeeded [2023-03-15T01:28:25.454Z] nexus3.edgexfoundry.org:10004 [2023-03-15T01:28:25.454Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T01:28:25.454Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T01:28:25.454Z] Configure a credential helper to remove this warning. See [2023-03-15T01:28:25.454Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T01:28:25.454Z] [2023-03-15T01:28:25.454Z] Login Succeeded [2023-03-15T01:28:25.454Z] docker.io [2023-03-15T01:28:25.714Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T01:28:25.714Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T01:28:25.714Z] Configure a credential helper to remove this warning. See [2023-03-15T01:28:25.714Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T01:28:25.714Z] [2023-03-15T01:28:25.714Z] Login Succeeded [2023-03-15T01:28:25.714Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T01:28:25.744Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-15T01:28:25.935Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T01:28:25.975Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T01:28:26.008Z] ========================================================= [2023-03-15T01:28:26.008Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-15T01:28:26.008Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T01:28:26.460Z] + 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-03-15T01:28:26.460Z] Sending build context to Docker daemon 10.8MB [2023-03-15T01:28:26.460Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T01:28:26.460Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-15T01:28:26.460Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-15T01:28:26.460Z] 63b65145d645: Pulling fs layer [2023-03-15T01:28:26.460Z] a2d21d5440eb: Pulling fs layer [2023-03-15T01:28:26.460Z] 935e6c44a52c: Pulling fs layer [2023-03-15T01:28:26.460Z] 94cc34f8dd06: Pulling fs layer [2023-03-15T01:28:26.460Z] 30dea6a524f1: Pulling fs layer [2023-03-15T01:28:26.460Z] a2aff8979fd8: Pulling fs layer [2023-03-15T01:28:26.460Z] 6808be2612f2: Pulling fs layer [2023-03-15T01:28:26.460Z] f25807f1079a: Pulling fs layer [2023-03-15T01:28:26.460Z] 94cc34f8dd06: Waiting [2023-03-15T01:28:26.460Z] 30dea6a524f1: Waiting [2023-03-15T01:28:26.460Z] a2aff8979fd8: Waiting [2023-03-15T01:28:26.460Z] 6808be2612f2: Waiting [2023-03-15T01:28:26.460Z] f25807f1079a: Waiting [2023-03-15T01:28:26.720Z] a2d21d5440eb: Verifying Checksum [2023-03-15T01:28:26.720Z] a2d21d5440eb: Download complete [2023-03-15T01:28:26.720Z] 94cc34f8dd06: Verifying Checksum [2023-03-15T01:28:26.720Z] 94cc34f8dd06: Download complete [2023-03-15T01:28:26.720Z] 30dea6a524f1: Verifying Checksum [2023-03-15T01:28:26.720Z] 30dea6a524f1: Download complete [2023-03-15T01:28:26.720Z] 63b65145d645: Verifying Checksum [2023-03-15T01:28:26.720Z] 63b65145d645: Download complete [2023-03-15T01:28:26.720Z] a2aff8979fd8: Verifying Checksum [2023-03-15T01:28:26.720Z] a2aff8979fd8: Download complete [2023-03-15T01:28:26.978Z] 63b65145d645: Pull complete [2023-03-15T01:28:26.978Z] a2d21d5440eb: Pull complete [2023-03-15T01:28:27.929Z] 935e6c44a52c: Verifying Checksum [2023-03-15T01:28:27.929Z] 935e6c44a52c: Download complete [2023-03-15T01:28:27.929Z] f25807f1079a: Verifying Checksum [2023-03-15T01:28:27.929Z] f25807f1079a: Download complete [2023-03-15T01:28:28.187Z] 6808be2612f2: Verifying Checksum [2023-03-15T01:28:28.187Z] 6808be2612f2: Download complete [2023-03-15T01:28:30.710Z] 935e6c44a52c: Pull complete [2023-03-15T01:28:30.710Z] 94cc34f8dd06: Pull complete [2023-03-15T01:28:30.710Z] 30dea6a524f1: Pull complete [2023-03-15T01:28:30.968Z] a2aff8979fd8: Pull complete [2023-03-15T01:28:33.491Z] 6808be2612f2: Pull complete [2023-03-15T01:28:33.750Z] f25807f1079a: Pull complete [2023-03-15T01:28:33.750Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-15T01:28:33.750Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-15T01:28:33.750Z] ---> 3b553350e43f [2023-03-15T01:28:33.750Z] Step 3/10 : ARG MAKE=make build [2023-03-15T01:28:37.960Z] ---> Running in 0e5efbb44a0d [2023-03-15T01:28:38.218Z] Removing intermediate container 0e5efbb44a0d [2023-03-15T01:28:38.218Z] ---> 23f1b144c21d [2023-03-15T01:28:38.218Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-15T01:28:38.218Z] ---> Running in cc1eec0ec62f [2023-03-15T01:28:38.218Z] Removing intermediate container cc1eec0ec62f [2023-03-15T01:28:38.218Z] ---> 792a7cd95366 [2023-03-15T01:28:38.218Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-15T01:28:38.218Z] ---> Running in 518d6e7dd4e9 [2023-03-15T01:28:38.476Z] Removing intermediate container 518d6e7dd4e9 [2023-03-15T01:28:38.476Z] ---> ea09844f16de [2023-03-15T01:28:38.476Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-15T01:28:38.476Z] ---> Running in 3917d2925cc6 [2023-03-15T01:28:38.735Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-15T01:28:38.735Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-15T01:28:38.993Z] OK: 265 MiB in 53 packages [2023-03-15T01:28:39.251Z] Removing intermediate container 3917d2925cc6 [2023-03-15T01:28:39.251Z] ---> 8308efb1fc05 [2023-03-15T01:28:39.251Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-15T01:28:39.510Z] ---> 489bf82616cf [2023-03-15T01:28:39.510Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T01:28:39.510Z] ---> Running in 9b809b90eddd [2023-03-15T01:28:39.673Z] Still waiting to schedule task [2023-03-15T01:28:39.673Z] ‘prd-ubuntu20.04-docker-8c-8g-310’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-15T01:28:39.673Z] ‘prd-ubuntu20.04-docker-8c-8g-314’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-15T01:28:39.673Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-313’ is offline [2023-03-15T01:29:06.121Z] Removing intermediate container 9b809b90eddd [2023-03-15T01:29:06.122Z] ---> 641de232f09f [2023-03-15T01:29:06.122Z] Step 9/10 : COPY . . [2023-03-15T01:29:06.122Z] ---> 8b3acc2ddc79 [2023-03-15T01:29:06.122Z] Step 10/10 : RUN ${MAKE} [2023-03-15T01:29:06.122Z] ---> Running in e6ce3c1d8f99 [2023-03-15T01:29:06.122Z] noop [2023-03-15T01:29:06.122Z] Removing intermediate container e6ce3c1d8f99 [2023-03-15T01:29:06.122Z] ---> 79709e5596aa [2023-03-15T01:29:06.122Z] Successfully built 79709e5596aa [2023-03-15T01:29:06.122Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T01:29:06.671Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-15T01:29:06.671Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T01:29:06.835Z] prd-ubuntu20.04-docker-8c-8g-311 does not seem to be running inside a container [2023-03-15T01:29:06.866Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1385 -v /w/workspace/gexfoundry_device-sdk-go_PR-1385:/w/workspace/gexfoundry_device-sdk-go_PR-1385:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1385@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1385@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-03-15T01:29:07.181Z] $ docker top 0850546b3b010c44b7e44079792fc41c8b6e5eebcb91c676af99f8ccf089db8e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T01:29:07.565Z] + go version [2023-03-15T01:29:07.565Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-15T01:29:07.602Z] $ docker stop --time=1 0850546b3b010c44b7e44079792fc41c8b6e5eebcb91c676af99f8ccf089db8e [2023-03-15T01:29:08.850Z] $ docker rm -f --volumes 0850546b3b010c44b7e44079792fc41c8b6e5eebcb91c676af99f8ccf089db8e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T01:29:09.579Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-15T01:29:09.579Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T01:29:09.720Z] prd-ubuntu20.04-docker-8c-8g-311 does not seem to be running inside a container [2023-03-15T01:29:09.750Z] $ 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-1385 -v /w/workspace/gexfoundry_device-sdk-go_PR-1385:/w/workspace/gexfoundry_device-sdk-go_PR-1385:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1385@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1385@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-03-15T01:29:10.070Z] $ docker top 7ffe6d0c6eb0a933f8c324af9a4004a0041e7978bbc13043a038559e05fdef6b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T01:29:10.438Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1385 [Pipeline] fileExists [Pipeline] sh [2023-03-15T01:29:10.799Z] + make test [2023-03-15T01:29:10.799Z] go test -race -coverprofile=coverage.out ./... [2023-03-15T01:29:17.534Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-15T01:29:29.723Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-15T01:29:29.723Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-15T01:29:29.723Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-15T01:29:29.723Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-15T01:29:29.723Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-15T01:29:30.657Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.069s coverage: 27.6% of statements [2023-03-15T01:29:30.657Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.055s coverage: 78.9% of statements [2023-03-15T01:29:30.657Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-15T01:29:30.657Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-15T01:29:30.914Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.074s coverage: 86.0% of statements [2023-03-15T01:29:31.843Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-15T01:29:31.843Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-15T01:29:31.843Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.110s coverage: 75.9% of statements [2023-03-15T01:29:31.843Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-15T01:29:31.843Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-15T01:29:32.774Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-15T01:29:35.305Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.065s coverage: 15.2% of statements [2023-03-15T01:29:35.305Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.080s coverage: 65.7% of statements [2023-03-15T01:29:35.305Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.114s coverage: 89.2% of statements [2023-03-15T01:29:35.305Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.050s coverage: 5.5% of statements [2023-03-15T01:29:53.365Z] GO111MODULE=on go vet ./... [2023-03-15T01:29:56.639Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-15T01:29:56.639Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-15T01:29:56.639Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-15T01:29:56.678Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-15T01:29:56.706Z] $ docker stop --time=1 7ffe6d0c6eb0a933f8c324af9a4004a0041e7978bbc13043a038559e05fdef6b [2023-03-15T01:30:00.272Z] $ docker rm -f --volumes 7ffe6d0c6eb0a933f8c324af9a4004a0041e7978bbc13043a038559e05fdef6b [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-15T01:30:00.823Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-15T01:30:00.903Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-15T01:30:01.490Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-15T01:30:01.799Z] + ls -al . [2023-03-15T01:30:01.800Z] total 276 [2023-03-15T01:30:01.800Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 15 01:29 . [2023-03-15T01:30:01.800Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 01:27 .. [2023-03-15T01:30:01.800Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 15 01:27 .dockerignore [2023-03-15T01:30:01.800Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 01:28 .git [2023-03-15T01:30:01.800Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 01:27 .github [2023-03-15T01:30:01.800Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 15 01:27 .gitignore [2023-03-15T01:30:01.800Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 15 01:27 .golangci.yml [2023-03-15T01:30:01.800Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 01:28 .semver [2023-03-15T01:30:01.800Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 15 01:27 CHANGELOG.md [2023-03-15T01:30:01.800Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 01:27 GOVERNANCE.md [2023-03-15T01:30:01.800Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 15 01:27 Jenkinsfile [2023-03-15T01:30:01.800Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 15 01:27 LICENSE [2023-03-15T01:30:01.800Z] -rw-rw-r-- 1 jenkins jenkins 1714 Mar 15 01:27 Makefile [2023-03-15T01:30:01.800Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 15 01:27 OWNERS.md [2023-03-15T01:30:01.800Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 15 01:27 README.md [2023-03-15T01:30:01.800Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 01:28 VERSION [2023-03-15T01:30:01.800Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 01:27 bin [2023-03-15T01:30:01.800Z] -rw-r--r-- 1 jenkins jenkins 109538 Mar 15 01:29 coverage.out [2023-03-15T01:30:01.800Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 15 01:27 example [2023-03-15T01:30:01.800Z] -rw-rw-r-- 1 jenkins jenkins 3278 Mar 15 01:27 go.mod [2023-03-15T01:30:01.800Z] -rw-rw-r-- 1 jenkins jenkins 30839 Mar 15 01:27 go.sum [2023-03-15T01:30:01.800Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 15 01:27 internal [2023-03-15T01:30:01.800Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 01:27 openapi [2023-03-15T01:30:01.800Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 15 01:27 pkg [2023-03-15T01:30:01.800Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 01:27 snap [2023-03-15T01:30:01.800Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 15 01:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T01:30:02.214Z] + 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=d2492e3f0e49da88b612947d9f83778383787837 --label arch=amd64 --label version=0.0.0 . [2023-03-15T01:30:02.215Z] Sending build context to Docker daemon 10.91MB [2023-03-15T01:30:02.215Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T01:30:02.215Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-15T01:30:02.215Z] ---> 79709e5596aa [2023-03-15T01:30:02.215Z] Step 3/23 : ARG MAKE=make build [2023-03-15T01:30:02.472Z] ---> Running in f89672de0a0f [2023-03-15T01:30:02.472Z] Removing intermediate container f89672de0a0f [2023-03-15T01:30:02.472Z] ---> 3da7d6be20d4 [2023-03-15T01:30:02.472Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-15T01:30:02.472Z] ---> Running in 6f0e8cdc1812 [2023-03-15T01:30:02.472Z] Removing intermediate container 6f0e8cdc1812 [2023-03-15T01:30:02.472Z] ---> f89fdd1b05b6 [2023-03-15T01:30:02.472Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-15T01:30:02.472Z] ---> Running in 0cb49e722fbe [2023-03-15T01:30:02.839Z] Removing intermediate container 0cb49e722fbe [2023-03-15T01:30:02.839Z] ---> 88ab5856dbe4 [2023-03-15T01:30:02.839Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-15T01:30:02.839Z] ---> Running in ea1f57710c0d [2023-03-15T01:30:02.839Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-15T01:30:03.407Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-15T01:30:03.666Z] OK: 265 MiB in 53 packages [2023-03-15T01:30:03.925Z] Removing intermediate container ea1f57710c0d [2023-03-15T01:30:03.925Z] ---> fb16fafed002 [2023-03-15T01:30:03.925Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-15T01:30:03.925Z] ---> 1bf5578b3c3b [2023-03-15T01:30:03.925Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T01:30:03.925Z] ---> Running in 684a7639c551 [2023-03-15T01:30:04.879Z] Removing intermediate container 684a7639c551 [2023-03-15T01:30:04.879Z] ---> 440d68730e5f [2023-03-15T01:30:04.879Z] Step 9/23 : COPY . . [2023-03-15T01:30:05.446Z] ---> a80b7f0d87f3 [2023-03-15T01:30:05.446Z] Step 10/23 : RUN ${MAKE} [2023-03-15T01:30:05.446Z] ---> Running in 64fd321c307d [2023-03-15T01:30:05.704Z] 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-03-15T01:30:23.779Z] Removing intermediate container 64fd321c307d [2023-03-15T01:30:23.779Z] ---> 5c801f1fb364 [2023-03-15T01:30:23.779Z] Step 11/23 : FROM alpine:3.17 [2023-03-15T01:30:23.779Z] 3.17: Pulling from library/alpine [2023-03-15T01:30:23.779Z] 63b65145d645: Already exists [2023-03-15T01:30:23.779Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-15T01:30:23.779Z] Status: Downloaded newer image for alpine:3.17 [2023-03-15T01:30:23.779Z] ---> b2aa39c304c2 [2023-03-15T01:30:23.779Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-15T01:30:23.779Z] ---> Running in 00d409c2f07e [2023-03-15T01:30:23.779Z] Removing intermediate container 00d409c2f07e [2023-03-15T01:30:23.779Z] ---> 6562842c7d06 [2023-03-15T01:30:23.779Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-15T01:30:23.779Z] ---> Running in 2acd42034e26 [2023-03-15T01:30:23.779Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-15T01:30:23.779Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-15T01:30:24.037Z] OK: 7 MiB in 15 packages [2023-03-15T01:30:24.296Z] Removing intermediate container 2acd42034e26 [2023-03-15T01:30:24.296Z] ---> c09d371242e5 [2023-03-15T01:30:24.296Z] Step 14/23 : WORKDIR / [2023-03-15T01:30:24.296Z] ---> Running in 36b7f3a22394 [2023-03-15T01:30:24.296Z] Removing intermediate container 36b7f3a22394 [2023-03-15T01:30:24.296Z] ---> c30a5210f9ae [2023-03-15T01:30:24.296Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-15T01:30:24.554Z] ---> 594a2d7ff7c5 [2023-03-15T01:30:24.554Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-15T01:30:24.955Z] ---> 02dfd38c365a [2023-03-15T01:30:24.955Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-15T01:30:26.003Z] ---> bf2875c7bc64 [2023-03-15T01:30:26.003Z] Step 18/23 : EXPOSE 59999 [2023-03-15T01:30:26.003Z] ---> Running in d20731317d0f [2023-03-15T01:30:26.003Z] Removing intermediate container d20731317d0f [2023-03-15T01:30:26.003Z] ---> 7dce9b4c9cda [2023-03-15T01:30:26.003Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-15T01:30:26.003Z] ---> Running in 34ce33f2f1f4 [2023-03-15T01:30:26.003Z] Removing intermediate container 34ce33f2f1f4 [2023-03-15T01:30:26.003Z] ---> 0a782de0450a [2023-03-15T01:30:26.003Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-15T01:30:26.003Z] ---> Running in 35f6a3534db8 [2023-03-15T01:30:26.003Z] Removing intermediate container 35f6a3534db8 [2023-03-15T01:30:26.003Z] ---> 92b38f7f92be [2023-03-15T01:30:26.003Z] Step 21/23 : LABEL arch=amd64 [2023-03-15T01:30:26.003Z] ---> Running in 2d30cb8b03cf [2023-03-15T01:30:26.003Z] Removing intermediate container 2d30cb8b03cf [2023-03-15T01:30:26.003Z] ---> 88dc0e8a5f36 [2023-03-15T01:30:26.003Z] Step 22/23 : LABEL git_sha=d2492e3f0e49da88b612947d9f83778383787837 [2023-03-15T01:30:26.263Z] ---> Running in 01451200b4b1 [2023-03-15T01:30:26.263Z] Removing intermediate container 01451200b4b1 [2023-03-15T01:30:26.263Z] ---> 80e3400df9ef [2023-03-15T01:30:26.263Z] Step 23/23 : LABEL version=0.0.0 [2023-03-15T01:30:26.263Z] ---> Running in 5c8e14b16890 [2023-03-15T01:30:26.263Z] Removing intermediate container 5c8e14b16890 [2023-03-15T01:30:26.263Z] ---> fd455625606c [2023-03-15T01:30:26.263Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-15T01:30:26.263Z] Successfully built fd455625606c [2023-03-15T01:30:26.263Z] 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-03-15T01:30:27.118Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T01:30:27.118Z] [2023-03-15T01:30:27.118Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T01:30:27.738Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T01:30:27.738Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-15T01:30:27.738Z] 5eb5b503b376: Pulling fs layer [2023-03-15T01:30:27.738Z] 5c69ac0246d0: Pulling fs layer [2023-03-15T01:30:27.738Z] ec43610c2a17: Pulling fs layer [2023-03-15T01:30:27.738Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-15T01:30:27.738Z] 33b1e0a273af: Pulling fs layer [2023-03-15T01:30:27.738Z] 5d3b04190fa2: Pulling fs layer [2023-03-15T01:30:27.738Z] 2f39f015ded8: Pulling fs layer [2023-03-15T01:30:27.738Z] 2f39f015ded8: Waiting [2023-03-15T01:30:27.738Z] 5d3b04190fa2: Waiting [2023-03-15T01:30:27.738Z] 3a2ae6a8a46f: Waiting [2023-03-15T01:30:27.738Z] 33b1e0a273af: Waiting [2023-03-15T01:30:27.999Z] 5c69ac0246d0: Verifying Checksum [2023-03-15T01:30:27.999Z] 5c69ac0246d0: Download complete [2023-03-15T01:30:27.999Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-15T01:30:27.999Z] 3a2ae6a8a46f: Download complete [2023-03-15T01:30:27.999Z] ec43610c2a17: Verifying Checksum [2023-03-15T01:30:27.999Z] ec43610c2a17: Download complete [2023-03-15T01:30:27.999Z] 5d3b04190fa2: Verifying Checksum [2023-03-15T01:30:27.999Z] 5d3b04190fa2: Download complete [2023-03-15T01:30:27.999Z] 33b1e0a273af: Verifying Checksum [2023-03-15T01:30:27.999Z] 33b1e0a273af: Download complete [2023-03-15T01:30:28.258Z] 5eb5b503b376: Download complete [2023-03-15T01:30:28.825Z] 2f39f015ded8: Download complete [2023-03-15T01:30:29.396Z] 5eb5b503b376: Pull complete [2023-03-15T01:30:29.396Z] 5c69ac0246d0: Pull complete [2023-03-15T01:30:29.656Z] ec43610c2a17: Pull complete [2023-03-15T01:30:29.656Z] 3a2ae6a8a46f: Pull complete [2023-03-15T01:30:29.914Z] 33b1e0a273af: Pull complete [2023-03-15T01:30:30.172Z] 5d3b04190fa2: Pull complete [2023-03-15T01:30:34.436Z] 2f39f015ded8: Pull complete [2023-03-15T01:30:34.436Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-15T01:30:34.436Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T01:30:34.437Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T01:30:34.653Z] prd-ubuntu20.04-docker-8c-8g-311 does not seem to be running inside a container [2023-03-15T01:30:34.687Z] $ 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-1385 -v /w/workspace/gexfoundry_device-sdk-go_PR-1385:/w/workspace/gexfoundry_device-sdk-go_PR-1385:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1385@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1385@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-03-15T01:30:37.904Z] $ docker top 5fa1f15d9be6e9bed94f863c1f7573fc7a92c259df77bfc252438d67bf347d7d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T01:30:38.336Z] ---> job-cost.sh [2023-03-15T01:30:38.336Z] lf-activate-venv: SKIPPING [2023-03-15T01:30:38.336Z] INFO: No Stack... [2023-03-15T01:30:38.595Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-15T01:30:38.853Z] INFO: Archiving Costs [Pipeline] sh [2023-03-15T01:30:39.171Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1385/archives/cost.csv [2023-03-15T01:30:39.172Z] + cut -d, -f6 [Pipeline] lock [2023-03-15T01:30:39.215Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1385-1-stack-cost] [2023-03-15T01:30:39.220Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1385-1-stack-cost] did not exist. Created. [2023-03-15T01:30:39.220Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1385-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-15T01:30:39.610Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-15T01:30:39.661Z] Stashed 1 file(s) [Pipeline] } [2023-03-15T01:30:39.687Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1385-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-15T01:30:39.777Z] $ docker stop --time=1 5fa1f15d9be6e9bed94f863c1f7573fc7a92c259df77bfc252438d67bf347d7d [2023-03-15T01:30:40.917Z] $ docker rm -f --volumes 5fa1f15d9be6e9bed94f863c1f7573fc7a92c259df77bfc252438d67bf347d7d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-15T01:31:45.613Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-316 in /w/workspace/gexfoundry_device-sdk-go_PR-1385 [Pipeline] { [Pipeline] ws [2023-03-15T01:31:45.670Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-03-15T01:31:45.757Z] The recommended git tool is: git [2023-03-15T01:31:52.672Z] using credential edgex-jenkins-ssh [2023-03-15T01:31:52.699Z] Cloning the remote Git repository [2023-03-15T01:31:52.758Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-03-15T01:31:52.878Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-03-15T01:31:53.069Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-15T01:31:53.070Z] > git --version # timeout=10 [2023-03-15T01:31:53.100Z] > git --version # 'git version 2.25.1' [2023-03-15T01:31:53.103Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-15T01:31:53.281Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-15T01:31:55.070Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-15T01:31:55.100Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-15T01:31:56.116Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-15T01:31:56.156Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-15T01:31:56.157Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-15T01:31:56.175Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1385/head:refs/remotes/origin/PR-1385 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-15T01:31:56.756Z] Merging remotes/origin/main commit 8fb9feca0c10481a594d8c8fb14f04008fc9a26d into PR head commit d2492e3f0e49da88b612947d9f83778383787837 [2023-03-15T01:31:57.113Z] Merge succeeded, producing d2492e3f0e49da88b612947d9f83778383787837 [2023-03-15T01:31:57.114Z] Checking out Revision d2492e3f0e49da88b612947d9f83778383787837 (PR-1385) [2023-03-15T01:31:56.781Z] > git config core.sparsecheckout # timeout=10 [2023-03-15T01:31:56.862Z] > git checkout -f d2492e3f0e49da88b612947d9f83778383787837 # timeout=10 [2023-03-15T01:31:56.988Z] > git remote # timeout=10 [2023-03-15T01:31:57.010Z] > git config --get remote.origin.url # timeout=10 [2023-03-15T01:31:57.044Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-15T01:31:57.062Z] > git merge 8fb9feca0c10481a594d8c8fb14f04008fc9a26d # timeout=10 [2023-03-15T01:31:57.097Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-15T01:31:57.123Z] > git config core.sparsecheckout # timeout=10 [2023-03-15T01:31:57.143Z] > git checkout -f d2492e3f0e49da88b612947d9f83778383787837 # timeout=10 [2023-03-15T01:31:57.722Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v3" [2023-03-15T01:31:57.776Z] > git --version # timeout=10 [2023-03-15T01:31:57.791Z] > git --version # 'git version 2.25.1' [2023-03-15T01:31:57.804Z] fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-15T01:31:58.798Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-15T01:31:58.798Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-15T01:31:58.798Z] Dload Upload Total Spent Left Speed [2023-03-15T01:31:58.798Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 188k 0 --:--:-- --:--:-- --:--:-- 185k [Pipeline] sh [2023-03-15T01:31:59.469Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-15T01:31:59.819Z] + sudo tee /etc/docker/daemon.new [2023-03-15T01:31:59.820Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-15T01:31:59.820Z] { [2023-03-15T01:31:59.820Z] "registry-mirrors": [ [2023-03-15T01:31:59.820Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-15T01:31:59.820Z] ], [2023-03-15T01:31:59.820Z] "bip": "10.250.0.254/24", [2023-03-15T01:31:59.820Z] "hosts": [ [2023-03-15T01:31:59.820Z] "tcp://0.0.0.0:5555", [2023-03-15T01:31:59.820Z] "unix:///var/run/docker.sock" [2023-03-15T01:31:59.820Z] ], [2023-03-15T01:31:59.820Z] "mtu": 1458, [2023-03-15T01:31:59.820Z] "selinux-enabled": true, [2023-03-15T01:31:59.820Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-15T01:31:59.820Z] } [Pipeline] sh [2023-03-15T01:32:00.173Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-15T01:32:00.534Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T01:32:18.893Z] provisioning config files... [2023-03-15T01:32:18.928Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config1934379838967548467tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T01:32:19.340Z] ---> docker-login.sh [2023-03-15T01:32:19.340Z] nexus3.edgexfoundry.org:10001 [2023-03-15T01:32:19.952Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T01:32:19.952Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T01:32:19.952Z] Configure a credential helper to remove this warning. See [2023-03-15T01:32:19.952Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T01:32:19.952Z] [2023-03-15T01:32:19.952Z] Login Succeeded [2023-03-15T01:32:19.952Z] nexus3.edgexfoundry.org:10002 [2023-03-15T01:32:20.222Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T01:32:20.495Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T01:32:20.495Z] Configure a credential helper to remove this warning. See [2023-03-15T01:32:20.495Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T01:32:20.495Z] [2023-03-15T01:32:20.495Z] Login Succeeded [2023-03-15T01:32:20.495Z] nexus3.edgexfoundry.org:10003 [2023-03-15T01:32:20.767Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T01:32:20.767Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T01:32:20.767Z] Configure a credential helper to remove this warning. See [2023-03-15T01:32:20.767Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T01:32:20.767Z] [2023-03-15T01:32:20.767Z] Login Succeeded [2023-03-15T01:32:20.767Z] nexus3.edgexfoundry.org:10004 [2023-03-15T01:32:21.039Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T01:32:21.312Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T01:32:21.312Z] Configure a credential helper to remove this warning. See [2023-03-15T01:32:21.312Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T01:32:21.312Z] [2023-03-15T01:32:21.312Z] Login Succeeded [2023-03-15T01:32:21.312Z] docker.io [2023-03-15T01:32:21.582Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T01:32:21.851Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T01:32:21.851Z] Configure a credential helper to remove this warning. See [2023-03-15T01:32:21.851Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T01:32:21.851Z] [2023-03-15T01:32:21.851Z] Login Succeeded [2023-03-15T01:32:21.851Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T01:32:21.880Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-15T01:32:22.339Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T01:32:22.376Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T01:32:22.411Z] ========================================================= [2023-03-15T01:32:22.411Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-15T01:32:22.411Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T01:32:22.919Z] + 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-03-15T01:32:23.195Z] Sending build context to Docker daemon 5.79MB [2023-03-15T01:32:23.466Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T01:32:23.466Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-15T01:32:23.466Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-15T01:32:23.466Z] af6eaf76a39c: Pulling fs layer [2023-03-15T01:32:23.466Z] 55522c791124: Pulling fs layer [2023-03-15T01:32:23.466Z] ce5c4a1c91eb: Pulling fs layer [2023-03-15T01:32:23.466Z] 169dfbe0d373: Pulling fs layer [2023-03-15T01:32:23.466Z] e1ff8fa3b103: Pulling fs layer [2023-03-15T01:32:23.466Z] 52ebb69f0ebf: Pulling fs layer [2023-03-15T01:32:23.466Z] 5abe8eddf0d5: Pulling fs layer [2023-03-15T01:32:23.466Z] e1ff8fa3b103: Waiting [2023-03-15T01:32:23.466Z] 52ebb69f0ebf: Waiting [2023-03-15T01:32:23.466Z] 169dfbe0d373: Waiting [2023-03-15T01:32:23.466Z] 5abe8eddf0d5: Waiting [2023-03-15T01:32:23.466Z] 55522c791124: Download complete [2023-03-15T01:32:23.758Z] 169dfbe0d373: Verifying Checksum [2023-03-15T01:32:23.758Z] 169dfbe0d373: Download complete [2023-03-15T01:32:23.758Z] e1ff8fa3b103: Verifying Checksum [2023-03-15T01:32:23.758Z] e1ff8fa3b103: Download complete [2023-03-15T01:32:23.758Z] af6eaf76a39c: Verifying Checksum [2023-03-15T01:32:23.758Z] af6eaf76a39c: Download complete [2023-03-15T01:32:24.737Z] 5abe8eddf0d5: Verifying Checksum [2023-03-15T01:32:24.737Z] 5abe8eddf0d5: Download complete [2023-03-15T01:32:25.718Z] af6eaf76a39c: Pull complete [2023-03-15T01:32:26.109Z] 52ebb69f0ebf: Verifying Checksum [2023-03-15T01:32:26.109Z] 52ebb69f0ebf: Download complete [2023-03-15T01:32:26.109Z] ce5c4a1c91eb: Verifying Checksum [2023-03-15T01:32:26.109Z] ce5c4a1c91eb: Download complete [2023-03-15T01:32:26.386Z] 55522c791124: Pull complete [2023-03-15T01:32:38.766Z] ce5c4a1c91eb: Pull complete [2023-03-15T01:32:38.766Z] 169dfbe0d373: Pull complete [2023-03-15T01:32:38.766Z] e1ff8fa3b103: Pull complete [2023-03-15T01:32:44.148Z] 52ebb69f0ebf: Pull complete [2023-03-15T01:32:45.570Z] 5abe8eddf0d5: Pull complete [2023-03-15T01:32:45.570Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-15T01:32:45.570Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-15T01:32:45.570Z] ---> 6cb57ee374ae [2023-03-15T01:32:45.570Z] Step 3/10 : ARG MAKE=make build [2023-03-15T01:32:47.549Z] ---> Running in 365fe1e1139e [2023-03-15T01:32:48.160Z] Removing intermediate container 365fe1e1139e [2023-03-15T01:32:48.160Z] ---> 8162264358b5 [2023-03-15T01:32:48.160Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-15T01:32:48.160Z] ---> Running in f2d5489543ca [2023-03-15T01:32:48.433Z] Removing intermediate container f2d5489543ca [2023-03-15T01:32:48.433Z] ---> 4c61678caf01 [2023-03-15T01:32:48.433Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-15T01:32:48.705Z] ---> Running in d6bbd6f1fc7a [2023-03-15T01:32:48.978Z] Removing intermediate container d6bbd6f1fc7a [2023-03-15T01:32:48.978Z] ---> 8d93b3d1a855 [2023-03-15T01:32:48.978Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-15T01:32:49.252Z] ---> Running in b4948a3edcd8 [2023-03-15T01:32:50.678Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-15T01:32:50.946Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-15T01:32:52.364Z] OK: 263 MiB in 53 packages [2023-03-15T01:32:53.336Z] Removing intermediate container b4948a3edcd8 [2023-03-15T01:32:53.336Z] ---> e2c4e3232afa [2023-03-15T01:32:53.336Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-15T01:32:53.926Z] ---> 65aa05f396f9 [2023-03-15T01:32:53.926Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T01:32:53.926Z] ---> Running in 33c9fe45217a [2023-03-15T01:34:01.899Z] Removing intermediate container 33c9fe45217a [2023-03-15T01:34:01.899Z] ---> 2bc4a77a65d0 [2023-03-15T01:34:01.899Z] Step 9/10 : COPY . . [2023-03-15T01:34:01.899Z] ---> 0777b3e114fc [2023-03-15T01:34:01.899Z] Step 10/10 : RUN ${MAKE} [2023-03-15T01:34:01.899Z] ---> Running in 7c0c0c1899f0 [2023-03-15T01:34:01.899Z] noop [2023-03-15T01:34:01.899Z] Removing intermediate container 7c0c0c1899f0 [2023-03-15T01:34:01.899Z] ---> 9515ee07a554 [2023-03-15T01:34:01.899Z] Successfully built 9515ee07a554 [2023-03-15T01:34:01.899Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T01:34:02.371Z] + docker inspect -f . ci-base-image-arm64 [2023-03-15T01:34:02.371Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T01:34:02.663Z] prd-ubuntu20.04-docker-arm64-4c-16g-316 does not seem to be running inside a container [2023-03-15T01:34:02.732Z] $ 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-03-15T01:34:03.883Z] $ docker top 69929ad55b2806669202b00e333d6796329255b66c26f9593c46b0f3f3f87975 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T01:34:04.760Z] + go version [2023-03-15T01:34:04.760Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-15T01:34:04.803Z] $ docker stop --time=1 69929ad55b2806669202b00e333d6796329255b66c26f9593c46b0f3f3f87975 [2023-03-15T01:34:06.433Z] $ docker rm -f --volumes 69929ad55b2806669202b00e333d6796329255b66c26f9593c46b0f3f3f87975 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T01:34:07.271Z] + docker inspect -f . ci-base-image-arm64 [2023-03-15T01:34:07.272Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T01:34:07.610Z] prd-ubuntu20.04-docker-arm64-4c-16g-316 does not seem to be running inside a container [2023-03-15T01:34:07.681Z] $ 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-03-15T01:34:08.847Z] $ docker top 778544ffa67496dafcbaea15c52d8d0e9f09be1b49c90b7c9fd57201b08a6449 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T01:34:09.415Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-03-15T01:34:10.074Z] + make test [2023-03-15T01:34:10.349Z] go test -race -coverprofile=coverage.out ./... [2023-03-15T01:34:57.222Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-15T01:37:33.941Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-15T01:37:33.941Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-15T01:37:33.941Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-15T01:37:33.941Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-15T01:37:33.941Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-15T01:37:33.941Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.225s coverage: 27.6% of statements [2023-03-15T01:37:39.288Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.270s coverage: 78.9% of statements [2023-03-15T01:37:54.299Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-15T01:37:54.299Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-15T01:37:54.299Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.390s coverage: 86.0% of statements [2023-03-15T01:37:59.651Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-15T01:38:00.239Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.497s coverage: 75.9% of statements [2023-03-15T01:38:05.592Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-15T01:38:07.004Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-15T01:38:07.004Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-15T01:38:07.966Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.261s coverage: 15.2% of statements [2023-03-15T01:38:07.966Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.529s coverage: 65.7% of statements [2023-03-15T01:38:11.335Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.469s coverage: 89.2% of statements [2023-03-15T01:38:12.770Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-15T01:38:13.039Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.283s coverage: 5.5% of statements [2023-03-15T01:38:14.060Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-15T01:38:14.060Z] GO111MODULE=on go vet ./... [2023-03-15T01:40:50.895Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-15T01:40:50.895Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-15T01:40:50.895Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-15T01:40:50.939Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-15T01:40:50.972Z] $ docker stop --time=1 778544ffa67496dafcbaea15c52d8d0e9f09be1b49c90b7c9fd57201b08a6449 [2023-03-15T01:40:52.828Z] $ docker rm -f --volumes 778544ffa67496dafcbaea15c52d8d0e9f09be1b49c90b7c9fd57201b08a6449 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-15T01:40:55.674Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-15T01:40:55.708Z] Warning: overwriting stash ‘coverage-report’ [2023-03-15T01:40:56.273Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-15T01:40:56.867Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-15T01:40:57.203Z] + ls -al . [2023-03-15T01:40:57.203Z] total 272 [2023-03-15T01:40:57.203Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 01:34 . [2023-03-15T01:40:57.203Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 01:31 .. [2023-03-15T01:40:57.203Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 15 01:31 .dockerignore [2023-03-15T01:40:57.203Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 01:31 .git [2023-03-15T01:40:57.203Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 01:31 .github [2023-03-15T01:40:57.203Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 15 01:31 .gitignore [2023-03-15T01:40:57.203Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 15 01:31 .golangci.yml [2023-03-15T01:40:57.203Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 15 01:31 CHANGELOG.md [2023-03-15T01:40:57.203Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 01:31 GOVERNANCE.md [2023-03-15T01:40:57.203Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 15 01:31 Jenkinsfile [2023-03-15T01:40:57.203Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 15 01:31 LICENSE [2023-03-15T01:40:57.203Z] -rw-rw-r-- 1 jenkins jenkins 1714 Mar 15 01:31 Makefile [2023-03-15T01:40:57.203Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 15 01:31 OWNERS.md [2023-03-15T01:40:57.203Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 15 01:31 README.md [2023-03-15T01:40:57.203Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 01:28 VERSION [2023-03-15T01:40:57.203Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 01:31 bin [2023-03-15T01:40:57.203Z] -rw-r--r-- 1 jenkins jenkins 109538 Mar 15 01:38 coverage.out [2023-03-15T01:40:57.203Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 15 01:31 example [2023-03-15T01:40:57.203Z] -rw-rw-r-- 1 jenkins jenkins 3278 Mar 15 01:31 go.mod [2023-03-15T01:40:57.203Z] -rw-rw-r-- 1 jenkins jenkins 30839 Mar 15 01:31 go.sum [2023-03-15T01:40:57.203Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 15 01:31 internal [2023-03-15T01:40:57.203Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 01:31 openapi [2023-03-15T01:40:57.203Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 15 01:31 pkg [2023-03-15T01:40:57.203Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 01:31 snap [2023-03-15T01:40:57.203Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 15 01:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T01:40:57.627Z] + 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=d2492e3f0e49da88b612947d9f83778383787837 --label arch=arm64 --label version=0.0.0 . [2023-03-15T01:40:57.893Z] Sending build context to Docker daemon 5.9MB [2023-03-15T01:40:57.893Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T01:40:57.893Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-15T01:40:57.893Z] ---> 9515ee07a554 [2023-03-15T01:40:57.893Z] Step 3/23 : ARG MAKE=make build [2023-03-15T01:41:00.490Z] ---> Running in ae82fdd7c07f [2023-03-15T01:41:00.490Z] Removing intermediate container ae82fdd7c07f [2023-03-15T01:41:00.490Z] ---> f552c8f5512e [2023-03-15T01:41:00.490Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-15T01:41:00.490Z] ---> Running in 79b082b9e700 [2023-03-15T01:41:00.767Z] Removing intermediate container 79b082b9e700 [2023-03-15T01:41:00.767Z] ---> 5d9c5f7554cf [2023-03-15T01:41:00.767Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-15T01:41:01.039Z] ---> Running in 6297467ca758 [2023-03-15T01:41:01.308Z] Removing intermediate container 6297467ca758 [2023-03-15T01:41:01.308Z] ---> 62c39bbc38d3 [2023-03-15T01:41:01.308Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-15T01:41:01.308Z] ---> Running in 8bf1ec9e71bd [2023-03-15T01:41:02.266Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-15T01:41:02.847Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-15T01:41:04.256Z] OK: 263 MiB in 53 packages [2023-03-15T01:41:04.842Z] Removing intermediate container 8bf1ec9e71bd [2023-03-15T01:41:04.842Z] ---> 72069a2e7b3f [2023-03-15T01:41:04.842Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-15T01:41:05.427Z] ---> c09eef47ccc3 [2023-03-15T01:41:05.427Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T01:41:05.427Z] ---> Running in a042eeba1462 [2023-03-15T01:41:08.015Z] Removing intermediate container a042eeba1462 [2023-03-15T01:41:08.015Z] ---> c04a0b0e1fc0 [2023-03-15T01:41:08.015Z] Step 9/23 : COPY . . [2023-03-15T01:41:09.528Z] ---> 2074504f6924 [2023-03-15T01:41:09.528Z] Step 10/23 : RUN ${MAKE} [2023-03-15T01:41:09.528Z] ---> Running in 55ebabc3dda1 [2023-03-15T01:41:10.514Z] 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-03-15T01:43:32.319Z] Removing intermediate container 55ebabc3dda1 [2023-03-15T01:43:32.319Z] ---> 86d148b658d2 [2023-03-15T01:43:32.319Z] Step 11/23 : FROM alpine:3.17 [2023-03-15T01:43:32.319Z] 3.17: Pulling from library/alpine [2023-03-15T01:43:32.319Z] af6eaf76a39c: Already exists [2023-03-15T01:43:32.319Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-15T01:43:32.319Z] Status: Downloaded newer image for alpine:3.17 [2023-03-15T01:43:32.319Z] ---> d74e625d9115 [2023-03-15T01:43:32.319Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-15T01:43:32.319Z] ---> Running in 0f330cbff8de [2023-03-15T01:43:32.319Z] Removing intermediate container 0f330cbff8de [2023-03-15T01:43:32.319Z] ---> 19452cb0555f [2023-03-15T01:43:32.319Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-15T01:43:32.319Z] ---> Running in 27c44e577ac4 [2023-03-15T01:43:32.319Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-15T01:43:32.319Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-15T01:43:32.319Z] OK: 7 MiB in 15 packages [2023-03-15T01:43:32.319Z] Removing intermediate container 27c44e577ac4 [2023-03-15T01:43:32.319Z] ---> 83c3076494d3 [2023-03-15T01:43:32.319Z] Step 14/23 : WORKDIR / [2023-03-15T01:43:32.319Z] ---> Running in f8cc15698661 [2023-03-15T01:43:32.319Z] Removing intermediate container f8cc15698661 [2023-03-15T01:43:32.319Z] ---> 4926087ec154 [2023-03-15T01:43:32.319Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-15T01:43:32.319Z] ---> 17e3424434e3 [2023-03-15T01:43:32.319Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-15T01:43:35.657Z] ---> 05ac2236b375 [2023-03-15T01:43:35.657Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-15T01:43:36.240Z] ---> b891a4d82f2c [2023-03-15T01:43:36.240Z] Step 18/23 : EXPOSE 59999 [2023-03-15T01:43:36.240Z] ---> Running in fe4afb803be5 [2023-03-15T01:43:36.509Z] Removing intermediate container fe4afb803be5 [2023-03-15T01:43:36.509Z] ---> fab08fb8b719 [2023-03-15T01:43:36.509Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-15T01:43:36.509Z] ---> Running in 2f425e239366 [2023-03-15T01:43:37.090Z] Removing intermediate container 2f425e239366 [2023-03-15T01:43:37.090Z] ---> 357f43fc014c [2023-03-15T01:43:37.090Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-15T01:43:37.090Z] ---> Running in fd1e4ee4ec73 [2023-03-15T01:43:37.357Z] Removing intermediate container fd1e4ee4ec73 [2023-03-15T01:43:37.357Z] ---> cafea89b699d [2023-03-15T01:43:37.357Z] Step 21/23 : LABEL arch=arm64 [2023-03-15T01:43:37.357Z] ---> Running in c88c9fcb91b2 [2023-03-15T01:43:37.624Z] Removing intermediate container c88c9fcb91b2 [2023-03-15T01:43:37.624Z] ---> 86d433182257 [2023-03-15T01:43:37.624Z] Step 22/23 : LABEL git_sha=d2492e3f0e49da88b612947d9f83778383787837 [2023-03-15T01:43:37.624Z] ---> Running in 3fafed73f6d3 [2023-03-15T01:43:37.892Z] Removing intermediate container 3fafed73f6d3 [2023-03-15T01:43:37.892Z] ---> bec778de3a22 [2023-03-15T01:43:37.892Z] Step 23/23 : LABEL version=0.0.0 [2023-03-15T01:43:38.158Z] ---> Running in bef78a59b911 [2023-03-15T01:43:38.424Z] Removing intermediate container bef78a59b911 [2023-03-15T01:43:38.424Z] ---> d92691cffd22 [2023-03-15T01:43:38.424Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-15T01:43:38.424Z] Successfully built d92691cffd22 [2023-03-15T01:43:38.424Z] 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-03-15T01:43:39.216Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T01:43:39.217Z] [2023-03-15T01:43:39.217Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T01:43:39.754Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T01:43:39.754Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-15T01:43:39.754Z] 8998bd30e6a1: Pulling fs layer [2023-03-15T01:43:39.754Z] 04944245beec: Pulling fs layer [2023-03-15T01:43:39.754Z] 699f458cf7ca: Pulling fs layer [2023-03-15T01:43:39.754Z] 765212b225bb: Pulling fs layer [2023-03-15T01:43:39.754Z] f23df028b6ca: Pulling fs layer [2023-03-15T01:43:39.754Z] d65c8cfc05b1: Pulling fs layer [2023-03-15T01:43:39.754Z] 2437ff75d9bd: Pulling fs layer [2023-03-15T01:43:39.754Z] 765212b225bb: Waiting [2023-03-15T01:43:39.754Z] f23df028b6ca: Waiting [2023-03-15T01:43:39.754Z] d65c8cfc05b1: Waiting [2023-03-15T01:43:39.754Z] 2437ff75d9bd: Waiting [2023-03-15T01:43:40.024Z] 04944245beec: Verifying Checksum [2023-03-15T01:43:40.024Z] 04944245beec: Download complete [2023-03-15T01:43:40.024Z] 765212b225bb: Verifying Checksum [2023-03-15T01:43:40.024Z] 765212b225bb: Download complete [2023-03-15T01:43:40.024Z] f23df028b6ca: Verifying Checksum [2023-03-15T01:43:40.024Z] f23df028b6ca: Download complete [2023-03-15T01:43:40.024Z] d65c8cfc05b1: Verifying Checksum [2023-03-15T01:43:40.024Z] d65c8cfc05b1: Download complete [2023-03-15T01:43:40.292Z] 699f458cf7ca: Verifying Checksum [2023-03-15T01:43:40.292Z] 699f458cf7ca: Download complete [2023-03-15T01:43:40.561Z] 8998bd30e6a1: Verifying Checksum [2023-03-15T01:43:40.561Z] 8998bd30e6a1: Download complete [2023-03-15T01:43:43.148Z] 2437ff75d9bd: Download complete [2023-03-15T01:43:44.562Z] 8998bd30e6a1: Pull complete [2023-03-15T01:43:45.146Z] 04944245beec: Pull complete [2023-03-15T01:43:48.485Z] 699f458cf7ca: Pull complete [2023-03-15T01:43:48.485Z] 765212b225bb: Pull complete [2023-03-15T01:43:49.445Z] f23df028b6ca: Pull complete [2023-03-15T01:43:49.445Z] d65c8cfc05b1: Pull complete [2023-03-15T01:44:04.438Z] 2437ff75d9bd: Pull complete [2023-03-15T01:44:04.438Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-15T01:44:04.438Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T01:44:04.438Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T01:44:04.776Z] prd-ubuntu20.04-docker-arm64-4c-16g-316 does not seem to be running inside a container [2023-03-15T01:44:04.853Z] $ 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-03-15T01:44:07.519Z] $ docker top 1d9ebadf1abd2bc8ae471d3a354d9f02f9635cd98885e2d6a02c3c8c6ecf404b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T01:44:08.414Z] ---> job-cost.sh [2023-03-15T01:44:08.414Z] lf-activate-venv: SKIPPING [2023-03-15T01:44:08.414Z] INFO: No Stack... [2023-03-15T01:44:08.997Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-15T01:44:09.578Z] INFO: Archiving Costs [Pipeline] sh [2023-03-15T01:44:10.240Z] + cut -d, -f6 [2023-03-15T01:44:10.240Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock [2023-03-15T01:44:10.335Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1385-1-stack-cost] [2023-03-15T01:44:10.340Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1385-1-stack-cost] did not exist. Created. [2023-03-15T01:44:10.340Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1385-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-15T01:44:11.071Z] /w/workspace/device-sdk-go/1@tmp/durable-a68e245a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-15T01:44:11.739Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-15T01:44:11.777Z] Warning: overwriting stash ‘stack-cost’ [2023-03-15T01:44:11.842Z] Stashed 1 file(s) [Pipeline] } [2023-03-15T01:44:11.859Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1385-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-15T01:44:11.970Z] $ docker stop --time=1 1d9ebadf1abd2bc8ae471d3a354d9f02f9635cd98885e2d6a02c3c8c6ecf404b [2023-03-15T01:44:13.528Z] $ docker rm -f --volumes 1d9ebadf1abd2bc8ae471d3a354d9f02f9635cd98885e2d6a02c3c8c6ecf404b [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-03-15T01:44:15.637Z] provisioning config files... [2023-03-15T01:44:15.644Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1385@tmp/config11904970492148039713tmp [Pipeline] { [Pipeline] sh [2023-03-15T01:44:15.980Z] + set +x [2023-03-15T01:44:15.980Z] + curl -s https://codecov.io/bash [2023-03-15T01:44:15.980Z] + bash -s -- [2023-03-15T01:44:15.980Z] [2023-03-15T01:44:15.980Z] _____ _ [2023-03-15T01:44:15.980Z] / ____| | | [2023-03-15T01:44:15.980Z] | | ___ __| | ___ ___ _____ __ [2023-03-15T01:44:15.980Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-15T01:44:15.980Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-15T01:44:15.980Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-15T01:44:15.980Z] Bash-1.0.6 [2023-03-15T01:44:15.980Z] [2023-03-15T01:44:15.980Z] [2023-03-15T01:44:15.980Z] ==> git version 2.25.1 found [2023-03-15T01:44:15.980Z] ==> 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-03-15T01:44:15.980Z] Release-Date: 2020-01-08 [2023-03-15T01:44:15.980Z] 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-03-15T01:44:15.980Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-15T01:44:15.980Z] ==> Jenkins CI detected. [2023-03-15T01:44:15.980Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1385 [2023-03-15T01:44:15.980Z] project root: . [2023-03-15T01:44:15.980Z] --> token set from env [2023-03-15T01:44:15.980Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-15T01:44:15.980Z] ==> Running gcov in . (disable via -X gcov) [2023-03-15T01:44:15.980Z] ==> Python coveragepy not found [2023-03-15T01:44:15.980Z] ==> Searching for coverage reports in: [2023-03-15T01:44:15.980Z] + . [2023-03-15T01:44:15.980Z] -> Found 1 reports [2023-03-15T01:44:15.980Z] ==> Detecting git/mercurial file structure [2023-03-15T01:44:15.980Z] ==> Reading reports [2023-03-15T01:44:15.980Z] + ./coverage.out bytes=109538 [2023-03-15T01:44:15.980Z] ==> Appending adjustments [2023-03-15T01:44:15.980Z] https://docs.codecov.io/docs/fixing-reports [2023-03-15T01:44:16.238Z] + Found adjustments [2023-03-15T01:44:16.238Z] ==> Gzipping contents [2023-03-15T01:44:16.238Z] 16K /tmp/codecov.t1AieX.gz [2023-03-15T01:44:16.238Z] ==> Uploading reports [2023-03-15T01:44:16.238Z] url: https://codecov.io [2023-03-15T01:44:16.238Z] query: branch=PR-1385&commit=d2492e3f0e49da88b612947d9f83778383787837&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1385%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1385&job=&cmd_args= [2023-03-15T01:44:16.496Z] -> Pinging Codecov [2023-03-15T01:44:16.496Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1385&commit=d2492e3f0e49da88b612947d9f83778383787837&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1385%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1385&job=&cmd_args= [2023-03-15T01:44:16.496Z] -> Uploading to [2023-03-15T01:44:16.496Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-15/7E55EF52A471D76F132DFD9A03CDDE97/d2492e3f0e49da88b612947d9f83778383787837/5fc2b283-3ede-4161-9578-8baab3bccc61.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230315%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230315T014416Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6db6bac3797e1f91a9757ed18540587e0e39bda02771470000b888b658ada82d [2023-03-15T01:44:16.496Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-15T01:44:16.496Z] Dload Upload Total Spent Left Speed [2023-03-15T01:44:16.755Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15248 0 0 100 15248 0 75113 --:--:-- --:--:-- --:--:-- 74745 100 15248 0 0 100 15248 0 61983 --:--:-- --:--:-- --:--:-- 61732 [2023-03-15T01:44:16.755Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/d2492e3f0e49da88b612947d9f83778383787837 [Pipeline] } [2023-03-15T01:44:16.781Z] 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-03-15T01:44:18.503Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1385/archives ] [2023-03-15T01:44:18.503Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1385/archives [2023-03-15T01:44:18.503Z] total 16 [2023-03-15T01:44:18.503Z] drwxr-xr-x 3 root root 4096 Mar 15 01:30 . [2023-03-15T01:44:18.503Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 15 01:30 .. [2023-03-15T01:44:18.503Z] drwxr-xr-x 2 root root 4096 Mar 15 01:30 cost [2023-03-15T01:44:18.503Z] -rw-r--r-- 1 root root 86 Mar 15 01:30 cost.csv [2023-03-15T01:44:18.503Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1385/archives [2023-03-15T01:44:18.503Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1385/archives [2023-03-15T01:44:18.503Z] total 16 [2023-03-15T01:44:18.503Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 01:30 . [2023-03-15T01:44:18.503Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 15 01:30 .. [2023-03-15T01:44:18.503Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 15 01:30 cost [2023-03-15T01:44:18.503Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 15 01:30 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-15T01:44:18.837Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T01:44:19.727Z] ---> package-listing.sh [2023-03-15T01:44:19.727Z] ++ facter osfamily [2023-03-15T01:44:19.727Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-15T01:44:20.067Z] + OS_FAMILY=debian [2023-03-15T01:44:20.067Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1385 [2023-03-15T01:44:20.067Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-15T01:44:20.067Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-15T01:44:20.067Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-15T01:44:20.067Z] + PACKAGES=/tmp/packages_start.txt [2023-03-15T01:44:20.067Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1385 ']' [2023-03-15T01:44:20.067Z] + PACKAGES=/tmp/packages_end.txt [2023-03-15T01:44:20.067Z] + case "${OS_FAMILY}" in [2023-03-15T01:44:20.067Z] + dpkg -l [2023-03-15T01:44:20.067Z] + grep '^ii' [2023-03-15T01:44:20.067Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-15T01:44:20.067Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-15T01:44:20.067Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-15T01:44:20.067Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1385 ']' [2023-03-15T01:44:20.067Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1385/archives/ [2023-03-15T01:44:20.067Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1385/archives/ [Pipeline] echo [2023-03-15T01:44:20.098Z] 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-1385/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-15T01:44:20.592Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T01:44:21.216Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T01:44:21.216Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T01:44:21.375Z] prd-ubuntu20.04-docker-8c-8g-311 does not seem to be running inside a container [2023-03-15T01:44:21.424Z] $ 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-1385/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-1385 -v /w/workspace/gexfoundry_device-sdk-go_PR-1385:/w/workspace/gexfoundry_device-sdk-go_PR-1385:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1385@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1385@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-03-15T01:44:21.615Z] $ docker top 9afc222b87851f1711d22be5c9b373e978dac5a16541fe0613c4c1d8b5ffd463 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T01:44:21.987Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-15T01:44:22.304Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-15T01:44:22.611Z] + ls /var/log/sa-host [2023-03-15T01:44:22.612Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T01:44:22.741Z] provisioning config files... [2023-03-15T01:44:22.749Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1385@tmp/config4668485567569260732tmp [Pipeline] { [Pipeline] echo [2023-03-15T01:44:22.798Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T01:44:23.107Z] ---> create-netrc.sh [Pipeline] } [2023-03-15T01:44:23.134Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-15T01:44:23.529Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-15T01:44:23.560Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T01:44:23.872Z] ---> sudo-logs.sh [2023-03-15T01:44:23.872Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-15T01:44:23.961Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T01:44:24.265Z] ---> job-cost.sh [2023-03-15T01:44:24.265Z] lf-activate-venv: SKIPPING [2023-03-15T01:44:24.265Z] DEBUG: total: 0.2199999988079071 [2023-03-15T01:44:24.265Z] INFO: Retrieving Stack Cost... [2023-03-15T01:44:24.524Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-15T01:44:25.090Z] INFO: Archiving Costs [Pipeline] echo [2023-03-15T01:44:25.122Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T01:44:25.433Z] ---> logs-deploy.sh [2023-03-15T01:44:25.433Z] lf-activate-venv: SKIPPING [2023-03-15T01:44:25.433Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1385/1 [2023-03-15T01:44:25.433Z] INFO: archiving workspace using pattern(s): [2023-03-15T01:44:26.370Z] Archives upload complete. [2023-03-15T01:44:26.370Z] INFO: archiving logs to Nexus [2023-03-15T01:44:26.947Z] ---> uname -a: [2023-03-15T01:44:26.947Z] Linux prd-ubuntu20-04-docker-8c-8g-311 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2023-03-15T01:44:26.947Z] [2023-03-15T01:44:26.947Z]