Pull request #1313 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 72d5d3134c4876218ecc6c598e3670d2c0cd64d3+d7de237c874a90e81091b377f7571cc3981ed0ab (ca2a3a111fae3d3ed9763a48cca264ffdd60d730) 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-ssh10886072960641751555.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh7058464751449587817.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1313/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1313/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5637170003284690371.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2949144674805525763.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1313/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1313/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18027284586847475483.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-5475 in /w/workspace/gexfoundry_device-sdk-go_PR-1313 [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-1313 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1313/head:refs/remotes/origin/PR-1313 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit d7de237c874a90e81091b377f7571cc3981ed0ab into PR head commit 72d5d3134c4876218ecc6c598e3670d2c0cd64d3 Merge succeeded, producing 72d5d3134c4876218ecc6c598e3670d2c0cd64d3 Checking out Revision 72d5d3134c4876218ecc6c598e3670d2c0cd64d3 (PR-1313) > git config core.sparsecheckout # timeout=10 > git checkout -f 72d5d3134c4876218ecc6c598e3670d2c0cd64d3 # 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 d7de237c874a90e81091b377f7571cc3981ed0ab # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 72d5d3134c4876218ecc6c598e3670d2c0cd64d3 # timeout=10 Commit message: "feat!: add an additional level in event publish topic" First time build. Skipping changelog. > git rev-list --no-walk e0a6c3ccaeee40232ce7ac799c1e0cd9f806ff1f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-13T05:23:22.479Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-13T05:23:22.546Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-13T05:23:22.558Z] ========================================================= [2023-02-13T05:23:22.558Z] EdgeX Global Pipelines Version Info [2023-02-13T05:23:22.558Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-13T05:23:23.269Z] ------------------- [2023-02-13T05:23:23.269Z] stable info: [2023-02-13T05:23:23.269Z] ------------------- [2023-02-13T05:23:23.269Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-13T05:23:23.269Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-13T05:23:23.269Z] Message: update stable to v1.0.244 [2023-02-13T05:23:23.839Z] ------------------- [2023-02-13T05:23:23.839Z] experimental info: [2023-02-13T05:23:23.839Z] ------------------- [2023-02-13T05:23:23.839Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-13T05:23:23.839Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-13T05:23:23.839Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-13T05:23:24.000Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-02-13T05:23:24.009Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-02-13T05:23:24.017Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-13T05:23:24.025Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-13T05:23:24.033Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-13T05:23:24.042Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-13T05:23:24.050Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-13T05:23:24.058Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-02-13T05:23:24.067Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-13T05:23:24.075Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-13T05:23:24.083Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-13T05:23:24.091Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-02-13T05:23:24.100Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-13T05:23:24.108Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-13T05:23:24.116Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-13T05:23:24.125Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-02-13T05:23:24.133Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-13T05:23:24.141Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-13T05:23:24.151Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-13T05:23:24.168Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-13T05:23:24.178Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-02-13T05:23:24.189Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-02-13T05:23:24.203Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-13T05:23:24.215Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-13T05:23:24.227Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-13T05:23:24.241Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-13T05:23:24.251Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-13T05:23:24.265Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1313 [Pipeline] echo [2023-02-13T05:23:24.280Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1313 [Pipeline] echo [2023-02-13T05:23:24.291Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1313 [Pipeline] echo [2023-02-13T05:23:24.302Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 72d5d3134c4876218ecc6c598e3670d2c0cd64d3 [Pipeline] echo [2023-02-13T05:23:24.316Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 72d5d31 [Pipeline] echo [2023-02-13T05:23:24.329Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-13T05:23:24.371Z] provisioning config files... [2023-02-13T05:23:24.384Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1313@tmp/config15851474611319303322tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-13T05:23:24.682Z] ---> docker-login.sh [2023-02-13T05:23:24.682Z] nexus3.edgexfoundry.org:10001 [2023-02-13T05:23:24.943Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T05:23:25.204Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T05:23:25.204Z] Configure a credential helper to remove this warning. See [2023-02-13T05:23:25.204Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T05:23:25.204Z] [2023-02-13T05:23:25.204Z] Login Succeeded [2023-02-13T05:23:25.204Z] nexus3.edgexfoundry.org:10002 [2023-02-13T05:23:25.204Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T05:23:25.204Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T05:23:25.204Z] Configure a credential helper to remove this warning. See [2023-02-13T05:23:25.204Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T05:23:25.204Z] [2023-02-13T05:23:25.204Z] Login Succeeded [2023-02-13T05:23:25.204Z] nexus3.edgexfoundry.org:10003 [2023-02-13T05:23:25.204Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T05:23:25.465Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T05:23:25.465Z] Configure a credential helper to remove this warning. See [2023-02-13T05:23:25.465Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T05:23:25.465Z] [2023-02-13T05:23:25.465Z] Login Succeeded [2023-02-13T05:23:25.465Z] nexus3.edgexfoundry.org:10004 [2023-02-13T05:23:25.465Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T05:23:25.465Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T05:23:25.465Z] Configure a credential helper to remove this warning. See [2023-02-13T05:23:25.465Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T05:23:25.465Z] [2023-02-13T05:23:25.465Z] Login Succeeded [2023-02-13T05:23:25.465Z] docker.io [2023-02-13T05:23:25.465Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T05:23:25.725Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T05:23:25.725Z] Configure a credential helper to remove this warning. See [2023-02-13T05:23:25.725Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T05:23:25.725Z] [2023-02-13T05:23:25.725Z] Login Succeeded [2023-02-13T05:23:25.725Z] ---> docker-login.sh ends [Pipeline] } [2023-02-13T05:23:25.733Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-13T05:23:26.088Z] + git rev-list -1 --merges 72d5d3134c4876218ecc6c598e3670d2c0cd64d3~1..72d5d3134c4876218ecc6c598e3670d2c0cd64d3 [Pipeline] echo [2023-02-13T05:23:26.145Z] -----------> git rev-list -1 --merges 72d5d3134c4876218ecc6c598e3670d2c0cd64d3~1..72d5d3134c4876218ecc6c598e3670d2c0cd64d3 72d5d3134c4876218ecc6c598e3670d2c0cd64d3 [false] [Pipeline] sh [2023-02-13T05:23:26.431Z] + git log --format=format:%s -1 72d5d3134c4876218ecc6c598e3670d2c0cd64d3 [Pipeline] echo [2023-02-13T05:23:26.445Z] ========================================================= [2023-02-13T05:23:26.445Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-13T05:23:26.445Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-13T05:23:26.763Z] + git log --format=format:%s -1 72d5d3134c4876218ecc6c598e3670d2c0cd64d3 [Pipeline] echo [2023-02-13T05:23:26.774Z] [semverPrep] GIT_COMMIT: 72d5d3134c4876218ecc6c598e3670d2c0cd64d3, Commit Message: feat!: add an additional level in event publish topic [Pipeline] echo [2023-02-13T05:23:26.785Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-13T05:23:27.140Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-13T05:23:27.140Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-13T05:23:27.140Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-13T05:23:27.140Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-13T05:23:27.140Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-13T05:23:27.140Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-13T05:23:27.140Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T05:23:27.540Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-13T05:23:27.540Z] [2023-02-13T05:23:27.540Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T05:23:27.842Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-13T05:23:27.842Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-13T05:23:27.842Z] b85a868b505f: Pulling fs layer [2023-02-13T05:23:27.842Z] e2be974225ed: Pulling fs layer [2023-02-13T05:23:27.842Z] 339a4e72a1f5: Pulling fs layer [2023-02-13T05:23:27.842Z] 988bab9f4d93: Pulling fs layer [2023-02-13T05:23:27.842Z] 1469e6f7b9e6: Pulling fs layer [2023-02-13T05:23:27.842Z] eaf3925da568: Pulling fs layer [2023-02-13T05:23:27.842Z] bab4dde63d76: Pulling fs layer [2023-02-13T05:23:27.842Z] bde34c3a00c8: Pulling fs layer [2023-02-13T05:23:27.842Z] b352a97aabf1: Pulling fs layer [2023-02-13T05:23:27.842Z] 4872d77fe225: Pulling fs layer [2023-02-13T05:23:27.842Z] 5851b861e8e6: Pulling fs layer [2023-02-13T05:23:27.842Z] 1469e6f7b9e6: Waiting [2023-02-13T05:23:27.842Z] eaf3925da568: Waiting [2023-02-13T05:23:27.842Z] bab4dde63d76: Waiting [2023-02-13T05:23:27.842Z] bde34c3a00c8: Waiting [2023-02-13T05:23:27.842Z] 5851b861e8e6: Waiting [2023-02-13T05:23:27.842Z] b352a97aabf1: Waiting [2023-02-13T05:23:27.842Z] 988bab9f4d93: Waiting [2023-02-13T05:23:27.842Z] 4872d77fe225: Waiting [2023-02-13T05:23:27.842Z] e2be974225ed: Verifying Checksum [2023-02-13T05:23:27.842Z] e2be974225ed: Download complete [2023-02-13T05:23:27.842Z] 988bab9f4d93: Download complete [2023-02-13T05:23:28.108Z] 1469e6f7b9e6: Verifying Checksum [2023-02-13T05:23:28.108Z] 1469e6f7b9e6: Download complete [2023-02-13T05:23:28.108Z] eaf3925da568: Verifying Checksum [2023-02-13T05:23:28.108Z] eaf3925da568: Download complete [2023-02-13T05:23:28.370Z] 339a4e72a1f5: Verifying Checksum [2023-02-13T05:23:28.370Z] 339a4e72a1f5: Download complete [2023-02-13T05:23:28.370Z] bde34c3a00c8: Download complete [2023-02-13T05:23:28.370Z] b352a97aabf1: Verifying Checksum [2023-02-13T05:23:28.370Z] b352a97aabf1: Download complete [2023-02-13T05:23:28.370Z] 4872d77fe225: Verifying Checksum [2023-02-13T05:23:28.370Z] 4872d77fe225: Download complete [2023-02-13T05:23:28.370Z] 5851b861e8e6: Verifying Checksum [2023-02-13T05:23:28.370Z] 5851b861e8e6: Download complete [2023-02-13T05:23:28.370Z] b85a868b505f: Verifying Checksum [2023-02-13T05:23:28.370Z] b85a868b505f: Download complete [2023-02-13T05:23:28.941Z] bab4dde63d76: Verifying Checksum [2023-02-13T05:23:28.941Z] bab4dde63d76: Download complete [2023-02-13T05:23:29.507Z] b85a868b505f: Pull complete [2023-02-13T05:23:29.766Z] e2be974225ed: Pull complete [2023-02-13T05:23:30.026Z] 339a4e72a1f5: Pull complete [2023-02-13T05:23:30.285Z] 988bab9f4d93: Pull complete [2023-02-13T05:23:30.544Z] 1469e6f7b9e6: Pull complete [2023-02-13T05:23:30.544Z] eaf3925da568: Pull complete [2023-02-13T05:23:31.917Z] bab4dde63d76: Pull complete [2023-02-13T05:23:32.176Z] bde34c3a00c8: Pull complete [2023-02-13T05:23:32.176Z] b352a97aabf1: Pull complete [2023-02-13T05:23:32.176Z] 4872d77fe225: Pull complete [2023-02-13T05:23:32.434Z] 5851b861e8e6: Pull complete [2023-02-13T05:23:32.434Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-13T05:23:32.435Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-13T05:23:32.435Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T05:23:32.519Z] prd-ubuntu20.04-docker-8c-8g-5475 does not seem to be running inside a container [2023-02-13T05:23:32.587Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1313 -v /w/workspace/gexfoundry_device-sdk-go_PR-1313:/w/workspace/gexfoundry_device-sdk-go_PR-1313:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1313@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1313@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-13T05:23:33.764Z] $ docker top 6a28f8c68162e34d6d212120e221ceac56b5aaa40b97343a382229181d4b559a -eo pid,comm [2023-02-13T05:23:33.824Z] 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-02-13T05:23:33.824Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-13T05:23:33.860Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-13T05:23:33.860Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-13T05:23:33.962Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-13T05:23:33.955Z] $ docker exec 6a28f8c68162e34d6d212120e221ceac56b5aaa40b97343a382229181d4b559a ssh-agent [2023-02-13T05:23:34.068Z] SSH_AUTH_SOCK=/tmp/ssh-yYR44VzElQOx/agent.31 [2023-02-13T05:23:34.068Z] SSH_AGENT_PID=37 [2023-02-13T05:23:34.074Z] Running ssh-add (command line suppressed) [2023-02-13T05:23:34.164Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1313@tmp/private_key_13229699251333977870.key (/w/workspace/gexfoundry_device-sdk-go_PR-1313@tmp/private_key_13229699251333977870.key) [2023-02-13T05:23:34.186Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-13T05:23:34.474Z] + git tag --points-at HEAD [Pipeline] } [2023-02-13T05:23:34.476Z] $ docker exec --env ******** --env ******** 6a28f8c68162e34d6d212120e221ceac56b5aaa40b97343a382229181d4b559a ssh-agent -k [2023-02-13T05:23:34.572Z] unset SSH_AUTH_SOCK; [2023-02-13T05:23:34.573Z] unset SSH_AGENT_PID; [2023-02-13T05:23:34.573Z] echo Agent pid 37 killed; [2023-02-13T05:23:34.591Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-13T05:23:34.619Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-13T05:23:34.619Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-13T05:23:34.734Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-13T05:23:34.727Z] $ docker exec 6a28f8c68162e34d6d212120e221ceac56b5aaa40b97343a382229181d4b559a ssh-agent [2023-02-13T05:23:34.842Z] SSH_AUTH_SOCK=/tmp/ssh-6o5ocNRH3SsS/agent.69 [2023-02-13T05:23:34.842Z] SSH_AGENT_PID=75 [2023-02-13T05:23:34.846Z] Running ssh-add (command line suppressed) [2023-02-13T05:23:34.943Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1313@tmp/private_key_12793883794677931411.key (/w/workspace/gexfoundry_device-sdk-go_PR-1313@tmp/private_key_12793883794677931411.key) [2023-02-13T05:23:34.963Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-13T05:23:35.250Z] + git semver init [2023-02-13T05:23:35.509Z] 2023-02-13 05:23:35,426 [run_init] DEBUG init version:0.0.0 force:False [2023-02-13T05:23:35.509Z] 2023-02-13 05:23:35,427 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1313/.semver [2023-02-13T05:23:35.509Z] 2023-02-13 05:23:35,428 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1313/.semver [2023-02-13T05:23:35.509Z] 2023-02-13 05:23:35,428 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1313/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1313, universal_newlines=False, shell=None, istream=None) [2023-02-13T05:23:36.445Z] 2023-02-13 05:23:36,420 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1313/.git/info/exclude [2023-02-13T05:23:36.445Z] 2023-02-13 05:23:36,420 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1313/.semver/PR-1313 with force:False [2023-02-13T05:23:36.445Z] 2023-02-13 05:23:36,420 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1313/.semver/PR-1313 [2023-02-13T05:23:36.445Z] 2023-02-13 05:23:36,424 [execute] INFO git cat-file --batch-check [2023-02-13T05:23:36.445Z] 2023-02-13 05:23:36,425 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1313/.semver, universal_newlines=False, shell=None, istream=) [2023-02-13T05:23:36.445Z] 2023-02-13 05:23:36,430 [execute] INFO git cat-file --batch [2023-02-13T05:23:36.445Z] 2023-02-13 05:23:36,431 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1313/.semver, universal_newlines=False, shell=None, istream=) [2023-02-13T05:23:36.704Z] 2023-02-13 05:23:36,437 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1313/.semver/PR-1313 [2023-02-13T05:23:36.704Z] 0.0.0 [Pipeline] } [2023-02-13T05:23:36.707Z] $ docker exec --env ******** --env ******** 6a28f8c68162e34d6d212120e221ceac56b5aaa40b97343a382229181d4b559a ssh-agent -k [2023-02-13T05:23:36.809Z] unset SSH_AUTH_SOCK; [2023-02-13T05:23:36.809Z] unset SSH_AGENT_PID; [2023-02-13T05:23:36.810Z] echo Agent pid 75 killed; [2023-02-13T05:23:36.827Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-13T05:23:37.134Z] + git semver [Pipeline] } [2023-02-13T05:23:37.398Z] $ docker stop --time=1 6a28f8c68162e34d6d212120e221ceac56b5aaa40b97343a382229181d4b559a [2023-02-13T05:23:38.738Z] $ docker rm -f --volumes 6a28f8c68162e34d6d212120e221ceac56b5aaa40b97343a382229181d4b559a [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-13T05:23:39.082Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-13T05:23:39.292Z] Stashed 1 file(s) [Pipeline] echo [2023-02-13T05:23:39.295Z] [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-02-13T05:23:39.458Z] provisioning config files... [2023-02-13T05:23:39.467Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1313@tmp/config9899618899127610201tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-13T05:23:39.760Z] ---> docker-login.sh [2023-02-13T05:23:39.760Z] nexus3.edgexfoundry.org:10001 [2023-02-13T05:23:39.760Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T05:23:39.760Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T05:23:39.760Z] Configure a credential helper to remove this warning. See [2023-02-13T05:23:39.761Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T05:23:39.761Z] [2023-02-13T05:23:39.761Z] Login Succeeded [2023-02-13T05:23:39.761Z] nexus3.edgexfoundry.org:10002 [2023-02-13T05:23:39.761Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T05:23:39.761Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T05:23:39.761Z] Configure a credential helper to remove this warning. See [2023-02-13T05:23:39.761Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T05:23:39.761Z] [2023-02-13T05:23:39.761Z] Login Succeeded [2023-02-13T05:23:39.761Z] nexus3.edgexfoundry.org:10003 [2023-02-13T05:23:40.020Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T05:23:40.020Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T05:23:40.020Z] Configure a credential helper to remove this warning. See [2023-02-13T05:23:40.020Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T05:23:40.020Z] [2023-02-13T05:23:40.020Z] Login Succeeded [2023-02-13T05:23:40.020Z] nexus3.edgexfoundry.org:10004 [2023-02-13T05:23:40.020Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T05:23:40.020Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T05:23:40.020Z] Configure a credential helper to remove this warning. See [2023-02-13T05:23:40.020Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T05:23:40.020Z] [2023-02-13T05:23:40.020Z] Login Succeeded [2023-02-13T05:23:40.020Z] docker.io [2023-02-13T05:23:40.280Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T05:23:40.280Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T05:23:40.280Z] Configure a credential helper to remove this warning. See [2023-02-13T05:23:40.280Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T05:23:40.280Z] [2023-02-13T05:23:40.280Z] Login Succeeded [2023-02-13T05:23:40.280Z] ---> docker-login.sh ends [Pipeline] } [2023-02-13T05:23:40.287Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-13T05:23:40.360Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-13T05:23:40.380Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-13T05:23:40.392Z] ========================================================= [2023-02-13T05:23:40.392Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-13T05:23:40.392Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T05:23:40.696Z] + 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.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-13T05:23:40.696Z] Sending build context to Docker daemon 10.55MB [2023-02-13T05:23:40.696Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-13T05:23:40.696Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-13T05:23:40.696Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-13T05:23:40.696Z] 213ec9aee27d: Pulling fs layer [2023-02-13T05:23:40.696Z] 4583459ba037: Pulling fs layer [2023-02-13T05:23:40.696Z] 93c1e223e6f2: Pulling fs layer [2023-02-13T05:23:40.696Z] 53926ce57604: Pulling fs layer [2023-02-13T05:23:40.696Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-13T05:23:40.696Z] 22ff95d597cd: Pulling fs layer [2023-02-13T05:23:40.696Z] 12d6caf4c0d1: Pulling fs layer [2023-02-13T05:23:40.696Z] 96b7cbca73a9: Pulling fs layer [2023-02-13T05:23:40.696Z] a7acece74701: Pulling fs layer [2023-02-13T05:23:40.696Z] 21b2b0c7a3f4: Waiting [2023-02-13T05:23:40.696Z] 53926ce57604: Waiting [2023-02-13T05:23:40.696Z] 22ff95d597cd: Waiting [2023-02-13T05:23:40.696Z] 12d6caf4c0d1: Waiting [2023-02-13T05:23:40.696Z] 96b7cbca73a9: Waiting [2023-02-13T05:23:40.696Z] a7acece74701: Waiting [2023-02-13T05:23:40.696Z] 93c1e223e6f2: Verifying Checksum [2023-02-13T05:23:40.696Z] 93c1e223e6f2: Download complete [2023-02-13T05:23:40.697Z] 4583459ba037: Verifying Checksum [2023-02-13T05:23:40.697Z] 4583459ba037: Download complete [2023-02-13T05:23:40.960Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-13T05:23:40.960Z] 21b2b0c7a3f4: Download complete [2023-02-13T05:23:40.960Z] 22ff95d597cd: Verifying Checksum [2023-02-13T05:23:40.960Z] 22ff95d597cd: Download complete [2023-02-13T05:23:40.960Z] 213ec9aee27d: Verifying Checksum [2023-02-13T05:23:40.960Z] 12d6caf4c0d1: Verifying Checksum [2023-02-13T05:23:40.960Z] 12d6caf4c0d1: Download complete [2023-02-13T05:23:40.960Z] 213ec9aee27d: Pull complete [2023-02-13T05:23:41.235Z] 4583459ba037: Pull complete [2023-02-13T05:23:41.235Z] 93c1e223e6f2: Pull complete [2023-02-13T05:23:42.281Z] a7acece74701: Download complete [2023-02-13T05:23:42.554Z] 53926ce57604: Verifying Checksum [2023-02-13T05:23:42.554Z] 53926ce57604: Download complete [2023-02-13T05:23:42.814Z] 96b7cbca73a9: Verifying Checksum [2023-02-13T05:23:42.814Z] 96b7cbca73a9: Download complete [2023-02-13T05:23:46.098Z] 53926ce57604: Pull complete [2023-02-13T05:23:46.098Z] 21b2b0c7a3f4: Pull complete [2023-02-13T05:23:46.098Z] 22ff95d597cd: Pull complete [2023-02-13T05:23:46.356Z] 12d6caf4c0d1: Pull complete [2023-02-13T05:23:48.263Z] 96b7cbca73a9: Pull complete [2023-02-13T05:23:49.197Z] a7acece74701: Pull complete [2023-02-13T05:23:49.197Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-13T05:23:49.197Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-13T05:23:49.197Z] ---> db6d94c90886 [2023-02-13T05:23:49.197Z] Step 3/10 : ARG MAKE=make build [2023-02-13T05:23:50.576Z] ---> Running in d4187ec94554 [2023-02-13T05:23:50.576Z] Removing intermediate container d4187ec94554 [2023-02-13T05:23:50.576Z] ---> f3acc9ed63d2 [2023-02-13T05:23:50.576Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-13T05:23:50.576Z] ---> Running in 722b04c58f69 [2023-02-13T05:23:50.576Z] Removing intermediate container 722b04c58f69 [2023-02-13T05:23:50.576Z] ---> 872f183e25bf [2023-02-13T05:23:50.576Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-13T05:23:50.835Z] ---> Running in 9b5f05b21f82 [2023-02-13T05:23:50.835Z] Removing intermediate container 9b5f05b21f82 [2023-02-13T05:23:50.835Z] ---> 3913cd87819e [2023-02-13T05:23:50.835Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-13T05:23:50.835Z] ---> Running in b3c11db4550c [2023-02-13T05:23:51.094Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-13T05:23:51.352Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-13T05:23:51.620Z] OK: 211 MiB in 51 packages [2023-02-13T05:23:51.877Z] Removing intermediate container b3c11db4550c [2023-02-13T05:23:51.877Z] ---> 732343fd828b [2023-02-13T05:23:51.877Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-13T05:23:51.877Z] ---> ebd4b5b38034 [2023-02-13T05:23:51.877Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-13T05:23:51.877Z] ---> Running in 760094ad606c [2023-02-13T05:23:54.411Z] Still waiting to schedule task [2023-02-13T05:23:54.411Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-02-13T05:24:18.441Z] Removing intermediate container 760094ad606c [2023-02-13T05:24:18.441Z] ---> e1ebb80cb664 [2023-02-13T05:24:18.441Z] Step 9/10 : COPY . . [2023-02-13T05:24:18.441Z] ---> bfe06fc6c99e [2023-02-13T05:24:18.441Z] Step 10/10 : RUN ${MAKE} [2023-02-13T05:24:18.441Z] ---> Running in 276ebd66bee9 [2023-02-13T05:24:18.441Z] noop [2023-02-13T05:24:18.441Z] Removing intermediate container 276ebd66bee9 [2023-02-13T05:24:18.441Z] ---> 2f2b31bbb693 [2023-02-13T05:24:18.441Z] Successfully built 2f2b31bbb693 [2023-02-13T05:24:18.441Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T05:24:18.746Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-13T05:24:18.746Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T05:24:18.812Z] prd-ubuntu20.04-docker-8c-8g-5475 does not seem to be running inside a container [2023-02-13T05:24:18.844Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1313 -v /w/workspace/gexfoundry_device-sdk-go_PR-1313:/w/workspace/gexfoundry_device-sdk-go_PR-1313:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1313@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1313@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-13T05:24:19.213Z] $ docker top 2fb22d953c394bc36deb9cbd8fd8d85184c5fbc954a0bf80177dc012bf4b1d91 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-13T05:24:19.548Z] + go version [2023-02-13T05:24:19.548Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-13T05:24:19.563Z] $ docker stop --time=1 2fb22d953c394bc36deb9cbd8fd8d85184c5fbc954a0bf80177dc012bf4b1d91 [2023-02-13T05:24:20.845Z] $ docker rm -f --volumes 2fb22d953c394bc36deb9cbd8fd8d85184c5fbc954a0bf80177dc012bf4b1d91 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T05:24:21.247Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-13T05:24:21.247Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T05:24:21.321Z] prd-ubuntu20.04-docker-8c-8g-5475 does not seem to be running inside a container [2023-02-13T05:24:21.358Z] $ 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-1313 -v /w/workspace/gexfoundry_device-sdk-go_PR-1313:/w/workspace/gexfoundry_device-sdk-go_PR-1313:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1313@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1313@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-13T05:24:21.695Z] $ docker top e91e5817b67d9662f55c316ea8bc61028b045b284c704d56a1ce2670f91416a2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-13T05:24:22.034Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1313 [Pipeline] fileExists [Pipeline] sh [2023-02-13T05:24:22.327Z] + make test [2023-02-13T05:24:22.327Z] go test -race -coverprofile=coverage.out ./... [2023-02-13T05:24:28.884Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-13T05:24:41.073Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-13T05:24:41.073Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-13T05:24:41.073Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-13T05:24:41.073Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-13T05:24:41.073Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-13T05:24:41.073Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.055s coverage: 27.6% of statements [2023-02-13T05:24:41.073Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.071s coverage: 78.9% of statements [2023-02-13T05:24:41.074Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-13T05:24:41.074Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.098s coverage: 78.1% of statements [2023-02-13T05:24:41.074Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-13T05:24:41.074Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-13T05:24:41.074Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.107s coverage: 59.8% of statements [2023-02-13T05:24:41.074Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-13T05:24:41.074Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-02-13T05:24:41.074Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-13T05:24:41.074Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.097s coverage: 65.2% of statements [2023-02-13T05:24:41.074Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-13T05:24:41.074Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-13T05:24:41.074Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.724s coverage: 89.2% of statements [2023-02-13T05:24:41.074Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-13T05:24:41.074Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.055s coverage: 4.7% of statements [2023-02-13T05:24:41.074Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-13T05:24:55.939Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-02-13T05:24:55.940Z] GO111MODULE=on go vet ./... [2023-02-13T05:24:57.837Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-13T05:24:58.096Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-13T05:24:58.096Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-13T05:24:58.109Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-13T05:24:58.126Z] $ docker stop --time=1 e91e5817b67d9662f55c316ea8bc61028b045b284c704d56a1ce2670f91416a2 [2023-02-13T05:25:00.143Z] $ docker rm -f --volumes e91e5817b67d9662f55c316ea8bc61028b045b284c704d56a1ce2670f91416a2 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-13T05:25:00.618Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-13T05:25:00.677Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-13T05:25:01.180Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-13T05:25:01.465Z] + ls -al . [2023-02-13T05:25:01.465Z] total 272 [2023-02-13T05:25:01.465Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 13 05:24 . [2023-02-13T05:25:01.465Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 13 05:23 .. [2023-02-13T05:25:01.465Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 13 05:23 .dockerignore [2023-02-13T05:25:01.465Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 13 05:24 .git [2023-02-13T05:25:01.465Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 13 05:23 .github [2023-02-13T05:25:01.465Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 13 05:23 .gitignore [2023-02-13T05:25:01.465Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 13 05:23 .golangci.yml [2023-02-13T05:25:01.465Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 13 05:23 .semver [2023-02-13T05:25:01.465Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 13 05:23 CHANGELOG.md [2023-02-13T05:25:01.465Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 13 05:23 GOVERNANCE.md [2023-02-13T05:25:01.465Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 13 05:23 Jenkinsfile [2023-02-13T05:25:01.465Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 13 05:23 LICENSE [2023-02-13T05:25:01.465Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 13 05:23 Makefile [2023-02-13T05:25:01.465Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 13 05:23 OWNERS.md [2023-02-13T05:25:01.465Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 13 05:23 README.md [2023-02-13T05:25:01.465Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 13 05:23 VERSION [2023-02-13T05:25:01.465Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 13 05:23 bin [2023-02-13T05:25:01.465Z] -rw-r--r-- 1 jenkins jenkins 100850 Feb 13 05:24 coverage.out [2023-02-13T05:25:01.465Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 13 05:23 example [2023-02-13T05:25:01.465Z] -rw-rw-r-- 1 jenkins jenkins 3264 Feb 13 05:23 go.mod [2023-02-13T05:25:01.465Z] -rw-rw-r-- 1 jenkins jenkins 32817 Feb 13 05:23 go.sum [2023-02-13T05:25:01.465Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 13 05:23 internal [2023-02-13T05:25:01.465Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 05:23 openapi [2023-02-13T05:25:01.465Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 13 05:23 pkg [2023-02-13T05:25:01.465Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 13 05:23 snap [2023-02-13T05:25:01.465Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 13 05:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T05:25:01.767Z] + 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=72d5d3134c4876218ecc6c598e3670d2c0cd64d3 --label arch=amd64 --label version=0.0.0 . [2023-02-13T05:25:01.768Z] Sending build context to Docker daemon 10.65MB [2023-02-13T05:25:01.768Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-13T05:25:01.768Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-13T05:25:01.768Z] ---> 2f2b31bbb693 [2023-02-13T05:25:01.768Z] Step 3/23 : ARG MAKE=make build [2023-02-13T05:25:01.768Z] ---> Running in 845371fffc52 [2023-02-13T05:25:02.027Z] Removing intermediate container 845371fffc52 [2023-02-13T05:25:02.027Z] ---> 6e81299f6d94 [2023-02-13T05:25:02.027Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-13T05:25:02.027Z] ---> Running in bc2250576d8d [2023-02-13T05:25:02.027Z] Removing intermediate container bc2250576d8d [2023-02-13T05:25:02.027Z] ---> e4c5d885a27c [2023-02-13T05:25:02.027Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-13T05:25:02.027Z] ---> Running in 8b6394622f66 [2023-02-13T05:25:02.285Z] Removing intermediate container 8b6394622f66 [2023-02-13T05:25:02.285Z] ---> e28f3f1d6cae [2023-02-13T05:25:02.285Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-13T05:25:02.285Z] ---> Running in 6553e26fcc99 [2023-02-13T05:25:02.544Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-13T05:25:02.544Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-13T05:25:02.802Z] OK: 211 MiB in 51 packages [2023-02-13T05:25:03.059Z] Removing intermediate container 6553e26fcc99 [2023-02-13T05:25:03.059Z] ---> 17723c92fdb8 [2023-02-13T05:25:03.059Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-13T05:25:03.318Z] ---> f08decaa3f89 [2023-02-13T05:25:03.318Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-13T05:25:03.318Z] ---> Running in 5df3bdf81a43 [2023-02-13T05:25:04.254Z] Removing intermediate container 5df3bdf81a43 [2023-02-13T05:25:04.254Z] ---> 746ce1239076 [2023-02-13T05:25:04.254Z] Step 9/23 : COPY . . [2023-02-13T05:25:04.513Z] ---> 9e4de918e6e4 [2023-02-13T05:25:04.513Z] Step 10/23 : RUN ${MAKE} [2023-02-13T05:25:04.513Z] ---> Running in f4fe89a441b7 [2023-02-13T05:25:04.772Z] 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-02-13T05:25:21.736Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5476 in /w/workspace/gexfoundry_device-sdk-go_PR-1313 [Pipeline] { [Pipeline] ws [2023-02-13T05:25:21.750Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2023-02-13T05:25:21.788Z] The recommended git tool is: git [2023-02-13T05:25:22.850Z] Removing intermediate container f4fe89a441b7 [2023-02-13T05:25:22.850Z] ---> 725703a20a0a [2023-02-13T05:25:22.850Z] Step 11/23 : FROM alpine:3.16 [2023-02-13T05:25:22.850Z] 3.16: Pulling from library/alpine [2023-02-13T05:25:22.850Z] ef5531b6e74e: Pulling fs layer [2023-02-13T05:25:22.850Z] ef5531b6e74e: Verifying Checksum [2023-02-13T05:25:22.850Z] ef5531b6e74e: Download complete [2023-02-13T05:25:22.850Z] ef5531b6e74e: Pull complete [2023-02-13T05:25:22.850Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-13T05:25:22.850Z] Status: Downloaded newer image for alpine:3.16 [2023-02-13T05:25:22.850Z] ---> dfd21b5a31f5 [2023-02-13T05:25:22.850Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-13T05:25:22.850Z] ---> Running in bd62c98ff1cc [2023-02-13T05:25:22.850Z] Removing intermediate container bd62c98ff1cc [2023-02-13T05:25:22.850Z] ---> 58339c155558 [2023-02-13T05:25:22.850Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-13T05:25:22.850Z] ---> Running in a4218a1e11d7 [2023-02-13T05:25:23.107Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-13T05:25:23.364Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-13T05:25:23.622Z] OK: 6 MiB in 14 packages [2023-02-13T05:25:23.882Z] Removing intermediate container a4218a1e11d7 [2023-02-13T05:25:23.882Z] ---> c8d62e75c971 [2023-02-13T05:25:23.882Z] Step 14/23 : WORKDIR / [2023-02-13T05:25:23.882Z] ---> Running in b78704a11f4d [2023-02-13T05:25:23.882Z] Removing intermediate container b78704a11f4d [2023-02-13T05:25:23.882Z] ---> 62dbd8b40e83 [2023-02-13T05:25:23.882Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-13T05:25:24.139Z] ---> 04fa36f548d7 [2023-02-13T05:25:24.139Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-13T05:25:24.398Z] ---> 66f3c415d2d7 [2023-02-13T05:25:24.398Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-13T05:25:24.656Z] ---> 6c5e2d1d20d6 [2023-02-13T05:25:24.656Z] Step 18/23 : EXPOSE 59999 [2023-02-13T05:25:24.656Z] ---> Running in 6ffd3fbd1949 [2023-02-13T05:25:24.656Z] Removing intermediate container 6ffd3fbd1949 [2023-02-13T05:25:24.656Z] ---> f0ab353c1fc1 [2023-02-13T05:25:24.656Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-13T05:25:24.914Z] ---> Running in 13453a19318a [2023-02-13T05:25:24.914Z] Removing intermediate container 13453a19318a [2023-02-13T05:25:24.914Z] ---> 257d5f49dfc1 [2023-02-13T05:25:24.914Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-13T05:25:24.914Z] ---> Running in eb7c36d6cd24 [2023-02-13T05:25:24.914Z] Removing intermediate container eb7c36d6cd24 [2023-02-13T05:25:24.914Z] ---> 552522f77c5b [2023-02-13T05:25:24.914Z] Step 21/23 : LABEL arch=amd64 [2023-02-13T05:25:24.914Z] ---> Running in 76aec359e8b6 [2023-02-13T05:25:25.172Z] Removing intermediate container 76aec359e8b6 [2023-02-13T05:25:25.172Z] ---> 3563e791ed2f [2023-02-13T05:25:25.172Z] Step 22/23 : LABEL git_sha=72d5d3134c4876218ecc6c598e3670d2c0cd64d3 [2023-02-13T05:25:25.172Z] ---> Running in 527e647b2a27 [2023-02-13T05:25:25.172Z] Removing intermediate container 527e647b2a27 [2023-02-13T05:25:25.172Z] ---> 98b88a68fb7a [2023-02-13T05:25:25.172Z] Step 23/23 : LABEL version=0.0.0 [2023-02-13T05:25:25.172Z] ---> Running in 9dd8807af625 [2023-02-13T05:25:25.172Z] Removing intermediate container 9dd8807af625 [2023-02-13T05:25:25.172Z] ---> 3138a3f45b67 [2023-02-13T05:25:25.172Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-13T05:25:25.431Z] Successfully built 3138a3f45b67 [2023-02-13T05:25:25.431Z] 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-02-13T05:25:25.860Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-13T05:25:25.860Z] [2023-02-13T05:25:25.860Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T05:25:26.161Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-13T05:25:26.161Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-13T05:25:26.161Z] 5eb5b503b376: Pulling fs layer [2023-02-13T05:25:26.161Z] 5c69ac0246d0: Pulling fs layer [2023-02-13T05:25:26.161Z] ec43610c2a17: Pulling fs layer [2023-02-13T05:25:26.161Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-13T05:25:26.161Z] 33b1e0a273af: Pulling fs layer [2023-02-13T05:25:26.161Z] 5d3b04190fa2: Pulling fs layer [2023-02-13T05:25:26.161Z] 2f39f015ded8: Pulling fs layer [2023-02-13T05:25:26.161Z] 3a2ae6a8a46f: Waiting [2023-02-13T05:25:26.161Z] 33b1e0a273af: Waiting [2023-02-13T05:25:26.161Z] 5d3b04190fa2: Waiting [2023-02-13T05:25:26.161Z] 2f39f015ded8: Waiting [2023-02-13T05:25:26.161Z] 5c69ac0246d0: Verifying Checksum [2023-02-13T05:25:26.161Z] 5c69ac0246d0: Download complete [2023-02-13T05:25:26.161Z] 3a2ae6a8a46f: Download complete [2023-02-13T05:25:26.425Z] 33b1e0a273af: Verifying Checksum [2023-02-13T05:25:26.425Z] 33b1e0a273af: Download complete [2023-02-13T05:25:26.425Z] 5d3b04190fa2: Verifying Checksum [2023-02-13T05:25:26.425Z] 5d3b04190fa2: Download complete [2023-02-13T05:25:26.425Z] ec43610c2a17: Verifying Checksum [2023-02-13T05:25:26.425Z] ec43610c2a17: Download complete [2023-02-13T05:25:26.683Z] 5eb5b503b376: Verifying Checksum [2023-02-13T05:25:26.683Z] 5eb5b503b376: Download complete [2023-02-13T05:25:26.898Z] using credential edgex-jenkins-ssh [2023-02-13T05:25:26.921Z] Cloning the remote Git repository [2023-02-13T05:25:27.247Z] 2f39f015ded8: Download complete [2023-02-13T05:25:27.812Z] 5eb5b503b376: Pull complete [2023-02-13T05:25:27.812Z] 5c69ac0246d0: Pull complete [2023-02-13T05:25:26.964Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-02-13T05:25:27.040Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2023-02-13T05:25:27.199Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-13T05:25:27.200Z] > git --version # timeout=10 [2023-02-13T05:25:27.220Z] > git --version # 'git version 2.25.1' [2023-02-13T05:25:27.222Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-13T05:25:27.284Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-13T05:25:28.378Z] ec43610c2a17: Pull complete [2023-02-13T05:25:28.378Z] 3a2ae6a8a46f: Pull complete [2023-02-13T05:25:28.378Z] 33b1e0a273af: Pull complete [2023-02-13T05:25:28.636Z] 5d3b04190fa2: Pull complete [2023-02-13T05:25:28.892Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-13T05:25:28.929Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-13T05:25:29.800Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-13T05:25:29.843Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-13T05:25:29.844Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-13T05:25:29.858Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1313/head:refs/remotes/origin/PR-1313 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-13T05:25:30.575Z] Merging remotes/origin/main commit d7de237c874a90e81091b377f7571cc3981ed0ab into PR head commit 72d5d3134c4876218ecc6c598e3670d2c0cd64d3 [2023-02-13T05:25:30.831Z] Merge succeeded, producing 72d5d3134c4876218ecc6c598e3670d2c0cd64d3 [2023-02-13T05:25:30.832Z] Checking out Revision 72d5d3134c4876218ecc6c598e3670d2c0cd64d3 (PR-1313) [2023-02-13T05:25:30.595Z] > git config core.sparsecheckout # timeout=10 [2023-02-13T05:25:30.616Z] > git checkout -f 72d5d3134c4876218ecc6c598e3670d2c0cd64d3 # timeout=10 [2023-02-13T05:25:30.722Z] > git remote # timeout=10 [2023-02-13T05:25:30.739Z] > git config --get remote.origin.url # timeout=10 [2023-02-13T05:25:30.761Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-13T05:25:30.776Z] > git merge d7de237c874a90e81091b377f7571cc3981ed0ab # timeout=10 [2023-02-13T05:25:30.806Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-13T05:25:30.840Z] > git config core.sparsecheckout # timeout=10 [2023-02-13T05:25:30.856Z] > git checkout -f 72d5d3134c4876218ecc6c598e3670d2c0cd64d3 # timeout=10 [2023-02-13T05:25:32.822Z] 2f39f015ded8: Pull complete [2023-02-13T05:25:32.822Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-13T05:25:32.822Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-13T05:25:32.822Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T05:25:32.907Z] prd-ubuntu20.04-docker-8c-8g-5475 does not seem to be running inside a container [2023-02-13T05:25:32.941Z] $ 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-1313 -v /w/workspace/gexfoundry_device-sdk-go_PR-1313:/w/workspace/gexfoundry_device-sdk-go_PR-1313:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1313@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1313@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-13T05:25:34.299Z] $ docker top 65eec74c7638211eb217bd33f97891672a4d833991d5ba81da7dd4429945af15 -eo pid,comm [Pipeline] { [2023-02-13T05:25:34.367Z] Commit message: "feat!: add an additional level in event publish topic" [Pipeline] libraryResource [Pipeline] sh [2023-02-13T05:25:34.690Z] [2023-02-13T05:25:34.690Z] GitHub has been notified of this commit’s build result [2023-02-13T05:25:34.690Z] [2023-02-13T05:25:34.694Z] ---> job-cost.sh [2023-02-13T05:25:34.694Z] lf-activate-venv: SKIPPING [2023-02-13T05:25:34.694Z] INFO: No Stack... [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-13T05:25:34.953Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-13T05:25:35.211Z] INFO: Archiving Costs [Pipeline] sh [2023-02-13T05:25:35.224Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-13T05:25:35.224Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-13T05:25:35.224Z] Dload Upload Total Spent Left Speed [2023-02-13T05:25:35.224Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 105k 0 --:--:-- --:--:-- --:--:-- 105k [2023-02-13T05:25:35.506Z] + + cut -d, -f6 [2023-02-13T05:25:35.506Z] cat /w/workspace/gexfoundry_device-sdk-go_PR-1313/archives/cost.csv [Pipeline] lock [2023-02-13T05:25:35.522Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1313-2-stack-cost] [2023-02-13T05:25:35.533Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1313-2-stack-cost] did not exist. Created. [2023-02-13T05:25:35.533Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1313-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [Pipeline] sh [2023-02-13T05:25:35.831Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-13T05:25:35.854Z] Stashed 1 file(s) [Pipeline] } [2023-02-13T05:25:35.859Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1313-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-13T05:25:35.882Z] $ docker stop --time=1 65eec74c7638211eb217bd33f97891672a4d833991d5ba81da7dd4429945af15 [2023-02-13T05:25:35.974Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [2023-02-13T05:25:37.016Z] $ docker rm -f --volumes 65eec74c7638211eb217bd33f97891672a4d833991d5ba81da7dd4429945af15 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-13T05:25:37.382Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-13T05:25:37.382Z] + sudo tee /etc/docker/daemon.new [2023-02-13T05:25:37.382Z] { [2023-02-13T05:25:37.382Z] "registry-mirrors": [ [2023-02-13T05:25:37.382Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-13T05:25:37.382Z] ], [2023-02-13T05:25:37.382Z] "bip": "10.250.0.254/24", [2023-02-13T05:25:37.382Z] "hosts": [ [2023-02-13T05:25:37.382Z] "tcp://0.0.0.0:5555", [2023-02-13T05:25:37.382Z] "unix:///var/run/docker.sock" [2023-02-13T05:25:37.382Z] ], [2023-02-13T05:25:37.382Z] "mtu": 1458, [2023-02-13T05:25:37.382Z] "selinux-enabled": true, [2023-02-13T05:25:37.382Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-13T05:25:37.382Z] } [Pipeline] sh [2023-02-13T05:25:37.720Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-13T05:25:38.057Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-13T05:25:56.313Z] provisioning config files... [2023-02-13T05:25:56.337Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config6977879130998976295tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-13T05:25:56.682Z] ---> docker-login.sh [2023-02-13T05:25:56.682Z] nexus3.edgexfoundry.org:10001 [2023-02-13T05:25:56.949Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T05:25:57.217Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T05:25:57.217Z] Configure a credential helper to remove this warning. See [2023-02-13T05:25:57.217Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T05:25:57.217Z] [2023-02-13T05:25:57.217Z] Login Succeeded [2023-02-13T05:25:57.217Z] nexus3.edgexfoundry.org:10002 [2023-02-13T05:25:57.486Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T05:25:57.756Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T05:25:57.756Z] Configure a credential helper to remove this warning. See [2023-02-13T05:25:57.756Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T05:25:57.756Z] [2023-02-13T05:25:57.756Z] Login Succeeded [2023-02-13T05:25:57.756Z] nexus3.edgexfoundry.org:10003 [2023-02-13T05:25:58.027Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T05:25:58.027Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T05:25:58.027Z] Configure a credential helper to remove this warning. See [2023-02-13T05:25:58.028Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T05:25:58.028Z] [2023-02-13T05:25:58.028Z] Login Succeeded [2023-02-13T05:25:58.028Z] nexus3.edgexfoundry.org:10004 [2023-02-13T05:25:58.301Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T05:25:58.301Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T05:25:58.301Z] Configure a credential helper to remove this warning. See [2023-02-13T05:25:58.301Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T05:25:58.301Z] [2023-02-13T05:25:58.301Z] Login Succeeded [2023-02-13T05:25:58.301Z] docker.io [2023-02-13T05:25:58.571Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T05:25:58.839Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T05:25:58.839Z] Configure a credential helper to remove this warning. See [2023-02-13T05:25:58.839Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T05:25:58.839Z] [2023-02-13T05:25:58.839Z] Login Succeeded [2023-02-13T05:25:58.839Z] ---> docker-login.sh ends [Pipeline] } [2023-02-13T05:25:58.853Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-13T05:25:59.098Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-13T05:25:59.114Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-13T05:25:59.125Z] ========================================================= [2023-02-13T05:25:59.125Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-13T05:25:59.125Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T05:25:59.464Z] + 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.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-13T05:25:59.732Z] Sending build context to Docker daemon 5.68MB [2023-02-13T05:25:59.732Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-13T05:25:59.732Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-13T05:26:00.002Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-13T05:26:00.002Z] 9b18e9b68314: Pulling fs layer [2023-02-13T05:26:00.002Z] 35d82f9e3411: Pulling fs layer [2023-02-13T05:26:00.002Z] e16973657156: Pulling fs layer [2023-02-13T05:26:00.002Z] fc693d55d65f: Pulling fs layer [2023-02-13T05:26:00.002Z] 7e9fc2657dce: Pulling fs layer [2023-02-13T05:26:00.002Z] dda99020689f: Pulling fs layer [2023-02-13T05:26:00.002Z] db1c61fa0a46: Pulling fs layer [2023-02-13T05:26:00.002Z] 891c053d2c06: Pulling fs layer [2023-02-13T05:26:00.002Z] dda99020689f: Waiting [2023-02-13T05:26:00.002Z] db1c61fa0a46: Waiting [2023-02-13T05:26:00.002Z] 891c053d2c06: Waiting [2023-02-13T05:26:00.002Z] fc693d55d65f: Waiting [2023-02-13T05:26:00.002Z] 7e9fc2657dce: Waiting [2023-02-13T05:26:00.002Z] e16973657156: Download complete [2023-02-13T05:26:00.002Z] 35d82f9e3411: Download complete [2023-02-13T05:26:00.002Z] 7e9fc2657dce: Download complete [2023-02-13T05:26:00.002Z] 9b18e9b68314: Verifying Checksum [2023-02-13T05:26:00.002Z] 9b18e9b68314: Download complete [2023-02-13T05:26:00.274Z] dda99020689f: Verifying Checksum [2023-02-13T05:26:00.274Z] dda99020689f: Download complete [2023-02-13T05:26:01.250Z] 9b18e9b68314: Pull complete [2023-02-13T05:26:01.250Z] 891c053d2c06: Verifying Checksum [2023-02-13T05:26:01.250Z] 891c053d2c06: Download complete [2023-02-13T05:26:01.529Z] 35d82f9e3411: Pull complete [2023-02-13T05:26:02.119Z] e16973657156: Pull complete [2023-02-13T05:26:02.390Z] db1c61fa0a46: Verifying Checksum [2023-02-13T05:26:02.390Z] db1c61fa0a46: Download complete [2023-02-13T05:26:02.975Z] fc693d55d65f: Verifying Checksum [2023-02-13T05:26:02.975Z] fc693d55d65f: Download complete [2023-02-13T05:26:15.304Z] fc693d55d65f: Pull complete [2023-02-13T05:26:15.304Z] 7e9fc2657dce: Pull complete [2023-02-13T05:26:15.304Z] dda99020689f: Pull complete [2023-02-13T05:26:21.991Z] db1c61fa0a46: Pull complete [2023-02-13T05:26:24.654Z] 891c053d2c06: Pull complete [2023-02-13T05:26:24.654Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-13T05:26:24.923Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-13T05:26:24.923Z] ---> f96f9c87975a [2023-02-13T05:26:24.923Z] Step 3/10 : ARG MAKE=make build [2023-02-13T05:26:26.868Z] ---> Running in 4f90687c9ff7 [2023-02-13T05:26:26.868Z] Removing intermediate container 4f90687c9ff7 [2023-02-13T05:26:26.868Z] ---> 0b14d9ddca00 [2023-02-13T05:26:26.868Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-13T05:26:26.868Z] ---> Running in b55ab357efa3 [2023-02-13T05:26:27.135Z] Removing intermediate container b55ab357efa3 [2023-02-13T05:26:27.135Z] ---> 3cd7e685aa45 [2023-02-13T05:26:27.135Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-13T05:26:27.135Z] ---> Running in 2d7473e51c40 [2023-02-13T05:26:27.720Z] Removing intermediate container 2d7473e51c40 [2023-02-13T05:26:27.720Z] ---> 62e2b4faa66c [2023-02-13T05:26:27.720Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-13T05:26:27.720Z] ---> Running in 8a93bf491419 [2023-02-13T05:26:28.681Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-13T05:26:28.947Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-13T05:26:29.907Z] OK: 221 MiB in 51 packages [2023-02-13T05:26:30.872Z] Removing intermediate container 8a93bf491419 [2023-02-13T05:26:30.872Z] ---> d73b66abc75a [2023-02-13T05:26:30.872Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-13T05:26:31.458Z] ---> 8a761dd6a468 [2023-02-13T05:26:31.458Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-13T05:26:31.458Z] ---> Running in 071e1414f425 [2023-02-13T05:27:39.353Z] Removing intermediate container 071e1414f425 [2023-02-13T05:27:39.353Z] ---> ea0ef9d2a78a [2023-02-13T05:27:39.353Z] Step 9/10 : COPY . . [2023-02-13T05:27:39.353Z] ---> 85f2245d9e01 [2023-02-13T05:27:39.353Z] Step 10/10 : RUN ${MAKE} [2023-02-13T05:27:39.353Z] ---> Running in 57ce0c3fcbf7 [2023-02-13T05:27:39.353Z] noop [2023-02-13T05:27:39.353Z] Removing intermediate container 57ce0c3fcbf7 [2023-02-13T05:27:39.353Z] ---> 368d004ef75e [2023-02-13T05:27:39.353Z] Successfully built 368d004ef75e [2023-02-13T05:27:39.353Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T05:27:39.706Z] + docker inspect -f . ci-base-image-arm64 [2023-02-13T05:27:39.706Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T05:27:39.907Z] prd-ubuntu20.04-docker-arm64-4c-16g-5476 does not seem to be running inside a container [2023-02-13T05:27:39.969Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-13T05:27:41.187Z] $ docker top 661663f2ac2748116b3b30e4d0b80085880541a4ae031e128b85b87b30e955fa -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-13T05:27:42.004Z] + go version [2023-02-13T05:27:42.004Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-13T05:27:42.025Z] $ docker stop --time=1 661663f2ac2748116b3b30e4d0b80085880541a4ae031e128b85b87b30e955fa [2023-02-13T05:27:43.682Z] $ docker rm -f --volumes 661663f2ac2748116b3b30e4d0b80085880541a4ae031e128b85b87b30e955fa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T05:27:44.228Z] + docker inspect -f . ci-base-image-arm64 [2023-02-13T05:27:44.229Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T05:27:44.408Z] prd-ubuntu20.04-docker-arm64-4c-16g-5476 does not seem to be running inside a container [2023-02-13T05:27:44.470Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-13T05:27:45.627Z] $ docker top 601506a1e9610bf8ca3af98e64b2febe272bcca7c72e9cc891401ebde370f8d6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-13T05:27:46.457Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh [2023-02-13T05:27:46.789Z] + make test [2023-02-13T05:27:47.057Z] go test -race -coverprofile=coverage.out ./... [2023-02-13T05:28:19.295Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-13T05:30:10.958Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-13T05:30:10.958Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-13T05:30:10.958Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-13T05:30:10.958Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-13T05:30:10.958Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-13T05:30:13.541Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.349s coverage: 27.6% of statements [2023-02-13T05:30:14.950Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.365s coverage: 78.9% of statements [2023-02-13T05:30:14.950Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-13T05:30:23.170Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.394s coverage: 78.1% of statements [2023-02-13T05:30:23.170Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-13T05:30:23.170Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-13T05:30:25.120Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.495s coverage: 59.8% of statements [2023-02-13T05:30:25.120Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-13T05:30:25.120Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-02-13T05:30:25.120Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-13T05:30:25.120Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.444s coverage: 65.2% of statements [2023-02-13T05:30:25.120Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-13T05:30:25.120Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-13T05:30:26.081Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.435s coverage: 89.2% of statements [2023-02-13T05:30:26.082Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-13T05:30:26.082Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.335s coverage: 4.7% of statements [2023-02-13T05:30:26.082Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-13T05:30:26.673Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-13T05:30:26.673Z] GO111MODULE=on go vet ./... [2023-02-13T05:32:03.368Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-13T05:32:03.368Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-13T05:32:03.368Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-13T05:32:03.387Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-13T05:32:03.396Z] $ docker stop --time=1 601506a1e9610bf8ca3af98e64b2febe272bcca7c72e9cc891401ebde370f8d6 [2023-02-13T05:32:06.361Z] $ docker rm -f --volumes 601506a1e9610bf8ca3af98e64b2febe272bcca7c72e9cc891401ebde370f8d6 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-13T05:32:07.695Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-13T05:32:07.718Z] Warning: overwriting stash ‘coverage-report’ [2023-02-13T05:32:08.221Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-13T05:32:08.589Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-13T05:32:08.967Z] + ls -al . [2023-02-13T05:32:08.967Z] total 268 [2023-02-13T05:32:08.967Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 13 05:27 . [2023-02-13T05:32:08.967Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 13 05:25 .. [2023-02-13T05:32:08.967Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 13 05:25 .dockerignore [2023-02-13T05:32:08.967Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 13 05:25 .git [2023-02-13T05:32:08.967Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 13 05:25 .github [2023-02-13T05:32:08.967Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 13 05:25 .gitignore [2023-02-13T05:32:08.967Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 13 05:25 .golangci.yml [2023-02-13T05:32:08.967Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 13 05:25 CHANGELOG.md [2023-02-13T05:32:08.967Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 13 05:25 GOVERNANCE.md [2023-02-13T05:32:08.967Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 13 05:25 Jenkinsfile [2023-02-13T05:32:08.967Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 13 05:25 LICENSE [2023-02-13T05:32:08.967Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 13 05:25 Makefile [2023-02-13T05:32:08.967Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 13 05:25 OWNERS.md [2023-02-13T05:32:08.967Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 13 05:25 README.md [2023-02-13T05:32:08.967Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 13 05:23 VERSION [2023-02-13T05:32:08.967Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 13 05:25 bin [2023-02-13T05:32:08.967Z] -rw-r--r-- 1 jenkins jenkins 100851 Feb 13 05:30 coverage.out [2023-02-13T05:32:08.967Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 13 05:25 example [2023-02-13T05:32:08.967Z] -rw-rw-r-- 1 jenkins jenkins 3264 Feb 13 05:25 go.mod [2023-02-13T05:32:08.967Z] -rw-rw-r-- 1 jenkins jenkins 32817 Feb 13 05:25 go.sum [2023-02-13T05:32:08.967Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 13 05:25 internal [2023-02-13T05:32:08.967Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 05:25 openapi [2023-02-13T05:32:08.967Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 13 05:25 pkg [2023-02-13T05:32:08.967Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 13 05:25 snap [2023-02-13T05:32:08.967Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 13 05:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T05:32:09.329Z] + 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=72d5d3134c4876218ecc6c598e3670d2c0cd64d3 --label arch=arm64 --label version=0.0.0 . [2023-02-13T05:32:09.610Z] Sending build context to Docker daemon 5.782MB [2023-02-13T05:32:09.610Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-13T05:32:09.610Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-13T05:32:09.610Z] ---> 368d004ef75e [2023-02-13T05:32:09.610Z] Step 3/23 : ARG MAKE=make build [2023-02-13T05:32:09.881Z] ---> Running in f21180275df3 [2023-02-13T05:32:10.154Z] Removing intermediate container f21180275df3 [2023-02-13T05:32:10.154Z] ---> 2862083b4e49 [2023-02-13T05:32:10.154Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-13T05:32:10.428Z] ---> Running in 6f394de3c291 [2023-02-13T05:32:10.698Z] Removing intermediate container 6f394de3c291 [2023-02-13T05:32:10.698Z] ---> b6e0d1ee8add [2023-02-13T05:32:10.698Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-13T05:32:10.698Z] ---> Running in b23bf9c7df2e [2023-02-13T05:32:10.977Z] Removing intermediate container b23bf9c7df2e [2023-02-13T05:32:10.977Z] ---> bde047d21d1b [2023-02-13T05:32:10.977Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-13T05:32:10.977Z] ---> Running in e09c2de92335 [2023-02-13T05:32:12.500Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-13T05:32:12.500Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-13T05:32:13.467Z] OK: 221 MiB in 51 packages [2023-02-13T05:32:14.432Z] Removing intermediate container e09c2de92335 [2023-02-13T05:32:14.432Z] ---> 689ebf6acd34 [2023-02-13T05:32:14.432Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-13T05:32:15.021Z] ---> 31fe64474815 [2023-02-13T05:32:15.021Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-13T05:32:15.021Z] ---> Running in 980d857dfe60 [2023-02-13T05:32:18.373Z] Removing intermediate container 980d857dfe60 [2023-02-13T05:32:18.373Z] ---> 40651b4a26ca [2023-02-13T05:32:18.373Z] Step 9/23 : COPY . . [2023-02-13T05:32:19.791Z] ---> 65bb0acce066 [2023-02-13T05:32:19.791Z] Step 10/23 : RUN ${MAKE} [2023-02-13T05:32:19.791Z] ---> Running in f957bec726f6 [2023-02-13T05:32:20.756Z] 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-02-13T05:34:27.443Z] Removing intermediate container f957bec726f6 [2023-02-13T05:34:27.443Z] ---> 4ebacc82f266 [2023-02-13T05:34:27.443Z] Step 11/23 : FROM alpine:3.16 [2023-02-13T05:34:27.443Z] 3.16: Pulling from library/alpine [2023-02-13T05:34:27.443Z] 3760b48202b3: Pulling fs layer [2023-02-13T05:34:27.443Z] 3760b48202b3: Verifying Checksum [2023-02-13T05:34:27.443Z] 3760b48202b3: Download complete [2023-02-13T05:34:27.443Z] 3760b48202b3: Pull complete [2023-02-13T05:34:27.443Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-13T05:34:27.443Z] Status: Downloaded newer image for alpine:3.16 [2023-02-13T05:34:27.443Z] ---> 4c81e5bf8899 [2023-02-13T05:34:27.443Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-13T05:34:27.443Z] ---> Running in 03c38e9719c7 [2023-02-13T05:34:27.443Z] Removing intermediate container 03c38e9719c7 [2023-02-13T05:34:27.443Z] ---> e296767d2140 [2023-02-13T05:34:27.443Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-13T05:34:27.443Z] ---> Running in bfa1a51ac538 [2023-02-13T05:34:27.443Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-13T05:34:27.443Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-13T05:34:27.443Z] OK: 5 MiB in 14 packages [2023-02-13T05:34:27.443Z] Removing intermediate container bfa1a51ac538 [2023-02-13T05:34:27.443Z] ---> 91c22be1f8bf [2023-02-13T05:34:27.443Z] Step 14/23 : WORKDIR / [2023-02-13T05:34:27.443Z] ---> Running in c6b705971b38 [2023-02-13T05:34:27.443Z] Removing intermediate container c6b705971b38 [2023-02-13T05:34:27.443Z] ---> 788f701856cc [2023-02-13T05:34:27.443Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-13T05:34:27.443Z] ---> 4a87219ecfc9 [2023-02-13T05:34:27.443Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-13T05:34:27.443Z] ---> e06c20545d4a [2023-02-13T05:34:27.443Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-13T05:34:27.443Z] ---> d3c6dbbc80b4 [2023-02-13T05:34:27.443Z] Step 18/23 : EXPOSE 59999 [2023-02-13T05:34:27.443Z] ---> Running in 704617391d58 [2023-02-13T05:34:27.443Z] Removing intermediate container 704617391d58 [2023-02-13T05:34:27.443Z] ---> 3609797fa29e [2023-02-13T05:34:27.443Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-13T05:34:27.443Z] ---> Running in e475620e5805 [2023-02-13T05:34:27.443Z] Removing intermediate container e475620e5805 [2023-02-13T05:34:27.443Z] ---> 82f720aedf86 [2023-02-13T05:34:27.443Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-13T05:34:27.443Z] ---> Running in 0181de155a22 [2023-02-13T05:34:27.443Z] Removing intermediate container 0181de155a22 [2023-02-13T05:34:27.443Z] ---> b8b5d6c8309c [2023-02-13T05:34:27.443Z] Step 21/23 : LABEL arch=arm64 [2023-02-13T05:34:27.443Z] ---> Running in e804c58fa95f [2023-02-13T05:34:27.443Z] Removing intermediate container e804c58fa95f [2023-02-13T05:34:27.443Z] ---> d94d902db252 [2023-02-13T05:34:27.443Z] Step 22/23 : LABEL git_sha=72d5d3134c4876218ecc6c598e3670d2c0cd64d3 [2023-02-13T05:34:27.443Z] ---> Running in e576cf8bde0e [2023-02-13T05:34:27.443Z] Removing intermediate container e576cf8bde0e [2023-02-13T05:34:27.443Z] ---> 8c37b55ef284 [2023-02-13T05:34:27.443Z] Step 23/23 : LABEL version=0.0.0 [2023-02-13T05:34:27.443Z] ---> Running in 50189c11f8d4 [2023-02-13T05:34:27.708Z] Removing intermediate container 50189c11f8d4 [2023-02-13T05:34:27.708Z] ---> 24b3bf0dc425 [2023-02-13T05:34:27.708Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-13T05:34:27.708Z] Successfully built 24b3bf0dc425 [2023-02-13T05:34:27.708Z] 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-02-13T05:34:28.124Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-13T05:34:28.124Z] [2023-02-13T05:34:28.124Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T05:34:28.451Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-13T05:34:28.451Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-13T05:34:28.451Z] 8998bd30e6a1: Pulling fs layer [2023-02-13T05:34:28.451Z] 04944245beec: Pulling fs layer [2023-02-13T05:34:28.451Z] 699f458cf7ca: Pulling fs layer [2023-02-13T05:34:28.451Z] 765212b225bb: Pulling fs layer [2023-02-13T05:34:28.451Z] f23df028b6ca: Pulling fs layer [2023-02-13T05:34:28.451Z] d65c8cfc05b1: Pulling fs layer [2023-02-13T05:34:28.451Z] 2437ff75d9bd: Pulling fs layer [2023-02-13T05:34:28.451Z] 765212b225bb: Waiting [2023-02-13T05:34:28.451Z] f23df028b6ca: Waiting [2023-02-13T05:34:28.451Z] d65c8cfc05b1: Waiting [2023-02-13T05:34:28.451Z] 2437ff75d9bd: Waiting [2023-02-13T05:34:28.722Z] 04944245beec: Verifying Checksum [2023-02-13T05:34:28.722Z] 04944245beec: Download complete [2023-02-13T05:34:28.722Z] 765212b225bb: Verifying Checksum [2023-02-13T05:34:28.722Z] 765212b225bb: Download complete [2023-02-13T05:34:28.722Z] f23df028b6ca: Download complete [2023-02-13T05:34:28.722Z] d65c8cfc05b1: Verifying Checksum [2023-02-13T05:34:28.722Z] d65c8cfc05b1: Download complete [2023-02-13T05:34:28.991Z] 699f458cf7ca: Download complete [2023-02-13T05:34:29.260Z] 8998bd30e6a1: Verifying Checksum [2023-02-13T05:34:29.260Z] 8998bd30e6a1: Download complete [2023-02-13T05:34:31.850Z] 2437ff75d9bd: Download complete [2023-02-13T05:34:33.254Z] 8998bd30e6a1: Pull complete [2023-02-13T05:34:33.836Z] 04944245beec: Pull complete [2023-02-13T05:34:34.792Z] 699f458cf7ca: Pull complete [2023-02-13T05:34:35.060Z] 765212b225bb: Pull complete [2023-02-13T05:34:35.641Z] f23df028b6ca: Pull complete [2023-02-13T05:34:35.907Z] d65c8cfc05b1: Pull complete [2023-02-13T05:34:48.192Z] 2437ff75d9bd: Pull complete [2023-02-13T05:34:48.192Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-13T05:34:48.192Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-13T05:34:48.192Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T05:34:48.358Z] prd-ubuntu20.04-docker-arm64-4c-16g-5476 does not seem to be running inside a container [2023-02-13T05:34:48.414Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-13T05:34:50.867Z] $ docker top 7204d7a61c1daae67d196232def5af6866001dcafa564b7db676c71e6a6d5bdd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-13T05:34:51.355Z] ---> job-cost.sh [2023-02-13T05:34:51.622Z] lf-activate-venv: SKIPPING [2023-02-13T05:34:51.622Z] INFO: No Stack... [2023-02-13T05:34:51.888Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-13T05:34:52.842Z] INFO: Archiving Costs [Pipeline] sh [2023-02-13T05:34:53.162Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2023-02-13T05:34:53.162Z] + cut -d, -f6 [Pipeline] lock [2023-02-13T05:34:53.220Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1313-2-stack-cost] [2023-02-13T05:34:53.235Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1313-2-stack-cost] did not exist. Created. [2023-02-13T05:34:53.235Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1313-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-13T05:34:53.881Z] /w/workspace/device-sdk-go/2@tmp/durable-02739b91/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-13T05:34:54.211Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-13T05:34:54.227Z] Warning: overwriting stash ‘stack-cost’ [2023-02-13T05:34:54.286Z] Stashed 1 file(s) [Pipeline] } [2023-02-13T05:34:54.295Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1313-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-13T05:34:54.308Z] $ docker stop --time=1 7204d7a61c1daae67d196232def5af6866001dcafa564b7db676c71e6a6d5bdd [2023-02-13T05:34:55.763Z] $ docker rm -f --volumes 7204d7a61c1daae67d196232def5af6866001dcafa564b7db676c71e6a6d5bdd [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-02-13T05:34:56.146Z] provisioning config files... [2023-02-13T05:34:56.152Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1313@tmp/config18056369736736922147tmp [Pipeline] { [Pipeline] sh [2023-02-13T05:34:56.435Z] + set +x [2023-02-13T05:34:56.435Z] + curl -s https://codecov.io/bash [2023-02-13T05:34:56.435Z] + bash -s -- [2023-02-13T05:34:56.435Z] [2023-02-13T05:34:56.435Z] _____ _ [2023-02-13T05:34:56.435Z] / ____| | | [2023-02-13T05:34:56.435Z] | | ___ __| | ___ ___ _____ __ [2023-02-13T05:34:56.435Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-13T05:34:56.435Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-13T05:34:56.435Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-13T05:34:56.435Z] Bash-1.0.6 [2023-02-13T05:34:56.435Z] [2023-02-13T05:34:56.435Z] [2023-02-13T05:34:56.435Z] ==> git version 2.25.1 found [2023-02-13T05:34:56.435Z] ==> 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-02-13T05:34:56.435Z] Release-Date: 2020-01-08 [2023-02-13T05:34:56.435Z] 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-02-13T05:34:56.435Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-13T05:34:56.435Z] ==> Jenkins CI detected. [2023-02-13T05:34:56.435Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1313 [2023-02-13T05:34:56.435Z] project root: . [2023-02-13T05:34:56.435Z] --> token set from env [2023-02-13T05:34:56.435Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-13T05:34:56.435Z] ==> Running gcov in . (disable via -X gcov) [2023-02-13T05:34:56.435Z] ==> Python coveragepy not found [2023-02-13T05:34:56.435Z] ==> Searching for coverage reports in: [2023-02-13T05:34:56.435Z] + . [2023-02-13T05:34:56.435Z] -> Found 1 reports [2023-02-13T05:34:56.435Z] ==> Detecting git/mercurial file structure [2023-02-13T05:34:56.694Z] ==> Reading reports [2023-02-13T05:34:56.694Z] + ./coverage.out bytes=100851 [2023-02-13T05:34:56.694Z] ==> Appending adjustments [2023-02-13T05:34:56.694Z] https://docs.codecov.io/docs/fixing-reports [2023-02-13T05:34:56.953Z] + Found adjustments [2023-02-13T05:34:56.953Z] ==> Gzipping contents [2023-02-13T05:34:56.953Z] 16K /tmp/codecov.bWz6GP.gz [2023-02-13T05:34:56.953Z] ==> Uploading reports [2023-02-13T05:34:56.953Z] url: https://codecov.io [2023-02-13T05:34:56.954Z] query: branch=PR-1313&commit=72d5d3134c4876218ecc6c598e3670d2c0cd64d3&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1313%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1313&job=&cmd_args= [2023-02-13T05:34:56.954Z] -> Pinging Codecov [2023-02-13T05:34:56.954Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1313&commit=72d5d3134c4876218ecc6c598e3670d2c0cd64d3&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1313%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1313&job=&cmd_args= [2023-02-13T05:34:57.521Z] -> Uploading to [2023-02-13T05:34:57.521Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-13/7E55EF52A471D76F132DFD9A03CDDE97/72d5d3134c4876218ecc6c598e3670d2c0cd64d3/25a1c490-e700-46d4-a714-cc2978d904ef.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230213%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230213T053457Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=48f1d23eb3df43476abe3ba41f72df753a77c1b71d4450629da03b169cbd281d [2023-02-13T05:34:57.521Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-13T05:34:57.521Z] Dload Upload Total Spent Left Speed [2023-02-13T05:34:57.780Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14543 0 0 100 14543 0 49975 --:--:-- --:--:-- --:--:-- 49804 100 14543 0 0 100 14543 0 49975 --:--:-- --:--:-- --:--:-- 49804 [2023-02-13T05:34:57.780Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/72d5d3134c4876218ecc6c598e3670d2c0cd64d3 [Pipeline] } [2023-02-13T05:34:57.787Z] 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-02-13T05:34:58.515Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1313/archives ] [2023-02-13T05:34:58.515Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1313/archives [2023-02-13T05:34:58.515Z] total 16 [2023-02-13T05:34:58.515Z] drwxr-xr-x 3 root root 4096 Feb 13 05:25 . [2023-02-13T05:34:58.515Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 13 05:25 .. [2023-02-13T05:34:58.515Z] drwxr-xr-x 2 root root 4096 Feb 13 05:25 cost [2023-02-13T05:34:58.515Z] -rw-r--r-- 1 root root 86 Feb 13 05:25 cost.csv [2023-02-13T05:34:58.515Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1313/archives [2023-02-13T05:34:58.515Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1313/archives [2023-02-13T05:34:58.515Z] total 16 [2023-02-13T05:34:58.515Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 13 05:25 . [2023-02-13T05:34:58.515Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 13 05:25 .. [2023-02-13T05:34:58.515Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 13 05:25 cost [2023-02-13T05:34:58.515Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 13 05:25 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-13T05:34:58.804Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-13T05:34:59.654Z] ---> package-listing.sh [2023-02-13T05:34:59.654Z] ++ facter osfamily [2023-02-13T05:34:59.654Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-13T05:34:59.912Z] + OS_FAMILY=debian [2023-02-13T05:34:59.912Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1313 [2023-02-13T05:34:59.912Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-13T05:34:59.912Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-13T05:34:59.912Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-13T05:34:59.912Z] + PACKAGES=/tmp/packages_start.txt [2023-02-13T05:34:59.912Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1313 ']' [2023-02-13T05:34:59.912Z] + PACKAGES=/tmp/packages_end.txt [2023-02-13T05:34:59.912Z] + case "${OS_FAMILY}" in [2023-02-13T05:34:59.912Z] + dpkg -l [2023-02-13T05:34:59.912Z] + grep '^ii' [2023-02-13T05:34:59.912Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-13T05:34:59.912Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-13T05:34:59.912Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-13T05:34:59.912Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1313 ']' [2023-02-13T05:34:59.912Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1313/archives/ [2023-02-13T05:34:59.912Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1313/archives/ [Pipeline] echo [2023-02-13T05:34:59.925Z] 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-1313/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-13T05:35:00.201Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T05:35:00.770Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-13T05:35:00.770Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T05:35:00.843Z] prd-ubuntu20.04-docker-8c-8g-5475 does not seem to be running inside a container [2023-02-13T05:35:00.881Z] $ 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-1313/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-1313 -v /w/workspace/gexfoundry_device-sdk-go_PR-1313:/w/workspace/gexfoundry_device-sdk-go_PR-1313:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1313@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1313@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-13T05:35:01.066Z] $ docker top e9ef1fcbcc6e81340fe15b714a1edeb566ac7133b1887c7d4bd16aed8fece906 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-13T05:35:01.399Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-13T05:35:01.686Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-13T05:35:01.973Z] + ls /var/log/sa-host [2023-02-13T05:35:01.973Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-13T05:35:02.138Z] provisioning config files... [2023-02-13T05:35:02.147Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1313@tmp/config11180429743291892331tmp [Pipeline] { [Pipeline] echo [2023-02-13T05:35:02.163Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-13T05:35:02.443Z] ---> create-netrc.sh [Pipeline] } [2023-02-13T05:35:02.450Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-13T05:35:02.785Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-13T05:35:02.794Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-13T05:35:03.081Z] ---> sudo-logs.sh [2023-02-13T05:35:03.081Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-13T05:35:03.111Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-13T05:35:03.398Z] ---> job-cost.sh [2023-02-13T05:35:03.398Z] lf-activate-venv: SKIPPING [2023-02-13T05:35:03.398Z] DEBUG: total: 0.2199999988079071 [2023-02-13T05:35:03.398Z] INFO: Retrieving Stack Cost... [2023-02-13T05:35:03.965Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-13T05:35:04.533Z] INFO: Archiving Costs [Pipeline] echo [2023-02-13T05:35:04.546Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-13T05:35:04.828Z] ---> logs-deploy.sh [2023-02-13T05:35:04.828Z] lf-activate-venv: SKIPPING [2023-02-13T05:35:04.828Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1313/2 [2023-02-13T05:35:04.828Z] INFO: archiving workspace using pattern(s): [2023-02-13T05:35:05.763Z] Archives upload complete. [2023-02-13T05:35:05.763Z] INFO: archiving logs to Nexus