Pull request #305 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-virtual-go Obtained Jenkinsfile from d070edb31437feaa294966818fefefe6b79f45cf+e9e78a70a342ea66ab18edf5d69a1655646d3b52 (a8f2ddfd714d39c78d3bce8d062016b56093e66a) 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-ssh4628510823139388312.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh2644565473528648205.key Verifying host key using known hosts file > 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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-virtual-go/branches/PR-305/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-virtual-go/branches/PR-305/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14786980872451132523.key Verifying host key using known hosts file > 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-virtual-go/branches/PR-305/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11100225027868727157.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh4536538039124522953.key Verifying host key using known hosts file > 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-virtual-go/branches/PR-305/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-virtual-go/branches/PR-305/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13406952541866975921.key Verifying host key using known hosts file > 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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-virtual-go] ========================================================= [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-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 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 Running on prd-ubuntu20.04-docker-8c-8g-627 in /w/workspace/foundry_device-virtual-go_PR-305 [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-virtual-go.git > git init /w/workspace/foundry_device-virtual-go_PR-305 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-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-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/305/head:refs/remotes/origin/PR-305 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit e9e78a70a342ea66ab18edf5d69a1655646d3b52 into PR head commit d070edb31437feaa294966818fefefe6b79f45cf Merge succeeded, producing d070edb31437feaa294966818fefefe6b79f45cf Checking out Revision d070edb31437feaa294966818fefefe6b79f45cf (PR-305) > git config core.sparsecheckout # timeout=10 > git checkout -f d070edb31437feaa294966818fefefe6b79f45cf # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge e9e78a70a342ea66ab18edf5d69a1655646d3b52 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d070edb31437feaa294966818fefefe6b79f45cf # timeout=10 Commit message: "feat: Add NATS Subject configuration" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-22T19:43:22.025Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-22T19:43:22.181Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-22T19:43:22.263Z] ========================================================= [2022-09-22T19:43:22.263Z] EdgeX Global Pipelines Version Info [2022-09-22T19:43:22.263Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-09-22T19:43:22.998Z] ------------------- [2022-09-22T19:43:22.998Z] stable info: [2022-09-22T19:43:22.998Z] ------------------- [2022-09-22T19:43:22.998Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-22T19:43:22.998Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-22T19:43:22.998Z] Message: update stable to v1.0.239 [2022-09-22T19:43:23.568Z] ------------------- [2022-09-22T19:43:23.568Z] experimental info: [2022-09-22T19:43:23.568Z] ------------------- [2022-09-22T19:43:23.568Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-22T19:43:23.568Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-22T19:43:23.568Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-22T19:43:23.869Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2022-09-22T19:43:23.910Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2022-09-22T19:43:23.947Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-22T19:43:23.985Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-22T19:43:24.027Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-22T19:43:24.063Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-22T19:43:24.104Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-22T19:43:24.144Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-09-22T19:43:24.185Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-22T19:43:24.224Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-22T19:43:24.263Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-22T19:43:24.303Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2022-09-22T19:43:24.349Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-22T19:43:24.390Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-22T19:43:24.429Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-22T19:43:24.466Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-09-22T19:43:24.506Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-22T19:43:24.548Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-22T19:43:24.588Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-22T19:43:24.628Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-22T19:43:24.667Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-09-22T19:43:24.704Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-09-22T19:43:24.743Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-22T19:43:24.781Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-22T19:43:24.821Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-22T19:43:24.861Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-22T19:43:24.904Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-22T19:43:24.940Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-305 [Pipeline] echo [2022-09-22T19:43:24.975Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-305 [Pipeline] echo [2022-09-22T19:43:25.016Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-305 [Pipeline] echo [2022-09-22T19:43:25.053Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d070edb31437feaa294966818fefefe6b79f45cf [Pipeline] echo [2022-09-22T19:43:25.088Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d070edb [Pipeline] echo [2022-09-22T19:43:25.123Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-22T19:43:25.230Z] provisioning config files... [2022-09-22T19:43:25.242Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-305@tmp/config13308429585075587875tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-22T19:43:25.578Z] ---> docker-login.sh [2022-09-22T19:43:25.578Z] nexus3.edgexfoundry.org:10001 [2022-09-22T19:43:25.838Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T19:43:26.098Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T19:43:26.098Z] Configure a credential helper to remove this warning. See [2022-09-22T19:43:26.098Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T19:43:26.098Z] [2022-09-22T19:43:26.098Z] Login Succeeded [2022-09-22T19:43:26.098Z] nexus3.edgexfoundry.org:10002 [2022-09-22T19:43:26.098Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T19:43:26.098Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T19:43:26.098Z] Configure a credential helper to remove this warning. See [2022-09-22T19:43:26.098Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T19:43:26.098Z] [2022-09-22T19:43:26.098Z] Login Succeeded [2022-09-22T19:43:26.098Z] nexus3.edgexfoundry.org:10003 [2022-09-22T19:43:26.098Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T19:43:26.357Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T19:43:26.357Z] Configure a credential helper to remove this warning. See [2022-09-22T19:43:26.357Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T19:43:26.357Z] [2022-09-22T19:43:26.357Z] Login Succeeded [2022-09-22T19:43:26.357Z] nexus3.edgexfoundry.org:10004 [2022-09-22T19:43:26.357Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T19:43:26.357Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T19:43:26.357Z] Configure a credential helper to remove this warning. See [2022-09-22T19:43:26.357Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T19:43:26.357Z] [2022-09-22T19:43:26.357Z] Login Succeeded [2022-09-22T19:43:26.357Z] docker.io [2022-09-22T19:43:26.357Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T19:43:26.927Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T19:43:26.927Z] Configure a credential helper to remove this warning. See [2022-09-22T19:43:26.927Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T19:43:26.927Z] [2022-09-22T19:43:26.927Z] Login Succeeded [2022-09-22T19:43:26.927Z] ---> docker-login.sh ends [Pipeline] } [2022-09-22T19:43:26.955Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-22T19:43:27.561Z] + git rev-list -1 --merges d070edb31437feaa294966818fefefe6b79f45cf~1..d070edb31437feaa294966818fefefe6b79f45cf [Pipeline] echo [2022-09-22T19:43:27.594Z] -----------> git rev-list -1 --merges d070edb31437feaa294966818fefefe6b79f45cf~1..d070edb31437feaa294966818fefefe6b79f45cf d070edb31437feaa294966818fefefe6b79f45cf [false] [Pipeline] sh [2022-09-22T19:43:27.903Z] + git log --format=format:%s -1 d070edb31437feaa294966818fefefe6b79f45cf [Pipeline] echo [2022-09-22T19:43:27.941Z] ========================================================= [2022-09-22T19:43:27.941Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-22T19:43:27.941Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-22T19:43:28.369Z] + git log --format=format:%s -1 d070edb31437feaa294966818fefefe6b79f45cf [Pipeline] echo [2022-09-22T19:43:28.402Z] [semverPrep] GIT_COMMIT: d070edb31437feaa294966818fefefe6b79f45cf, Commit Message: feat: Add NATS Subject configuration [Pipeline] echo [2022-09-22T19:43:28.430Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-22T19:43:28.827Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-22T19:43:28.827Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-22T19:43:28.827Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-22T19:43:28.827Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-22T19:43:28.827Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-22T19:43:28.827Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-22T19:43:28.827Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T19:43:29.307Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-22T19:43:29.307Z] [2022-09-22T19:43:29.307Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T19:43:29.681Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-22T19:43:29.681Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-22T19:43:29.681Z] b85a868b505f: Pulling fs layer [2022-09-22T19:43:29.681Z] e2be974225ed: Pulling fs layer [2022-09-22T19:43:29.681Z] 339a4e72a1f5: Pulling fs layer [2022-09-22T19:43:29.681Z] 988bab9f4d93: Pulling fs layer [2022-09-22T19:43:29.681Z] 1469e6f7b9e6: Pulling fs layer [2022-09-22T19:43:29.681Z] eaf3925da568: Pulling fs layer [2022-09-22T19:43:29.681Z] bab4dde63d76: Pulling fs layer [2022-09-22T19:43:29.681Z] bde34c3a00c8: Pulling fs layer [2022-09-22T19:43:29.681Z] b352a97aabf1: Pulling fs layer [2022-09-22T19:43:29.681Z] 4872d77fe225: Pulling fs layer [2022-09-22T19:43:29.681Z] 5851b861e8e6: Pulling fs layer [2022-09-22T19:43:29.681Z] 988bab9f4d93: Waiting [2022-09-22T19:43:29.681Z] bde34c3a00c8: Waiting [2022-09-22T19:43:29.681Z] b352a97aabf1: Waiting [2022-09-22T19:43:29.681Z] 1469e6f7b9e6: Waiting [2022-09-22T19:43:29.681Z] 4872d77fe225: Waiting [2022-09-22T19:43:29.681Z] bab4dde63d76: Waiting [2022-09-22T19:43:29.681Z] eaf3925da568: Waiting [2022-09-22T19:43:29.681Z] 5851b861e8e6: Waiting [2022-09-22T19:43:29.681Z] e2be974225ed: Download complete [2022-09-22T19:43:29.681Z] 988bab9f4d93: Download complete [2022-09-22T19:43:29.681Z] 1469e6f7b9e6: Verifying Checksum [2022-09-22T19:43:29.681Z] 1469e6f7b9e6: Download complete [2022-09-22T19:43:29.942Z] eaf3925da568: Download complete [2022-09-22T19:43:29.942Z] 339a4e72a1f5: Verifying Checksum [2022-09-22T19:43:29.942Z] 339a4e72a1f5: Download complete [2022-09-22T19:43:29.942Z] bde34c3a00c8: Verifying Checksum [2022-09-22T19:43:29.942Z] bde34c3a00c8: Download complete [2022-09-22T19:43:29.942Z] b352a97aabf1: Download complete [2022-09-22T19:43:29.942Z] 4872d77fe225: Download complete [2022-09-22T19:43:29.942Z] 5851b861e8e6: Verifying Checksum [2022-09-22T19:43:29.942Z] 5851b861e8e6: Download complete [2022-09-22T19:43:29.942Z] b85a868b505f: Verifying Checksum [2022-09-22T19:43:29.942Z] b85a868b505f: Download complete [2022-09-22T19:43:30.201Z] bab4dde63d76: Verifying Checksum [2022-09-22T19:43:30.201Z] bab4dde63d76: Download complete [2022-09-22T19:43:31.138Z] b85a868b505f: Pull complete [2022-09-22T19:43:31.138Z] e2be974225ed: Pull complete [2022-09-22T19:43:31.705Z] 339a4e72a1f5: Pull complete [2022-09-22T19:43:31.705Z] 988bab9f4d93: Pull complete [2022-09-22T19:43:31.963Z] 1469e6f7b9e6: Pull complete [2022-09-22T19:43:31.963Z] eaf3925da568: Pull complete [2022-09-22T19:43:33.334Z] bab4dde63d76: Pull complete [2022-09-22T19:43:33.334Z] bde34c3a00c8: Pull complete [2022-09-22T19:43:33.593Z] b352a97aabf1: Pull complete [2022-09-22T19:43:33.593Z] 4872d77fe225: Pull complete [2022-09-22T19:43:33.593Z] 5851b861e8e6: Pull complete [2022-09-22T19:43:33.593Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-22T19:43:33.593Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-22T19:43:33.593Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T19:43:33.808Z] prd-ubuntu20.04-docker-8c-8g-627 does not seem to be running inside a container [2022-09-22T19:43:33.841Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-305 -v /w/workspace/foundry_device-virtual-go_PR-305:/w/workspace/foundry_device-virtual-go_PR-305:rw,z -v /w/workspace/foundry_device-virtual-go_PR-305@tmp:/w/workspace/foundry_device-virtual-go_PR-305@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 [2022-09-22T19:43:34.933Z] $ docker top c7af474c809b16df6e3c53b8eee9831ccfac9cbfee9785c6f8d5ce99db30105f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-22T19:43:35.101Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-22T19:43:35.101Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-22T19:43:35.208Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-22T19:43:35.215Z] $ docker exec c7af474c809b16df6e3c53b8eee9831ccfac9cbfee9785c6f8d5ce99db30105f ssh-agent [2022-09-22T19:43:35.305Z] SSH_AUTH_SOCK=/tmp/ssh-uLz4hCQQozYh/agent.33 [2022-09-22T19:43:35.305Z] SSH_AGENT_PID=39 [2022-09-22T19:43:35.311Z] Running ssh-add (command line suppressed) [2022-09-22T19:43:35.412Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-305@tmp/private_key_7133478423351417648.key (/w/workspace/foundry_device-virtual-go_PR-305@tmp/private_key_7133478423351417648.key) [2022-09-22T19:43:35.423Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-22T19:43:35.749Z] + git tag --points-at HEAD [Pipeline] } [2022-09-22T19:43:35.806Z] $ docker exec --env ******** --env ******** c7af474c809b16df6e3c53b8eee9831ccfac9cbfee9785c6f8d5ce99db30105f ssh-agent -k [2022-09-22T19:43:35.886Z] unset SSH_AUTH_SOCK; [2022-09-22T19:43:35.886Z] unset SSH_AGENT_PID; [2022-09-22T19:43:35.886Z] echo Agent pid 39 killed; [2022-09-22T19:43:35.891Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-22T19:43:35.974Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-22T19:43:35.974Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-22T19:43:36.080Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-22T19:43:36.086Z] $ docker exec c7af474c809b16df6e3c53b8eee9831ccfac9cbfee9785c6f8d5ce99db30105f ssh-agent [2022-09-22T19:43:36.174Z] SSH_AUTH_SOCK=/tmp/ssh-WCZw9z2GK3FN/agent.72 [2022-09-22T19:43:36.174Z] SSH_AGENT_PID=78 [2022-09-22T19:43:36.178Z] Running ssh-add (command line suppressed) [2022-09-22T19:43:36.278Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-305@tmp/private_key_14723524002677850281.key (/w/workspace/foundry_device-virtual-go_PR-305@tmp/private_key_14723524002677850281.key) [2022-09-22T19:43:36.287Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-22T19:43:36.671Z] + git semver init [2022-09-22T19:43:36.936Z] 2022-09-22 19:43:36,841 [run_init] DEBUG init version:0.0.0 force:False [2022-09-22T19:43:36.936Z] 2022-09-22 19:43:36,842 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-305/.semver [2022-09-22T19:43:36.936Z] 2022-09-22 19:43:36,842 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-305/.semver [2022-09-22T19:43:36.936Z] 2022-09-22 19:43:36,843 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-305/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-305, universal_newlines=False, shell=None, istream=None) [2022-09-22T19:43:38.316Z] 2022-09-22 19:43:37,883 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-305/.git/info/exclude [2022-09-22T19:43:38.316Z] 2022-09-22 19:43:37,884 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-305/.semver/PR-305 with force:False [2022-09-22T19:43:38.316Z] 2022-09-22 19:43:37,884 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-305/.semver/PR-305 [2022-09-22T19:43:38.316Z] 2022-09-22 19:43:37,888 [execute] INFO git cat-file --batch-check [2022-09-22T19:43:38.316Z] 2022-09-22 19:43:37,889 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-305/.semver, universal_newlines=False, shell=None, istream=) [2022-09-22T19:43:38.316Z] 2022-09-22 19:43:37,894 [execute] INFO git cat-file --batch [2022-09-22T19:43:38.316Z] 2022-09-22 19:43:37,894 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-305/.semver, universal_newlines=False, shell=None, istream=) [2022-09-22T19:43:38.316Z] 2022-09-22 19:43:37,899 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-305/.semver/PR-305 [2022-09-22T19:43:38.316Z] 0.0.0 [Pipeline] } [2022-09-22T19:43:38.346Z] $ docker exec --env ******** --env ******** c7af474c809b16df6e3c53b8eee9831ccfac9cbfee9785c6f8d5ce99db30105f ssh-agent -k [2022-09-22T19:43:38.443Z] unset SSH_AUTH_SOCK; [2022-09-22T19:43:38.443Z] unset SSH_AGENT_PID; [2022-09-22T19:43:38.443Z] echo Agent pid 78 killed; [2022-09-22T19:43:38.449Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-22T19:43:38.877Z] + git semver [Pipeline] } [2022-09-22T19:43:39.246Z] $ docker stop --time=1 c7af474c809b16df6e3c53b8eee9831ccfac9cbfee9785c6f8d5ce99db30105f [2022-09-22T19:43:40.538Z] $ docker rm -f c7af474c809b16df6e3c53b8eee9831ccfac9cbfee9785c6f8d5ce99db30105f [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-22T19:43:40.924Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-22T19:43:41.153Z] Stashed 1 file(s) [Pipeline] echo [2022-09-22T19:43:41.173Z] [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 [2022-09-22T19:43:41.804Z] provisioning config files... [2022-09-22T19:43:41.814Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-305@tmp/config11404151964771169316tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-22T19:43:42.146Z] ---> docker-login.sh [2022-09-22T19:43:42.147Z] nexus3.edgexfoundry.org:10001 [2022-09-22T19:43:42.147Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T19:43:42.147Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T19:43:42.147Z] Configure a credential helper to remove this warning. See [2022-09-22T19:43:42.147Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T19:43:42.147Z] [2022-09-22T19:43:42.147Z] Login Succeeded [2022-09-22T19:43:42.147Z] nexus3.edgexfoundry.org:10002 [2022-09-22T19:43:42.147Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T19:43:42.147Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T19:43:42.147Z] Configure a credential helper to remove this warning. See [2022-09-22T19:43:42.147Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T19:43:42.147Z] [2022-09-22T19:43:42.147Z] Login Succeeded [2022-09-22T19:43:42.147Z] nexus3.edgexfoundry.org:10003 [2022-09-22T19:43:42.406Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T19:43:42.406Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T19:43:42.406Z] Configure a credential helper to remove this warning. See [2022-09-22T19:43:42.406Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T19:43:42.406Z] [2022-09-22T19:43:42.406Z] Login Succeeded [2022-09-22T19:43:42.406Z] nexus3.edgexfoundry.org:10004 [2022-09-22T19:43:42.406Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T19:43:42.406Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T19:43:42.406Z] Configure a credential helper to remove this warning. See [2022-09-22T19:43:42.406Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T19:43:42.406Z] [2022-09-22T19:43:42.406Z] Login Succeeded [2022-09-22T19:43:42.406Z] docker.io [2022-09-22T19:43:42.406Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T19:43:42.974Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T19:43:42.974Z] Configure a credential helper to remove this warning. See [2022-09-22T19:43:42.974Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T19:43:42.974Z] [2022-09-22T19:43:42.974Z] Login Succeeded [2022-09-22T19:43:42.974Z] ---> docker-login.sh ends [Pipeline] } [2022-09-22T19:43:43.004Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-22T19:43:43.182Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-22T19:43:43.216Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-22T19:43:43.246Z] ========================================================= [2022-09-22T19:43:43.246Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-22T19:43:43.246Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T19:43:43.710Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-09-22T19:43:43.711Z] Sending build context to Docker daemon 23.14MB [2022-09-22T19:43:43.711Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-22T19:43:43.711Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-22T19:43:43.711Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-22T19:43:43.711Z] 2408cc74d12b: Pulling fs layer [2022-09-22T19:43:43.711Z] ea60b727a1ce: Pulling fs layer [2022-09-22T19:43:43.711Z] 30c4a7721957: Pulling fs layer [2022-09-22T19:43:43.711Z] 370296b7ddb6: Pulling fs layer [2022-09-22T19:43:43.711Z] 7c6cee850709: Pulling fs layer [2022-09-22T19:43:43.711Z] 39a5fcdaea64: Pulling fs layer [2022-09-22T19:43:43.711Z] d94ebbe4e438: Pulling fs layer [2022-09-22T19:43:43.711Z] bcfd1f05c69d: Pulling fs layer [2022-09-22T19:43:43.711Z] 59ccb84bbe0f: Pulling fs layer [2022-09-22T19:43:43.711Z] 370296b7ddb6: Waiting [2022-09-22T19:43:43.711Z] 7c6cee850709: Waiting [2022-09-22T19:43:43.711Z] 39a5fcdaea64: Waiting [2022-09-22T19:43:43.711Z] d94ebbe4e438: Waiting [2022-09-22T19:43:43.711Z] bcfd1f05c69d: Waiting [2022-09-22T19:43:43.711Z] 59ccb84bbe0f: Waiting [2022-09-22T19:43:43.711Z] 30c4a7721957: Verifying Checksum [2022-09-22T19:43:43.711Z] 30c4a7721957: Download complete [2022-09-22T19:43:43.970Z] ea60b727a1ce: Verifying Checksum [2022-09-22T19:43:43.970Z] ea60b727a1ce: Download complete [2022-09-22T19:43:43.970Z] 7c6cee850709: Verifying Checksum [2022-09-22T19:43:43.970Z] 7c6cee850709: Download complete [2022-09-22T19:43:43.970Z] 39a5fcdaea64: Verifying Checksum [2022-09-22T19:43:43.970Z] 39a5fcdaea64: Download complete [2022-09-22T19:43:43.970Z] 2408cc74d12b: Verifying Checksum [2022-09-22T19:43:43.970Z] 2408cc74d12b: Download complete [2022-09-22T19:43:43.970Z] d94ebbe4e438: Verifying Checksum [2022-09-22T19:43:43.970Z] d94ebbe4e438: Download complete [2022-09-22T19:43:43.970Z] 2408cc74d12b: Pull complete [2022-09-22T19:43:44.238Z] ea60b727a1ce: Pull complete [2022-09-22T19:43:44.238Z] 30c4a7721957: Pull complete [2022-09-22T19:43:44.503Z] 59ccb84bbe0f: Verifying Checksum [2022-09-22T19:43:44.503Z] 59ccb84bbe0f: Download complete [2022-09-22T19:43:44.762Z] bcfd1f05c69d: Verifying Checksum [2022-09-22T19:43:44.762Z] bcfd1f05c69d: Download complete [2022-09-22T19:43:44.762Z] 370296b7ddb6: Verifying Checksum [2022-09-22T19:43:44.762Z] 370296b7ddb6: Download complete [2022-09-22T19:43:48.044Z] 370296b7ddb6: Pull complete [2022-09-22T19:43:48.044Z] 7c6cee850709: Pull complete [2022-09-22T19:43:48.044Z] 39a5fcdaea64: Pull complete [2022-09-22T19:43:48.044Z] d94ebbe4e438: Pull complete [2022-09-22T19:43:49.942Z] bcfd1f05c69d: Pull complete [2022-09-22T19:43:50.507Z] 59ccb84bbe0f: Pull complete [2022-09-22T19:43:50.765Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-22T19:43:50.765Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-22T19:43:50.765Z] ---> a4fb48ad2a94 [2022-09-22T19:43:50.765Z] Step 3/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-22T19:43:52.202Z] ---> Running in 9448797d0b17 [2022-09-22T19:43:52.202Z] Removing intermediate container 9448797d0b17 [2022-09-22T19:43:52.202Z] ---> a4300aaac060 [2022-09-22T19:43:52.202Z] Step 4/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-22T19:43:52.202Z] ---> Running in dd995554db46 [2022-09-22T19:43:52.202Z] Removing intermediate container dd995554db46 [2022-09-22T19:43:52.202Z] ---> 3376fc7b87ad [2022-09-22T19:43:52.202Z] Step 5/13 : ARG ADD_BUILD_TAGS="" [2022-09-22T19:43:52.202Z] ---> Running in a27529928fb6 [2022-09-22T19:43:52.202Z] Removing intermediate container a27529928fb6 [2022-09-22T19:43:52.202Z] ---> fff1a1343ebd [2022-09-22T19:43:52.202Z] Step 6/13 : WORKDIR /device-virtual-go [2022-09-22T19:43:52.202Z] ---> Running in cb25ecf321a2 [2022-09-22T19:43:52.461Z] Removing intermediate container cb25ecf321a2 [2022-09-22T19:43:52.461Z] ---> c72b4d0fe278 [2022-09-22T19:43:52.461Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-22T19:43:52.461Z] ---> Running in e8d3b2c4f3ca [2022-09-22T19:43:53.030Z] Removing intermediate container e8d3b2c4f3ca [2022-09-22T19:43:53.030Z] ---> cc78ac5c7b52 [2022-09-22T19:43:53.030Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-22T19:43:53.030Z] ---> Running in f48c39542f8c [2022-09-22T19:43:53.288Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-22T19:43:54.225Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-22T19:43:54.485Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-09-22T19:43:54.485Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-09-22T19:43:54.744Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-09-22T19:43:54.744Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-09-22T19:43:55.003Z] Executing busybox-1.35.0-r13.trigger [2022-09-22T19:43:55.003Z] OK: 216 MiB in 55 packages [2022-09-22T19:43:55.261Z] Removing intermediate container f48c39542f8c [2022-09-22T19:43:55.261Z] ---> 0685677a9729 [2022-09-22T19:43:55.261Z] Step 9/13 : COPY go.mod vendor* ./ [2022-09-22T19:43:55.261Z] ---> f5c20ba71acd [2022-09-22T19:43:55.261Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-22T19:43:55.520Z] ---> Running in 88bf5484697f [2022-09-22T19:43:56.566Z] Still waiting to schedule task [2022-09-22T19:43:56.566Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-09-22T19:44:13.616Z] Removing intermediate container 88bf5484697f [2022-09-22T19:44:13.616Z] ---> 81570a1d394d [2022-09-22T19:44:13.616Z] Step 11/13 : COPY . . [2022-09-22T19:44:13.616Z] ---> bdf304911c3e [2022-09-22T19:44:13.616Z] Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-22T19:44:13.616Z] ---> Running in e303fdc3ce16 [2022-09-22T19:44:13.616Z] Removing intermediate container e303fdc3ce16 [2022-09-22T19:44:13.616Z] ---> 4e853a4766ec [2022-09-22T19:44:13.616Z] Step 13/13 : RUN $MAKE [2022-09-22T19:44:13.616Z] ---> Running in e9360f43e396 [2022-09-22T19:44:13.875Z] noop [2022-09-22T19:44:14.441Z] Removing intermediate container e9360f43e396 [2022-09-22T19:44:14.441Z] ---> fa22ba06c00e [2022-09-22T19:44:14.441Z] Successfully built fa22ba06c00e [2022-09-22T19:44:14.441Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T19:44:14.886Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-22T19:44:14.886Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T19:44:15.041Z] prd-ubuntu20.04-docker-8c-8g-627 does not seem to be running inside a container [2022-09-22T19:44:15.076Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-305 -v /w/workspace/foundry_device-virtual-go_PR-305:/w/workspace/foundry_device-virtual-go_PR-305:rw,z -v /w/workspace/foundry_device-virtual-go_PR-305@tmp:/w/workspace/foundry_device-virtual-go_PR-305@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 [2022-09-22T19:44:15.430Z] $ docker top 7d9b1d61fc4bdd2f0f0682a43531ab706e56ed90d58a739fcdf86ca48806deba -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-22T19:44:15.817Z] + go version [2022-09-22T19:44:15.817Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-22T19:44:15.852Z] $ docker stop --time=1 7d9b1d61fc4bdd2f0f0682a43531ab706e56ed90d58a739fcdf86ca48806deba [2022-09-22T19:44:17.149Z] $ docker rm -f 7d9b1d61fc4bdd2f0f0682a43531ab706e56ed90d58a739fcdf86ca48806deba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T19:44:17.828Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-22T19:44:17.828Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T19:44:17.978Z] prd-ubuntu20.04-docker-8c-8g-627 does not seem to be running inside a container [2022-09-22T19:44:18.020Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-virtual-go_PR-305 -v /w/workspace/foundry_device-virtual-go_PR-305:/w/workspace/foundry_device-virtual-go_PR-305:rw,z -v /w/workspace/foundry_device-virtual-go_PR-305@tmp:/w/workspace/foundry_device-virtual-go_PR-305@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 [2022-09-22T19:44:18.374Z] $ docker top a8068a16bd6e3d285ddfdb412e72ba1892a3282de90f915eff2d7b9d8506bcb1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-22T19:44:18.771Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-305 [Pipeline] fileExists [Pipeline] sh [2022-09-22T19:44:19.128Z] + make test [2022-09-22T19:44:19.129Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-09-22T19:44:19.386Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-09-22T19:44:29.352Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-09-22T19:44:29.352Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.042s coverage: 65.7% of statements [2022-09-22T19:44:34.614Z] 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." [2022-09-22T19:44:34.614Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-22T19:44:37.892Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-22T19:44:37.892Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-22T19:44:37.892Z] ./bin/test-attribution-txt.sh [2022-09-22T19:44:37.892Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-09-22T19:44:37.892Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-09-22T19:44:37.892Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-09-22T19:44:37.932Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-22T19:44:37.964Z] $ docker stop --time=1 a8068a16bd6e3d285ddfdb412e72ba1892a3282de90f915eff2d7b9d8506bcb1 [2022-09-22T19:44:39.587Z] $ docker rm -f a8068a16bd6e3d285ddfdb412e72ba1892a3282de90f915eff2d7b9d8506bcb1 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-22T19:44:40.056Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-22T19:44:40.123Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-09-22T19:44:40.751Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-22T19:44:41.059Z] + ls -al . [2022-09-22T19:44:41.059Z] total 192 [2022-09-22T19:44:41.059Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 22 19:44 . [2022-09-22T19:44:41.059Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 19:43 .. [2022-09-22T19:44:41.059Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 19:44 .git [2022-09-22T19:44:41.059Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 19:43 .github [2022-09-22T19:44:41.059Z] -rw-rw-r-- 1 jenkins jenkins 337 Sep 22 19:43 .gitignore [2022-09-22T19:44:41.059Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 22 19:43 .golangci.yml [2022-09-22T19:44:41.059Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 22 19:43 .semver [2022-09-22T19:44:41.059Z] -rw-rw-r-- 1 jenkins jenkins 8152 Sep 22 19:43 Attribution.txt [2022-09-22T19:44:41.059Z] -rw-rw-r-- 1 jenkins jenkins 9649 Sep 22 19:43 CHANGELOG.md [2022-09-22T19:44:41.059Z] -rw-rw-r-- 1 jenkins jenkins 2034 Sep 22 19:43 Dockerfile [2022-09-22T19:44:41.059Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 22 19:43 GOVERNANCE.md [2022-09-22T19:44:41.059Z] -rw-rw-r-- 1 jenkins jenkins 660 Sep 22 19:43 Jenkinsfile [2022-09-22T19:44:41.059Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 22 19:43 LICENSE [2022-09-22T19:44:41.059Z] -rw-rw-r-- 1 jenkins jenkins 2457 Sep 22 19:43 Makefile [2022-09-22T19:44:41.059Z] -rw-rw-r-- 1 jenkins jenkins 623 Sep 22 19:43 OWNERS.md [2022-09-22T19:44:41.059Z] -rw-rw-r-- 1 jenkins jenkins 3578 Sep 22 19:43 README.md [2022-09-22T19:44:41.059Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 22 19:43 VERSION [2022-09-22T19:44:41.059Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 19:43 bin [2022-09-22T19:44:41.059Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 19:43 cmd [2022-09-22T19:44:41.059Z] -rw-r--r-- 1 jenkins jenkins 44128 Sep 22 19:44 coverage.out [2022-09-22T19:44:41.059Z] -rw-rw-r-- 1 jenkins jenkins 3328 Sep 22 19:43 go.mod [2022-09-22T19:44:41.059Z] -rw-rw-r-- 1 jenkins jenkins 36202 Sep 22 19:43 go.sum [2022-09-22T19:44:41.059Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 19:43 internal [2022-09-22T19:44:41.059Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 19:43 snap [2022-09-22T19:44:41.059Z] -rw-rw-r-- 1 jenkins jenkins 235 Sep 22 19:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T19:44:41.445Z] + docker build -t device-virtual -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=d070edb31437feaa294966818fefefe6b79f45cf --label arch=amd64 --label version=0.0.0 . [2022-09-22T19:44:41.445Z] Sending build context to Docker daemon 23.18MB [2022-09-22T19:44:41.445Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-09-22T19:44:41.445Z] Step 2/27 : FROM ${BASE} AS builder [2022-09-22T19:44:41.445Z] ---> fa22ba06c00e [2022-09-22T19:44:41.445Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-22T19:44:41.704Z] ---> Running in 171d7b9f55d7 [2022-09-22T19:44:41.704Z] Removing intermediate container 171d7b9f55d7 [2022-09-22T19:44:41.704Z] ---> 089e9919a7fe [2022-09-22T19:44:41.704Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2022-09-22T19:44:41.704Z] ---> Running in f9f566fdb9c1 [2022-09-22T19:44:41.705Z] Removing intermediate container f9f566fdb9c1 [2022-09-22T19:44:41.705Z] ---> 5a73164c2a79 [2022-09-22T19:44:41.705Z] Step 5/27 : ARG ADD_BUILD_TAGS="" [2022-09-22T19:44:41.705Z] ---> Running in 2678f0bcf708 [2022-09-22T19:44:41.963Z] Removing intermediate container 2678f0bcf708 [2022-09-22T19:44:41.963Z] ---> aaf5b8784040 [2022-09-22T19:44:41.963Z] Step 6/27 : WORKDIR /device-virtual-go [2022-09-22T19:44:41.963Z] ---> Running in 16178d650a53 [2022-09-22T19:44:41.963Z] Removing intermediate container 16178d650a53 [2022-09-22T19:44:41.963Z] ---> a913686ead83 [2022-09-22T19:44:41.963Z] Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-22T19:44:41.963Z] ---> Running in cef0edd04656 [2022-09-22T19:44:42.530Z] Removing intermediate container cef0edd04656 [2022-09-22T19:44:42.530Z] ---> 80ba34ef56c1 [2022-09-22T19:44:42.530Z] Step 8/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-22T19:44:42.530Z] ---> Running in 7c22e90cfea3 [2022-09-22T19:44:42.789Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-22T19:44:43.724Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-22T19:44:43.982Z] OK: 216 MiB in 55 packages [2022-09-22T19:44:44.240Z] Removing intermediate container 7c22e90cfea3 [2022-09-22T19:44:44.240Z] ---> 694edd2c1f51 [2022-09-22T19:44:44.240Z] Step 9/27 : COPY go.mod vendor* ./ [2022-09-22T19:44:44.240Z] ---> e1a05e84fabe [2022-09-22T19:44:44.240Z] Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-22T19:44:44.499Z] ---> Running in 7d963d936e54 [2022-09-22T19:44:45.065Z] Removing intermediate container 7d963d936e54 [2022-09-22T19:44:45.065Z] ---> 82e903f867ac [2022-09-22T19:44:45.065Z] Step 11/27 : COPY . . [2022-09-22T19:44:45.323Z] ---> 92c4414cd16d [2022-09-22T19:44:45.323Z] Step 12/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-22T19:44:45.323Z] ---> Running in 60fca3339307 [2022-09-22T19:44:45.582Z] Removing intermediate container 60fca3339307 [2022-09-22T19:44:45.582Z] ---> ab2f992100b6 [2022-09-22T19:44:45.582Z] Step 13/27 : RUN $MAKE [2022-09-22T19:44:45.582Z] ---> Running in fce30713101b [2022-09-22T19:44:45.841Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd [2022-09-22T19:45:03.935Z] Removing intermediate container fce30713101b [2022-09-22T19:45:03.935Z] ---> e7ddff500428 [2022-09-22T19:45:03.935Z] Step 14/27 : FROM alpine:3.16 [2022-09-22T19:45:04.194Z] 3.16: Pulling from library/alpine [2022-09-22T19:45:04.194Z] 213ec9aee27d: Pulling fs layer [2022-09-22T19:45:04.452Z] 213ec9aee27d: Verifying Checksum [2022-09-22T19:45:04.452Z] 213ec9aee27d: Download complete [2022-09-22T19:45:04.452Z] 213ec9aee27d: Pull complete [2022-09-22T19:45:04.710Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-22T19:45:04.710Z] Status: Downloaded newer image for alpine:3.16 [2022-09-22T19:45:04.710Z] ---> 9c6f07244728 [2022-09-22T19:45:04.710Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-09-22T19:45:04.710Z] ---> Running in bac00a251d5d [2022-09-22T19:45:04.710Z] Removing intermediate container bac00a251d5d [2022-09-22T19:45:04.710Z] ---> db7043710d3b [2022-09-22T19:45:04.710Z] Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-22T19:45:04.710Z] ---> Running in 5c363c7dee4c [2022-09-22T19:45:05.279Z] Removing intermediate container 5c363c7dee4c [2022-09-22T19:45:05.279Z] ---> c2df4a1a5ac1 [2022-09-22T19:45:05.279Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-22T19:45:05.279Z] ---> Running in 0c1f39f5b84f [2022-09-22T19:45:05.538Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-22T19:45:06.478Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-22T19:45:06.736Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-22T19:45:06.736Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-22T19:45:06.995Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-22T19:45:06.995Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-22T19:45:06.995Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-22T19:45:07.254Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-22T19:45:07.254Z] Executing busybox-1.35.0-r17.trigger [2022-09-22T19:45:07.254Z] OK: 8 MiB in 20 packages [2022-09-22T19:45:07.822Z] Removing intermediate container 0c1f39f5b84f [2022-09-22T19:45:07.822Z] ---> d6205b9b875c [2022-09-22T19:45:07.822Z] Step 18/27 : WORKDIR / [2022-09-22T19:45:07.822Z] ---> Running in 34898ec97838 [2022-09-22T19:45:07.822Z] Removing intermediate container 34898ec97838 [2022-09-22T19:45:07.822Z] ---> 68462085189b [2022-09-22T19:45:07.822Z] Step 19/27 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-09-22T19:45:07.822Z] ---> 431176203a24 [2022-09-22T19:45:07.822Z] Step 20/27 : COPY --from=builder /device-virtual-go/LICENSE / [2022-09-22T19:45:08.080Z] ---> 01d7012f91e6 [2022-09-22T19:45:08.080Z] Step 21/27 : COPY --from=builder /device-virtual-go/cmd / [2022-09-22T19:45:08.649Z] ---> 97fdf7d7a523 [2022-09-22T19:45:08.649Z] Step 22/27 : EXPOSE 59900 [2022-09-22T19:45:08.649Z] ---> Running in ccc4e918c7cd [2022-09-22T19:45:08.649Z] Removing intermediate container ccc4e918c7cd [2022-09-22T19:45:08.649Z] ---> e04437c8db92 [2022-09-22T19:45:08.649Z] Step 23/27 : ENTRYPOINT ["/device-virtual"] [2022-09-22T19:45:08.649Z] ---> Running in 4b577b3a361d [2022-09-22T19:45:08.649Z] Removing intermediate container 4b577b3a361d [2022-09-22T19:45:08.649Z] ---> d65e70d560ad [2022-09-22T19:45:08.649Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-22T19:45:08.649Z] ---> Running in 61baf703a2f3 [2022-09-22T19:45:08.907Z] Removing intermediate container 61baf703a2f3 [2022-09-22T19:45:08.907Z] ---> 763ac5b02af2 [2022-09-22T19:45:08.907Z] Step 25/27 : LABEL arch=amd64 [2022-09-22T19:45:08.907Z] ---> Running in 6764d04abbd9 [2022-09-22T19:45:08.907Z] Removing intermediate container 6764d04abbd9 [2022-09-22T19:45:08.907Z] ---> 0b640ad21a41 [2022-09-22T19:45:08.907Z] Step 26/27 : LABEL git_sha=d070edb31437feaa294966818fefefe6b79f45cf [2022-09-22T19:45:08.907Z] ---> Running in 10688600ae94 [2022-09-22T19:45:08.907Z] Removing intermediate container 10688600ae94 [2022-09-22T19:45:08.907Z] ---> bf1af2fee5d1 [2022-09-22T19:45:08.907Z] Step 27/27 : LABEL version=0.0.0 [2022-09-22T19:45:09.166Z] ---> Running in cbaf58ab9230 [2022-09-22T19:45:09.166Z] Removing intermediate container cbaf58ab9230 [2022-09-22T19:45:09.166Z] ---> 3361f27eb2cb [2022-09-22T19:45:09.166Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-22T19:45:09.166Z] Successfully built 3361f27eb2cb [2022-09-22T19:45:09.166Z] Successfully tagged device-virtual: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 [2022-09-22T19:45:10.016Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-22T19:45:10.017Z] [2022-09-22T19:45:10.017Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T19:45:10.387Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-22T19:45:10.387Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-22T19:45:10.387Z] 5eb5b503b376: Pulling fs layer [2022-09-22T19:45:10.387Z] 5c69ac0246d0: Pulling fs layer [2022-09-22T19:45:10.387Z] ec43610c2a17: Pulling fs layer [2022-09-22T19:45:10.387Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-22T19:45:10.387Z] 33b1e0a273af: Pulling fs layer [2022-09-22T19:45:10.387Z] 5d3b04190fa2: Pulling fs layer [2022-09-22T19:45:10.387Z] 2f39f015ded8: Pulling fs layer [2022-09-22T19:45:10.387Z] 3a2ae6a8a46f: Waiting [2022-09-22T19:45:10.387Z] 33b1e0a273af: Waiting [2022-09-22T19:45:10.387Z] 5d3b04190fa2: Waiting [2022-09-22T19:45:10.387Z] 2f39f015ded8: Waiting [2022-09-22T19:45:10.387Z] 5c69ac0246d0: Download complete [2022-09-22T19:45:10.387Z] 3a2ae6a8a46f: Verifying Checksum [2022-09-22T19:45:10.387Z] 3a2ae6a8a46f: Download complete [2022-09-22T19:45:10.387Z] 33b1e0a273af: Verifying Checksum [2022-09-22T19:45:10.387Z] 33b1e0a273af: Download complete [2022-09-22T19:45:10.387Z] 5d3b04190fa2: Download complete [2022-09-22T19:45:10.387Z] ec43610c2a17: Verifying Checksum [2022-09-22T19:45:10.387Z] ec43610c2a17: Download complete [2022-09-22T19:45:10.647Z] 5eb5b503b376: Verifying Checksum [2022-09-22T19:45:10.647Z] 5eb5b503b376: Download complete [2022-09-22T19:45:11.221Z] 2f39f015ded8: Download complete [2022-09-22T19:45:11.788Z] 5eb5b503b376: Pull complete [2022-09-22T19:45:11.788Z] 5c69ac0246d0: Pull complete [2022-09-22T19:45:12.046Z] ec43610c2a17: Pull complete [2022-09-22T19:45:12.046Z] 3a2ae6a8a46f: Pull complete [2022-09-22T19:45:12.304Z] 33b1e0a273af: Pull complete [2022-09-22T19:45:12.304Z] 5d3b04190fa2: Pull complete [2022-09-22T19:45:16.486Z] 2f39f015ded8: Pull complete [2022-09-22T19:45:16.486Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-22T19:45:16.486Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-22T19:45:16.486Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T19:45:16.707Z] prd-ubuntu20.04-docker-8c-8g-627 does not seem to be running inside a container [2022-09-22T19:45:16.742Z] $ 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/foundry_device-virtual-go_PR-305 -v /w/workspace/foundry_device-virtual-go_PR-305:/w/workspace/foundry_device-virtual-go_PR-305:rw,z -v /w/workspace/foundry_device-virtual-go_PR-305@tmp:/w/workspace/foundry_device-virtual-go_PR-305@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 [2022-09-22T19:45:18.072Z] $ docker top bc0e0bc3d98eb48af4fb751bc0381da8364bd0842a28c0f679916c268835e940 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-22T19:45:18.514Z] ---> job-cost.sh [2022-09-22T19:45:18.514Z] lf-activate-venv: SKIPPING [2022-09-22T19:45:18.514Z] INFO: No Stack... [2022-09-22T19:45:18.773Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-22T19:45:19.340Z] INFO: Archiving Costs [Pipeline] sh [2022-09-22T19:45:19.654Z] + cat /w/workspace/foundry_device-virtual-go_PR-305/archives/cost.csv [2022-09-22T19:45:19.654Z] + cut -d, -f6 [Pipeline] lock [2022-09-22T19:45:19.697Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-305-1-stack-cost] [2022-09-22T19:45:19.701Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-305-1-stack-cost] did not exist. Created. [2022-09-22T19:45:19.702Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-305-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-22T19:45:20.082Z] + echo total: 0.6600000262260437 [Pipeline] stash [2022-09-22T19:45:20.132Z] Stashed 1 file(s) [Pipeline] } [2022-09-22T19:45:20.159Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-305-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-22T19:45:20.239Z] $ docker stop --time=1 bc0e0bc3d98eb48af4fb751bc0381da8364bd0842a28c0f679916c268835e940 [2022-09-22T19:45:21.405Z] $ docker rm -f bc0e0bc3d98eb48af4fb751bc0381da8364bd0842a28c0f679916c268835e940 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-09-22T19:46:00.521Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-635 in /w/workspace/foundry_device-virtual-go_PR-305 [Pipeline] { [Pipeline] ws [2022-09-22T19:46:00.563Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2022-09-22T19:46:00.635Z] The recommended git tool is: git [2022-09-22T19:46:05.853Z] using credential edgex-jenkins-ssh [2022-09-22T19:46:05.871Z] Cloning the remote Git repository [2022-09-22T19:46:05.909Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2022-09-22T19:46:05.977Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2022-09-22T19:46:06.120Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-09-22T19:46:06.121Z] > git --version # timeout=10 [2022-09-22T19:46:06.154Z] > git --version # 'git version 2.25.1' [2022-09-22T19:46:06.156Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-22T19:46:06.205Z] Verifying host key using known hosts file [2022-09-22T19:46:06.386Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-09-22T19:46:06.401Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-22T19:46:08.375Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-09-22T19:46:08.395Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-22T19:46:09.171Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-09-22T19:46:09.215Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-09-22T19:46:09.216Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-22T19:46:09.221Z] Verifying host key using known hosts file [2022-09-22T19:46:09.228Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-09-22T19:46:09.238Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/305/head:refs/remotes/origin/PR-305 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-09-22T19:46:09.862Z] Merging remotes/origin/main commit e9e78a70a342ea66ab18edf5d69a1655646d3b52 into PR head commit d070edb31437feaa294966818fefefe6b79f45cf [2022-09-22T19:46:10.094Z] Merge succeeded, producing d070edb31437feaa294966818fefefe6b79f45cf [2022-09-22T19:46:10.094Z] Checking out Revision d070edb31437feaa294966818fefefe6b79f45cf (PR-305) [2022-09-22T19:46:09.874Z] > git config core.sparsecheckout # timeout=10 [2022-09-22T19:46:09.899Z] > git checkout -f d070edb31437feaa294966818fefefe6b79f45cf # timeout=10 [2022-09-22T19:46:09.974Z] > git remote # timeout=10 [2022-09-22T19:46:09.991Z] > git config --get remote.origin.url # timeout=10 [2022-09-22T19:46:10.018Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-22T19:46:10.023Z] Verifying host key using known hosts file [2022-09-22T19:46:10.030Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-09-22T19:46:10.042Z] > git merge e9e78a70a342ea66ab18edf5d69a1655646d3b52 # timeout=10 [2022-09-22T19:46:10.071Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-09-22T19:46:10.098Z] > git config core.sparsecheckout # timeout=10 [2022-09-22T19:46:10.115Z] > git checkout -f d070edb31437feaa294966818fefefe6b79f45cf # timeout=10 [2022-09-22T19:46:13.630Z] Commit message: "feat: Add NATS Subject configuration" [2022-09-22T19:46:13.683Z] > git --version # timeout=10 [2022-09-22T19:46:13.697Z] > git --version # 'git version 2.25.1' [2022-09-22T19:46:13.715Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-22T19:46:14.813Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-22T19:46:14.813Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-22T19:46:14.813Z] Dload Upload Total Spent Left Speed [2022-09-22T19:46:14.813Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 75011 0 --:--:-- --:--:-- --:--:-- 75011 [Pipeline] sh [2022-09-22T19:46:15.515Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-22T19:46:15.888Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-09-22T19:46:15.888Z] + sudo tee /etc/docker/daemon.new [2022-09-22T19:46:15.888Z] { [2022-09-22T19:46:15.888Z] "registry-mirrors": [ [2022-09-22T19:46:15.888Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-22T19:46:15.888Z] ], [2022-09-22T19:46:15.888Z] "bip": "10.250.0.254/24", [2022-09-22T19:46:15.888Z] "hosts": [ [2022-09-22T19:46:15.888Z] "tcp://0.0.0.0:5555", [2022-09-22T19:46:15.888Z] "unix:///var/run/docker.sock" [2022-09-22T19:46:15.888Z] ], [2022-09-22T19:46:15.888Z] "mtu": 1458, [2022-09-22T19:46:15.888Z] "selinux-enabled": true, [2022-09-22T19:46:15.888Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-22T19:46:15.888Z] } [Pipeline] sh [2022-09-22T19:46:16.236Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-22T19:46:16.587Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-22T19:46:34.885Z] provisioning config files... [2022-09-22T19:46:34.910Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config5017623340565089622tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-22T19:46:35.302Z] ---> docker-login.sh [2022-09-22T19:46:35.302Z] nexus3.edgexfoundry.org:10001 [2022-09-22T19:46:35.585Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T19:46:35.856Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T19:46:35.856Z] Configure a credential helper to remove this warning. See [2022-09-22T19:46:35.856Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T19:46:35.856Z] [2022-09-22T19:46:35.856Z] Login Succeeded [2022-09-22T19:46:35.856Z] nexus3.edgexfoundry.org:10002 [2022-09-22T19:46:36.126Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T19:46:36.126Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T19:46:36.126Z] Configure a credential helper to remove this warning. See [2022-09-22T19:46:36.126Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T19:46:36.126Z] [2022-09-22T19:46:36.126Z] Login Succeeded [2022-09-22T19:46:36.126Z] nexus3.edgexfoundry.org:10003 [2022-09-22T19:46:36.394Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T19:46:36.662Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T19:46:36.662Z] Configure a credential helper to remove this warning. See [2022-09-22T19:46:36.662Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T19:46:36.662Z] [2022-09-22T19:46:36.662Z] Login Succeeded [2022-09-22T19:46:36.662Z] nexus3.edgexfoundry.org:10004 [2022-09-22T19:46:36.662Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T19:46:36.933Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T19:46:36.933Z] Configure a credential helper to remove this warning. See [2022-09-22T19:46:36.933Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T19:46:36.933Z] [2022-09-22T19:46:36.933Z] Login Succeeded [2022-09-22T19:46:36.933Z] docker.io [2022-09-22T19:46:37.201Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T19:46:37.469Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T19:46:37.469Z] Configure a credential helper to remove this warning. See [2022-09-22T19:46:37.469Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T19:46:37.469Z] [2022-09-22T19:46:37.469Z] Login Succeeded [2022-09-22T19:46:37.469Z] ---> docker-login.sh ends [Pipeline] } [2022-09-22T19:46:37.500Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-22T19:46:37.777Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-22T19:46:37.810Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-22T19:46:37.842Z] ========================================================= [2022-09-22T19:46:37.842Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-22T19:46:37.842Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T19:46:38.326Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-09-22T19:46:38.598Z] Sending build context to Docker daemon 11.71MB [2022-09-22T19:46:38.598Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-22T19:46:38.598Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-22T19:46:38.869Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-22T19:46:38.869Z] b3c136eddcbf: Pulling fs layer [2022-09-22T19:46:38.869Z] c0a3192eca97: Pulling fs layer [2022-09-22T19:46:38.869Z] a050256f5b6f: Pulling fs layer [2022-09-22T19:46:38.869Z] 656be50a0ddc: Pulling fs layer [2022-09-22T19:46:38.869Z] 2bbca73fdf42: Pulling fs layer [2022-09-22T19:46:38.869Z] 46d945488cbd: Pulling fs layer [2022-09-22T19:46:38.869Z] 8a5474983e97: Pulling fs layer [2022-09-22T19:46:38.869Z] 329c88fbcd65: Pulling fs layer [2022-09-22T19:46:38.869Z] 656be50a0ddc: Waiting [2022-09-22T19:46:38.869Z] 2bbca73fdf42: Waiting [2022-09-22T19:46:38.869Z] 46d945488cbd: Waiting [2022-09-22T19:46:38.869Z] 8a5474983e97: Waiting [2022-09-22T19:46:38.869Z] 329c88fbcd65: Waiting [2022-09-22T19:46:38.869Z] a050256f5b6f: Download complete [2022-09-22T19:46:38.869Z] c0a3192eca97: Verifying Checksum [2022-09-22T19:46:38.869Z] c0a3192eca97: Download complete [2022-09-22T19:46:38.869Z] 2bbca73fdf42: Verifying Checksum [2022-09-22T19:46:38.869Z] 2bbca73fdf42: Download complete [2022-09-22T19:46:38.869Z] 46d945488cbd: Verifying Checksum [2022-09-22T19:46:38.869Z] 46d945488cbd: Download complete [2022-09-22T19:46:38.869Z] b3c136eddcbf: Verifying Checksum [2022-09-22T19:46:38.869Z] b3c136eddcbf: Download complete [2022-09-22T19:46:39.850Z] b3c136eddcbf: Pull complete [2022-09-22T19:46:40.120Z] 329c88fbcd65: Download complete [2022-09-22T19:46:40.388Z] c0a3192eca97: Pull complete [2022-09-22T19:46:40.664Z] a050256f5b6f: Pull complete [2022-09-22T19:46:41.257Z] 8a5474983e97: Verifying Checksum [2022-09-22T19:46:41.257Z] 8a5474983e97: Download complete [2022-09-22T19:46:41.845Z] 656be50a0ddc: Verifying Checksum [2022-09-22T19:46:41.845Z] 656be50a0ddc: Download complete [2022-09-22T19:46:54.197Z] 656be50a0ddc: Pull complete [2022-09-22T19:46:54.197Z] 2bbca73fdf42: Pull complete [2022-09-22T19:46:54.197Z] 46d945488cbd: Pull complete [2022-09-22T19:47:00.864Z] 8a5474983e97: Pull complete [2022-09-22T19:47:02.282Z] 329c88fbcd65: Pull complete [2022-09-22T19:47:02.282Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-22T19:47:02.282Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-22T19:47:02.282Z] ---> ff4287adb874 [2022-09-22T19:47:02.282Z] Step 3/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-22T19:47:04.231Z] ---> Running in e6b32b1ae37c [2022-09-22T19:47:04.231Z] Removing intermediate container e6b32b1ae37c [2022-09-22T19:47:04.231Z] ---> c1957e071125 [2022-09-22T19:47:04.231Z] Step 4/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-22T19:47:04.231Z] ---> Running in 14e65bf42095 [2022-09-22T19:47:04.499Z] Removing intermediate container 14e65bf42095 [2022-09-22T19:47:04.499Z] ---> 0eda30683b02 [2022-09-22T19:47:04.499Z] Step 5/13 : ARG ADD_BUILD_TAGS="" [2022-09-22T19:47:04.499Z] ---> Running in 2f7ba42b9288 [2022-09-22T19:47:04.767Z] Removing intermediate container 2f7ba42b9288 [2022-09-22T19:47:04.767Z] ---> 7009d50cdf24 [2022-09-22T19:47:04.767Z] Step 6/13 : WORKDIR /device-virtual-go [2022-09-22T19:47:05.036Z] ---> Running in 612a030ee3ec [2022-09-22T19:47:05.304Z] Removing intermediate container 612a030ee3ec [2022-09-22T19:47:05.305Z] ---> 0b81e6b17f6f [2022-09-22T19:47:05.305Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-22T19:47:05.305Z] ---> Running in 401e5cadcbd2 [2022-09-22T19:47:07.251Z] Removing intermediate container 401e5cadcbd2 [2022-09-22T19:47:07.251Z] ---> 3c166fb9672b [2022-09-22T19:47:07.251Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-22T19:47:07.251Z] ---> Running in 5cbebf06df39 [2022-09-22T19:47:07.836Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-22T19:47:08.793Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-22T19:47:09.753Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-09-22T19:47:09.753Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-09-22T19:47:09.753Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-09-22T19:47:10.022Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-09-22T19:47:10.022Z] Executing busybox-1.35.0-r13.trigger [2022-09-22T19:47:10.022Z] OK: 226 MiB in 55 packages [2022-09-22T19:47:10.986Z] Removing intermediate container 5cbebf06df39 [2022-09-22T19:47:10.986Z] ---> 8e3016d26861 [2022-09-22T19:47:10.986Z] Step 9/13 : COPY go.mod vendor* ./ [2022-09-22T19:47:11.571Z] ---> b6fb7c49e0ea [2022-09-22T19:47:11.571Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-22T19:47:11.571Z] ---> Running in 4e6d7ef241fd [2022-09-22T19:47:58.439Z] Removing intermediate container 4e6d7ef241fd [2022-09-22T19:47:58.439Z] ---> 3e6bc7b44c21 [2022-09-22T19:47:58.439Z] Step 11/13 : COPY . . [2022-09-22T19:47:58.439Z] ---> 080d753cf6ca [2022-09-22T19:47:58.439Z] Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-22T19:47:58.439Z] ---> Running in 312300164d50 [2022-09-22T19:47:58.439Z] Removing intermediate container 312300164d50 [2022-09-22T19:47:58.439Z] ---> 6ef5aca28a7d [2022-09-22T19:47:58.439Z] Step 13/13 : RUN $MAKE [2022-09-22T19:47:58.439Z] ---> Running in 8817c90e8e58 [2022-09-22T19:47:59.404Z] noop [2022-09-22T19:47:59.990Z] Removing intermediate container 8817c90e8e58 [2022-09-22T19:47:59.990Z] ---> 3cc23070e7e7 [2022-09-22T19:47:59.990Z] Successfully built 3cc23070e7e7 [2022-09-22T19:47:59.990Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T19:48:00.476Z] + docker inspect -f . ci-base-image-arm64 [2022-09-22T19:48:00.476Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T19:48:00.729Z] prd-ubuntu20.04-docker-arm64-4c-16g-635 does not seem to be running inside a container [2022-09-22T19:48:00.805Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-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 [2022-09-22T19:48:02.000Z] $ docker top 3458572c6175a384fb7f37a2c73e9266bfde62e241256b5e0df7364d610d084f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-22T19:48:02.882Z] + go version [2022-09-22T19:48:02.883Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-22T19:48:02.926Z] $ docker stop --time=1 3458572c6175a384fb7f37a2c73e9266bfde62e241256b5e0df7364d610d084f [2022-09-22T19:48:04.589Z] $ docker rm -f 3458572c6175a384fb7f37a2c73e9266bfde62e241256b5e0df7364d610d084f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T19:48:05.486Z] + docker inspect -f . ci-base-image-arm64 [2022-09-22T19:48:05.486Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T19:48:05.737Z] prd-ubuntu20.04-docker-arm64-4c-16g-635 does not seem to be running inside a container [2022-09-22T19:48:05.808Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-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 [2022-09-22T19:48:07.037Z] $ docker top fbd5dbc11ab0e9101d6b2af73a9615502ebf051393b2b80f02e2507af18d2a2c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-22T19:48:07.917Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh [2022-09-22T19:48:08.297Z] + make test [2022-09-22T19:48:08.297Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-09-22T19:48:10.244Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-09-22T19:49:31.896Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-09-22T19:49:31.896Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.133s coverage: 65.7% of statements [2022-09-22T19:49:31.896Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-22T19:49:31.896Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-22T19:49:50.095Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-22T19:49:50.095Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-22T19:49:50.095Z] ./bin/test-attribution-txt.sh [2022-09-22T19:49:50.095Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-09-22T19:49:50.095Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-09-22T19:49:50.095Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-09-22T19:49:50.133Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-22T19:49:50.168Z] $ docker stop --time=1 fbd5dbc11ab0e9101d6b2af73a9615502ebf051393b2b80f02e2507af18d2a2c [2022-09-22T19:49:51.907Z] $ docker rm -f fbd5dbc11ab0e9101d6b2af73a9615502ebf051393b2b80f02e2507af18d2a2c [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-22T19:49:52.862Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-22T19:49:52.898Z] Warning: overwriting stash ‘coverage-report’ [2022-09-22T19:49:53.292Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-22T19:49:53.880Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-22T19:49:54.218Z] + ls -al . [2022-09-22T19:49:54.218Z] total 188 [2022-09-22T19:49:54.218Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 19:48 . [2022-09-22T19:49:54.218Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 19:46 .. [2022-09-22T19:49:54.218Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 19:46 .git [2022-09-22T19:49:54.218Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 19:46 .github [2022-09-22T19:49:54.218Z] -rw-rw-r-- 1 jenkins jenkins 337 Sep 22 19:46 .gitignore [2022-09-22T19:49:54.218Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 22 19:46 .golangci.yml [2022-09-22T19:49:54.218Z] -rw-rw-r-- 1 jenkins jenkins 8152 Sep 22 19:46 Attribution.txt [2022-09-22T19:49:54.218Z] -rw-rw-r-- 1 jenkins jenkins 9649 Sep 22 19:46 CHANGELOG.md [2022-09-22T19:49:54.218Z] -rw-rw-r-- 1 jenkins jenkins 2034 Sep 22 19:46 Dockerfile [2022-09-22T19:49:54.218Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 22 19:46 GOVERNANCE.md [2022-09-22T19:49:54.218Z] -rw-rw-r-- 1 jenkins jenkins 660 Sep 22 19:46 Jenkinsfile [2022-09-22T19:49:54.218Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 22 19:46 LICENSE [2022-09-22T19:49:54.218Z] -rw-rw-r-- 1 jenkins jenkins 2457 Sep 22 19:46 Makefile [2022-09-22T19:49:54.218Z] -rw-rw-r-- 1 jenkins jenkins 623 Sep 22 19:46 OWNERS.md [2022-09-22T19:49:54.218Z] -rw-rw-r-- 1 jenkins jenkins 3578 Sep 22 19:46 README.md [2022-09-22T19:49:54.218Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 22 19:43 VERSION [2022-09-22T19:49:54.218Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 19:46 bin [2022-09-22T19:49:54.218Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 19:46 cmd [2022-09-22T19:49:54.218Z] -rw-r--r-- 1 jenkins jenkins 44128 Sep 22 19:49 coverage.out [2022-09-22T19:49:54.218Z] -rw-rw-r-- 1 jenkins jenkins 3328 Sep 22 19:46 go.mod [2022-09-22T19:49:54.218Z] -rw-rw-r-- 1 jenkins jenkins 36202 Sep 22 19:46 go.sum [2022-09-22T19:49:54.218Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 19:46 internal [2022-09-22T19:49:54.218Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 19:46 snap [2022-09-22T19:49:54.218Z] -rw-rw-r-- 1 jenkins jenkins 235 Sep 22 19:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T19:49:54.664Z] + docker build -t device-virtual-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=d070edb31437feaa294966818fefefe6b79f45cf --label arch=arm64 --label version=0.0.0 . [2022-09-22T19:49:54.937Z] Sending build context to Docker daemon 11.75MB [2022-09-22T19:49:54.937Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-09-22T19:49:54.937Z] Step 2/27 : FROM ${BASE} AS builder [2022-09-22T19:49:54.937Z] ---> 3cc23070e7e7 [2022-09-22T19:49:54.937Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-22T19:49:55.211Z] ---> Running in f9f37c18dff9 [2022-09-22T19:49:55.482Z] Removing intermediate container f9f37c18dff9 [2022-09-22T19:49:55.482Z] ---> c235e0773b6f [2022-09-22T19:49:55.482Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2022-09-22T19:49:55.482Z] ---> Running in 7141c1e72106 [2022-09-22T19:49:55.748Z] Removing intermediate container 7141c1e72106 [2022-09-22T19:49:55.748Z] ---> 8d148f7d7a0e [2022-09-22T19:49:55.748Z] Step 5/27 : ARG ADD_BUILD_TAGS="" [2022-09-22T19:49:55.748Z] ---> Running in 48463693c8fd [2022-09-22T19:49:56.026Z] Removing intermediate container 48463693c8fd [2022-09-22T19:49:56.026Z] ---> 9e61e03abd02 [2022-09-22T19:49:56.026Z] Step 6/27 : WORKDIR /device-virtual-go [2022-09-22T19:49:56.294Z] ---> Running in 545c9ee79356 [2022-09-22T19:49:56.563Z] Removing intermediate container 545c9ee79356 [2022-09-22T19:49:56.563Z] ---> b5f65854247d [2022-09-22T19:49:56.563Z] Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-22T19:49:56.563Z] ---> Running in 84ea7d8ef824 [2022-09-22T19:49:57.971Z] Removing intermediate container 84ea7d8ef824 [2022-09-22T19:49:57.971Z] ---> 3d23a8a044b4 [2022-09-22T19:49:57.971Z] Step 8/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-22T19:49:58.240Z] ---> Running in aa0c01f74711 [2022-09-22T19:49:59.225Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-22T19:49:59.904Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-22T19:50:00.888Z] OK: 226 MiB in 55 packages [2022-09-22T19:50:01.874Z] Removing intermediate container aa0c01f74711 [2022-09-22T19:50:01.874Z] ---> fab9ab04b411 [2022-09-22T19:50:01.874Z] Step 9/27 : COPY go.mod vendor* ./ [2022-09-22T19:50:02.489Z] ---> e32475d0779a [2022-09-22T19:50:02.489Z] Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-22T19:50:02.489Z] ---> Running in 0b5ffa05b94f [2022-09-22T19:50:04.459Z] Removing intermediate container 0b5ffa05b94f [2022-09-22T19:50:04.459Z] ---> dbd3485764d5 [2022-09-22T19:50:04.459Z] Step 11/27 : COPY . . [2022-09-22T19:50:05.427Z] ---> 5386aefde50a [2022-09-22T19:50:05.427Z] Step 12/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-22T19:50:05.427Z] ---> Running in bd053c8ff23f [2022-09-22T19:50:05.696Z] Removing intermediate container bd053c8ff23f [2022-09-22T19:50:05.696Z] ---> 69d09f084cd4 [2022-09-22T19:50:05.696Z] Step 13/27 : RUN $MAKE [2022-09-22T19:50:05.964Z] ---> Running in dfd8db9a8a95 [2022-09-22T19:50:06.941Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd [2022-09-22T19:52:43.660Z] Removing intermediate container dfd8db9a8a95 [2022-09-22T19:52:43.660Z] ---> ce4ed1dbc226 [2022-09-22T19:52:43.660Z] Step 14/27 : FROM alpine:3.16 [2022-09-22T19:52:43.660Z] 3.16: Pulling from library/alpine [2022-09-22T19:52:43.660Z] 9b18e9b68314: Pulling fs layer [2022-09-22T19:52:43.660Z] 9b18e9b68314: Verifying Checksum [2022-09-22T19:52:43.660Z] 9b18e9b68314: Download complete [2022-09-22T19:52:43.660Z] 9b18e9b68314: Pull complete [2022-09-22T19:52:43.660Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-22T19:52:43.660Z] Status: Downloaded newer image for alpine:3.16 [2022-09-22T19:52:43.660Z] ---> a6215f271958 [2022-09-22T19:52:43.660Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-09-22T19:52:43.660Z] ---> Running in e2528df2f20b [2022-09-22T19:52:43.660Z] Removing intermediate container e2528df2f20b [2022-09-22T19:52:43.660Z] ---> 3c33ecfc1778 [2022-09-22T19:52:43.660Z] Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-22T19:52:43.660Z] ---> Running in f8decaf3225c [2022-09-22T19:52:43.660Z] Removing intermediate container f8decaf3225c [2022-09-22T19:52:43.660Z] ---> bb7c15e53d33 [2022-09-22T19:52:43.660Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-22T19:52:43.660Z] ---> Running in 4a42910c79e1 [2022-09-22T19:52:43.660Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-22T19:52:43.660Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-22T19:52:43.660Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-22T19:52:43.660Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-22T19:52:43.660Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-22T19:52:43.660Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-22T19:52:43.660Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-22T19:52:43.660Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-22T19:52:43.660Z] Executing busybox-1.35.0-r17.trigger [2022-09-22T19:52:43.660Z] OK: 8 MiB in 20 packages [2022-09-22T19:52:43.660Z] Removing intermediate container 4a42910c79e1 [2022-09-22T19:52:43.660Z] ---> b5c8687dd7df [2022-09-22T19:52:43.660Z] Step 18/27 : WORKDIR / [2022-09-22T19:52:43.660Z] ---> Running in 7e28f5ea459b [2022-09-22T19:52:43.660Z] Removing intermediate container 7e28f5ea459b [2022-09-22T19:52:43.660Z] ---> 7baebff9abc6 [2022-09-22T19:52:43.660Z] Step 19/27 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-09-22T19:52:43.925Z] ---> dfe4f5ad0b08 [2022-09-22T19:52:43.925Z] Step 20/27 : COPY --from=builder /device-virtual-go/LICENSE / [2022-09-22T19:52:44.504Z] ---> 5ce77b33a725 [2022-09-22T19:52:44.504Z] Step 21/27 : COPY --from=builder /device-virtual-go/cmd / [2022-09-22T19:52:45.904Z] ---> 75cdd3136795 [2022-09-22T19:52:45.904Z] Step 22/27 : EXPOSE 59900 [2022-09-22T19:52:45.904Z] ---> Running in a683cfcc0bf4 [2022-09-22T19:52:45.904Z] Removing intermediate container a683cfcc0bf4 [2022-09-22T19:52:45.904Z] ---> 75ffa18f2257 [2022-09-22T19:52:45.904Z] Step 23/27 : ENTRYPOINT ["/device-virtual"] [2022-09-22T19:52:46.177Z] ---> Running in eeebe0617116 [2022-09-22T19:52:46.177Z] Removing intermediate container eeebe0617116 [2022-09-22T19:52:46.177Z] ---> f5ad2c6d83e7 [2022-09-22T19:52:46.177Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-22T19:52:46.451Z] ---> Running in a8ace01bc42f [2022-09-22T19:52:46.725Z] Removing intermediate container a8ace01bc42f [2022-09-22T19:52:46.725Z] ---> 6db760eded40 [2022-09-22T19:52:46.725Z] Step 25/27 : LABEL arch=arm64 [2022-09-22T19:52:46.725Z] ---> Running in 89e7508af282 [2022-09-22T19:52:46.991Z] Removing intermediate container 89e7508af282 [2022-09-22T19:52:46.991Z] ---> 9d0249b3347c [2022-09-22T19:52:46.991Z] Step 26/27 : LABEL git_sha=d070edb31437feaa294966818fefefe6b79f45cf [2022-09-22T19:52:46.991Z] ---> Running in 1532de6d7e47 [2022-09-22T19:52:47.257Z] Removing intermediate container 1532de6d7e47 [2022-09-22T19:52:47.257Z] ---> c578b03c1ae4 [2022-09-22T19:52:47.257Z] Step 27/27 : LABEL version=0.0.0 [2022-09-22T19:52:47.257Z] ---> Running in 87dd24d00542 [2022-09-22T19:52:47.522Z] Removing intermediate container 87dd24d00542 [2022-09-22T19:52:47.522Z] ---> 316ffa59e5dc [2022-09-22T19:52:47.522Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-22T19:52:47.522Z] Successfully built 316ffa59e5dc [2022-09-22T19:52:47.522Z] Successfully tagged device-virtual-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 [2022-09-22T19:52:48.263Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-22T19:52:48.263Z] [2022-09-22T19:52:48.263Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T19:52:48.646Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-22T19:52:48.646Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-22T19:52:48.646Z] 8998bd30e6a1: Pulling fs layer [2022-09-22T19:52:48.646Z] 04944245beec: Pulling fs layer [2022-09-22T19:52:48.647Z] 699f458cf7ca: Pulling fs layer [2022-09-22T19:52:48.647Z] 765212b225bb: Pulling fs layer [2022-09-22T19:52:48.647Z] f23df028b6ca: Pulling fs layer [2022-09-22T19:52:48.647Z] d65c8cfc05b1: Pulling fs layer [2022-09-22T19:52:48.647Z] 2437ff75d9bd: Pulling fs layer [2022-09-22T19:52:48.647Z] 765212b225bb: Waiting [2022-09-22T19:52:48.647Z] f23df028b6ca: Waiting [2022-09-22T19:52:48.647Z] d65c8cfc05b1: Waiting [2022-09-22T19:52:48.647Z] 2437ff75d9bd: Waiting [2022-09-22T19:52:48.913Z] 04944245beec: Verifying Checksum [2022-09-22T19:52:48.913Z] 04944245beec: Download complete [2022-09-22T19:52:48.913Z] 765212b225bb: Download complete [2022-09-22T19:52:48.913Z] f23df028b6ca: Download complete [2022-09-22T19:52:48.913Z] d65c8cfc05b1: Download complete [2022-09-22T19:52:48.913Z] 699f458cf7ca: Verifying Checksum [2022-09-22T19:52:48.913Z] 699f458cf7ca: Download complete [2022-09-22T19:52:49.497Z] 8998bd30e6a1: Verifying Checksum [2022-09-22T19:52:49.497Z] 8998bd30e6a1: Download complete [2022-09-22T19:52:51.441Z] 2437ff75d9bd: Verifying Checksum [2022-09-22T19:52:51.441Z] 2437ff75d9bd: Download complete [2022-09-22T19:52:53.383Z] 8998bd30e6a1: Pull complete [2022-09-22T19:52:53.652Z] 04944245beec: Pull complete [2022-09-22T19:52:55.059Z] 699f458cf7ca: Pull complete [2022-09-22T19:52:55.326Z] 765212b225bb: Pull complete [2022-09-22T19:52:55.912Z] f23df028b6ca: Pull complete [2022-09-22T19:52:56.180Z] d65c8cfc05b1: Pull complete [2022-09-22T19:53:11.180Z] 2437ff75d9bd: Pull complete [2022-09-22T19:53:11.180Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-22T19:53:11.180Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-22T19:53:11.180Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T19:53:11.507Z] prd-ubuntu20.04-docker-arm64-4c-16g-635 does not seem to be running inside a container [2022-09-22T19:53:11.591Z] $ 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-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-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 [2022-09-22T19:53:14.597Z] $ docker top 5be2da3bc469cb2a08a13f1e46c901972902875b00357bf5e503fca9044ee7c4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-22T19:53:15.495Z] ---> job-cost.sh [2022-09-22T19:53:15.495Z] lf-activate-venv: SKIPPING [2022-09-22T19:53:15.495Z] INFO: No Stack... [2022-09-22T19:53:16.077Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-22T19:53:16.659Z] INFO: Archiving Costs [Pipeline] sh [2022-09-22T19:53:17.001Z] + cut -d, -f6 [2022-09-22T19:53:17.271Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [Pipeline] lock [2022-09-22T19:53:17.365Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-305-1-stack-cost] [2022-09-22T19:53:17.370Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-305-1-stack-cost] did not exist. Created. [2022-09-22T19:53:17.370Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-305-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-22T19:53:18.097Z] /w/workspace/device-virtual-go/1@tmp/durable-2413437a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-22T19:53:18.457Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-22T19:53:18.491Z] Warning: overwriting stash ‘stack-cost’ [2022-09-22T19:53:18.535Z] Stashed 1 file(s) [Pipeline] } [2022-09-22T19:53:18.549Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-305-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-22T19:53:18.629Z] $ docker stop --time=1 5be2da3bc469cb2a08a13f1e46c901972902875b00357bf5e503fca9044ee7c4 [2022-09-22T19:53:20.790Z] $ docker rm -f 5be2da3bc469cb2a08a13f1e46c901972902875b00357bf5e503fca9044ee7c4 [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 [2022-09-22T19:53:21.723Z] provisioning config files... [2022-09-22T19:53:21.730Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-305@tmp/config12332806048266970885tmp [Pipeline] { [Pipeline] sh [2022-09-22T19:53:22.055Z] + set +x [2022-09-22T19:53:22.055Z] + curl -s https://codecov.io/bash [2022-09-22T19:53:22.055Z] + bash -s -- [2022-09-22T19:53:22.055Z] [2022-09-22T19:53:22.055Z] _____ _ [2022-09-22T19:53:22.055Z] / ____| | | [2022-09-22T19:53:22.055Z] | | ___ __| | ___ ___ _____ __ [2022-09-22T19:53:22.055Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-09-22T19:53:22.055Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-09-22T19:53:22.055Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-09-22T19:53:22.055Z] Bash-1.0.6 [2022-09-22T19:53:22.055Z] [2022-09-22T19:53:22.055Z] [2022-09-22T19:53:22.055Z] ==> git version 2.25.1 found [2022-09-22T19:53:22.055Z] ==> 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 [2022-09-22T19:53:22.055Z] Release-Date: 2020-01-08 [2022-09-22T19:53:22.055Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-09-22T19:53:22.055Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-09-22T19:53:22.055Z] ==> Jenkins CI detected. [2022-09-22T19:53:22.055Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-305 [2022-09-22T19:53:22.055Z] project root: . [2022-09-22T19:53:22.055Z] --> token set from env [2022-09-22T19:53:22.055Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-09-22T19:53:22.055Z] ==> Running gcov in . (disable via -X gcov) [2022-09-22T19:53:22.055Z] ==> Python coveragepy not found [2022-09-22T19:53:22.055Z] ==> Searching for coverage reports in: [2022-09-22T19:53:22.055Z] + . [2022-09-22T19:53:22.055Z] -> Found 1 reports [2022-09-22T19:53:22.055Z] ==> Detecting git/mercurial file structure [2022-09-22T19:53:22.314Z] ==> Reading reports [2022-09-22T19:53:22.314Z] + ./coverage.out bytes=44128 [2022-09-22T19:53:22.314Z] ==> Appending adjustments [2022-09-22T19:53:22.314Z] https://docs.codecov.io/docs/fixing-reports [2022-09-22T19:53:22.314Z] + Found adjustments [2022-09-22T19:53:22.314Z] ==> Gzipping contents [2022-09-22T19:53:22.314Z] 8.0K /tmp/codecov.WftG2l.gz [2022-09-22T19:53:22.314Z] ==> Uploading reports [2022-09-22T19:53:22.314Z] url: https://codecov.io [2022-09-22T19:53:22.314Z] query: branch=PR-305&commit=d070edb31437feaa294966818fefefe6b79f45cf&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-305%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=305&job=&cmd_args= [2022-09-22T19:53:22.314Z] -> Pinging Codecov [2022-09-22T19:53:22.314Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-305&commit=d070edb31437feaa294966818fefefe6b79f45cf&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-305%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=305&job=&cmd_args= [2022-09-22T19:53:22.573Z] -> Uploading to [2022-09-22T19:53:22.573Z] https://storage.googleapis.com/codecov/v4/raw/2022-09-22/5E52B4B073DB2E39498172D8E973AA87/d070edb31437feaa294966818fefefe6b79f45cf/9df25511-c235-4443-b120-40b1da03cd13.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220922%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220922T195322Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=faa88aa9ae87fb0b77fd2c7c075b0e6c0192239e1212b01505fd019542f71ed4 [2022-09-22T19:53:22.573Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-22T19:53:22.573Z] Dload Upload Total Spent Left Speed [2022-09-22T19:53:22.833Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5492 0 0 100 5492 0 23672 --:--:-- --:--:-- --:--:-- 23672 [2022-09-22T19:53:22.833Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/d070edb31437feaa294966818fefefe6b79f45cf [Pipeline] } [2022-09-22T19:53:22.870Z] 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 [2022-09-22T19:53:24.549Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-305/archives ] [2022-09-22T19:53:24.549Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-305/archives [2022-09-22T19:53:24.549Z] total 16 [2022-09-22T19:53:24.549Z] drwxr-xr-x 3 root root 4096 Sep 22 19:45 . [2022-09-22T19:53:24.549Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 22 19:45 .. [2022-09-22T19:53:24.549Z] drwxr-xr-x 2 root root 4096 Sep 22 19:45 cost [2022-09-22T19:53:24.549Z] -rw-r--r-- 1 root root 90 Sep 22 19:45 cost.csv [2022-09-22T19:53:24.549Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-305/archives [2022-09-22T19:53:24.549Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-305/archives [2022-09-22T19:53:24.549Z] total 16 [2022-09-22T19:53:24.549Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 22 19:45 . [2022-09-22T19:53:24.549Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 22 19:45 .. [2022-09-22T19:53:24.549Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 22 19:45 cost [2022-09-22T19:53:24.549Z] -rw-r--r-- 1 jenkins jenkins 90 Sep 22 19:45 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-22T19:53:24.873Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T19:53:25.761Z] ---> package-listing.sh [2022-09-22T19:53:25.761Z] ++ facter osfamily [2022-09-22T19:53:25.761Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-22T19:53:26.021Z] + OS_FAMILY=debian [2022-09-22T19:53:26.021Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-305 [2022-09-22T19:53:26.021Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-22T19:53:26.021Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-22T19:53:26.021Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-22T19:53:26.021Z] + PACKAGES=/tmp/packages_start.txt [2022-09-22T19:53:26.021Z] + '[' /w/workspace/foundry_device-virtual-go_PR-305 ']' [2022-09-22T19:53:26.021Z] + PACKAGES=/tmp/packages_end.txt [2022-09-22T19:53:26.021Z] + case "${OS_FAMILY}" in [2022-09-22T19:53:26.021Z] + dpkg -l [2022-09-22T19:53:26.021Z] + grep '^ii' [2022-09-22T19:53:26.021Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-22T19:53:26.021Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-22T19:53:26.021Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-22T19:53:26.021Z] + '[' /w/workspace/foundry_device-virtual-go_PR-305 ']' [2022-09-22T19:53:26.021Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-305/archives/ [2022-09-22T19:53:26.021Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-305/archives/ [Pipeline] echo [2022-09-22T19:53:26.054Z] 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/foundry_device-virtual-go_PR-305/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-09-22T19:53:26.344Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T19:53:26.970Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-22T19:53:26.970Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T19:53:27.118Z] prd-ubuntu20.04-docker-8c-8g-627 does not seem to be running inside a container [2022-09-22T19:53:27.151Z] $ 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/foundry_device-virtual-go_PR-305/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-virtual-go_PR-305 -v /w/workspace/foundry_device-virtual-go_PR-305:/w/workspace/foundry_device-virtual-go_PR-305:rw,z -v /w/workspace/foundry_device-virtual-go_PR-305@tmp:/w/workspace/foundry_device-virtual-go_PR-305@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 [2022-09-22T19:53:27.360Z] $ docker top 4abe10ee836dbd757a3d37113d3d57a5e723afca1dc4e844f7217c3fc0ee54a0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-22T19:53:27.732Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-22T19:53:28.038Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-22T19:53:28.344Z] + ls /var/log/sa-host [2022-09-22T19:53:28.344Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-22T19:53:28.551Z] provisioning config files... [2022-09-22T19:53:28.560Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-305@tmp/config1205016121301274544tmp [Pipeline] { [Pipeline] echo [2022-09-22T19:53:28.610Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T19:53:28.916Z] ---> create-netrc.sh [Pipeline] } [2022-09-22T19:53:28.943Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-22T19:53:29.340Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-22T19:53:29.369Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T19:53:29.676Z] ---> sudo-logs.sh [2022-09-22T19:53:29.676Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-22T19:53:29.763Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T19:53:30.071Z] ---> job-cost.sh [2022-09-22T19:53:30.071Z] lf-activate-venv: SKIPPING [2022-09-22T19:53:30.071Z] DEBUG: total: 0.6600000262260437 [2022-09-22T19:53:30.071Z] INFO: Retrieving Stack Cost... [2022-09-22T19:53:30.331Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-22T19:53:30.900Z] INFO: Archiving Costs [Pipeline] echo [2022-09-22T19:53:30.930Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T19:53:31.241Z] ---> logs-deploy.sh [2022-09-22T19:53:31.242Z] lf-activate-venv: SKIPPING [2022-09-22T19:53:31.242Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-305/1 [2022-09-22T19:53:31.242Z] INFO: archiving workspace using pattern(s): [2022-09-22T19:53:32.178Z] Archives upload complete. [2022-09-22T19:53:32.437Z] INFO: archiving logs to Nexus