Pull request #1269 opened 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 lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from f34ab7c81adf9b5248a42a3530b7a1aa69396cca+5f8eaa6ff6ef578af331e6eea42e46d4600f317a (93691eed4a97cadedb3082fdbd3372ced5e6e4e6) 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-ssh9417871953407827245.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-ssh11899428036671723423.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1269/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1269/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17157707045286343371.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1269/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7789271245569278200.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh16869392721224791726.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1269/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1269/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh709818841831065815.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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/v2]] ========================================================= [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/v2 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-908 in /w/workspace/gexfoundry_device-sdk-go_PR-1269 [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-1269 # 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/1269/head:refs/remotes/origin/PR-1269 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 5f8eaa6ff6ef578af331e6eea42e46d4600f317a into PR head commit f34ab7c81adf9b5248a42a3530b7a1aa69396cca > git config core.sparsecheckout # timeout=10 > git checkout -f f34ab7c81adf9b5248a42a3530b7a1aa69396cca # timeout=10 > git remote # timeout=10 Merge succeeded, producing f34ab7c81adf9b5248a42a3530b7a1aa69396cca Checking out Revision f34ab7c81adf9b5248a42a3530b7a1aa69396cca (PR-1269) > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 5f8eaa6ff6ef578af331e6eea42e46d4600f317a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f34ab7c81adf9b5248a42a3530b7a1aa69396cca # timeout=10 Commit message: "feat!: Remove ZeroMQ MessageBus capability" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-03T17:16:20.795Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-03T17:16:20.976Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-03T17:16:21.077Z] ========================================================= [2023-01-03T17:16:21.077Z] EdgeX Global Pipelines Version Info [2023-01-03T17:16:21.077Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-03T17:16:21.810Z] ------------------- [2023-01-03T17:16:21.810Z] stable info: [2023-01-03T17:16:21.810Z] ------------------- [2023-01-03T17:16:21.810Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-03T17:16:21.810Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-03T17:16:21.810Z] Message: update stable to v1.0.244 [2023-01-03T17:16:22.381Z] ------------------- [2023-01-03T17:16:22.381Z] experimental info: [2023-01-03T17:16:22.381Z] ------------------- [2023-01-03T17:16:22.381Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-03T17:16:22.381Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-03T17:16:22.381Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-03T17:16:22.679Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-01-03T17:16:22.719Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-01-03T17:16:22.755Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-03T17:16:22.796Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-03T17:16:22.832Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-03T17:16:22.869Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-03T17:16:22.907Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-03T17:16:22.948Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-01-03T17:16:22.981Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-03T17:16:23.023Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-03T17:16:23.061Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-03T17:16:23.098Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-01-03T17:16:23.135Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-03T17:16:23.171Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-03T17:16:23.211Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-03T17:16:23.249Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-01-03T17:16:23.290Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-03T17:16:23.327Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-03T17:16:23.363Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-03T17:16:23.399Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-03T17:16:23.437Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-01-03T17:16:23.471Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2023-01-03T17:16:23.508Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-03T17:16:23.546Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-03T17:16:23.587Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-03T17:16:23.633Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-03T17:16:23.672Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-03T17:16:23.709Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1269 [Pipeline] echo [2023-01-03T17:16:23.744Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1269 [Pipeline] echo [2023-01-03T17:16:23.783Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1269 [Pipeline] echo [2023-01-03T17:16:23.821Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f34ab7c81adf9b5248a42a3530b7a1aa69396cca [Pipeline] echo [2023-01-03T17:16:23.857Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f34ab7c [Pipeline] echo [2023-01-03T17:16:23.898Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-03T17:16:24.012Z] provisioning config files... [2023-01-03T17:16:24.027Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1269@tmp/config2664440955628959977tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-03T17:16:24.368Z] ---> docker-login.sh [2023-01-03T17:16:24.368Z] nexus3.edgexfoundry.org:10001 [2023-01-03T17:16:24.628Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T17:16:24.628Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T17:16:24.628Z] Configure a credential helper to remove this warning. See [2023-01-03T17:16:24.628Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T17:16:24.628Z] [2023-01-03T17:16:24.628Z] Login Succeeded [2023-01-03T17:16:24.628Z] nexus3.edgexfoundry.org:10002 [2023-01-03T17:16:24.628Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T17:16:24.889Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T17:16:24.889Z] Configure a credential helper to remove this warning. See [2023-01-03T17:16:24.889Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T17:16:24.889Z] [2023-01-03T17:16:24.889Z] Login Succeeded [2023-01-03T17:16:24.889Z] nexus3.edgexfoundry.org:10003 [2023-01-03T17:16:24.889Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T17:16:24.889Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T17:16:24.889Z] Configure a credential helper to remove this warning. See [2023-01-03T17:16:24.889Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T17:16:24.889Z] [2023-01-03T17:16:24.889Z] Login Succeeded [2023-01-03T17:16:24.889Z] nexus3.edgexfoundry.org:10004 [2023-01-03T17:16:24.889Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T17:16:25.149Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T17:16:25.149Z] Configure a credential helper to remove this warning. See [2023-01-03T17:16:25.149Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T17:16:25.149Z] [2023-01-03T17:16:25.149Z] Login Succeeded [2023-01-03T17:16:25.149Z] docker.io [2023-01-03T17:16:25.149Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T17:16:25.409Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T17:16:25.409Z] Configure a credential helper to remove this warning. See [2023-01-03T17:16:25.409Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T17:16:25.409Z] [2023-01-03T17:16:25.409Z] Login Succeeded [2023-01-03T17:16:25.409Z] ---> docker-login.sh ends [Pipeline] } [2023-01-03T17:16:25.437Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-03T17:16:26.048Z] + git rev-list -1 --merges f34ab7c81adf9b5248a42a3530b7a1aa69396cca~1..f34ab7c81adf9b5248a42a3530b7a1aa69396cca [Pipeline] echo [2023-01-03T17:16:26.112Z] -----------> git rev-list -1 --merges f34ab7c81adf9b5248a42a3530b7a1aa69396cca~1..f34ab7c81adf9b5248a42a3530b7a1aa69396cca f34ab7c81adf9b5248a42a3530b7a1aa69396cca [false] [Pipeline] sh [2023-01-03T17:16:26.426Z] + git log --format=format:%s -1 f34ab7c81adf9b5248a42a3530b7a1aa69396cca [Pipeline] echo [2023-01-03T17:16:26.461Z] ========================================================= [2023-01-03T17:16:26.461Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-03T17:16:26.461Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-03T17:16:26.889Z] + git log --format=format:%s -1 f34ab7c81adf9b5248a42a3530b7a1aa69396cca [Pipeline] echo [2023-01-03T17:16:26.918Z] [semverPrep] GIT_COMMIT: f34ab7c81adf9b5248a42a3530b7a1aa69396cca, Commit Message: feat!: Remove ZeroMQ MessageBus capability [Pipeline] echo [2023-01-03T17:16:26.946Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-03T17:16:27.342Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-03T17:16:27.342Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-03T17:16:27.342Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-03T17:16:27.342Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-03T17:16:27.342Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-03T17:16:27.342Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-03T17:16:27.342Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T17:16:27.778Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-03T17:16:27.778Z] [2023-01-03T17:16:27.778Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T17:16:28.150Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-03T17:16:28.150Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-03T17:16:28.150Z] b85a868b505f: Pulling fs layer [2023-01-03T17:16:28.150Z] e2be974225ed: Pulling fs layer [2023-01-03T17:16:28.150Z] 339a4e72a1f5: Pulling fs layer [2023-01-03T17:16:28.150Z] 988bab9f4d93: Pulling fs layer [2023-01-03T17:16:28.150Z] 1469e6f7b9e6: Pulling fs layer [2023-01-03T17:16:28.150Z] eaf3925da568: Pulling fs layer [2023-01-03T17:16:28.150Z] bab4dde63d76: Pulling fs layer [2023-01-03T17:16:28.150Z] bde34c3a00c8: Pulling fs layer [2023-01-03T17:16:28.150Z] b352a97aabf1: Pulling fs layer [2023-01-03T17:16:28.150Z] 4872d77fe225: Pulling fs layer [2023-01-03T17:16:28.150Z] 5851b861e8e6: Pulling fs layer [2023-01-03T17:16:28.150Z] bde34c3a00c8: Waiting [2023-01-03T17:16:28.150Z] 4872d77fe225: Waiting [2023-01-03T17:16:28.150Z] 5851b861e8e6: Waiting [2023-01-03T17:16:28.150Z] b352a97aabf1: Waiting [2023-01-03T17:16:28.150Z] 988bab9f4d93: Waiting [2023-01-03T17:16:28.150Z] eaf3925da568: Waiting [2023-01-03T17:16:28.150Z] e2be974225ed: Verifying Checksum [2023-01-03T17:16:28.150Z] e2be974225ed: Download complete [2023-01-03T17:16:28.150Z] 988bab9f4d93: Download complete [2023-01-03T17:16:28.411Z] 339a4e72a1f5: Verifying Checksum [2023-01-03T17:16:28.411Z] 339a4e72a1f5: Download complete [2023-01-03T17:16:28.411Z] 1469e6f7b9e6: Verifying Checksum [2023-01-03T17:16:28.411Z] 1469e6f7b9e6: Download complete [2023-01-03T17:16:28.411Z] eaf3925da568: Verifying Checksum [2023-01-03T17:16:28.411Z] eaf3925da568: Download complete [2023-01-03T17:16:28.411Z] bde34c3a00c8: Verifying Checksum [2023-01-03T17:16:28.411Z] bde34c3a00c8: Download complete [2023-01-03T17:16:28.411Z] b352a97aabf1: Download complete [2023-01-03T17:16:28.411Z] 4872d77fe225: Download complete [2023-01-03T17:16:28.411Z] 5851b861e8e6: Download complete [2023-01-03T17:16:28.411Z] b85a868b505f: Download complete [2023-01-03T17:16:28.671Z] bab4dde63d76: Verifying Checksum [2023-01-03T17:16:28.671Z] bab4dde63d76: Download complete [2023-01-03T17:16:29.618Z] b85a868b505f: Pull complete [2023-01-03T17:16:29.876Z] e2be974225ed: Pull complete [2023-01-03T17:16:30.136Z] 339a4e72a1f5: Pull complete [2023-01-03T17:16:30.136Z] 988bab9f4d93: Pull complete [2023-01-03T17:16:30.396Z] 1469e6f7b9e6: Pull complete [2023-01-03T17:16:30.655Z] eaf3925da568: Pull complete [2023-01-03T17:16:32.033Z] bab4dde63d76: Pull complete [2023-01-03T17:16:32.033Z] bde34c3a00c8: Pull complete [2023-01-03T17:16:32.033Z] b352a97aabf1: Pull complete [2023-01-03T17:16:32.292Z] 4872d77fe225: Pull complete [2023-01-03T17:16:32.292Z] 5851b861e8e6: Pull complete [2023-01-03T17:16:32.292Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-03T17:16:32.292Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-03T17:16:32.292Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T17:16:32.516Z] prd-ubuntu20.04-docker-8c-8g-908 does not seem to be running inside a container [2023-01-03T17:16:32.550Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1269 -v /w/workspace/gexfoundry_device-sdk-go_PR-1269:/w/workspace/gexfoundry_device-sdk-go_PR-1269:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1269@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1269@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-03T17:16:33.698Z] $ docker top 9b24a4eeeef223ee57a47bef20646dcf16c905d33ea84e33c7f4f2173251f2b9 -eo pid,comm [2023-01-03T17:16:33.748Z] 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-01-03T17:16:33.748Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-03T17:16:33.867Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-03T17:16:33.867Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-03T17:16:33.986Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-03T17:16:33.990Z] $ docker exec 9b24a4eeeef223ee57a47bef20646dcf16c905d33ea84e33c7f4f2173251f2b9 ssh-agent [2023-01-03T17:16:34.125Z] SSH_AUTH_SOCK=/tmp/ssh-Avle9A2dMxkG/agent.33 [2023-01-03T17:16:34.125Z] SSH_AGENT_PID=39 [2023-01-03T17:16:34.132Z] Running ssh-add (command line suppressed) [2023-01-03T17:16:34.232Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1269@tmp/private_key_17201290913849141835.key (/w/workspace/gexfoundry_device-sdk-go_PR-1269@tmp/private_key_17201290913849141835.key) [2023-01-03T17:16:34.245Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-03T17:16:34.574Z] + git tag --points-at HEAD [Pipeline] } [2023-01-03T17:16:34.600Z] $ docker exec --env ******** --env ******** 9b24a4eeeef223ee57a47bef20646dcf16c905d33ea84e33c7f4f2173251f2b9 ssh-agent -k [2023-01-03T17:16:34.698Z] unset SSH_AUTH_SOCK; [2023-01-03T17:16:34.698Z] unset SSH_AGENT_PID; [2023-01-03T17:16:34.698Z] echo Agent pid 39 killed; [2023-01-03T17:16:34.705Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-03T17:16:34.792Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-03T17:16:34.792Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-03T17:16:34.895Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-03T17:16:34.899Z] $ docker exec 9b24a4eeeef223ee57a47bef20646dcf16c905d33ea84e33c7f4f2173251f2b9 ssh-agent [2023-01-03T17:16:35.000Z] SSH_AUTH_SOCK=/tmp/ssh-o5GayfTMHxgu/agent.72 [2023-01-03T17:16:35.000Z] SSH_AGENT_PID=78 [2023-01-03T17:16:35.005Z] Running ssh-add (command line suppressed) [2023-01-03T17:16:35.106Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1269@tmp/private_key_2549265685482412570.key (/w/workspace/gexfoundry_device-sdk-go_PR-1269@tmp/private_key_2549265685482412570.key) [2023-01-03T17:16:35.118Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-03T17:16:35.445Z] + git semver init [2023-01-03T17:16:35.704Z] 2023-01-03 17:16:35,628 [run_init] DEBUG init version:0.0.0 force:False [2023-01-03T17:16:35.704Z] 2023-01-03 17:16:35,628 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1269/.semver [2023-01-03T17:16:35.704Z] 2023-01-03 17:16:35,628 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1269/.semver [2023-01-03T17:16:35.704Z] 2023-01-03 17:16:35,629 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1269/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1269, universal_newlines=False, shell=None, istream=None) [2023-01-03T17:16:36.641Z] 2023-01-03 17:16:36,539 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1269/.git/info/exclude [2023-01-03T17:16:36.641Z] 2023-01-03 17:16:36,539 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1269/.semver/PR-1269 with force:False [2023-01-03T17:16:36.641Z] 2023-01-03 17:16:36,540 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1269/.semver/PR-1269 [2023-01-03T17:16:36.641Z] 2023-01-03 17:16:36,542 [execute] INFO git cat-file --batch-check [2023-01-03T17:16:36.641Z] 2023-01-03 17:16:36,543 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1269/.semver, universal_newlines=False, shell=None, istream=) [2023-01-03T17:16:36.641Z] 2023-01-03 17:16:36,547 [execute] INFO git cat-file --batch [2023-01-03T17:16:36.641Z] 2023-01-03 17:16:36,547 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1269/.semver, universal_newlines=False, shell=None, istream=) [2023-01-03T17:16:36.641Z] 2023-01-03 17:16:36,551 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1269/.semver/PR-1269 [2023-01-03T17:16:36.641Z] 0.0.0 [Pipeline] } [2023-01-03T17:16:36.671Z] $ docker exec --env ******** --env ******** 9b24a4eeeef223ee57a47bef20646dcf16c905d33ea84e33c7f4f2173251f2b9 ssh-agent -k [2023-01-03T17:16:36.771Z] unset SSH_AUTH_SOCK; [2023-01-03T17:16:36.772Z] unset SSH_AGENT_PID; [2023-01-03T17:16:36.772Z] echo Agent pid 78 killed; [2023-01-03T17:16:36.779Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-03T17:16:37.201Z] + git semver [Pipeline] } [2023-01-03T17:16:37.492Z] $ docker stop --time=1 9b24a4eeeef223ee57a47bef20646dcf16c905d33ea84e33c7f4f2173251f2b9 [2023-01-03T17:16:38.793Z] $ docker rm -f --volumes 9b24a4eeeef223ee57a47bef20646dcf16c905d33ea84e33c7f4f2173251f2b9 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-03T17:16:39.191Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-03T17:16:39.454Z] Stashed 1 file(s) [Pipeline] echo [2023-01-03T17:16:39.472Z] [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-01-03T17:16:40.048Z] provisioning config files... [2023-01-03T17:16:40.059Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1269@tmp/config1441745048258398471tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-03T17:16:40.400Z] ---> docker-login.sh [2023-01-03T17:16:40.400Z] nexus3.edgexfoundry.org:10001 [2023-01-03T17:16:40.400Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T17:16:40.400Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T17:16:40.400Z] Configure a credential helper to remove this warning. See [2023-01-03T17:16:40.400Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T17:16:40.400Z] [2023-01-03T17:16:40.400Z] Login Succeeded [2023-01-03T17:16:40.400Z] nexus3.edgexfoundry.org:10002 [2023-01-03T17:16:40.400Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T17:16:40.400Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T17:16:40.400Z] Configure a credential helper to remove this warning. See [2023-01-03T17:16:40.400Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T17:16:40.400Z] [2023-01-03T17:16:40.400Z] Login Succeeded [2023-01-03T17:16:40.400Z] nexus3.edgexfoundry.org:10003 [2023-01-03T17:16:40.659Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T17:16:40.659Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T17:16:40.659Z] Configure a credential helper to remove this warning. See [2023-01-03T17:16:40.659Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T17:16:40.659Z] [2023-01-03T17:16:40.659Z] Login Succeeded [2023-01-03T17:16:40.659Z] nexus3.edgexfoundry.org:10004 [2023-01-03T17:16:40.659Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T17:16:40.659Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T17:16:40.659Z] Configure a credential helper to remove this warning. See [2023-01-03T17:16:40.659Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T17:16:40.659Z] [2023-01-03T17:16:40.659Z] Login Succeeded [2023-01-03T17:16:40.659Z] docker.io [2023-01-03T17:16:40.659Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T17:16:40.918Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T17:16:40.918Z] Configure a credential helper to remove this warning. See [2023-01-03T17:16:40.918Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T17:16:40.918Z] [2023-01-03T17:16:40.918Z] Login Succeeded [2023-01-03T17:16:40.918Z] ---> docker-login.sh ends [Pipeline] } [2023-01-03T17:16:40.969Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-03T17:16:41.159Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-03T17:16:41.201Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-03T17:16:41.232Z] ========================================================= [2023-01-03T17:16:41.232Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-03T17:16:41.232Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T17:16:41.693Z] + 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-01-03T17:16:41.693Z] Sending build context to Docker daemon 10.39MB [2023-01-03T17:16:41.693Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-01-03T17:16:41.693Z] Step 2/10 : FROM ${BASE} AS builder [2023-01-03T17:16:41.693Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-03T17:16:41.693Z] 213ec9aee27d: Pulling fs layer [2023-01-03T17:16:41.693Z] 4583459ba037: Pulling fs layer [2023-01-03T17:16:41.693Z] 93c1e223e6f2: Pulling fs layer [2023-01-03T17:16:41.693Z] 53926ce57604: Pulling fs layer [2023-01-03T17:16:41.693Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-03T17:16:41.693Z] 22ff95d597cd: Pulling fs layer [2023-01-03T17:16:41.693Z] 12d6caf4c0d1: Pulling fs layer [2023-01-03T17:16:41.693Z] 96b7cbca73a9: Pulling fs layer [2023-01-03T17:16:41.693Z] a7acece74701: Pulling fs layer [2023-01-03T17:16:41.693Z] 53926ce57604: Waiting [2023-01-03T17:16:41.693Z] 21b2b0c7a3f4: Waiting [2023-01-03T17:16:41.693Z] 22ff95d597cd: Waiting [2023-01-03T17:16:41.693Z] 96b7cbca73a9: Waiting [2023-01-03T17:16:41.693Z] a7acece74701: Waiting [2023-01-03T17:16:41.693Z] 12d6caf4c0d1: Waiting [2023-01-03T17:16:41.693Z] 93c1e223e6f2: Verifying Checksum [2023-01-03T17:16:41.693Z] 93c1e223e6f2: Download complete [2023-01-03T17:16:41.693Z] 4583459ba037: Verifying Checksum [2023-01-03T17:16:41.693Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-03T17:16:41.693Z] 21b2b0c7a3f4: Download complete [2023-01-03T17:16:41.957Z] 22ff95d597cd: Verifying Checksum [2023-01-03T17:16:41.957Z] 22ff95d597cd: Download complete [2023-01-03T17:16:41.957Z] 213ec9aee27d: Verifying Checksum [2023-01-03T17:16:41.957Z] 213ec9aee27d: Download complete [2023-01-03T17:16:41.957Z] 12d6caf4c0d1: Verifying Checksum [2023-01-03T17:16:41.957Z] 12d6caf4c0d1: Download complete [2023-01-03T17:16:41.957Z] 213ec9aee27d: Pull complete [2023-01-03T17:16:41.957Z] 4583459ba037: Pull complete [2023-01-03T17:16:42.233Z] 93c1e223e6f2: Pull complete [2023-01-03T17:16:42.498Z] a7acece74701: Verifying Checksum [2023-01-03T17:16:42.498Z] a7acece74701: Download complete [2023-01-03T17:16:42.498Z] 96b7cbca73a9: Verifying Checksum [2023-01-03T17:16:42.498Z] 96b7cbca73a9: Download complete [2023-01-03T17:16:42.757Z] 53926ce57604: Verifying Checksum [2023-01-03T17:16:42.757Z] 53926ce57604: Download complete [2023-01-03T17:16:46.046Z] 53926ce57604: Pull complete [2023-01-03T17:16:46.046Z] 21b2b0c7a3f4: Pull complete [2023-01-03T17:16:46.046Z] 22ff95d597cd: Pull complete [2023-01-03T17:16:46.304Z] 12d6caf4c0d1: Pull complete [2023-01-03T17:16:48.201Z] 96b7cbca73a9: Pull complete [2023-01-03T17:16:48.778Z] a7acece74701: Pull complete [2023-01-03T17:16:48.778Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-03T17:16:48.778Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-03T17:16:48.778Z] ---> db6d94c90886 [2023-01-03T17:16:48.778Z] Step 3/10 : ARG MAKE=make build [2023-01-03T17:16:50.680Z] ---> Running in 98be571ad564 [2023-01-03T17:16:50.680Z] Removing intermediate container 98be571ad564 [2023-01-03T17:16:50.680Z] ---> b50a7a8b484d [2023-01-03T17:16:50.680Z] Step 4/10 : WORKDIR /device-sdk-go [2023-01-03T17:16:50.680Z] ---> Running in e7924acd4b66 [2023-01-03T17:16:50.680Z] Removing intermediate container e7924acd4b66 [2023-01-03T17:16:50.680Z] ---> 59cbe6abb736 [2023-01-03T17:16:50.680Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-03T17:16:50.680Z] ---> Running in a893aea5c1a6 [2023-01-03T17:16:50.680Z] Removing intermediate container a893aea5c1a6 [2023-01-03T17:16:50.680Z] ---> 2065e06d785e [2023-01-03T17:16:50.680Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-01-03T17:16:50.680Z] ---> Running in 3e880998f5c8 [2023-01-03T17:16:50.939Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-03T17:16:51.197Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-03T17:16:51.456Z] OK: 211 MiB in 51 packages [2023-01-03T17:16:51.715Z] Removing intermediate container 3e880998f5c8 [2023-01-03T17:16:51.715Z] ---> 7dba10642582 [2023-01-03T17:16:51.715Z] Step 7/10 : COPY go.mod vendor* ./ [2023-01-03T17:16:51.715Z] ---> 2cb69834558c [2023-01-03T17:16:51.715Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-03T17:16:51.715Z] ---> Running in 5447a1ee8279 [2023-01-03T17:16:54.880Z] Still waiting to schedule task [2023-01-03T17:16:54.880Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-01-03T17:17:09.812Z] Removing intermediate container 5447a1ee8279 [2023-01-03T17:17:09.812Z] ---> 80f1b3dceacf [2023-01-03T17:17:09.812Z] Step 9/10 : COPY . . [2023-01-03T17:17:09.812Z] ---> a55ea712ef45 [2023-01-03T17:17:09.812Z] Step 10/10 : RUN ${MAKE} [2023-01-03T17:17:09.812Z] ---> Running in 4e9d3aff3bbd [2023-01-03T17:17:09.812Z] noop [2023-01-03T17:17:09.812Z] Removing intermediate container 4e9d3aff3bbd [2023-01-03T17:17:09.812Z] ---> ca1f92b9a595 [2023-01-03T17:17:09.812Z] Successfully built ca1f92b9a595 [2023-01-03T17:17:09.812Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T17:17:10.252Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-03T17:17:10.252Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T17:17:10.417Z] prd-ubuntu20.04-docker-8c-8g-908 does not seem to be running inside a container [2023-01-03T17:17:10.446Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1269 -v /w/workspace/gexfoundry_device-sdk-go_PR-1269:/w/workspace/gexfoundry_device-sdk-go_PR-1269:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1269@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1269@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 ******** ci-base-image-x86_64 cat [2023-01-03T17:17:10.787Z] $ docker top 7f538c2bcd6b524a3602421b0a98a8b9c2a61c93702f6f3f2c333e1995582e91 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-03T17:17:11.169Z] + go version [2023-01-03T17:17:11.169Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-03T17:17:11.201Z] $ docker stop --time=1 7f538c2bcd6b524a3602421b0a98a8b9c2a61c93702f6f3f2c333e1995582e91 [2023-01-03T17:17:12.472Z] $ docker rm -f --volumes 7f538c2bcd6b524a3602421b0a98a8b9c2a61c93702f6f3f2c333e1995582e91 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T17:17:13.162Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-03T17:17:13.162Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T17:17:13.310Z] prd-ubuntu20.04-docker-8c-8g-908 does not seem to be running inside a container [2023-01-03T17:17:13.339Z] $ 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-1269 -v /w/workspace/gexfoundry_device-sdk-go_PR-1269:/w/workspace/gexfoundry_device-sdk-go_PR-1269:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1269@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1269@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 ******** ci-base-image-x86_64 cat [2023-01-03T17:17:13.691Z] $ docker top 42addd3f75e71b3053563549cff359ec96587a17d171fe241318f29a69572a8e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-03T17:17:14.073Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1269 [Pipeline] fileExists [Pipeline] sh [2023-01-03T17:17:14.430Z] + make test [2023-01-03T17:17:14.430Z] go test -race -coverprofile=coverage.out ./... [2023-01-03T17:17:20.991Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-01-03T17:17:33.187Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-01-03T17:17:33.187Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-01-03T17:17:33.187Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-01-03T17:17:33.187Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-01-03T17:17:33.187Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-01-03T17:17:33.187Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.058s coverage: 27.6% of statements [2023-01-03T17:17:33.187Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.055s coverage: 78.9% of statements [2023-01-03T17:17:33.187Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-01-03T17:17:33.187Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.098s coverage: 73.1% of statements [2023-01-03T17:17:33.187Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-01-03T17:17:33.187Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-01-03T17:17:33.187Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.114s coverage: 54.4% of statements [2023-01-03T17:17:33.187Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-01-03T17:17:33.187Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-01-03T17:17:33.187Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-01-03T17:17:33.187Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/telemetry [no test files] [2023-01-03T17:17:33.187Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.085s coverage: 65.1% of statements [2023-01-03T17:17:33.187Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-01-03T17:17:33.187Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-01-03T17:17:33.187Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.751s coverage: 89.2% of statements [2023-01-03T17:17:33.187Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-01-03T17:17:33.187Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.055s coverage: 4.7% of statements [2023-01-03T17:17:33.187Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-01-03T17:17:48.054Z] 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-01-03T17:17:48.054Z] GO111MODULE=on go vet ./... [2023-01-03T17:17:50.013Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-03T17:17:50.013Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-03T17:17:50.013Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-03T17:17:50.056Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-03T17:17:50.085Z] $ docker stop --time=1 42addd3f75e71b3053563549cff359ec96587a17d171fe241318f29a69572a8e [2023-01-03T17:17:52.072Z] $ docker rm -f --volumes 42addd3f75e71b3053563549cff359ec96587a17d171fe241318f29a69572a8e [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-03T17:17:52.593Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-03T17:17:52.676Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-03T17:17:53.359Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-03T17:17:53.672Z] + ls -al . [2023-01-03T17:17:53.672Z] total 280 [2023-01-03T17:17:53.672Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 3 17:17 . [2023-01-03T17:17:53.672Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 17:16 .. [2023-01-03T17:17:53.672Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 3 17:16 .dockerignore [2023-01-03T17:17:53.672Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 3 17:17 .git [2023-01-03T17:17:53.672Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 3 17:16 .github [2023-01-03T17:17:53.672Z] -rw-rw-r-- 1 jenkins jenkins 131 Jan 3 17:16 .gitignore [2023-01-03T17:17:53.672Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 3 17:16 .golangci.yml [2023-01-03T17:17:53.672Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 3 17:16 .semver [2023-01-03T17:17:53.672Z] -rw-rw-r-- 1 jenkins jenkins 31677 Jan 3 17:16 CHANGELOG.md [2023-01-03T17:17:53.672Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 3 17:16 GOVERNANCE.md [2023-01-03T17:17:53.672Z] -rw-rw-r-- 1 jenkins jenkins 880 Jan 3 17:16 Jenkinsfile [2023-01-03T17:17:53.672Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 3 17:16 LICENSE [2023-01-03T17:17:53.672Z] -rw-rw-r-- 1 jenkins jenkins 1527 Jan 3 17:16 Makefile [2023-01-03T17:17:53.672Z] -rw-rw-r-- 1 jenkins jenkins 619 Jan 3 17:16 OWNERS.md [2023-01-03T17:17:53.672Z] -rw-rw-r-- 1 jenkins jenkins 4891 Jan 3 17:16 README.md [2023-01-03T17:17:53.672Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 3 17:16 VERSION [2023-01-03T17:17:53.672Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 3 17:16 bin [2023-01-03T17:17:53.672Z] -rw-r--r-- 1 jenkins jenkins 101760 Jan 3 17:17 coverage.out [2023-01-03T17:17:53.672Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 3 17:16 example [2023-01-03T17:17:53.672Z] -rw-rw-r-- 1 jenkins jenkins 3342 Jan 3 17:16 go.mod [2023-01-03T17:17:53.672Z] -rw-rw-r-- 1 jenkins jenkins 44555 Jan 3 17:16 go.sum [2023-01-03T17:17:53.672Z] drwxrwxr-x 14 jenkins jenkins 4096 Jan 3 17:16 internal [2023-01-03T17:17:53.672Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 17:16 openapi [2023-01-03T17:17:53.672Z] drwxrwxr-x 6 jenkins jenkins 4096 Jan 3 17:16 pkg [2023-01-03T17:17:53.672Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 17:16 snap [2023-01-03T17:17:53.672Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 3 17:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T17:17:54.054Z] + 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=f34ab7c81adf9b5248a42a3530b7a1aa69396cca --label arch=amd64 --label version=0.0.0 . [2023-01-03T17:17:54.054Z] Sending build context to Docker daemon 10.49MB [2023-01-03T17:17:54.054Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-01-03T17:17:54.054Z] Step 2/23 : FROM ${BASE} AS builder [2023-01-03T17:17:54.054Z] ---> ca1f92b9a595 [2023-01-03T17:17:54.054Z] Step 3/23 : ARG MAKE=make build [2023-01-03T17:17:54.054Z] ---> Running in cfba6268b3af [2023-01-03T17:17:54.313Z] Removing intermediate container cfba6268b3af [2023-01-03T17:17:54.313Z] ---> 14e0aaee844f [2023-01-03T17:17:54.313Z] Step 4/23 : WORKDIR /device-sdk-go [2023-01-03T17:17:54.313Z] ---> Running in 91723fecc679 [2023-01-03T17:17:54.313Z] Removing intermediate container 91723fecc679 [2023-01-03T17:17:54.313Z] ---> 6d55cacf4fec [2023-01-03T17:17:54.313Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-03T17:17:54.313Z] ---> Running in 74d30ec52093 [2023-01-03T17:17:54.313Z] Removing intermediate container 74d30ec52093 [2023-01-03T17:17:54.313Z] ---> bb9d9cfd9e87 [2023-01-03T17:17:54.313Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-01-03T17:17:54.313Z] ---> Running in 2ba00ec8d19a [2023-01-03T17:17:54.573Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-03T17:17:54.833Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-03T17:17:55.093Z] OK: 211 MiB in 51 packages [2023-01-03T17:17:55.352Z] Removing intermediate container 2ba00ec8d19a [2023-01-03T17:17:55.352Z] ---> 6e3fe8e12378 [2023-01-03T17:17:55.352Z] Step 7/23 : COPY go.mod vendor* ./ [2023-01-03T17:17:55.610Z] ---> 69fb50b91d2c [2023-01-03T17:17:55.610Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-03T17:17:55.610Z] ---> Running in 02c252d6677d [2023-01-03T17:17:56.177Z] Removing intermediate container 02c252d6677d [2023-01-03T17:17:56.177Z] ---> 9e02e48e2a14 [2023-01-03T17:17:56.177Z] Step 9/23 : COPY . . [2023-01-03T17:17:56.437Z] ---> 78ae621f8494 [2023-01-03T17:17:56.437Z] Step 10/23 : RUN ${MAKE} [2023-01-03T17:17:56.437Z] ---> Running in 0ef829c6f8a8 [2023-01-03T17:17:56.694Z] 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-01-03T17:18:14.766Z] Removing intermediate container 0ef829c6f8a8 [2023-01-03T17:18:14.766Z] ---> 22d526a6d626 [2023-01-03T17:18:14.766Z] Step 11/23 : FROM alpine:3.16 [2023-01-03T17:18:14.766Z] 3.16: Pulling from library/alpine [2023-01-03T17:18:15.024Z] ca7dd9ec2225: Pulling fs layer [2023-01-03T17:18:15.293Z] ca7dd9ec2225: Verifying Checksum [2023-01-03T17:18:15.293Z] ca7dd9ec2225: Download complete [2023-01-03T17:18:15.293Z] ca7dd9ec2225: Pull complete [2023-01-03T17:18:15.293Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-03T17:18:15.552Z] Status: Downloaded newer image for alpine:3.16 [2023-01-03T17:18:15.553Z] ---> bfe296a52501 [2023-01-03T17:18:15.553Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-01-03T17:18:15.553Z] ---> Running in d284841db3fb [2023-01-03T17:18:15.553Z] Removing intermediate container d284841db3fb [2023-01-03T17:18:15.553Z] ---> ca6d484c920f [2023-01-03T17:18:15.553Z] Step 13/23 : RUN apk add --update --no-cache [2023-01-03T17:18:15.553Z] ---> Running in 9ae5463b688a [2023-01-03T17:18:15.812Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-03T17:18:16.071Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-03T17:18:16.329Z] OK: 6 MiB in 14 packages [2023-01-03T17:18:16.588Z] Removing intermediate container 9ae5463b688a [2023-01-03T17:18:16.588Z] ---> 9f5d58922621 [2023-01-03T17:18:16.588Z] Step 14/23 : WORKDIR / [2023-01-03T17:18:16.588Z] ---> Running in 56eeabc19676 [2023-01-03T17:18:16.588Z] Removing intermediate container 56eeabc19676 [2023-01-03T17:18:16.588Z] ---> 1bf22ab6728d [2023-01-03T17:18:16.588Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-01-03T17:18:16.588Z] ---> bdabcf96afd4 [2023-01-03T17:18:16.588Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-01-03T17:18:17.153Z] ---> f383c766f60d [2023-01-03T17:18:17.153Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-01-03T17:18:17.153Z] ---> d17ace149457 [2023-01-03T17:18:17.153Z] Step 18/23 : EXPOSE 59999 [2023-01-03T17:18:17.153Z] ---> Running in c7134816ca40 [2023-01-03T17:18:17.412Z] Removing intermediate container c7134816ca40 [2023-01-03T17:18:17.413Z] ---> 1e5678c074d6 [2023-01-03T17:18:17.413Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-01-03T17:18:17.413Z] ---> Running in ef7199b83d6e [2023-01-03T17:18:17.413Z] Removing intermediate container ef7199b83d6e [2023-01-03T17:18:17.413Z] ---> b4c0f90f0945 [2023-01-03T17:18:17.413Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-03T17:18:17.413Z] ---> Running in a9e4690acf68 [2023-01-03T17:18:17.413Z] Removing intermediate container a9e4690acf68 [2023-01-03T17:18:17.413Z] ---> cddacb9a9821 [2023-01-03T17:18:17.413Z] Step 21/23 : LABEL arch=amd64 [2023-01-03T17:18:17.413Z] ---> Running in e73c160ccd4a [2023-01-03T17:18:17.413Z] Removing intermediate container e73c160ccd4a [2023-01-03T17:18:17.413Z] ---> 69f09e9bdf23 [2023-01-03T17:18:17.413Z] Step 22/23 : LABEL git_sha=f34ab7c81adf9b5248a42a3530b7a1aa69396cca [2023-01-03T17:18:17.674Z] ---> Running in eeaa0d7b23d9 [2023-01-03T17:18:17.674Z] Removing intermediate container eeaa0d7b23d9 [2023-01-03T17:18:17.674Z] ---> 1e3067fd4131 [2023-01-03T17:18:17.674Z] Step 23/23 : LABEL version=0.0.0 [2023-01-03T17:18:17.674Z] ---> Running in 3e43d0a5e51d [2023-01-03T17:18:17.674Z] Removing intermediate container 3e43d0a5e51d [2023-01-03T17:18:17.674Z] ---> 314121b618d0 [2023-01-03T17:18:17.674Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-03T17:18:17.674Z] Successfully built 314121b618d0 [2023-01-03T17:18:17.674Z] 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-01-03T17:18:18.484Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-03T17:18:18.484Z] [2023-01-03T17:18:18.484Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T17:18:18.861Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-03T17:18:18.861Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-03T17:18:18.861Z] 5eb5b503b376: Pulling fs layer [2023-01-03T17:18:18.861Z] 5c69ac0246d0: Pulling fs layer [2023-01-03T17:18:18.861Z] ec43610c2a17: Pulling fs layer [2023-01-03T17:18:18.861Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-03T17:18:18.861Z] 33b1e0a273af: Pulling fs layer [2023-01-03T17:18:18.861Z] 5d3b04190fa2: Pulling fs layer [2023-01-03T17:18:18.861Z] 2f39f015ded8: Pulling fs layer [2023-01-03T17:18:18.861Z] 2f39f015ded8: Waiting [2023-01-03T17:18:18.861Z] 33b1e0a273af: Waiting [2023-01-03T17:18:18.861Z] 5d3b04190fa2: Waiting [2023-01-03T17:18:18.861Z] 3a2ae6a8a46f: Waiting [2023-01-03T17:18:18.861Z] 5c69ac0246d0: Verifying Checksum [2023-01-03T17:18:18.861Z] 5c69ac0246d0: Download complete [2023-01-03T17:18:18.861Z] 3a2ae6a8a46f: Verifying Checksum [2023-01-03T17:18:18.861Z] 3a2ae6a8a46f: Download complete [2023-01-03T17:18:18.861Z] 33b1e0a273af: Verifying Checksum [2023-01-03T17:18:18.861Z] 33b1e0a273af: Download complete [2023-01-03T17:18:18.861Z] 5d3b04190fa2: Verifying Checksum [2023-01-03T17:18:18.861Z] 5d3b04190fa2: Download complete [2023-01-03T17:18:18.861Z] ec43610c2a17: Verifying Checksum [2023-01-03T17:18:18.861Z] ec43610c2a17: Download complete [2023-01-03T17:18:19.125Z] 5eb5b503b376: Verifying Checksum [2023-01-03T17:18:19.125Z] 5eb5b503b376: Download complete [2023-01-03T17:18:19.694Z] 2f39f015ded8: Download complete [2023-01-03T17:18:20.258Z] 5eb5b503b376: Pull complete [2023-01-03T17:18:20.258Z] 5c69ac0246d0: Pull complete [2023-01-03T17:18:20.826Z] ec43610c2a17: Pull complete [2023-01-03T17:18:20.826Z] 3a2ae6a8a46f: Pull complete [2023-01-03T17:18:20.826Z] 33b1e0a273af: Pull complete [2023-01-03T17:18:20.826Z] 5d3b04190fa2: Pull complete [2023-01-03T17:18:22.740Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-909 in /w/workspace/gexfoundry_device-sdk-go_PR-1269 [Pipeline] { [Pipeline] ws [2023-01-03T17:18:22.789Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-01-03T17:18:22.859Z] The recommended git tool is: git [2023-01-03T17:18:25.004Z] 2f39f015ded8: Pull complete [2023-01-03T17:18:25.004Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-03T17:18:25.004Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-03T17:18:25.004Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T17:18:25.216Z] prd-ubuntu20.04-docker-8c-8g-908 does not seem to be running inside a container [2023-01-03T17:18:25.245Z] $ 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-1269 -v /w/workspace/gexfoundry_device-sdk-go_PR-1269:/w/workspace/gexfoundry_device-sdk-go_PR-1269:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1269@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1269@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-03T17:18:26.366Z] $ docker top 03ae80f08b90f9c9e4628a61921e60763b0037b7969f48568273147f9114063b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-03T17:18:26.816Z] ---> job-cost.sh [2023-01-03T17:18:26.816Z] lf-activate-venv: SKIPPING [2023-01-03T17:18:26.816Z] INFO: No Stack... [2023-01-03T17:18:27.074Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-03T17:18:27.333Z] INFO: Archiving Costs [Pipeline] sh [2023-01-03T17:18:27.649Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1269/archives/cost.csv [2023-01-03T17:18:27.649Z] + cut -d, -f6 [Pipeline] lock [2023-01-03T17:18:27.687Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1269-1-stack-cost] [2023-01-03T17:18:27.692Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1269-1-stack-cost] did not exist. Created. [2023-01-03T17:18:27.692Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1269-1-stack-cost] [2023-01-03T17:18:27.703Z] using credential edgex-jenkins-ssh [Pipeline] { [2023-01-03T17:18:27.717Z] Cloning the remote Git repository [Pipeline] unstash [Pipeline] sh [2023-01-03T17:18:28.075Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-03T17:18:28.133Z] Stashed 1 file(s) [Pipeline] } [2023-01-03T17:18:28.159Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1269-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-03T17:18:28.239Z] $ docker stop --time=1 03ae80f08b90f9c9e4628a61921e60763b0037b7969f48568273147f9114063b [2023-01-03T17:18:27.758Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-01-03T17:18:27.823Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-01-03T17:18:27.951Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-01-03T17:18:27.952Z] > git --version # timeout=10 [2023-01-03T17:18:27.971Z] > git --version # 'git version 2.25.1' [2023-01-03T17:18:27.973Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-03T17:18:28.025Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-03T17:18:29.383Z] $ docker rm -f --volumes 03ae80f08b90f9c9e4628a61921e60763b0037b7969f48568273147f9114063b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-03T17:18:29.483Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-01-03T17:18:29.502Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-03T17:18:30.968Z] Merging remotes/origin/main commit 5f8eaa6ff6ef578af331e6eea42e46d4600f317a into PR head commit f34ab7c81adf9b5248a42a3530b7a1aa69396cca [2023-01-03T17:18:31.188Z] Merge succeeded, producing f34ab7c81adf9b5248a42a3530b7a1aa69396cca [2023-01-03T17:18:31.189Z] Checking out Revision f34ab7c81adf9b5248a42a3530b7a1aa69396cca (PR-1269) [2023-01-03T17:18:30.284Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-01-03T17:18:30.328Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-01-03T17:18:30.329Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-03T17:18:30.345Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1269/head:refs/remotes/origin/PR-1269 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-03T17:18:30.984Z] > git config core.sparsecheckout # timeout=10 [2023-01-03T17:18:31.005Z] > git checkout -f f34ab7c81adf9b5248a42a3530b7a1aa69396cca # timeout=10 [2023-01-03T17:18:31.101Z] > git remote # timeout=10 [2023-01-03T17:18:31.117Z] > git config --get remote.origin.url # timeout=10 [2023-01-03T17:18:31.138Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-03T17:18:31.150Z] > git merge 5f8eaa6ff6ef578af331e6eea42e46d4600f317a # timeout=10 [2023-01-03T17:18:31.173Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-03T17:18:31.196Z] > git config core.sparsecheckout # timeout=10 [2023-01-03T17:18:31.211Z] > git checkout -f f34ab7c81adf9b5248a42a3530b7a1aa69396cca # timeout=10 [2023-01-03T17:18:34.693Z] Commit message: "feat!: Remove ZeroMQ MessageBus capability" [2023-01-03T17:18:34.742Z] > git --version # timeout=10 [2023-01-03T17:18:34.757Z] > git --version # 'git version 2.25.1' [2023-01-03T17:18:34.782Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-03T17:18:35.899Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-03T17:18:35.899Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-03T17:18:35.899Z] Dload Upload Total Spent Left Speed [2023-01-03T17:18:35.899Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 74133 0 --:--:-- --:--:-- --:--:-- 74133 [Pipeline] sh [2023-01-03T17:18:36.618Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-03T17:18:36.968Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-03T17:18:36.968Z] + sudo tee /etc/docker/daemon.new [2023-01-03T17:18:36.968Z] { [2023-01-03T17:18:36.968Z] "registry-mirrors": [ [2023-01-03T17:18:36.968Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-03T17:18:36.968Z] ], [2023-01-03T17:18:36.968Z] "bip": "10.250.0.254/24", [2023-01-03T17:18:36.968Z] "hosts": [ [2023-01-03T17:18:36.968Z] "tcp://0.0.0.0:5555", [2023-01-03T17:18:36.968Z] "unix:///var/run/docker.sock" [2023-01-03T17:18:36.968Z] ], [2023-01-03T17:18:36.968Z] "mtu": 1458, [2023-01-03T17:18:36.968Z] "selinux-enabled": true, [2023-01-03T17:18:36.968Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-03T17:18:36.968Z] } [Pipeline] sh [2023-01-03T17:18:37.306Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-03T17:18:37.651Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-03T17:18:55.959Z] provisioning config files... [2023-01-03T17:18:55.986Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config11683987929438983636tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-03T17:18:56.377Z] ---> docker-login.sh [2023-01-03T17:18:56.377Z] nexus3.edgexfoundry.org:10001 [2023-01-03T17:18:56.966Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T17:18:56.966Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T17:18:56.966Z] Configure a credential helper to remove this warning. See [2023-01-03T17:18:56.966Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T17:18:56.966Z] [2023-01-03T17:18:56.966Z] Login Succeeded [2023-01-03T17:18:56.966Z] nexus3.edgexfoundry.org:10002 [2023-01-03T17:18:57.234Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T17:18:57.234Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T17:18:57.234Z] Configure a credential helper to remove this warning. See [2023-01-03T17:18:57.234Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T17:18:57.234Z] [2023-01-03T17:18:57.234Z] Login Succeeded [2023-01-03T17:18:57.505Z] nexus3.edgexfoundry.org:10003 [2023-01-03T17:18:57.505Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T17:18:57.774Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T17:18:57.774Z] Configure a credential helper to remove this warning. See [2023-01-03T17:18:57.774Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T17:18:57.774Z] [2023-01-03T17:18:57.774Z] Login Succeeded [2023-01-03T17:18:57.774Z] nexus3.edgexfoundry.org:10004 [2023-01-03T17:18:58.046Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T17:18:58.046Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T17:18:58.046Z] Configure a credential helper to remove this warning. See [2023-01-03T17:18:58.046Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T17:18:58.046Z] [2023-01-03T17:18:58.046Z] Login Succeeded [2023-01-03T17:18:58.046Z] docker.io [2023-01-03T17:18:58.316Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T17:18:58.584Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T17:18:58.584Z] Configure a credential helper to remove this warning. See [2023-01-03T17:18:58.584Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T17:18:58.584Z] [2023-01-03T17:18:58.584Z] Login Succeeded [2023-01-03T17:18:58.584Z] ---> docker-login.sh ends [Pipeline] } [2023-01-03T17:18:58.616Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-03T17:18:58.975Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-03T17:18:59.013Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-03T17:18:59.046Z] ========================================================= [2023-01-03T17:18:59.046Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-03T17:18:59.046Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T17:18:59.542Z] + 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-01-03T17:18:59.812Z] Sending build context to Docker daemon 5.585MB [2023-01-03T17:18:59.812Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-01-03T17:18:59.812Z] Step 2/10 : FROM ${BASE} AS builder [2023-01-03T17:19:00.083Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-03T17:19:00.083Z] 9b18e9b68314: Pulling fs layer [2023-01-03T17:19:00.083Z] 35d82f9e3411: Pulling fs layer [2023-01-03T17:19:00.083Z] e16973657156: Pulling fs layer [2023-01-03T17:19:00.083Z] fc693d55d65f: Pulling fs layer [2023-01-03T17:19:00.083Z] 7e9fc2657dce: Pulling fs layer [2023-01-03T17:19:00.083Z] dda99020689f: Pulling fs layer [2023-01-03T17:19:00.083Z] db1c61fa0a46: Pulling fs layer [2023-01-03T17:19:00.083Z] 891c053d2c06: Pulling fs layer [2023-01-03T17:19:00.083Z] fc693d55d65f: Waiting [2023-01-03T17:19:00.083Z] 7e9fc2657dce: Waiting [2023-01-03T17:19:00.083Z] db1c61fa0a46: Waiting [2023-01-03T17:19:00.083Z] 891c053d2c06: Waiting [2023-01-03T17:19:00.083Z] dda99020689f: Waiting [2023-01-03T17:19:00.083Z] e16973657156: Verifying Checksum [2023-01-03T17:19:00.083Z] e16973657156: Download complete [2023-01-03T17:19:00.083Z] 35d82f9e3411: Verifying Checksum [2023-01-03T17:19:00.083Z] 35d82f9e3411: Download complete [2023-01-03T17:19:00.083Z] 7e9fc2657dce: Verifying Checksum [2023-01-03T17:19:00.083Z] 7e9fc2657dce: Download complete [2023-01-03T17:19:00.360Z] dda99020689f: Verifying Checksum [2023-01-03T17:19:00.360Z] dda99020689f: Download complete [2023-01-03T17:19:00.360Z] 9b18e9b68314: Verifying Checksum [2023-01-03T17:19:00.360Z] 9b18e9b68314: Download complete [2023-01-03T17:19:01.342Z] 9b18e9b68314: Pull complete [2023-01-03T17:19:01.342Z] 891c053d2c06: Verifying Checksum [2023-01-03T17:19:01.342Z] 891c053d2c06: Download complete [2023-01-03T17:19:01.949Z] 35d82f9e3411: Pull complete [2023-01-03T17:19:02.216Z] e16973657156: Pull complete [2023-01-03T17:19:02.486Z] db1c61fa0a46: Verifying Checksum [2023-01-03T17:19:02.486Z] db1c61fa0a46: Download complete [2023-01-03T17:19:03.073Z] fc693d55d65f: Verifying Checksum [2023-01-03T17:19:03.073Z] fc693d55d65f: Download complete [2023-01-03T17:19:15.407Z] fc693d55d65f: Pull complete [2023-01-03T17:19:15.407Z] 7e9fc2657dce: Pull complete [2023-01-03T17:19:15.407Z] dda99020689f: Pull complete [2023-01-03T17:19:20.770Z] db1c61fa0a46: Pull complete [2023-01-03T17:19:22.730Z] 891c053d2c06: Pull complete [2023-01-03T17:19:22.730Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-03T17:19:22.730Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-03T17:19:22.730Z] ---> f96f9c87975a [2023-01-03T17:19:22.730Z] Step 3/10 : ARG MAKE=make build [2023-01-03T17:19:24.683Z] ---> Running in 272b02bda33e [2023-01-03T17:19:24.683Z] Removing intermediate container 272b02bda33e [2023-01-03T17:19:24.683Z] ---> be57fa163dcc [2023-01-03T17:19:24.683Z] Step 4/10 : WORKDIR /device-sdk-go [2023-01-03T17:19:24.683Z] ---> Running in 6803c87be55b [2023-01-03T17:19:24.953Z] Removing intermediate container 6803c87be55b [2023-01-03T17:19:24.953Z] ---> 98f8de992fc0 [2023-01-03T17:19:24.953Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-03T17:19:25.221Z] ---> Running in e3296da21a1b [2023-01-03T17:19:25.488Z] Removing intermediate container e3296da21a1b [2023-01-03T17:19:25.488Z] ---> ffa32baaa718 [2023-01-03T17:19:25.488Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-01-03T17:19:25.488Z] ---> Running in 353b23896ff3 [2023-01-03T17:19:26.458Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-03T17:19:26.725Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-03T17:19:27.698Z] OK: 221 MiB in 51 packages [2023-01-03T17:19:29.106Z] Removing intermediate container 353b23896ff3 [2023-01-03T17:19:29.106Z] ---> af12e9555a67 [2023-01-03T17:19:29.106Z] Step 7/10 : COPY go.mod vendor* ./ [2023-01-03T17:19:29.698Z] ---> 88ad5325d162 [2023-01-03T17:19:29.698Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-03T17:19:29.698Z] ---> Running in f7804ff93266 [2023-01-03T17:20:26.144Z] Removing intermediate container f7804ff93266 [2023-01-03T17:20:26.144Z] ---> 6d30079b6a99 [2023-01-03T17:20:26.144Z] Step 9/10 : COPY . . [2023-01-03T17:20:26.144Z] ---> d9a0c52af62d [2023-01-03T17:20:26.144Z] Step 10/10 : RUN ${MAKE} [2023-01-03T17:20:26.144Z] ---> Running in ec18d7cc1339 [2023-01-03T17:20:26.144Z] noop [2023-01-03T17:20:26.145Z] Removing intermediate container ec18d7cc1339 [2023-01-03T17:20:26.145Z] ---> 15282802609c [2023-01-03T17:20:26.145Z] Successfully built 15282802609c [2023-01-03T17:20:26.145Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T17:20:26.623Z] + docker inspect -f . ci-base-image-arm64 [2023-01-03T17:20:26.623Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T17:20:26.868Z] prd-ubuntu20.04-docker-arm64-4c-16g-909 does not seem to be running inside a container [2023-01-03T17:20:26.933Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-03T17:20:28.135Z] $ docker top 691a7c21a852933c235a8b203c446f7b1ef4fc021f60e1b4ad59e8123efabc86 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-03T17:20:28.986Z] + go version [2023-01-03T17:20:28.986Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-03T17:20:29.023Z] $ docker stop --time=1 691a7c21a852933c235a8b203c446f7b1ef4fc021f60e1b4ad59e8123efabc86 [2023-01-03T17:20:30.628Z] $ docker rm -f --volumes 691a7c21a852933c235a8b203c446f7b1ef4fc021f60e1b4ad59e8123efabc86 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T17:20:31.459Z] + docker inspect -f . ci-base-image-arm64 [2023-01-03T17:20:31.459Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T17:20:31.691Z] prd-ubuntu20.04-docker-arm64-4c-16g-909 does not seem to be running inside a container [2023-01-03T17:20:31.759Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-03T17:20:32.841Z] $ docker top 1be1fb147a670c091678c28c41a8f2365cd87145965705e63270b7b635b10bd2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-03T17:20:33.385Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-01-03T17:20:33.763Z] + make test [2023-01-03T17:20:33.763Z] go test -race -coverprofile=coverage.out ./... [2023-01-03T17:21:05.979Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-01-03T17:22:42.650Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-01-03T17:22:42.650Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-01-03T17:22:42.650Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-01-03T17:22:42.650Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-01-03T17:22:42.650Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-01-03T17:22:48.034Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.576s coverage: 27.6% of statements [2023-01-03T17:22:48.615Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.465s coverage: 78.9% of statements [2023-01-03T17:22:48.615Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-01-03T17:22:55.297Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.733s coverage: 73.1% of statements [2023-01-03T17:22:55.297Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-01-03T17:22:55.297Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-01-03T17:22:57.876Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.604s coverage: 54.4% of statements [2023-01-03T17:22:57.876Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-01-03T17:22:57.876Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-01-03T17:22:57.876Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-01-03T17:22:57.876Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/telemetry [no test files] [2023-01-03T17:22:58.460Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.393s coverage: 65.1% of statements [2023-01-03T17:22:58.460Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-01-03T17:22:58.460Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-01-03T17:22:58.460Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 4.466s coverage: 89.2% of statements [2023-01-03T17:22:58.460Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-01-03T17:22:58.460Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.290s coverage: 4.7% of statements [2023-01-03T17:22:58.460Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-01-03T17:22:59.425Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-03T17:22:59.425Z] GO111MODULE=on go vet ./... [2023-01-03T17:24:51.150Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-03T17:24:51.150Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-03T17:24:51.150Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-03T17:24:51.191Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-03T17:24:51.221Z] $ docker stop --time=1 1be1fb147a670c091678c28c41a8f2365cd87145965705e63270b7b635b10bd2 [2023-01-03T17:24:53.018Z] $ docker rm -f --volumes 1be1fb147a670c091678c28c41a8f2365cd87145965705e63270b7b635b10bd2 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-03T17:24:54.397Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-03T17:24:54.435Z] Warning: overwriting stash ‘coverage-report’ [2023-01-03T17:24:54.930Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-03T17:24:55.510Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-03T17:24:55.919Z] + ls -al . [2023-01-03T17:24:55.919Z] total 276 [2023-01-03T17:24:55.919Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 3 17:20 . [2023-01-03T17:24:55.919Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 17:18 .. [2023-01-03T17:24:55.919Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 3 17:18 .dockerignore [2023-01-03T17:24:55.919Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 3 17:18 .git [2023-01-03T17:24:55.919Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 3 17:18 .github [2023-01-03T17:24:55.919Z] -rw-rw-r-- 1 jenkins jenkins 131 Jan 3 17:18 .gitignore [2023-01-03T17:24:55.919Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 3 17:18 .golangci.yml [2023-01-03T17:24:55.919Z] -rw-rw-r-- 1 jenkins jenkins 31677 Jan 3 17:18 CHANGELOG.md [2023-01-03T17:24:55.919Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 3 17:18 GOVERNANCE.md [2023-01-03T17:24:55.919Z] -rw-rw-r-- 1 jenkins jenkins 880 Jan 3 17:18 Jenkinsfile [2023-01-03T17:24:55.919Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 3 17:18 LICENSE [2023-01-03T17:24:55.919Z] -rw-rw-r-- 1 jenkins jenkins 1527 Jan 3 17:18 Makefile [2023-01-03T17:24:55.919Z] -rw-rw-r-- 1 jenkins jenkins 619 Jan 3 17:18 OWNERS.md [2023-01-03T17:24:55.919Z] -rw-rw-r-- 1 jenkins jenkins 4891 Jan 3 17:18 README.md [2023-01-03T17:24:55.919Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 3 17:16 VERSION [2023-01-03T17:24:55.919Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 3 17:18 bin [2023-01-03T17:24:55.919Z] -rw-r--r-- 1 jenkins jenkins 101759 Jan 3 17:22 coverage.out [2023-01-03T17:24:55.919Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 3 17:18 example [2023-01-03T17:24:55.919Z] -rw-rw-r-- 1 jenkins jenkins 3342 Jan 3 17:18 go.mod [2023-01-03T17:24:55.919Z] -rw-rw-r-- 1 jenkins jenkins 44555 Jan 3 17:18 go.sum [2023-01-03T17:24:55.919Z] drwxrwxr-x 14 jenkins jenkins 4096 Jan 3 17:18 internal [2023-01-03T17:24:55.919Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 17:18 openapi [2023-01-03T17:24:55.919Z] drwxrwxr-x 6 jenkins jenkins 4096 Jan 3 17:18 pkg [2023-01-03T17:24:55.919Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 17:18 snap [2023-01-03T17:24:55.919Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 3 17:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T17:24:56.349Z] + 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=f34ab7c81adf9b5248a42a3530b7a1aa69396cca --label arch=arm64 --label version=0.0.0 . [2023-01-03T17:24:56.964Z] Sending build context to Docker daemon 5.687MB [2023-01-03T17:24:56.964Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-01-03T17:24:56.964Z] Step 2/23 : FROM ${BASE} AS builder [2023-01-03T17:24:56.964Z] ---> 15282802609c [2023-01-03T17:24:56.964Z] Step 3/23 : ARG MAKE=make build [2023-01-03T17:24:56.964Z] ---> Running in cdf03558bbdb [2023-01-03T17:24:57.240Z] Removing intermediate container cdf03558bbdb [2023-01-03T17:24:57.240Z] ---> e83228044308 [2023-01-03T17:24:57.240Z] Step 4/23 : WORKDIR /device-sdk-go [2023-01-03T17:24:57.546Z] ---> Running in c2358d9c5a52 [2023-01-03T17:24:57.866Z] Removing intermediate container c2358d9c5a52 [2023-01-03T17:24:57.866Z] ---> 63c82304c6c2 [2023-01-03T17:24:57.866Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-03T17:24:57.866Z] ---> Running in 8f2903e113e7 [2023-01-03T17:24:59.289Z] Removing intermediate container 8f2903e113e7 [2023-01-03T17:24:59.289Z] ---> f0c68ddb67d7 [2023-01-03T17:24:59.289Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-01-03T17:24:59.289Z] ---> Running in 5ab231f60af3 [2023-01-03T17:25:00.253Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-03T17:25:00.837Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-03T17:25:01.796Z] OK: 221 MiB in 51 packages [2023-01-03T17:25:02.378Z] Removing intermediate container 5ab231f60af3 [2023-01-03T17:25:02.378Z] ---> 87dfacc720e7 [2023-01-03T17:25:02.378Z] Step 7/23 : COPY go.mod vendor* ./ [2023-01-03T17:25:02.966Z] ---> 617391db4595 [2023-01-03T17:25:02.966Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-03T17:25:02.966Z] ---> Running in 870bfc47c47b [2023-01-03T17:25:04.910Z] Removing intermediate container 870bfc47c47b [2023-01-03T17:25:04.910Z] ---> 662217f7ceb5 [2023-01-03T17:25:04.910Z] Step 9/23 : COPY . . [2023-01-03T17:25:08.264Z] ---> 819db318fb60 [2023-01-03T17:25:08.264Z] Step 10/23 : RUN ${MAKE} [2023-01-03T17:25:08.264Z] ---> Running in a966540bbf15 [2023-01-03T17:25:08.867Z] 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-01-03T17:27:17.460Z] Removing intermediate container a966540bbf15 [2023-01-03T17:27:17.460Z] ---> a8a1a7c543d2 [2023-01-03T17:27:17.460Z] Step 11/23 : FROM alpine:3.16 [2023-01-03T17:27:17.460Z] 3.16: Pulling from library/alpine [2023-01-03T17:27:17.460Z] 6875df1f5354: Pulling fs layer [2023-01-03T17:27:17.460Z] 6875df1f5354: Verifying Checksum [2023-01-03T17:27:17.460Z] 6875df1f5354: Download complete [2023-01-03T17:27:17.460Z] 6875df1f5354: Pull complete [2023-01-03T17:27:17.460Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-03T17:27:17.460Z] Status: Downloaded newer image for alpine:3.16 [2023-01-03T17:27:17.460Z] ---> 2b4661558fb8 [2023-01-03T17:27:17.460Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-01-03T17:27:17.460Z] ---> Running in f9028e4d853f [2023-01-03T17:27:17.460Z] Removing intermediate container f9028e4d853f [2023-01-03T17:27:17.460Z] ---> 0c453187a6cb [2023-01-03T17:27:17.460Z] Step 13/23 : RUN apk add --update --no-cache [2023-01-03T17:27:17.460Z] ---> Running in 4897eb48119d [2023-01-03T17:27:17.460Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-03T17:27:17.460Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-03T17:27:17.460Z] OK: 5 MiB in 14 packages [2023-01-03T17:27:17.460Z] Removing intermediate container 4897eb48119d [2023-01-03T17:27:17.460Z] ---> 5276819c0d1f [2023-01-03T17:27:17.460Z] Step 14/23 : WORKDIR / [2023-01-03T17:27:17.460Z] ---> Running in f0e3aafa591c [2023-01-03T17:27:17.460Z] Removing intermediate container f0e3aafa591c [2023-01-03T17:27:17.460Z] ---> 4cb1a176f661 [2023-01-03T17:27:17.460Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-01-03T17:27:17.460Z] ---> 54a93c506b80 [2023-01-03T17:27:17.460Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-01-03T17:27:18.421Z] ---> 5737fd6e7201 [2023-01-03T17:27:18.421Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-01-03T17:27:18.690Z] ---> 6eb508128185 [2023-01-03T17:27:18.690Z] Step 18/23 : EXPOSE 59999 [2023-01-03T17:27:18.959Z] ---> Running in f2255a09c23e [2023-01-03T17:27:19.227Z] Removing intermediate container f2255a09c23e [2023-01-03T17:27:19.227Z] ---> b667e310bc0a [2023-01-03T17:27:19.227Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-01-03T17:27:19.227Z] ---> Running in 213c06218b9a [2023-01-03T17:27:19.495Z] Removing intermediate container 213c06218b9a [2023-01-03T17:27:19.495Z] ---> 7edcee6ef440 [2023-01-03T17:27:19.495Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-03T17:27:19.495Z] ---> Running in 57273f935b03 [2023-01-03T17:27:19.763Z] Removing intermediate container 57273f935b03 [2023-01-03T17:27:19.763Z] ---> b5c96db1e0a6 [2023-01-03T17:27:19.763Z] Step 21/23 : LABEL arch=arm64 [2023-01-03T17:27:20.031Z] ---> Running in 30125a179f89 [2023-01-03T17:27:20.298Z] Removing intermediate container 30125a179f89 [2023-01-03T17:27:20.298Z] ---> 48a0f1893931 [2023-01-03T17:27:20.298Z] Step 22/23 : LABEL git_sha=f34ab7c81adf9b5248a42a3530b7a1aa69396cca [2023-01-03T17:27:20.298Z] ---> Running in 640b7f0cfc76 [2023-01-03T17:27:20.567Z] Removing intermediate container 640b7f0cfc76 [2023-01-03T17:27:20.567Z] ---> 97e74cb3b918 [2023-01-03T17:27:20.567Z] Step 23/23 : LABEL version=0.0.0 [2023-01-03T17:27:20.567Z] ---> Running in 35ce859eb7a4 [2023-01-03T17:27:20.836Z] Removing intermediate container 35ce859eb7a4 [2023-01-03T17:27:20.836Z] ---> 0483564a921a [2023-01-03T17:27:20.836Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-03T17:27:20.836Z] Successfully built 0483564a921a [2023-01-03T17:27:20.836Z] 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-01-03T17:27:21.863Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-03T17:27:21.863Z] [2023-01-03T17:27:21.863Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T17:27:22.252Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-03T17:27:22.252Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-03T17:27:22.252Z] 8998bd30e6a1: Pulling fs layer [2023-01-03T17:27:22.252Z] 04944245beec: Pulling fs layer [2023-01-03T17:27:22.252Z] 699f458cf7ca: Pulling fs layer [2023-01-03T17:27:22.252Z] 765212b225bb: Pulling fs layer [2023-01-03T17:27:22.252Z] f23df028b6ca: Pulling fs layer [2023-01-03T17:27:22.252Z] d65c8cfc05b1: Pulling fs layer [2023-01-03T17:27:22.252Z] 2437ff75d9bd: Pulling fs layer [2023-01-03T17:27:22.252Z] f23df028b6ca: Waiting [2023-01-03T17:27:22.252Z] d65c8cfc05b1: Waiting [2023-01-03T17:27:22.252Z] 2437ff75d9bd: Waiting [2023-01-03T17:27:22.252Z] 765212b225bb: Waiting [2023-01-03T17:27:22.522Z] 04944245beec: Verifying Checksum [2023-01-03T17:27:22.522Z] 04944245beec: Download complete [2023-01-03T17:27:22.522Z] 765212b225bb: Verifying Checksum [2023-01-03T17:27:22.522Z] 765212b225bb: Download complete [2023-01-03T17:27:22.522Z] f23df028b6ca: Verifying Checksum [2023-01-03T17:27:22.522Z] f23df028b6ca: Download complete [2023-01-03T17:27:22.522Z] d65c8cfc05b1: Verifying Checksum [2023-01-03T17:27:22.522Z] d65c8cfc05b1: Download complete [2023-01-03T17:27:22.522Z] 699f458cf7ca: Verifying Checksum [2023-01-03T17:27:22.522Z] 699f458cf7ca: Download complete [2023-01-03T17:27:23.111Z] 8998bd30e6a1: Verifying Checksum [2023-01-03T17:27:23.111Z] 8998bd30e6a1: Download complete [2023-01-03T17:27:25.712Z] 2437ff75d9bd: Verifying Checksum [2023-01-03T17:27:25.712Z] 2437ff75d9bd: Download complete [2023-01-03T17:27:27.127Z] 8998bd30e6a1: Pull complete [2023-01-03T17:27:27.397Z] 04944245beec: Pull complete [2023-01-03T17:27:28.810Z] 699f458cf7ca: Pull complete [2023-01-03T17:27:28.810Z] 765212b225bb: Pull complete [2023-01-03T17:27:29.771Z] f23df028b6ca: Pull complete [2023-01-03T17:27:29.771Z] d65c8cfc05b1: Pull complete [2023-01-03T17:27:44.779Z] 2437ff75d9bd: Pull complete [2023-01-03T17:27:44.779Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-03T17:27:44.779Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-03T17:27:44.779Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T17:27:45.104Z] prd-ubuntu20.04-docker-arm64-4c-16g-909 does not seem to be running inside a container [2023-01-03T17:27:45.175Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-01-03T17:27:47.705Z] $ docker top 5905c9fdb33839296a41b85ce3a16fb5802317092f07f8110acd3c67ff823ccb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-03T17:27:48.610Z] ---> job-cost.sh [2023-01-03T17:27:48.610Z] lf-activate-venv: SKIPPING [2023-01-03T17:27:48.610Z] INFO: No Stack... [2023-01-03T17:27:48.877Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-03T17:27:49.835Z] INFO: Archiving Costs [Pipeline] sh [2023-01-03T17:27:50.492Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2023-01-03T17:27:50.492Z] + cut -d, -f6 [Pipeline] lock [2023-01-03T17:27:50.581Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1269-1-stack-cost] [2023-01-03T17:27:50.586Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1269-1-stack-cost] did not exist. Created. [2023-01-03T17:27:50.586Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1269-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-03T17:27:50.992Z] /w/workspace/device-sdk-go/1@tmp/durable-832115e3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-03T17:27:51.662Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-03T17:27:51.697Z] Warning: overwriting stash ‘stack-cost’ [2023-01-03T17:27:51.757Z] Stashed 1 file(s) [Pipeline] } [2023-01-03T17:27:51.772Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1269-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-03T17:27:51.843Z] $ docker stop --time=1 5905c9fdb33839296a41b85ce3a16fb5802317092f07f8110acd3c67ff823ccb [2023-01-03T17:27:53.338Z] $ docker rm -f --volumes 5905c9fdb33839296a41b85ce3a16fb5802317092f07f8110acd3c67ff823ccb [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-01-03T17:27:54.343Z] provisioning config files... [2023-01-03T17:27:54.352Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1269@tmp/config18351423914651713136tmp [Pipeline] { [Pipeline] sh [2023-01-03T17:27:54.682Z] + set +x [2023-01-03T17:27:54.682Z] + curl -s https://codecov.io/bash [2023-01-03T17:27:54.682Z] + bash -s -- [2023-01-03T17:27:54.682Z] [2023-01-03T17:27:54.682Z] _____ _ [2023-01-03T17:27:54.682Z] / ____| | | [2023-01-03T17:27:54.682Z] | | ___ __| | ___ ___ _____ __ [2023-01-03T17:27:54.682Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-03T17:27:54.682Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-03T17:27:54.682Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-03T17:27:54.682Z] Bash-1.0.6 [2023-01-03T17:27:54.682Z] [2023-01-03T17:27:54.682Z] [2023-01-03T17:27:54.682Z] ==> git version 2.25.1 found [2023-01-03T17:27:54.682Z] ==> 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-01-03T17:27:54.682Z] Release-Date: 2020-01-08 [2023-01-03T17:27:54.682Z] 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-01-03T17:27:54.682Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-03T17:27:54.682Z] ==> Jenkins CI detected. [2023-01-03T17:27:54.682Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1269 [2023-01-03T17:27:54.682Z] project root: . [2023-01-03T17:27:54.682Z] --> token set from env [2023-01-03T17:27:54.682Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-03T17:27:54.682Z] ==> Running gcov in . (disable via -X gcov) [2023-01-03T17:27:54.682Z] ==> Python coveragepy not found [2023-01-03T17:27:54.682Z] ==> Searching for coverage reports in: [2023-01-03T17:27:54.682Z] + . [2023-01-03T17:27:54.682Z] -> Found 1 reports [2023-01-03T17:27:54.682Z] ==> Detecting git/mercurial file structure [2023-01-03T17:27:54.682Z] ==> Reading reports [2023-01-03T17:27:54.682Z] + ./coverage.out bytes=101759 [2023-01-03T17:27:54.942Z] ==> Appending adjustments [2023-01-03T17:27:54.942Z] https://docs.codecov.io/docs/fixing-reports [2023-01-03T17:27:55.201Z] + Found adjustments [2023-01-03T17:27:55.201Z] ==> Gzipping contents [2023-01-03T17:27:55.201Z] 16K /tmp/codecov.NkLql7.gz [2023-01-03T17:27:55.201Z] ==> Uploading reports [2023-01-03T17:27:55.201Z] url: https://codecov.io [2023-01-03T17:27:55.201Z] query: branch=PR-1269&commit=f34ab7c81adf9b5248a42a3530b7a1aa69396cca&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1269%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1269&job=&cmd_args= [2023-01-03T17:27:55.201Z] -> Pinging Codecov [2023-01-03T17:27:55.201Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1269&commit=f34ab7c81adf9b5248a42a3530b7a1aa69396cca&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1269%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1269&job=&cmd_args= [2023-01-03T17:27:55.459Z] -> Uploading to [2023-01-03T17:27:55.459Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-03/7E55EF52A471D76F132DFD9A03CDDE97/f34ab7c81adf9b5248a42a3530b7a1aa69396cca/62f1ad4a-5502-4045-b84c-39aeb0372e93.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230103%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230103T172755Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e8f39af96c451988bf5ae9aacaf34e78ac02510d9c07c4b1331a81b4a1d7419b [2023-01-03T17:27:55.459Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-03T17:27:55.459Z] Dload Upload Total Spent Left Speed [2023-01-03T17:27:55.718Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14699 0 0 100 14699 0 71702 --:--:-- --:--:-- --:--:-- 71702 [2023-01-03T17:27:55.718Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/f34ab7c81adf9b5248a42a3530b7a1aa69396cca [Pipeline] } [2023-01-03T17:27:55.750Z] 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-01-03T17:27:57.490Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1269/archives ] [2023-01-03T17:27:57.490Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1269/archives [2023-01-03T17:27:57.490Z] total 16 [2023-01-03T17:27:57.490Z] drwxr-xr-x 3 root root 4096 Jan 3 17:18 . [2023-01-03T17:27:57.490Z] drwxrwxr-x 12 jenkins jenkins 4096 Jan 3 17:18 .. [2023-01-03T17:27:57.490Z] drwxr-xr-x 2 root root 4096 Jan 3 17:18 cost [2023-01-03T17:27:57.490Z] -rw-r--r-- 1 root root 86 Jan 3 17:18 cost.csv [2023-01-03T17:27:57.490Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1269/archives [2023-01-03T17:27:57.490Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1269/archives [2023-01-03T17:27:57.490Z] total 16 [2023-01-03T17:27:57.490Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 3 17:18 . [2023-01-03T17:27:57.490Z] drwxrwxr-x 12 jenkins jenkins 4096 Jan 3 17:18 .. [2023-01-03T17:27:57.490Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 3 17:18 cost [2023-01-03T17:27:57.490Z] -rw-r--r-- 1 jenkins jenkins 86 Jan 3 17:18 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-03T17:27:57.815Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-03T17:27:58.699Z] ---> package-listing.sh [2023-01-03T17:27:58.699Z] ++ facter osfamily [2023-01-03T17:27:58.699Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-03T17:27:58.958Z] + OS_FAMILY=debian [2023-01-03T17:27:58.958Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1269 [2023-01-03T17:27:58.958Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-03T17:27:58.958Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-03T17:27:58.958Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-03T17:27:58.958Z] + PACKAGES=/tmp/packages_start.txt [2023-01-03T17:27:58.958Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1269 ']' [2023-01-03T17:27:58.958Z] + PACKAGES=/tmp/packages_end.txt [2023-01-03T17:27:58.958Z] + case "${OS_FAMILY}" in [2023-01-03T17:27:58.958Z] + dpkg -l [2023-01-03T17:27:58.958Z] + grep '^ii' [2023-01-03T17:27:58.958Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-03T17:27:58.958Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-03T17:27:58.958Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-03T17:27:58.958Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1269 ']' [2023-01-03T17:27:58.958Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1269/archives/ [2023-01-03T17:27:58.958Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1269/archives/ [Pipeline] echo [2023-01-03T17:27:58.993Z] 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-1269/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-03T17:27:59.285Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T17:27:59.906Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-03T17:27:59.906Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T17:28:00.054Z] prd-ubuntu20.04-docker-8c-8g-908 does not seem to be running inside a container [2023-01-03T17:28:00.080Z] $ 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-1269/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-1269 -v /w/workspace/gexfoundry_device-sdk-go_PR-1269:/w/workspace/gexfoundry_device-sdk-go_PR-1269:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1269@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1269@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-lftools-log-publisher:latest cat [2023-01-03T17:28:00.257Z] $ docker top 8fb54d560d9d3ed9b0fa88dbe79c95cdd4128acd046158bfc2ed0c069bec9633 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-03T17:28:00.649Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-03T17:28:00.957Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-03T17:28:01.267Z] + ls /var/log/sa-host [2023-01-03T17:28:01.267Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-03T17:28:01.481Z] provisioning config files... [2023-01-03T17:28:01.490Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1269@tmp/config13572268786193079710tmp [Pipeline] { [Pipeline] echo [2023-01-03T17:28:01.538Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-03T17:28:01.851Z] ---> create-netrc.sh [Pipeline] } [2023-01-03T17:28:01.878Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-03T17:28:02.288Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-03T17:28:02.393Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-03T17:28:02.701Z] ---> sudo-logs.sh [2023-01-03T17:28:02.701Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-03T17:28:02.787Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-03T17:28:03.097Z] ---> job-cost.sh [2023-01-03T17:28:03.097Z] lf-activate-venv: SKIPPING [2023-01-03T17:28:03.097Z] DEBUG: total: 0.2199999988079071 [2023-01-03T17:28:03.097Z] INFO: Retrieving Stack Cost... [2023-01-03T17:28:03.357Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-03T17:28:03.925Z] INFO: Archiving Costs [Pipeline] echo [2023-01-03T17:28:03.960Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-03T17:28:04.268Z] ---> logs-deploy.sh [2023-01-03T17:28:04.268Z] lf-activate-venv: SKIPPING [2023-01-03T17:28:04.268Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1269/1 [2023-01-03T17:28:04.268Z] INFO: archiving workspace using pattern(s): [2023-01-03T17:28:05.205Z] Archives upload complete. [2023-01-03T17:28:05.205Z] INFO: archiving logs to Nexus