Pull request #1459 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 610db976d5aa6bb7fe4d027abaf3b8691c627376+973c71e5d952dd5cddc2adb57e1a9523ac5ff302 (d01459437cf778e2519a0af754ded2aec59aa1cb) 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-ssh7591390367357068186.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh8738250058348908545.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-1459/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-1459/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4075634723347630015.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-1459/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3914435382343867840.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh10378830505801251347.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-1459/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-1459/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3488559244112189130.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 4fc256d9079ed2258907e613f84b1b8da264a4bd Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-15888 in /w/workspace/gexfoundry_device-sdk-go_PR-1459 [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-1459 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 973c71e5d952dd5cddc2adb57e1a9523ac5ff302 into PR head commit 610db976d5aa6bb7fe4d027abaf3b8691c627376 Merge succeeded, producing 610db976d5aa6bb7fe4d027abaf3b8691c627376 Checking out Revision 610db976d5aa6bb7fe4d027abaf3b8691c627376 (PR-1459) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] } > 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/1459/head:refs/remotes/origin/PR-1459 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 610db976d5aa6bb7fe4d027abaf3b8691c627376 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 973c71e5d952dd5cddc2adb57e1a9523ac5ff302 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 610db976d5aa6bb7fe4d027abaf3b8691c627376 # timeout=10 [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-17T16:34:38.012Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-17T16:34:38.187Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-17T16:34:38.278Z] ========================================================= [2023-05-17T16:34:38.278Z] EdgeX Global Pipelines Version Info [2023-05-17T16:34:38.278Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-17T16:34:39.022Z] ------------------- [2023-05-17T16:34:39.022Z] stable info: [2023-05-17T16:34:39.022Z] ------------------- [2023-05-17T16:34:39.022Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-17T16:34:39.022Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-17T16:34:39.022Z] Message: update stable to v1.0.249 [2023-05-17T16:34:39.593Z] ------------------- [2023-05-17T16:34:39.593Z] experimental info: [2023-05-17T16:34:39.593Z] ------------------- [2023-05-17T16:34:39.593Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-17T16:34:39.593Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-17T16:34:39.593Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-17T16:34:39.894Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-05-17T16:34:39.938Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-05-17T16:34:39.977Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-17T16:34:40.016Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-17T16:34:40.053Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-17T16:34:40.087Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-17T16:34:40.123Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-17T16:34:40.168Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-05-17T16:34:40.216Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-17T16:34:40.257Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-17T16:34:40.298Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-17T16:34:40.340Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-05-17T16:34:40.381Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-17T16:34:40.423Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-17T16:34:40.462Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-17T16:34:40.500Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-05-17T16:34:40.542Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-17T16:34:40.579Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-17T16:34:40.614Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-17T16:34:40.652Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-17T16:34:40.691Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-05-17T16:34:40.729Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-05-17T16:34:40.767Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-17T16:34:40.810Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-17T16:34:40.850Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-17T16:34:40.889Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-17T16:34:40.928Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-17T16:34:40.966Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1459 [Pipeline] echo [2023-05-17T16:34:41.002Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1459 [Pipeline] echo [2023-05-17T16:34:41.042Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1459 [Pipeline] echo [2023-05-17T16:34:41.078Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 610db976d5aa6bb7fe4d027abaf3b8691c627376 [Pipeline] echo [2023-05-17T16:34:41.115Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 610db97 [Pipeline] echo [2023-05-17T16:34:41.150Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-17T16:34:41.260Z] provisioning config files... [2023-05-17T16:34:41.275Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1459@tmp/config626750459823260659tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-17T16:34:41.617Z] ---> docker-login.sh [2023-05-17T16:34:41.617Z] nexus3.edgexfoundry.org:10001 [2023-05-17T16:34:41.878Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-17T16:34:42.140Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-17T16:34:42.140Z] Configure a credential helper to remove this warning. See [2023-05-17T16:34:42.140Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-17T16:34:42.140Z] [2023-05-17T16:34:42.140Z] Login Succeeded [2023-05-17T16:34:42.140Z] nexus3.edgexfoundry.org:10002 [2023-05-17T16:34:42.140Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-17T16:34:42.140Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-17T16:34:42.140Z] Configure a credential helper to remove this warning. See [2023-05-17T16:34:42.140Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-17T16:34:42.140Z] [2023-05-17T16:34:42.140Z] Login Succeeded [2023-05-17T16:34:42.140Z] nexus3.edgexfoundry.org:10003 [2023-05-17T16:34:42.140Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-17T16:34:42.140Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-17T16:34:42.140Z] Configure a credential helper to remove this warning. See [2023-05-17T16:34:42.140Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-17T16:34:42.140Z] [2023-05-17T16:34:42.140Z] Login Succeeded [2023-05-17T16:34:42.140Z] nexus3.edgexfoundry.org:10004 [2023-05-17T16:34:42.401Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-17T16:34:42.401Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-17T16:34:42.401Z] Configure a credential helper to remove this warning. See [2023-05-17T16:34:42.401Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-17T16:34:42.401Z] [2023-05-17T16:34:42.401Z] Login Succeeded [2023-05-17T16:34:42.401Z] docker.io [2023-05-17T16:34:42.401Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-17T16:34:42.660Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-17T16:34:42.660Z] Configure a credential helper to remove this warning. See [2023-05-17T16:34:42.660Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-17T16:34:42.660Z] [2023-05-17T16:34:42.660Z] Login Succeeded [2023-05-17T16:34:42.660Z] ---> docker-login.sh ends [Pipeline] } [2023-05-17T16:34:42.693Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-17T16:34:43.315Z] + git rev-list -1 --merges 610db976d5aa6bb7fe4d027abaf3b8691c627376~1..610db976d5aa6bb7fe4d027abaf3b8691c627376 [Pipeline] echo [2023-05-17T16:34:43.384Z] -----------> git rev-list -1 --merges 610db976d5aa6bb7fe4d027abaf3b8691c627376~1..610db976d5aa6bb7fe4d027abaf3b8691c627376 610db976d5aa6bb7fe4d027abaf3b8691c627376 [false] [Pipeline] sh [2023-05-17T16:34:43.696Z] + git log --format=format:%s -1 610db976d5aa6bb7fe4d027abaf3b8691c627376 [Pipeline] echo [2023-05-17T16:34:43.734Z] ========================================================= [2023-05-17T16:34:43.734Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-17T16:34:43.734Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-17T16:34:44.178Z] + git log --format=format:%s -1 610db976d5aa6bb7fe4d027abaf3b8691c627376 [Pipeline] echo [2023-05-17T16:34:44.211Z] [semverPrep] GIT_COMMIT: 610db976d5aa6bb7fe4d027abaf3b8691c627376, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2023-05-17T16:34:44.243Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-17T16:34:44.665Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-17T16:34:44.665Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-17T16:34:44.665Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-17T16:34:44.665Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-17T16:34:44.665Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-17T16:34:44.665Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-17T16:34:44.665Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-17T16:34:45.181Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-17T16:34:45.181Z] [2023-05-17T16:34:45.181Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-17T16:34:45.565Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-17T16:34:45.565Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-17T16:34:45.565Z] b85a868b505f: Pulling fs layer [2023-05-17T16:34:45.565Z] e2be974225ed: Pulling fs layer [2023-05-17T16:34:45.565Z] 339a4e72a1f5: Pulling fs layer [2023-05-17T16:34:45.565Z] 988bab9f4d93: Pulling fs layer [2023-05-17T16:34:45.565Z] 1469e6f7b9e6: Pulling fs layer [2023-05-17T16:34:45.565Z] eaf3925da568: Pulling fs layer [2023-05-17T16:34:45.565Z] bab4dde63d76: Pulling fs layer [2023-05-17T16:34:45.565Z] bde34c3a00c8: Pulling fs layer [2023-05-17T16:34:45.565Z] b352a97aabf1: Pulling fs layer [2023-05-17T16:34:45.565Z] 4872d77fe225: Pulling fs layer [2023-05-17T16:34:45.565Z] 5851b861e8e6: Pulling fs layer [2023-05-17T16:34:45.565Z] bde34c3a00c8: Waiting [2023-05-17T16:34:45.565Z] 988bab9f4d93: Waiting [2023-05-17T16:34:45.565Z] b352a97aabf1: Waiting [2023-05-17T16:34:45.565Z] 1469e6f7b9e6: Waiting [2023-05-17T16:34:45.565Z] bab4dde63d76: Waiting [2023-05-17T16:34:45.565Z] eaf3925da568: Waiting [2023-05-17T16:34:45.565Z] 4872d77fe225: Waiting [2023-05-17T16:34:45.565Z] e2be974225ed: Verifying Checksum [2023-05-17T16:34:45.565Z] e2be974225ed: Download complete [2023-05-17T16:34:45.565Z] 988bab9f4d93: Download complete [2023-05-17T16:34:45.565Z] 1469e6f7b9e6: Verifying Checksum [2023-05-17T16:34:45.565Z] 1469e6f7b9e6: Download complete [2023-05-17T16:34:45.826Z] eaf3925da568: Verifying Checksum [2023-05-17T16:34:45.826Z] eaf3925da568: Download complete [2023-05-17T16:34:45.826Z] 339a4e72a1f5: Verifying Checksum [2023-05-17T16:34:45.826Z] 339a4e72a1f5: Download complete [2023-05-17T16:34:45.826Z] bde34c3a00c8: Verifying Checksum [2023-05-17T16:34:45.826Z] bde34c3a00c8: Download complete [2023-05-17T16:34:45.826Z] b352a97aabf1: Download complete [2023-05-17T16:34:45.826Z] 4872d77fe225: Verifying Checksum [2023-05-17T16:34:45.826Z] 4872d77fe225: Download complete [2023-05-17T16:34:45.826Z] 5851b861e8e6: Download complete [2023-05-17T16:34:45.826Z] b85a868b505f: Verifying Checksum [2023-05-17T16:34:45.826Z] b85a868b505f: Download complete [2023-05-17T16:34:46.086Z] bab4dde63d76: Verifying Checksum [2023-05-17T16:34:46.086Z] bab4dde63d76: Download complete [2023-05-17T16:34:47.024Z] b85a868b505f: Pull complete [2023-05-17T16:34:47.284Z] e2be974225ed: Pull complete [2023-05-17T16:34:47.855Z] 339a4e72a1f5: Pull complete [2023-05-17T16:34:47.855Z] 988bab9f4d93: Pull complete [2023-05-17T16:34:48.122Z] 1469e6f7b9e6: Pull complete [2023-05-17T16:34:48.122Z] eaf3925da568: Pull complete [2023-05-17T16:34:50.040Z] bab4dde63d76: Pull complete [2023-05-17T16:34:50.040Z] bde34c3a00c8: Pull complete [2023-05-17T16:34:50.301Z] b352a97aabf1: Pull complete [2023-05-17T16:34:50.301Z] 4872d77fe225: Pull complete [2023-05-17T16:34:50.301Z] 5851b861e8e6: Pull complete [2023-05-17T16:34:50.301Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-17T16:34:50.301Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-17T16:34:50.301Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-17T16:34:50.535Z] prd-ubuntu20.04-docker-8c-8g-15888 does not seem to be running inside a container [2023-05-17T16:34:50.574Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1459 -v /w/workspace/gexfoundry_device-sdk-go_PR-1459:/w/workspace/gexfoundry_device-sdk-go_PR-1459:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1459@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1459@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-17T16:34:54.748Z] $ docker top 325b3f06dc41dad09ea8700f16dfe719d41ae9b137a2fd9e8e36fb32326b808d -eo pid,comm [2023-05-17T16:34:54.792Z] 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-05-17T16:34:54.792Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-17T16:34:54.918Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-17T16:34:54.918Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-17T16:34:55.047Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-17T16:34:55.055Z] $ docker exec 325b3f06dc41dad09ea8700f16dfe719d41ae9b137a2fd9e8e36fb32326b808d ssh-agent [2023-05-17T16:34:55.164Z] SSH_AUTH_SOCK=/tmp/ssh-zBTePhAqxJCs/agent.32 [2023-05-17T16:34:55.164Z] SSH_AGENT_PID=38 [2023-05-17T16:34:55.171Z] Running ssh-add (command line suppressed) [2023-05-17T16:34:55.276Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1459@tmp/private_key_11977858060665102804.key (/w/workspace/gexfoundry_device-sdk-go_PR-1459@tmp/private_key_11977858060665102804.key) [2023-05-17T16:34:55.292Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-17T16:34:55.632Z] + git tag --points-at HEAD [Pipeline] } [2023-05-17T16:34:55.666Z] $ docker exec --env ******** --env ******** 325b3f06dc41dad09ea8700f16dfe719d41ae9b137a2fd9e8e36fb32326b808d ssh-agent -k [2023-05-17T16:34:55.772Z] unset SSH_AUTH_SOCK; [2023-05-17T16:34:55.773Z] unset SSH_AGENT_PID; [2023-05-17T16:34:55.773Z] echo Agent pid 38 killed; [2023-05-17T16:34:55.778Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-17T16:34:55.861Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-17T16:34:55.862Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-17T16:34:55.971Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-17T16:34:55.979Z] $ docker exec 325b3f06dc41dad09ea8700f16dfe719d41ae9b137a2fd9e8e36fb32326b808d ssh-agent [2023-05-17T16:34:56.086Z] SSH_AUTH_SOCK=/tmp/ssh-wBcM7KNSWG04/agent.70 [2023-05-17T16:34:56.086Z] SSH_AGENT_PID=76 [2023-05-17T16:34:56.090Z] Running ssh-add (command line suppressed) [2023-05-17T16:34:56.187Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1459@tmp/private_key_3536792416623771757.key (/w/workspace/gexfoundry_device-sdk-go_PR-1459@tmp/private_key_3536792416623771757.key) [2023-05-17T16:34:56.198Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-17T16:34:56.535Z] + git semver init [2023-05-17T16:34:56.795Z] 2023-05-17 16:34:56,697 [run_init] DEBUG init version:0.0.0 force:False [2023-05-17T16:34:56.795Z] 2023-05-17 16:34:56,698 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1459/.semver [2023-05-17T16:34:56.795Z] 2023-05-17 16:34:56,698 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1459/.semver [2023-05-17T16:34:56.795Z] 2023-05-17 16:34:56,699 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1459/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1459, universal_newlines=False, shell=None, istream=None) [2023-05-17T16:34:57.740Z] 2023-05-17 16:34:57,576 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1459/.git/info/exclude [2023-05-17T16:34:57.740Z] 2023-05-17 16:34:57,576 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1459/.semver/PR-1459 with force:False [2023-05-17T16:34:57.740Z] 2023-05-17 16:34:57,576 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1459/.semver/PR-1459 [2023-05-17T16:34:57.740Z] 2023-05-17 16:34:57,580 [execute] INFO git cat-file --batch-check [2023-05-17T16:34:57.740Z] 2023-05-17 16:34:57,580 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1459/.semver, universal_newlines=False, shell=None, istream=) [2023-05-17T16:34:57.740Z] 2023-05-17 16:34:57,585 [execute] INFO git cat-file --batch [2023-05-17T16:34:57.740Z] 2023-05-17 16:34:57,585 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1459/.semver, universal_newlines=False, shell=None, istream=) [2023-05-17T16:34:57.740Z] 2023-05-17 16:34:57,590 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1459/.semver/PR-1459 [2023-05-17T16:34:57.740Z] 0.0.0 [Pipeline] } [2023-05-17T16:34:57.772Z] $ docker exec --env ******** --env ******** 325b3f06dc41dad09ea8700f16dfe719d41ae9b137a2fd9e8e36fb32326b808d ssh-agent -k [2023-05-17T16:34:57.869Z] unset SSH_AUTH_SOCK; [2023-05-17T16:34:57.869Z] unset SSH_AGENT_PID; [2023-05-17T16:34:57.869Z] echo Agent pid 76 killed; [2023-05-17T16:34:57.874Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-17T16:34:58.312Z] + git semver [Pipeline] } [2023-05-17T16:34:58.602Z] $ docker stop --time=1 325b3f06dc41dad09ea8700f16dfe719d41ae9b137a2fd9e8e36fb32326b808d [2023-05-17T16:34:59.936Z] $ docker rm -f --volumes 325b3f06dc41dad09ea8700f16dfe719d41ae9b137a2fd9e8e36fb32326b808d [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-17T16:35:00.342Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-17T16:35:00.629Z] Stashed 1 file(s) [Pipeline] echo [2023-05-17T16:35:00.646Z] [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-05-17T16:35:01.269Z] provisioning config files... [2023-05-17T16:35:01.282Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1459@tmp/config18203680566036257807tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-17T16:35:01.636Z] ---> docker-login.sh [2023-05-17T16:35:01.636Z] nexus3.edgexfoundry.org:10001 [2023-05-17T16:35:01.636Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-17T16:35:01.636Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-17T16:35:01.636Z] Configure a credential helper to remove this warning. See [2023-05-17T16:35:01.636Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-17T16:35:01.636Z] [2023-05-17T16:35:01.636Z] Login Succeeded [2023-05-17T16:35:01.636Z] nexus3.edgexfoundry.org:10002 [2023-05-17T16:35:01.636Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-17T16:35:01.636Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-17T16:35:01.636Z] Configure a credential helper to remove this warning. See [2023-05-17T16:35:01.636Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-17T16:35:01.636Z] [2023-05-17T16:35:01.636Z] Login Succeeded [2023-05-17T16:35:01.636Z] nexus3.edgexfoundry.org:10003 [2023-05-17T16:35:01.898Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-17T16:35:01.898Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-17T16:35:01.898Z] Configure a credential helper to remove this warning. See [2023-05-17T16:35:01.898Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-17T16:35:01.898Z] [2023-05-17T16:35:01.898Z] Login Succeeded [2023-05-17T16:35:01.898Z] nexus3.edgexfoundry.org:10004 [2023-05-17T16:35:01.898Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-17T16:35:01.898Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-17T16:35:01.898Z] Configure a credential helper to remove this warning. See [2023-05-17T16:35:01.898Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-17T16:35:01.898Z] [2023-05-17T16:35:01.898Z] Login Succeeded [2023-05-17T16:35:01.898Z] docker.io [2023-05-17T16:35:01.898Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-17T16:35:02.158Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-17T16:35:02.158Z] Configure a credential helper to remove this warning. See [2023-05-17T16:35:02.158Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-17T16:35:02.158Z] [2023-05-17T16:35:02.158Z] Login Succeeded [2023-05-17T16:35:02.158Z] ---> docker-login.sh ends [Pipeline] } [2023-05-17T16:35:02.192Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-17T16:35:02.368Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-17T16:35:02.404Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-17T16:35:02.433Z] ========================================================= [2023-05-17T16:35:02.433Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-17T16:35:02.433Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-17T16:35:02.911Z] + 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-05-17T16:35:02.912Z] Sending build context to Docker daemon 11.17MB [2023-05-17T16:35:02.912Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-05-17T16:35:02.912Z] Step 2/10 : FROM ${BASE} AS builder [2023-05-17T16:35:02.912Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-17T16:35:02.912Z] f56be85fc22e: Pulling fs layer [2023-05-17T16:35:02.912Z] 85791d961cd3: Pulling fs layer [2023-05-17T16:35:02.912Z] d694b5ae8c79: Pulling fs layer [2023-05-17T16:35:02.912Z] 9f32a84ed3da: Pulling fs layer [2023-05-17T16:35:02.912Z] 4d19c01a9841: Pulling fs layer [2023-05-17T16:35:02.912Z] 9325e15d5711: Pulling fs layer [2023-05-17T16:35:02.912Z] 556b6ee489ea: Pulling fs layer [2023-05-17T16:35:02.912Z] c5a4b2cf53e6: Pulling fs layer [2023-05-17T16:35:02.912Z] 556b6ee489ea: Waiting [2023-05-17T16:35:02.912Z] c5a4b2cf53e6: Waiting [2023-05-17T16:35:02.912Z] 9f32a84ed3da: Waiting [2023-05-17T16:35:02.912Z] 4d19c01a9841: Waiting [2023-05-17T16:35:02.912Z] 9325e15d5711: Waiting [2023-05-17T16:35:03.171Z] 85791d961cd3: Verifying Checksum [2023-05-17T16:35:03.171Z] 85791d961cd3: Download complete [2023-05-17T16:35:03.171Z] 9f32a84ed3da: Verifying Checksum [2023-05-17T16:35:03.171Z] 9f32a84ed3da: Download complete [2023-05-17T16:35:03.171Z] 4d19c01a9841: Verifying Checksum [2023-05-17T16:35:03.171Z] 4d19c01a9841: Download complete [2023-05-17T16:35:03.171Z] f56be85fc22e: Verifying Checksum [2023-05-17T16:35:03.171Z] f56be85fc22e: Download complete [2023-05-17T16:35:03.171Z] 9325e15d5711: Verifying Checksum [2023-05-17T16:35:03.171Z] 9325e15d5711: Download complete [2023-05-17T16:35:03.171Z] f56be85fc22e: Pull complete [2023-05-17T16:35:03.431Z] 85791d961cd3: Pull complete [2023-05-17T16:35:03.693Z] d694b5ae8c79: Verifying Checksum [2023-05-17T16:35:03.693Z] d694b5ae8c79: Download complete [2023-05-17T16:35:03.951Z] c5a4b2cf53e6: Verifying Checksum [2023-05-17T16:35:03.951Z] c5a4b2cf53e6: Download complete [2023-05-17T16:35:03.951Z] 556b6ee489ea: Verifying Checksum [2023-05-17T16:35:03.951Z] 556b6ee489ea: Download complete [2023-05-17T16:35:07.252Z] d694b5ae8c79: Pull complete [2023-05-17T16:35:07.252Z] 9f32a84ed3da: Pull complete [2023-05-17T16:35:07.252Z] 4d19c01a9841: Pull complete [2023-05-17T16:35:07.252Z] 9325e15d5711: Pull complete [2023-05-17T16:35:09.783Z] 556b6ee489ea: Pull complete [2023-05-17T16:35:10.719Z] c5a4b2cf53e6: Pull complete [2023-05-17T16:35:10.719Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-17T16:35:10.719Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-17T16:35:10.719Z] ---> c4be618373d6 [2023-05-17T16:35:10.719Z] Step 3/10 : ARG MAKE=make build [2023-05-17T16:35:16.071Z] Still waiting to schedule task [2023-05-17T16:35:16.072Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-05-17T16:35:18.894Z] ---> Running in ecc3d50df87d [2023-05-17T16:35:18.894Z] Removing intermediate container ecc3d50df87d [2023-05-17T16:35:18.894Z] ---> a34a868cb914 [2023-05-17T16:35:18.894Z] Step 4/10 : WORKDIR /device-sdk-go [2023-05-17T16:35:18.894Z] ---> Running in 182c00f0111c [2023-05-17T16:35:18.894Z] Removing intermediate container 182c00f0111c [2023-05-17T16:35:18.894Z] ---> b73cce83eadc [2023-05-17T16:35:18.894Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-05-17T16:35:18.894Z] ---> Running in 2598e53f4650 [2023-05-17T16:35:18.894Z] Removing intermediate container 2598e53f4650 [2023-05-17T16:35:18.894Z] ---> 159059314ed8 [2023-05-17T16:35:18.894Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-05-17T16:35:18.894Z] ---> Running in bb4f9de061c5 [2023-05-17T16:35:18.894Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-17T16:35:18.894Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-17T16:35:19.153Z] OK: 265 MiB in 53 packages [2023-05-17T16:35:19.412Z] Removing intermediate container bb4f9de061c5 [2023-05-17T16:35:19.412Z] ---> 62a5ad067381 [2023-05-17T16:35:19.412Z] Step 7/10 : COPY go.mod vendor* ./ [2023-05-17T16:35:19.412Z] ---> f0fd5fc5cdce [2023-05-17T16:35:19.412Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-17T16:35:19.412Z] ---> Running in ddd8eea192f7 [2023-05-17T16:36:15.837Z] Removing intermediate container ddd8eea192f7 [2023-05-17T16:36:15.837Z] ---> e5e2af547342 [2023-05-17T16:36:15.837Z] Step 9/10 : COPY . . [2023-05-17T16:36:15.837Z] ---> 0167b8a5c437 [2023-05-17T16:36:15.837Z] Step 10/10 : RUN ${MAKE} [2023-05-17T16:36:15.837Z] ---> Running in f7a2e0e79cee [2023-05-17T16:36:15.837Z] noop [2023-05-17T16:36:15.837Z] Removing intermediate container f7a2e0e79cee [2023-05-17T16:36:15.837Z] ---> 42100034ef5f [2023-05-17T16:36:15.837Z] Successfully built 42100034ef5f [2023-05-17T16:36:15.837Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-17T16:36:16.302Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-17T16:36:16.303Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-17T16:36:16.458Z] prd-ubuntu20.04-docker-8c-8g-15888 does not seem to be running inside a container [2023-05-17T16:36:16.500Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1459 -v /w/workspace/gexfoundry_device-sdk-go_PR-1459:/w/workspace/gexfoundry_device-sdk-go_PR-1459:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1459@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1459@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 ******** ci-base-image-x86_64 cat [2023-05-17T16:36:16.844Z] $ docker top e018c3ee03465ed44dcc04f6edf66650264bb3ceb23b6fc90c466b3afceedbce -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-17T16:36:17.238Z] + go version [2023-05-17T16:36:17.238Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-17T16:36:17.276Z] $ docker stop --time=1 e018c3ee03465ed44dcc04f6edf66650264bb3ceb23b6fc90c466b3afceedbce [2023-05-17T16:36:18.572Z] $ docker rm -f --volumes e018c3ee03465ed44dcc04f6edf66650264bb3ceb23b6fc90c466b3afceedbce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-17T16:36:19.319Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-17T16:36:19.319Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-17T16:36:19.465Z] prd-ubuntu20.04-docker-8c-8g-15888 does not seem to be running inside a container [2023-05-17T16:36:19.501Z] $ 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-1459 -v /w/workspace/gexfoundry_device-sdk-go_PR-1459:/w/workspace/gexfoundry_device-sdk-go_PR-1459:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1459@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1459@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 ******** ci-base-image-x86_64 cat [2023-05-17T16:36:19.830Z] $ docker top 3c9b0e6ee219f80e844733fc993e6445aae68e2e7fca4e2f53b59bb633a9fa6b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-17T16:36:20.220Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1459 [Pipeline] fileExists [Pipeline] sh [2023-05-17T16:36:20.574Z] + make test [2023-05-17T16:36:20.574Z] go test -race -coverprofile=coverage.out ./... [2023-05-17T16:36:27.140Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-05-17T16:36:42.017Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-05-17T16:36:42.017Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-05-17T16:36:42.017Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-05-17T16:36:42.017Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-05-17T16:36:42.017Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-05-17T16:36:42.017Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.070s coverage: 27.6% of statements [2023-05-17T16:36:42.017Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-05-17T16:36:42.017Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-05-17T16:36:42.017Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.071s coverage: 80.2% of statements [2023-05-17T16:36:42.018Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.077s coverage: 86.0% of statements [2023-05-17T16:36:42.018Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-05-17T16:36:42.018Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-05-17T16:36:42.018Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.102s coverage: 77.5% of statements [2023-05-17T16:36:42.018Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-05-17T16:36:42.018Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-05-17T16:36:42.954Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-05-17T16:36:44.861Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.069s coverage: 14.3% of statements [2023-05-17T16:36:44.861Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.081s coverage: 68.5% of statements [2023-05-17T16:36:44.861Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.119s coverage: 89.2% of statements [2023-05-17T16:36:44.861Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.060s coverage: 5.7% of statements [2023-05-17T16:36:48.885Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-15889 in /w/workspace/gexfoundry_device-sdk-go_PR-1459 [Pipeline] { [Pipeline] ws [2023-05-17T16:36:48.944Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-05-17T16:36:49.028Z] The recommended git tool is: git [2023-05-17T16:36:56.009Z] using credential edgex-jenkins-ssh [2023-05-17T16:36:56.035Z] Cloning the remote Git repository [2023-05-17T16:36:56.085Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-05-17T16:36:56.189Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-05-17T16:36:56.334Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-05-17T16:36:56.335Z] > git --version # timeout=10 [2023-05-17T16:36:56.360Z] > git --version # 'git version 2.25.1' [2023-05-17T16:36:56.363Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-17T16:36:56.511Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-17T16:36:58.180Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-05-17T16:36:58.213Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-17T16:36:59.148Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-05-17T16:36:59.198Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-05-17T16:36:59.199Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-17T16:36:59.216Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1459/head:refs/remotes/origin/PR-1459 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-05-17T16:36:59.812Z] Merging remotes/origin/main commit 973c71e5d952dd5cddc2adb57e1a9523ac5ff302 into PR head commit 610db976d5aa6bb7fe4d027abaf3b8691c627376 [2023-05-17T16:37:00.151Z] Merge succeeded, producing 610db976d5aa6bb7fe4d027abaf3b8691c627376 [2023-05-17T16:37:00.151Z] Checking out Revision 610db976d5aa6bb7fe4d027abaf3b8691c627376 (PR-1459) [2023-05-17T16:37:00.725Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2023-05-17T16:37:00.781Z] > git --version # timeout=10 [2023-05-17T16:37:00.793Z] > git --version # 'git version 2.25.1' [2023-05-17T16:37:00.810Z] fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-17T16:36:59.832Z] > git config core.sparsecheckout # timeout=10 [2023-05-17T16:36:59.911Z] > git checkout -f 610db976d5aa6bb7fe4d027abaf3b8691c627376 # timeout=10 [2023-05-17T16:37:00.035Z] > git remote # timeout=10 [2023-05-17T16:37:00.059Z] > git config --get remote.origin.url # timeout=10 [2023-05-17T16:37:00.085Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-17T16:37:00.101Z] > git merge 973c71e5d952dd5cddc2adb57e1a9523ac5ff302 # timeout=10 [2023-05-17T16:37:00.134Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-05-17T16:37:00.160Z] > git config core.sparsecheckout # timeout=10 [2023-05-17T16:37:00.177Z] > git checkout -f 610db976d5aa6bb7fe4d027abaf3b8691c627376 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-17T16:37:02.050Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-17T16:37:02.050Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-17T16:37:02.050Z] Dload Upload Total Spent Left Speed [2023-05-17T16:37:02.050Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 77278 0 --:--:-- --:--:-- --:--:-- 77278 [Pipeline] sh [2023-05-17T16:37:02.738Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-17T16:37:02.941Z] GO111MODULE=on go vet ./... [2023-05-17T16:37:03.101Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-17T16:37:03.101Z] + sudo tee /etc/docker/daemon.new [2023-05-17T16:37:03.101Z] { [2023-05-17T16:37:03.101Z] "registry-mirrors": [ [2023-05-17T16:37:03.101Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-17T16:37:03.101Z] ], [2023-05-17T16:37:03.101Z] "bip": "10.250.0.254/24", [2023-05-17T16:37:03.101Z] "hosts": [ [2023-05-17T16:37:03.101Z] "tcp://0.0.0.0:5555", [2023-05-17T16:37:03.101Z] "unix:///var/run/docker.sock" [2023-05-17T16:37:03.101Z] ], [2023-05-17T16:37:03.101Z] "mtu": 1458, [2023-05-17T16:37:03.101Z] "selinux-enabled": true, [2023-05-17T16:37:03.101Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-17T16:37:03.101Z] } [Pipeline] sh [2023-05-17T16:37:03.463Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-17T16:37:03.817Z] + sudo service docker restart [2023-05-17T16:37:06.392Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-17T16:37:06.392Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-17T16:37:06.392Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-17T16:37:06.433Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-17T16:37:06.468Z] $ docker stop --time=1 3c9b0e6ee219f80e844733fc993e6445aae68e2e7fca4e2f53b59bb633a9fa6b [2023-05-17T16:37:11.949Z] $ docker rm -f --volumes 3c9b0e6ee219f80e844733fc993e6445aae68e2e7fca4e2f53b59bb633a9fa6b [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-17T16:37:12.550Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-17T16:37:12.636Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-17T16:37:13.356Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-17T16:37:13.669Z] + ls -al . [2023-05-17T16:37:13.669Z] total 272 [2023-05-17T16:37:13.669Z] drwxrwxr-x 11 jenkins jenkins 4096 May 17 16:36 . [2023-05-17T16:37:13.669Z] drwxrwxr-x 4 jenkins jenkins 4096 May 17 16:34 .. [2023-05-17T16:37:13.669Z] -rw-rw-r-- 1 jenkins jenkins 140 May 17 16:34 .dockerignore [2023-05-17T16:37:13.669Z] drwxrwxr-x 8 jenkins jenkins 4096 May 17 16:34 .git [2023-05-17T16:37:13.669Z] drwxrwxr-x 2 jenkins jenkins 4096 May 17 16:34 .github [2023-05-17T16:37:13.669Z] -rw-rw-r-- 1 jenkins jenkins 137 May 17 16:34 .gitignore [2023-05-17T16:37:13.669Z] -rw-rw-r-- 1 jenkins jenkins 42 May 17 16:34 .golangci.yml [2023-05-17T16:37:13.669Z] drwxr-xr-x 3 jenkins jenkins 4096 May 17 16:34 .semver [2023-05-17T16:37:13.669Z] -rw-rw-r-- 1 jenkins jenkins 31677 May 17 16:34 CHANGELOG.md [2023-05-17T16:37:13.669Z] -rw-rw-r-- 1 jenkins jenkins 677 May 17 16:34 GOVERNANCE.md [2023-05-17T16:37:13.669Z] -rw-rw-r-- 1 jenkins jenkins 885 May 17 16:34 Jenkinsfile [2023-05-17T16:37:13.669Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 17 16:34 LICENSE [2023-05-17T16:37:13.669Z] -rw-rw-r-- 1 jenkins jenkins 1714 May 17 16:34 Makefile [2023-05-17T16:37:13.669Z] -rw-rw-r-- 1 jenkins jenkins 619 May 17 16:34 OWNERS.md [2023-05-17T16:37:13.669Z] -rw-rw-r-- 1 jenkins jenkins 4891 May 17 16:34 README.md [2023-05-17T16:37:13.669Z] -rw-rw-r-- 1 jenkins jenkins 5 May 17 16:35 VERSION [2023-05-17T16:37:13.669Z] drwxrwxr-x 2 jenkins jenkins 4096 May 17 16:34 bin [2023-05-17T16:37:13.669Z] -rw-r--r-- 1 jenkins jenkins 106152 May 17 16:36 coverage.out [2023-05-17T16:37:13.669Z] drwxrwxr-x 5 jenkins jenkins 4096 May 17 16:34 example [2023-05-17T16:37:13.669Z] -rw-rw-r-- 1 jenkins jenkins 3234 May 17 16:34 go.mod [2023-05-17T16:37:13.669Z] -rw-rw-r-- 1 jenkins jenkins 30781 May 17 16:34 go.sum [2023-05-17T16:37:13.669Z] drwxrwxr-x 12 jenkins jenkins 4096 May 17 16:34 internal [2023-05-17T16:37:13.669Z] drwxrwxr-x 3 jenkins jenkins 4096 May 17 16:34 openapi [2023-05-17T16:37:13.669Z] drwxrwxr-x 6 jenkins jenkins 4096 May 17 16:34 pkg [2023-05-17T16:37:13.669Z] drwxrwxr-x 4 jenkins jenkins 4096 May 17 16:34 snap [2023-05-17T16:37:13.669Z] -rw-rw-r-- 1 jenkins jenkins 222 May 17 16:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-17T16:37:14.070Z] + 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=610db976d5aa6bb7fe4d027abaf3b8691c627376 --label arch=amd64 --label version=0.0.0 . [2023-05-17T16:37:14.070Z] Sending build context to Docker daemon 11.27MB [2023-05-17T16:37:14.070Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-05-17T16:37:14.070Z] Step 2/23 : FROM ${BASE} AS builder [2023-05-17T16:37:14.070Z] ---> 42100034ef5f [2023-05-17T16:37:14.070Z] Step 3/23 : ARG MAKE=make build [2023-05-17T16:37:14.330Z] ---> Running in c21bf69c646e [2023-05-17T16:37:14.330Z] Removing intermediate container c21bf69c646e [2023-05-17T16:37:14.330Z] ---> 6e5d9b35a297 [2023-05-17T16:37:14.330Z] Step 4/23 : WORKDIR /device-sdk-go [2023-05-17T16:37:14.590Z] ---> Running in e65000195646 [2023-05-17T16:37:14.590Z] Removing intermediate container e65000195646 [2023-05-17T16:37:14.590Z] ---> f7b6746baa6b [2023-05-17T16:37:14.590Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-05-17T16:37:14.590Z] ---> Running in f0dd6bd05117 [2023-05-17T16:37:14.590Z] Removing intermediate container f0dd6bd05117 [2023-05-17T16:37:14.590Z] ---> 9852693ae28a [2023-05-17T16:37:14.590Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-05-17T16:37:14.590Z] ---> Running in 5adbad273d7f [2023-05-17T16:37:14.849Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-17T16:37:15.109Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-17T16:37:15.109Z] OK: 265 MiB in 53 packages [2023-05-17T16:37:15.677Z] Removing intermediate container 5adbad273d7f [2023-05-17T16:37:15.677Z] ---> f239c551bf01 [2023-05-17T16:37:15.677Z] Step 7/23 : COPY go.mod vendor* ./ [2023-05-17T16:37:15.677Z] ---> fec90bf63e68 [2023-05-17T16:37:15.677Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-17T16:37:15.677Z] ---> Running in 5fb9cfa95f48 [2023-05-17T16:37:16.617Z] Removing intermediate container 5fb9cfa95f48 [2023-05-17T16:37:16.617Z] ---> 519db8cf4963 [2023-05-17T16:37:16.617Z] Step 9/23 : COPY . . [2023-05-17T16:37:17.187Z] ---> 84e158fbd80f [2023-05-17T16:37:17.187Z] Step 10/23 : RUN ${MAKE} [2023-05-17T16:37:17.187Z] ---> Running in 93ff6ef40faa [2023-05-17T16:37:17.446Z] 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 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-17T16:37:22.160Z] provisioning config files... [2023-05-17T16:37:22.190Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config1311134057264482992tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-17T16:37:22.585Z] ---> docker-login.sh [2023-05-17T16:37:22.585Z] nexus3.edgexfoundry.org:10001 [2023-05-17T16:37:23.190Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-17T16:37:23.190Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-17T16:37:23.190Z] Configure a credential helper to remove this warning. See [2023-05-17T16:37:23.190Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-17T16:37:23.190Z] [2023-05-17T16:37:23.190Z] Login Succeeded [2023-05-17T16:37:23.190Z] nexus3.edgexfoundry.org:10002 [2023-05-17T16:37:23.462Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-17T16:37:23.735Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-17T16:37:23.735Z] Configure a credential helper to remove this warning. See [2023-05-17T16:37:23.735Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-17T16:37:23.735Z] [2023-05-17T16:37:23.735Z] Login Succeeded [2023-05-17T16:37:23.735Z] nexus3.edgexfoundry.org:10003 [2023-05-17T16:37:24.007Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-17T16:37:24.007Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-17T16:37:24.007Z] Configure a credential helper to remove this warning. See [2023-05-17T16:37:24.007Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-17T16:37:24.007Z] [2023-05-17T16:37:24.007Z] Login Succeeded [2023-05-17T16:37:24.007Z] nexus3.edgexfoundry.org:10004 [2023-05-17T16:37:24.278Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-17T16:37:24.278Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-17T16:37:24.278Z] Configure a credential helper to remove this warning. See [2023-05-17T16:37:24.278Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-17T16:37:24.278Z] [2023-05-17T16:37:24.278Z] Login Succeeded [2023-05-17T16:37:24.278Z] docker.io [2023-05-17T16:37:24.551Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-17T16:37:25.140Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-17T16:37:25.140Z] Configure a credential helper to remove this warning. See [2023-05-17T16:37:25.140Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-17T16:37:25.140Z] [2023-05-17T16:37:25.140Z] Login Succeeded [2023-05-17T16:37:25.140Z] ---> docker-login.sh ends [Pipeline] } [2023-05-17T16:37:25.170Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-17T16:37:25.589Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-17T16:37:25.632Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-17T16:37:25.669Z] ========================================================= [2023-05-17T16:37:25.669Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-17T16:37:25.669Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-17T16:37:26.185Z] + 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-05-17T16:37:26.457Z] Sending build context to Docker daemon 5.998MB [2023-05-17T16:37:26.732Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-05-17T16:37:26.732Z] Step 2/10 : FROM ${BASE} AS builder [2023-05-17T16:37:26.732Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-17T16:37:26.732Z] c41833b44d91: Pulling fs layer [2023-05-17T16:37:26.732Z] ed15518f5707: Pulling fs layer [2023-05-17T16:37:26.732Z] feae8fd75edb: Pulling fs layer [2023-05-17T16:37:26.732Z] 242c74f7c9fa: Pulling fs layer [2023-05-17T16:37:26.732Z] 3cdef696dda3: Pulling fs layer [2023-05-17T16:37:26.732Z] 2ced38df9373: Pulling fs layer [2023-05-17T16:37:26.732Z] 58f1dce35555: Pulling fs layer [2023-05-17T16:37:26.732Z] 2ced38df9373: Waiting [2023-05-17T16:37:26.732Z] 3cdef696dda3: Waiting [2023-05-17T16:37:26.732Z] 242c74f7c9fa: Waiting [2023-05-17T16:37:26.732Z] 58f1dce35555: Waiting [2023-05-17T16:37:26.732Z] ed15518f5707: Verifying Checksum [2023-05-17T16:37:26.732Z] ed15518f5707: Download complete [2023-05-17T16:37:26.732Z] 242c74f7c9fa: Verifying Checksum [2023-05-17T16:37:26.732Z] 242c74f7c9fa: Download complete [2023-05-17T16:37:27.262Z] 3cdef696dda3: Verifying Checksum [2023-05-17T16:37:27.262Z] 3cdef696dda3: Download complete [2023-05-17T16:37:27.262Z] c41833b44d91: Download complete [2023-05-17T16:37:28.818Z] c41833b44d91: Pull complete [2023-05-17T16:37:28.818Z] 58f1dce35555: Verifying Checksum [2023-05-17T16:37:28.818Z] 58f1dce35555: Download complete [2023-05-17T16:37:29.425Z] ed15518f5707: Pull complete [2023-05-17T16:37:30.394Z] feae8fd75edb: Verifying Checksum [2023-05-17T16:37:30.394Z] feae8fd75edb: Download complete [2023-05-17T16:37:30.394Z] 2ced38df9373: Verifying Checksum [2023-05-17T16:37:30.394Z] 2ced38df9373: Download complete [2023-05-17T16:37:42.742Z] feae8fd75edb: Pull complete [2023-05-17T16:37:42.742Z] 242c74f7c9fa: Pull complete [2023-05-17T16:37:42.742Z] 3cdef696dda3: Pull complete [2023-05-17T16:37:44.121Z] Removing intermediate container 93ff6ef40faa [2023-05-17T16:37:44.121Z] ---> 256acf61f296 [2023-05-17T16:37:44.121Z] Step 11/23 : FROM alpine:3.17 [2023-05-17T16:37:44.121Z] 3.17: Pulling from library/alpine [2023-05-17T16:37:44.121Z] f56be85fc22e: Already exists [2023-05-17T16:37:44.121Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-17T16:37:44.121Z] Status: Downloaded newer image for alpine:3.17 [2023-05-17T16:37:44.121Z] ---> 9ed4aefc74f6 [2023-05-17T16:37:44.121Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-05-17T16:37:44.121Z] ---> Running in dc661edb37ca [2023-05-17T16:37:44.121Z] Removing intermediate container dc661edb37ca [2023-05-17T16:37:44.121Z] ---> 2a0bd5d38099 [2023-05-17T16:37:44.121Z] Step 13/23 : RUN apk add --update --no-cache [2023-05-17T16:37:44.121Z] ---> Running in 891af8ba546c [2023-05-17T16:37:44.121Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-17T16:37:44.121Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-17T16:37:44.121Z] OK: 7 MiB in 15 packages [2023-05-17T16:37:44.121Z] Removing intermediate container 891af8ba546c [2023-05-17T16:37:44.121Z] ---> abad6378d14d [2023-05-17T16:37:44.121Z] Step 14/23 : WORKDIR / [2023-05-17T16:37:44.121Z] ---> Running in a79855f3ec54 [2023-05-17T16:37:44.121Z] Removing intermediate container a79855f3ec54 [2023-05-17T16:37:44.121Z] ---> 8877f4812d23 [2023-05-17T16:37:44.121Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-05-17T16:37:44.121Z] ---> fe59d2ac35d5 [2023-05-17T16:37:44.121Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-05-17T16:37:44.121Z] ---> a1e33c3d5d47 [2023-05-17T16:37:44.121Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-05-17T16:37:44.121Z] ---> 57569cd5cd95 [2023-05-17T16:37:44.121Z] Step 18/23 : EXPOSE 59999 [2023-05-17T16:37:44.121Z] ---> Running in 2bb453270d97 [2023-05-17T16:37:44.121Z] Removing intermediate container 2bb453270d97 [2023-05-17T16:37:44.121Z] ---> 8d853633277c [2023-05-17T16:37:44.121Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-05-17T16:37:44.121Z] ---> Running in 3b56df5d80c2 [2023-05-17T16:37:44.121Z] Removing intermediate container 3b56df5d80c2 [2023-05-17T16:37:44.121Z] ---> 0603eacd897f [2023-05-17T16:37:44.121Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-05-17T16:37:44.121Z] ---> Running in 38785e405459 [2023-05-17T16:37:44.121Z] Removing intermediate container 38785e405459 [2023-05-17T16:37:44.121Z] ---> 02fa6fe20693 [2023-05-17T16:37:44.121Z] Step 21/23 : LABEL arch=amd64 [2023-05-17T16:37:44.121Z] ---> Running in a555901f89f2 [2023-05-17T16:37:44.121Z] Removing intermediate container a555901f89f2 [2023-05-17T16:37:44.121Z] ---> e9d7d180d608 [2023-05-17T16:37:44.121Z] Step 22/23 : LABEL git_sha=610db976d5aa6bb7fe4d027abaf3b8691c627376 [2023-05-17T16:37:44.121Z] ---> Running in a908c0590838 [2023-05-17T16:37:44.121Z] Removing intermediate container a908c0590838 [2023-05-17T16:37:44.121Z] ---> 9d32a7595c4e [2023-05-17T16:37:44.121Z] Step 23/23 : LABEL version=0.0.0 [2023-05-17T16:37:44.121Z] ---> Running in 00b952b77e26 [2023-05-17T16:37:44.379Z] Removing intermediate container 00b952b77e26 [2023-05-17T16:37:44.379Z] ---> 77971fab4af8 [2023-05-17T16:37:44.379Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-17T16:37:44.379Z] Successfully built 77971fab4af8 [2023-05-17T16:37:44.379Z] 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-05-17T16:37:45.269Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-17T16:37:45.269Z] [2023-05-17T16:37:45.269Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-17T16:37:45.645Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-17T16:37:45.645Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-17T16:37:45.645Z] 5eb5b503b376: Pulling fs layer [2023-05-17T16:37:45.645Z] 5c69ac0246d0: Pulling fs layer [2023-05-17T16:37:45.645Z] ec43610c2a17: Pulling fs layer [2023-05-17T16:37:45.645Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-17T16:37:45.645Z] 33b1e0a273af: Pulling fs layer [2023-05-17T16:37:45.645Z] 5d3b04190fa2: Pulling fs layer [2023-05-17T16:37:45.645Z] 2f39f015ded8: Pulling fs layer [2023-05-17T16:37:45.645Z] 5d3b04190fa2: Waiting [2023-05-17T16:37:45.645Z] 2f39f015ded8: Waiting [2023-05-17T16:37:45.645Z] 3a2ae6a8a46f: Waiting [2023-05-17T16:37:45.645Z] 33b1e0a273af: Waiting [2023-05-17T16:37:45.645Z] 5c69ac0246d0: Download complete [2023-05-17T16:37:45.645Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-17T16:37:45.645Z] 3a2ae6a8a46f: Download complete [2023-05-17T16:37:45.645Z] 33b1e0a273af: Verifying Checksum [2023-05-17T16:37:45.645Z] 33b1e0a273af: Download complete [2023-05-17T16:37:45.645Z] 5d3b04190fa2: Download complete [2023-05-17T16:37:45.645Z] ec43610c2a17: Verifying Checksum [2023-05-17T16:37:45.645Z] ec43610c2a17: Download complete [2023-05-17T16:37:45.904Z] 5eb5b503b376: Verifying Checksum [2023-05-17T16:37:45.904Z] 5eb5b503b376: Download complete [2023-05-17T16:37:46.472Z] 2f39f015ded8: Download complete [2023-05-17T16:37:47.038Z] 5eb5b503b376: Pull complete [2023-05-17T16:37:47.038Z] 5c69ac0246d0: Pull complete [2023-05-17T16:37:47.606Z] ec43610c2a17: Pull complete [2023-05-17T16:37:47.606Z] 3a2ae6a8a46f: Pull complete [2023-05-17T16:37:47.864Z] 33b1e0a273af: Pull complete [2023-05-17T16:37:47.864Z] 5d3b04190fa2: Pull complete [2023-05-17T16:37:49.418Z] 2ced38df9373: Pull complete [2023-05-17T16:37:51.376Z] 58f1dce35555: Pull complete [2023-05-17T16:37:51.376Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-17T16:37:51.376Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-17T16:37:51.376Z] ---> fadd8f120f05 [2023-05-17T16:37:51.376Z] Step 3/10 : ARG MAKE=make build [2023-05-17T16:37:52.046Z] 2f39f015ded8: Pull complete [2023-05-17T16:37:52.046Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-17T16:37:52.046Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-17T16:37:52.046Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-17T16:37:52.270Z] prd-ubuntu20.04-docker-8c-8g-15888 does not seem to be running inside a container [2023-05-17T16:37:52.299Z] $ 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-1459 -v /w/workspace/gexfoundry_device-sdk-go_PR-1459:/w/workspace/gexfoundry_device-sdk-go_PR-1459:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1459@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1459@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-05-17T16:37:52.346Z] ---> Running in 5a6184751070 [2023-05-17T16:37:52.616Z] Removing intermediate container 5a6184751070 [2023-05-17T16:37:52.616Z] ---> cf7e0fdf70fe [2023-05-17T16:37:52.616Z] Step 4/10 : WORKDIR /device-sdk-go [2023-05-17T16:37:52.616Z] ---> Running in 8364ababaac7 [2023-05-17T16:37:52.884Z] Removing intermediate container 8364ababaac7 [2023-05-17T16:37:52.884Z] ---> 838dc24ac1ba [2023-05-17T16:37:52.884Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-05-17T16:37:53.153Z] ---> Running in a6b7aa5fabfd [2023-05-17T16:37:53.423Z] Removing intermediate container a6b7aa5fabfd [2023-05-17T16:37:53.423Z] ---> 5b0895da807b [2023-05-17T16:37:53.423Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-05-17T16:37:53.423Z] ---> Running in 561bb00f1581 [2023-05-17T16:37:54.845Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-17T16:37:55.113Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-17T16:37:56.078Z] OK: 263 MiB in 53 packages [2023-05-17T16:37:57.040Z] Removing intermediate container 561bb00f1581 [2023-05-17T16:37:57.040Z] ---> 7d11165a9a42 [2023-05-17T16:37:57.040Z] Step 7/10 : COPY go.mod vendor* ./ [2023-05-17T16:37:57.317Z] ---> 4c4cb020bcc6 [2023-05-17T16:37:57.317Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-17T16:37:57.598Z] ---> Running in 2ea3853ae389 [2023-05-17T16:37:59.771Z] $ docker top ade806c9792ec143309dd48687c3c9dd082e560bf73b13fa08be3c1cbf5b7f97 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-17T16:38:00.420Z] ---> job-cost.sh [2023-05-17T16:38:00.420Z] lf-activate-venv: SKIPPING [2023-05-17T16:38:00.420Z] INFO: No Stack... [2023-05-17T16:38:00.683Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-17T16:38:00.943Z] INFO: Archiving Costs [Pipeline] sh [2023-05-17T16:38:01.256Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1459/archives/cost.csv [2023-05-17T16:38:01.256Z] + cut -d, -f6 [Pipeline] lock [2023-05-17T16:38:01.304Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1459-1-stack-cost] [2023-05-17T16:38:01.308Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1459-1-stack-cost] did not exist. Created. [2023-05-17T16:38:01.308Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1459-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-17T16:38:01.717Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-17T16:38:01.773Z] Stashed 1 file(s) [Pipeline] } [2023-05-17T16:38:01.804Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1459-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-17T16:38:01.874Z] $ docker stop --time=1 ade806c9792ec143309dd48687c3c9dd082e560bf73b13fa08be3c1cbf5b7f97 [2023-05-17T16:38:03.038Z] $ docker rm -f --volumes ade806c9792ec143309dd48687c3c9dd082e560bf73b13fa08be3c1cbf5b7f97 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-17T16:39:05.490Z] Removing intermediate container 2ea3853ae389 [2023-05-17T16:39:05.490Z] ---> caaba30145b3 [2023-05-17T16:39:05.490Z] Step 9/10 : COPY . . [2023-05-17T16:39:05.490Z] ---> 2f5787ad5ff0 [2023-05-17T16:39:05.490Z] Step 10/10 : RUN ${MAKE} [2023-05-17T16:39:05.490Z] ---> Running in 2ad6f4696992 [2023-05-17T16:39:05.490Z] noop [2023-05-17T16:39:05.490Z] Removing intermediate container 2ad6f4696992 [2023-05-17T16:39:05.490Z] ---> 86f72594b293 [2023-05-17T16:39:05.490Z] Successfully built 86f72594b293 [2023-05-17T16:39:05.490Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-17T16:39:06.002Z] + docker inspect -f . ci-base-image-arm64 [2023-05-17T16:39:06.002Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-17T16:39:06.281Z] prd-ubuntu20.04-docker-arm64-4c-16g-15889 does not seem to be running inside a container [2023-05-17T16:39:06.344Z] $ 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-05-17T16:39:07.548Z] $ docker top 9c2f677f9fe14d444cac865babae5264e7bb7e6122bb8da1ba0f446e603d0c8b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-17T16:39:08.444Z] + go version [2023-05-17T16:39:08.444Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-17T16:39:08.480Z] $ docker stop --time=1 9c2f677f9fe14d444cac865babae5264e7bb7e6122bb8da1ba0f446e603d0c8b [2023-05-17T16:39:11.288Z] $ docker rm -f --volumes 9c2f677f9fe14d444cac865babae5264e7bb7e6122bb8da1ba0f446e603d0c8b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-17T16:39:12.143Z] + docker inspect -f . ci-base-image-arm64 [2023-05-17T16:39:12.143Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-17T16:39:12.387Z] prd-ubuntu20.04-docker-arm64-4c-16g-15889 does not seem to be running inside a container [2023-05-17T16:39:12.445Z] $ 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-05-17T16:39:13.565Z] $ docker top dc08f5e0d93b7cf1e6f539982d7ed000840c86f4b3d6b5e126cc878426ac1b55 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-17T16:39:14.461Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-05-17T16:39:14.851Z] + make test [2023-05-17T16:39:15.117Z] go test -race -coverprofile=coverage.out ./... [2023-05-17T16:39:54.024Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-05-17T16:42:00.703Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-05-17T16:42:00.703Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-05-17T16:42:00.703Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-05-17T16:42:00.703Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-05-17T16:42:00.703Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-05-17T16:42:00.703Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.217s coverage: 27.6% of statements [2023-05-17T16:42:02.643Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.254s coverage: 80.2% of statements [2023-05-17T16:42:14.953Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-05-17T16:42:14.953Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-05-17T16:42:14.953Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.322s coverage: 86.0% of statements [2023-05-17T16:42:20.289Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-05-17T16:42:20.555Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.423s coverage: 77.5% of statements [2023-05-17T16:42:24.814Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-05-17T16:42:25.775Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-05-17T16:42:25.775Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-05-17T16:42:27.714Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.251s coverage: 14.3% of statements [2023-05-17T16:42:27.714Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.402s coverage: 68.5% of statements [2023-05-17T16:42:29.662Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.425s coverage: 89.2% of statements [2023-05-17T16:42:30.623Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-05-17T16:42:30.890Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.247s coverage: 5.7% of statements [2023-05-17T16:42:31.849Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-17T16:42:31.849Z] GO111MODULE=on go vet ./... [2023-05-17T16:44:53.554Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-17T16:44:53.554Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-17T16:44:53.554Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-17T16:44:53.599Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-17T16:44:53.628Z] $ docker stop --time=1 dc08f5e0d93b7cf1e6f539982d7ed000840c86f4b3d6b5e126cc878426ac1b55 [2023-05-17T16:44:55.506Z] $ docker rm -f --volumes dc08f5e0d93b7cf1e6f539982d7ed000840c86f4b3d6b5e126cc878426ac1b55 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-17T16:44:57.046Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-17T16:44:57.079Z] Warning: overwriting stash ‘coverage-report’ [2023-05-17T16:44:57.591Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-17T16:44:58.169Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-17T16:44:58.505Z] + ls -al . [2023-05-17T16:44:58.505Z] total 268 [2023-05-17T16:44:58.505Z] drwxrwxr-x 10 jenkins jenkins 4096 May 17 16:39 . [2023-05-17T16:44:58.505Z] drwxrwxr-x 4 jenkins jenkins 4096 May 17 16:36 .. [2023-05-17T16:44:58.505Z] -rw-rw-r-- 1 jenkins jenkins 140 May 17 16:36 .dockerignore [2023-05-17T16:44:58.505Z] drwxrwxr-x 8 jenkins jenkins 4096 May 17 16:37 .git [2023-05-17T16:44:58.505Z] drwxrwxr-x 2 jenkins jenkins 4096 May 17 16:36 .github [2023-05-17T16:44:58.505Z] -rw-rw-r-- 1 jenkins jenkins 137 May 17 16:36 .gitignore [2023-05-17T16:44:58.505Z] -rw-rw-r-- 1 jenkins jenkins 42 May 17 16:36 .golangci.yml [2023-05-17T16:44:58.505Z] -rw-rw-r-- 1 jenkins jenkins 31677 May 17 16:36 CHANGELOG.md [2023-05-17T16:44:58.505Z] -rw-rw-r-- 1 jenkins jenkins 677 May 17 16:36 GOVERNANCE.md [2023-05-17T16:44:58.505Z] -rw-rw-r-- 1 jenkins jenkins 885 May 17 16:36 Jenkinsfile [2023-05-17T16:44:58.505Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 17 16:36 LICENSE [2023-05-17T16:44:58.505Z] -rw-rw-r-- 1 jenkins jenkins 1714 May 17 16:36 Makefile [2023-05-17T16:44:58.505Z] -rw-rw-r-- 1 jenkins jenkins 619 May 17 16:36 OWNERS.md [2023-05-17T16:44:58.505Z] -rw-rw-r-- 1 jenkins jenkins 4891 May 17 16:36 README.md [2023-05-17T16:44:58.505Z] -rw-rw-r-- 1 jenkins jenkins 5 May 17 16:35 VERSION [2023-05-17T16:44:58.505Z] drwxrwxr-x 2 jenkins jenkins 4096 May 17 16:36 bin [2023-05-17T16:44:58.505Z] -rw-r--r-- 1 jenkins jenkins 106152 May 17 16:42 coverage.out [2023-05-17T16:44:58.505Z] drwxrwxr-x 5 jenkins jenkins 4096 May 17 16:36 example [2023-05-17T16:44:58.505Z] -rw-rw-r-- 1 jenkins jenkins 3234 May 17 16:36 go.mod [2023-05-17T16:44:58.505Z] -rw-rw-r-- 1 jenkins jenkins 30781 May 17 16:36 go.sum [2023-05-17T16:44:58.505Z] drwxrwxr-x 12 jenkins jenkins 4096 May 17 16:36 internal [2023-05-17T16:44:58.505Z] drwxrwxr-x 3 jenkins jenkins 4096 May 17 16:36 openapi [2023-05-17T16:44:58.505Z] drwxrwxr-x 6 jenkins jenkins 4096 May 17 16:36 pkg [2023-05-17T16:44:58.505Z] drwxrwxr-x 4 jenkins jenkins 4096 May 17 16:36 snap [2023-05-17T16:44:58.505Z] -rw-rw-r-- 1 jenkins jenkins 222 May 17 16:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-17T16:44:58.917Z] + 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=610db976d5aa6bb7fe4d027abaf3b8691c627376 --label arch=arm64 --label version=0.0.0 . [2023-05-17T16:44:59.501Z] Sending build context to Docker daemon 6.105MB [2023-05-17T16:44:59.501Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-05-17T16:44:59.501Z] Step 2/23 : FROM ${BASE} AS builder [2023-05-17T16:44:59.501Z] ---> 86f72594b293 [2023-05-17T16:44:59.501Z] Step 3/23 : ARG MAKE=make build [2023-05-17T16:44:59.501Z] ---> Running in 0751add225be [2023-05-17T16:44:59.767Z] Removing intermediate container 0751add225be [2023-05-17T16:44:59.767Z] ---> 8e6d754dfe1a [2023-05-17T16:44:59.767Z] Step 4/23 : WORKDIR /device-sdk-go [2023-05-17T16:44:59.767Z] ---> Running in a1cf9b7af2a9 [2023-05-17T16:45:00.034Z] Removing intermediate container a1cf9b7af2a9 [2023-05-17T16:45:00.034Z] ---> c3886df27a03 [2023-05-17T16:45:00.034Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-05-17T16:45:00.302Z] ---> Running in 53aba6b2f816 [2023-05-17T16:45:00.570Z] Removing intermediate container 53aba6b2f816 [2023-05-17T16:45:00.570Z] ---> ce9f19f743b3 [2023-05-17T16:45:00.570Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-05-17T16:45:00.570Z] ---> Running in 7b894980450e [2023-05-17T16:45:01.531Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-17T16:45:02.109Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-17T16:45:03.065Z] OK: 263 MiB in 53 packages [2023-05-17T16:45:07.301Z] Removing intermediate container 7b894980450e [2023-05-17T16:45:07.301Z] ---> 6f544557463f [2023-05-17T16:45:07.301Z] Step 7/23 : COPY go.mod vendor* ./ [2023-05-17T16:45:07.301Z] ---> ee79cf20efd5 [2023-05-17T16:45:07.301Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-17T16:45:07.301Z] ---> Running in 7bd2691f75fb [2023-05-17T16:45:09.872Z] Removing intermediate container 7bd2691f75fb [2023-05-17T16:45:09.872Z] ---> 0cf8f487014f [2023-05-17T16:45:09.872Z] Step 9/23 : COPY . . [2023-05-17T16:45:10.829Z] ---> 500ee6a3f7a1 [2023-05-17T16:45:10.829Z] Step 10/23 : RUN ${MAKE} [2023-05-17T16:45:10.829Z] ---> Running in 8f6c7f5fbc35 [2023-05-17T16:45:11.786Z] 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-05-17T16:47:18.745Z] Removing intermediate container 8f6c7f5fbc35 [2023-05-17T16:47:18.745Z] ---> ecfac68141bc [2023-05-17T16:47:18.745Z] Step 11/23 : FROM alpine:3.17 [2023-05-17T16:47:18.745Z] 3.17: Pulling from library/alpine [2023-05-17T16:47:18.745Z] c41833b44d91: Already exists [2023-05-17T16:47:18.745Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-17T16:47:18.745Z] Status: Downloaded newer image for alpine:3.17 [2023-05-17T16:47:18.745Z] ---> 51e60588ff2c [2023-05-17T16:47:18.745Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-05-17T16:47:18.745Z] ---> Running in d58fba97857e [2023-05-17T16:47:18.745Z] Removing intermediate container d58fba97857e [2023-05-17T16:47:18.745Z] ---> f64d4f091f0c [2023-05-17T16:47:18.745Z] Step 13/23 : RUN apk add --update --no-cache [2023-05-17T16:47:18.745Z] ---> Running in 2b418ce59dbd [2023-05-17T16:47:18.745Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-17T16:47:18.745Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-17T16:47:20.175Z] OK: 7 MiB in 15 packages [2023-05-17T16:47:20.456Z] Removing intermediate container 2b418ce59dbd [2023-05-17T16:47:20.456Z] ---> 54b3114a0d8a [2023-05-17T16:47:20.456Z] Step 14/23 : WORKDIR / [2023-05-17T16:47:20.456Z] ---> Running in 244265202d9b [2023-05-17T16:47:20.731Z] Removing intermediate container 244265202d9b [2023-05-17T16:47:20.731Z] ---> 47c47be8b3df [2023-05-17T16:47:20.731Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-05-17T16:47:21.316Z] ---> 38b56d2ff0e4 [2023-05-17T16:47:21.316Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-05-17T16:47:22.734Z] ---> a8fde01a8d24 [2023-05-17T16:47:22.734Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-05-17T16:47:23.320Z] ---> d5101e919a9d [2023-05-17T16:47:23.320Z] Step 18/23 : EXPOSE 59999 [2023-05-17T16:47:23.320Z] ---> Running in 4941fa06d1bf [2023-05-17T16:47:23.591Z] Removing intermediate container 4941fa06d1bf [2023-05-17T16:47:23.591Z] ---> 88c10c77612d [2023-05-17T16:47:23.591Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-05-17T16:47:23.862Z] ---> Running in 655586d0266f [2023-05-17T16:47:24.132Z] Removing intermediate container 655586d0266f [2023-05-17T16:47:24.132Z] ---> cc8dad9bfd5a [2023-05-17T16:47:24.132Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-05-17T16:47:24.132Z] ---> Running in 65833a1f8e7f [2023-05-17T16:47:24.400Z] Removing intermediate container 65833a1f8e7f [2023-05-17T16:47:24.400Z] ---> ff4ef02def73 [2023-05-17T16:47:24.400Z] Step 21/23 : LABEL arch=arm64 [2023-05-17T16:47:24.400Z] ---> Running in 7fe34d69913e [2023-05-17T16:47:24.668Z] Removing intermediate container 7fe34d69913e [2023-05-17T16:47:24.668Z] ---> 878dab5a879c [2023-05-17T16:47:24.668Z] Step 22/23 : LABEL git_sha=610db976d5aa6bb7fe4d027abaf3b8691c627376 [2023-05-17T16:47:24.934Z] ---> Running in 93539e3a7df4 [2023-05-17T16:47:25.201Z] Removing intermediate container 93539e3a7df4 [2023-05-17T16:47:25.201Z] ---> d8bd283deb70 [2023-05-17T16:47:25.201Z] Step 23/23 : LABEL version=0.0.0 [2023-05-17T16:47:25.201Z] ---> Running in fa62f92cca23 [2023-05-17T16:47:25.470Z] Removing intermediate container fa62f92cca23 [2023-05-17T16:47:25.470Z] ---> 8db55ae25721 [2023-05-17T16:47:25.470Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-17T16:47:25.470Z] Successfully built 8db55ae25721 [2023-05-17T16:47:25.470Z] 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-05-17T16:47:26.304Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-17T16:47:26.304Z] [2023-05-17T16:47:26.304Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-17T16:47:26.695Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-17T16:47:26.695Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-17T16:47:26.695Z] 8998bd30e6a1: Pulling fs layer [2023-05-17T16:47:26.695Z] 04944245beec: Pulling fs layer [2023-05-17T16:47:26.695Z] 699f458cf7ca: Pulling fs layer [2023-05-17T16:47:26.695Z] 765212b225bb: Pulling fs layer [2023-05-17T16:47:26.695Z] f23df028b6ca: Pulling fs layer [2023-05-17T16:47:26.695Z] d65c8cfc05b1: Pulling fs layer [2023-05-17T16:47:26.695Z] 765212b225bb: Waiting [2023-05-17T16:47:26.695Z] 2437ff75d9bd: Pulling fs layer [2023-05-17T16:47:26.695Z] f23df028b6ca: Waiting [2023-05-17T16:47:26.695Z] 2437ff75d9bd: Waiting [2023-05-17T16:47:26.695Z] d65c8cfc05b1: Waiting [2023-05-17T16:47:26.965Z] 04944245beec: Verifying Checksum [2023-05-17T16:47:26.965Z] 04944245beec: Download complete [2023-05-17T16:47:26.965Z] 765212b225bb: Verifying Checksum [2023-05-17T16:47:26.965Z] 765212b225bb: Download complete [2023-05-17T16:47:26.965Z] f23df028b6ca: Verifying Checksum [2023-05-17T16:47:26.965Z] f23df028b6ca: Download complete [2023-05-17T16:47:26.965Z] d65c8cfc05b1: Verifying Checksum [2023-05-17T16:47:26.965Z] d65c8cfc05b1: Download complete [2023-05-17T16:47:26.965Z] 699f458cf7ca: Verifying Checksum [2023-05-17T16:47:26.965Z] 699f458cf7ca: Download complete [2023-05-17T16:47:27.549Z] 8998bd30e6a1: Verifying Checksum [2023-05-17T16:47:27.549Z] 8998bd30e6a1: Download complete [2023-05-17T16:47:29.495Z] 2437ff75d9bd: Verifying Checksum [2023-05-17T16:47:29.495Z] 2437ff75d9bd: Download complete [2023-05-17T16:47:34.410Z] 8998bd30e6a1: Pull complete [2023-05-17T16:47:34.677Z] 04944245beec: Pull complete [2023-05-17T16:47:36.089Z] 699f458cf7ca: Pull complete [2023-05-17T16:47:36.089Z] 765212b225bb: Pull complete [2023-05-17T16:47:37.052Z] f23df028b6ca: Pull complete [2023-05-17T16:47:37.052Z] d65c8cfc05b1: Pull complete [2023-05-17T16:47:52.057Z] 2437ff75d9bd: Pull complete [2023-05-17T16:47:52.057Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-17T16:47:52.057Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-17T16:47:52.057Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-17T16:47:52.396Z] prd-ubuntu20.04-docker-arm64-4c-16g-15889 does not seem to be running inside a container [2023-05-17T16:47:52.466Z] $ 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-05-17T16:47:54.964Z] $ docker top 4cd5f961392254b441ea37f21ed9c03eed89aeee2e5b58bd9b1ea2b6f1474d75 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-17T16:47:55.859Z] ---> job-cost.sh [2023-05-17T16:47:55.859Z] lf-activate-venv: SKIPPING [2023-05-17T16:47:55.859Z] INFO: No Stack... [2023-05-17T16:47:56.125Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-17T16:47:57.084Z] INFO: Archiving Costs [Pipeline] sh [2023-05-17T16:47:57.426Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2023-05-17T16:47:57.426Z] + cut -d, -f6 [Pipeline] lock [2023-05-17T16:47:57.773Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1459-1-stack-cost] [2023-05-17T16:47:57.778Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1459-1-stack-cost] did not exist. Created. [2023-05-17T16:47:57.779Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1459-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-17T16:47:58.505Z] /w/workspace/device-sdk-go/1@tmp/durable-115e92ee/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-17T16:47:59.178Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-17T16:47:59.213Z] Warning: overwriting stash ‘stack-cost’ [2023-05-17T16:47:59.270Z] Stashed 1 file(s) [Pipeline] } [2023-05-17T16:47:59.287Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1459-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-17T16:47:59.359Z] $ docker stop --time=1 4cd5f961392254b441ea37f21ed9c03eed89aeee2e5b58bd9b1ea2b6f1474d75 [2023-05-17T16:48:00.826Z] $ docker rm -f --volumes 4cd5f961392254b441ea37f21ed9c03eed89aeee2e5b58bd9b1ea2b6f1474d75 [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-05-17T16:48:01.818Z] provisioning config files... [2023-05-17T16:48:01.824Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1459@tmp/config15814956057381869475tmp [Pipeline] { [Pipeline] sh [2023-05-17T16:48:02.162Z] + set +x [2023-05-17T16:48:02.162Z] + curl -s https://codecov.io/bash [2023-05-17T16:48:02.162Z] + bash -s -- [2023-05-17T16:48:02.162Z] [2023-05-17T16:48:02.162Z] _____ _ [2023-05-17T16:48:02.162Z] / ____| | | [2023-05-17T16:48:02.162Z] | | ___ __| | ___ ___ _____ __ [2023-05-17T16:48:02.162Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-17T16:48:02.162Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-17T16:48:02.162Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-17T16:48:02.162Z] Bash-1.0.6 [2023-05-17T16:48:02.162Z] [2023-05-17T16:48:02.162Z] [2023-05-17T16:48:02.162Z] ==> git version 2.25.1 found [2023-05-17T16:48:02.162Z] ==> 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-05-17T16:48:02.162Z] Release-Date: 2020-01-08 [2023-05-17T16:48:02.162Z] 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-05-17T16:48:02.162Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-17T16:48:02.162Z] ==> Jenkins CI detected. [2023-05-17T16:48:02.162Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1459 [2023-05-17T16:48:02.162Z] project root: . [2023-05-17T16:48:02.162Z] --> token set from env [2023-05-17T16:48:02.162Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-17T16:48:02.162Z] ==> Running gcov in . (disable via -X gcov) [2023-05-17T16:48:02.162Z] ==> Python coveragepy not found [2023-05-17T16:48:02.162Z] ==> Searching for coverage reports in: [2023-05-17T16:48:02.162Z] + . [2023-05-17T16:48:02.162Z] -> Found 1 reports [2023-05-17T16:48:02.162Z] ==> Detecting git/mercurial file structure [2023-05-17T16:48:02.421Z] ==> Reading reports [2023-05-17T16:48:02.421Z] + ./coverage.out bytes=106152 [2023-05-17T16:48:02.421Z] ==> Appending adjustments [2023-05-17T16:48:02.421Z] https://docs.codecov.io/docs/fixing-reports [2023-05-17T16:48:02.680Z] + Found adjustments [2023-05-17T16:48:02.680Z] ==> Gzipping contents [2023-05-17T16:48:02.680Z] 16K /tmp/codecov.UH9DZf.gz [2023-05-17T16:48:02.680Z] ==> Uploading reports [2023-05-17T16:48:02.680Z] url: https://codecov.io [2023-05-17T16:48:02.680Z] query: branch=PR-1459&commit=610db976d5aa6bb7fe4d027abaf3b8691c627376&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1459%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1459&job=&cmd_args= [2023-05-17T16:48:02.680Z] -> Pinging Codecov [2023-05-17T16:48:02.681Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1459&commit=610db976d5aa6bb7fe4d027abaf3b8691c627376&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1459%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1459&job=&cmd_args= [2023-05-17T16:48:02.940Z] -> Uploading to [2023-05-17T16:48:02.940Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-17/7E55EF52A471D76F132DFD9A03CDDE97/610db976d5aa6bb7fe4d027abaf3b8691c627376/b2ed9444-a233-4cf5-9f51-944578068f77.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230517%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230517T164802Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=940d491181525717a82f0abbd5bf640e705bfc82749f99eb72fb21e8323e00af [2023-05-17T16:48:02.940Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-17T16:48:02.940Z] Dload Upload Total Spent Left Speed [2023-05-17T16:48:02.940Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15153 0 0 100 15153 0 74279 --:--:-- --:--:-- --:--:-- 74279 [2023-05-17T16:48:02.940Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/610db976d5aa6bb7fe4d027abaf3b8691c627376 [Pipeline] } [2023-05-17T16:48:02.965Z] 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-05-17T16:48:04.756Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1459/archives ] [2023-05-17T16:48:04.756Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1459/archives [2023-05-17T16:48:04.756Z] total 16 [2023-05-17T16:48:04.756Z] drwxr-xr-x 3 root root 4096 May 17 16:38 . [2023-05-17T16:48:04.756Z] drwxrwxr-x 12 jenkins jenkins 4096 May 17 16:38 .. [2023-05-17T16:48:04.756Z] drwxr-xr-x 2 root root 4096 May 17 16:38 cost [2023-05-17T16:48:04.756Z] -rw-r--r-- 1 root root 86 May 17 16:38 cost.csv [2023-05-17T16:48:04.756Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1459/archives [2023-05-17T16:48:04.756Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1459/archives [2023-05-17T16:48:04.756Z] total 16 [2023-05-17T16:48:04.756Z] drwxr-xr-x 3 jenkins jenkins 4096 May 17 16:38 . [2023-05-17T16:48:04.756Z] drwxrwxr-x 12 jenkins jenkins 4096 May 17 16:38 .. [2023-05-17T16:48:04.756Z] drwxr-xr-x 2 jenkins jenkins 4096 May 17 16:38 cost [2023-05-17T16:48:04.756Z] -rw-r--r-- 1 jenkins jenkins 86 May 17 16:38 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-17T16:48:05.118Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-17T16:48:06.007Z] ---> package-listing.sh [2023-05-17T16:48:06.007Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-17T16:48:06.007Z] ++ facter osfamily [2023-05-17T16:48:06.266Z] + OS_FAMILY=debian [2023-05-17T16:48:06.266Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1459 [2023-05-17T16:48:06.266Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-17T16:48:06.266Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-17T16:48:06.266Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-17T16:48:06.266Z] + PACKAGES=/tmp/packages_start.txt [2023-05-17T16:48:06.266Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1459 ']' [2023-05-17T16:48:06.266Z] + PACKAGES=/tmp/packages_end.txt [2023-05-17T16:48:06.266Z] + case "${OS_FAMILY}" in [2023-05-17T16:48:06.266Z] + dpkg -l [2023-05-17T16:48:06.266Z] + grep '^ii' [2023-05-17T16:48:06.266Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-17T16:48:06.266Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-17T16:48:06.266Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-17T16:48:06.266Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1459 ']' [2023-05-17T16:48:06.266Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1459/archives/ [2023-05-17T16:48:06.266Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1459/archives/ [Pipeline] echo [2023-05-17T16:48:06.301Z] 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-1459/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-05-17T16:48:06.593Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-17T16:48:07.219Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-17T16:48:07.219Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-17T16:48:07.367Z] prd-ubuntu20.04-docker-8c-8g-15888 does not seem to be running inside a container [2023-05-17T16:48:07.395Z] $ 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-1459/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-1459 -v /w/workspace/gexfoundry_device-sdk-go_PR-1459:/w/workspace/gexfoundry_device-sdk-go_PR-1459:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1459@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1459@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-17T16:48:07.859Z] $ docker top 735d0b65eee1c34c8ebb51ba8889ebe3c180a10cf1f4a25d08c97b12d34db9a3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-17T16:48:08.254Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-17T16:48:08.562Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-17T16:48:08.890Z] + ls /var/log/sa-host [2023-05-17T16:48:08.890Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-17T16:48:09.125Z] provisioning config files... [2023-05-17T16:48:09.135Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1459@tmp/config6474164986763534700tmp [Pipeline] { [Pipeline] echo [2023-05-17T16:48:09.187Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-17T16:48:09.503Z] ---> create-netrc.sh [Pipeline] } [2023-05-17T16:48:09.530Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-17T16:48:09.935Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-17T16:48:09.969Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-17T16:48:10.285Z] ---> sudo-logs.sh [2023-05-17T16:48:10.286Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-17T16:48:10.369Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-17T16:48:10.679Z] ---> job-cost.sh [2023-05-17T16:48:10.680Z] lf-activate-venv: SKIPPING [2023-05-17T16:48:10.680Z] DEBUG: total: 0.2199999988079071 [2023-05-17T16:48:10.680Z] INFO: Retrieving Stack Cost... [2023-05-17T16:48:11.248Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-17T16:48:11.509Z] INFO: Archiving Costs [Pipeline] echo [2023-05-17T16:48:11.543Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-17T16:48:11.868Z] ---> logs-deploy.sh [2023-05-17T16:48:11.868Z] lf-activate-venv: SKIPPING [2023-05-17T16:48:11.868Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1459/1 [2023-05-17T16:48:11.868Z] INFO: archiving workspace using pattern(s): [2023-05-17T16:48:12.806Z] Archives upload complete. [2023-05-17T16:48:12.806Z] INFO: archiving logs to Nexus