Pull request #311 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 MonicaisHer for edgexfoundry/device-virtual-go Loading trusted files from base branch main at dc6526b820fce363f7c4f2d6ce852272454ac71f rather than 16d50189d2567c1e7ce66d0a270a8db246af86fa Obtained Jenkinsfile from dc6526b820fce363f7c4f2d6ce852272454ac71f 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-ssh10043517764215524079.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-ssh719511278804974839.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-311/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-311/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh271010329286390396.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-311/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15813412942895445414.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-ssh11908219733196457437.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-311/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-311/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16326726085774495652.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 Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7311 in /w/workspace/foundry_device-virtual-go_PR-311 [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-311 # 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/311/head:refs/remotes/origin/PR-311 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit dc6526b820fce363f7c4f2d6ce852272454ac71f into PR head commit 16d50189d2567c1e7ce66d0a270a8db246af86fa Merge succeeded, producing 16d50189d2567c1e7ce66d0a270a8db246af86fa Checking out Revision 16d50189d2567c1e7ce66d0a270a8db246af86fa (PR-311) > git config core.sparsecheckout # timeout=10 > git checkout -f 16d50189d2567c1e7ce66d0a270a8db246af86fa # 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 dc6526b820fce363f7c4f2d6ce852272454ac71f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 16d50189d2567c1e7ce66d0a270a8db246af86fa # timeout=10 Commit message: "fix(snap): Remove duplicate file copying in install hook" 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-10-07T09:43:45.623Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-07T09:43:45.823Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-07T09:43:45.922Z] ========================================================= [2022-10-07T09:43:45.922Z] EdgeX Global Pipelines Version Info [2022-10-07T09:43:45.922Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-07T09:43:46.649Z] ------------------- [2022-10-07T09:43:46.649Z] stable info: [2022-10-07T09:43:46.649Z] ------------------- [2022-10-07T09:43:46.649Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-07T09:43:46.649Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-07T09:43:46.649Z] Message: update stable to v1.0.239 [2022-10-07T09:43:47.219Z] ------------------- [2022-10-07T09:43:47.219Z] experimental info: [2022-10-07T09:43:47.219Z] ------------------- [2022-10-07T09:43:47.219Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-07T09:43:47.219Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-07T09:43:47.219Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-07T09:43:47.505Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2022-10-07T09:43:47.548Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2022-10-07T09:43:47.585Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-07T09:43:47.623Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-07T09:43:47.663Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-07T09:43:47.702Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-07T09:43:47.740Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-07T09:43:47.777Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-07T09:43:47.817Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-07T09:43:47.857Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-07T09:43:47.896Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-07T09:43:47.938Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2022-10-07T09:43:47.982Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-07T09:43:48.021Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-07T09:43:48.064Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-07T09:43:48.108Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-07T09:43:48.146Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-07T09:43:48.188Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-07T09:43:48.228Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-07T09:43:48.268Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-07T09:43:48.312Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-07T09:43:48.355Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-07T09:43:48.398Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-07T09:43:48.441Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-07T09:43:48.483Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-07T09:43:48.522Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-07T09:43:48.560Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-07T09:43:48.601Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-311 [Pipeline] echo [2022-10-07T09:43:48.646Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-311 [Pipeline] echo [2022-10-07T09:43:48.687Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-311 [Pipeline] echo [2022-10-07T09:43:48.726Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 16d50189d2567c1e7ce66d0a270a8db246af86fa [Pipeline] echo [2022-10-07T09:43:48.771Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 16d5018 [Pipeline] echo [2022-10-07T09:43:48.816Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-07T09:43:48.922Z] provisioning config files... [2022-10-07T09:43:48.935Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-311@tmp/config6605835284875806915tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-07T09:43:49.280Z] ---> docker-login.sh [2022-10-07T09:43:49.280Z] nexus3.edgexfoundry.org:10001 [2022-10-07T09:43:49.541Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T09:43:49.806Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T09:43:49.806Z] Configure a credential helper to remove this warning. See [2022-10-07T09:43:49.806Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T09:43:49.806Z] [2022-10-07T09:43:49.806Z] Login Succeeded [2022-10-07T09:43:49.806Z] nexus3.edgexfoundry.org:10002 [2022-10-07T09:43:49.806Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T09:43:49.806Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T09:43:49.806Z] Configure a credential helper to remove this warning. See [2022-10-07T09:43:49.806Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T09:43:49.806Z] [2022-10-07T09:43:49.806Z] Login Succeeded [2022-10-07T09:43:49.806Z] nexus3.edgexfoundry.org:10003 [2022-10-07T09:43:49.806Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T09:43:50.065Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T09:43:50.065Z] Configure a credential helper to remove this warning. See [2022-10-07T09:43:50.065Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T09:43:50.065Z] [2022-10-07T09:43:50.065Z] Login Succeeded [2022-10-07T09:43:50.065Z] nexus3.edgexfoundry.org:10004 [2022-10-07T09:43:50.065Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T09:43:50.065Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T09:43:50.065Z] Configure a credential helper to remove this warning. See [2022-10-07T09:43:50.065Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T09:43:50.065Z] [2022-10-07T09:43:50.065Z] Login Succeeded [2022-10-07T09:43:50.065Z] docker.io [2022-10-07T09:43:50.065Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T09:43:50.636Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T09:43:50.636Z] Configure a credential helper to remove this warning. See [2022-10-07T09:43:50.636Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T09:43:50.636Z] [2022-10-07T09:43:50.636Z] Login Succeeded [2022-10-07T09:43:50.636Z] ---> docker-login.sh ends [Pipeline] } [2022-10-07T09:43:50.666Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-07T09:43:51.282Z] + git rev-list -1 --merges 16d50189d2567c1e7ce66d0a270a8db246af86fa~1..16d50189d2567c1e7ce66d0a270a8db246af86fa [Pipeline] echo [2022-10-07T09:43:51.329Z] -----------> git rev-list -1 --merges 16d50189d2567c1e7ce66d0a270a8db246af86fa~1..16d50189d2567c1e7ce66d0a270a8db246af86fa 16d50189d2567c1e7ce66d0a270a8db246af86fa [false] [Pipeline] sh [2022-10-07T09:43:51.639Z] + git log --format=format:%s -1 16d50189d2567c1e7ce66d0a270a8db246af86fa [Pipeline] echo [2022-10-07T09:43:51.675Z] ========================================================= [2022-10-07T09:43:51.675Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-07T09:43:51.675Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-07T09:43:52.097Z] + git log --format=format:%s -1 16d50189d2567c1e7ce66d0a270a8db246af86fa [Pipeline] echo [2022-10-07T09:43:52.129Z] [semverPrep] GIT_COMMIT: 16d50189d2567c1e7ce66d0a270a8db246af86fa, Commit Message: fix(snap): Remove duplicate file copying in install hook [Pipeline] echo [2022-10-07T09:43:52.156Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-07T09:43:52.541Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-07T09:43:52.541Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-07T09:43:52.541Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-07T09:43:52.541Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-07T09:43:52.541Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-07T09:43:52.541Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-07T09:43:52.541Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-07T09:43:53.019Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-07T09:43:53.019Z] [2022-10-07T09:43:53.019Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-07T09:43:53.398Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-07T09:43:53.398Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-07T09:43:53.398Z] b85a868b505f: Pulling fs layer [2022-10-07T09:43:53.398Z] e2be974225ed: Pulling fs layer [2022-10-07T09:43:53.398Z] 339a4e72a1f5: Pulling fs layer [2022-10-07T09:43:53.398Z] 988bab9f4d93: Pulling fs layer [2022-10-07T09:43:53.398Z] 1469e6f7b9e6: Pulling fs layer [2022-10-07T09:43:53.398Z] eaf3925da568: Pulling fs layer [2022-10-07T09:43:53.398Z] bab4dde63d76: Pulling fs layer [2022-10-07T09:43:53.398Z] bde34c3a00c8: Pulling fs layer [2022-10-07T09:43:53.398Z] b352a97aabf1: Pulling fs layer [2022-10-07T09:43:53.398Z] 4872d77fe225: Pulling fs layer [2022-10-07T09:43:53.398Z] 5851b861e8e6: Pulling fs layer [2022-10-07T09:43:53.398Z] b352a97aabf1: Waiting [2022-10-07T09:43:53.398Z] bab4dde63d76: Waiting [2022-10-07T09:43:53.398Z] 4872d77fe225: Waiting [2022-10-07T09:43:53.398Z] 5851b861e8e6: Waiting [2022-10-07T09:43:53.398Z] 1469e6f7b9e6: Waiting [2022-10-07T09:43:53.398Z] bde34c3a00c8: Waiting [2022-10-07T09:43:53.398Z] eaf3925da568: Waiting [2022-10-07T09:43:53.398Z] e2be974225ed: Verifying Checksum [2022-10-07T09:43:53.398Z] e2be974225ed: Download complete [2022-10-07T09:43:53.398Z] 988bab9f4d93: Download complete [2022-10-07T09:43:53.664Z] 1469e6f7b9e6: Verifying Checksum [2022-10-07T09:43:53.664Z] 1469e6f7b9e6: Download complete [2022-10-07T09:43:53.664Z] 339a4e72a1f5: Verifying Checksum [2022-10-07T09:43:53.664Z] 339a4e72a1f5: Download complete [2022-10-07T09:43:53.664Z] eaf3925da568: Verifying Checksum [2022-10-07T09:43:53.664Z] eaf3925da568: Download complete [2022-10-07T09:43:53.664Z] bde34c3a00c8: Verifying Checksum [2022-10-07T09:43:53.664Z] bde34c3a00c8: Download complete [2022-10-07T09:43:53.664Z] b352a97aabf1: Download complete [2022-10-07T09:43:53.664Z] 4872d77fe225: Verifying Checksum [2022-10-07T09:43:53.664Z] 4872d77fe225: Download complete [2022-10-07T09:43:53.664Z] 5851b861e8e6: Verifying Checksum [2022-10-07T09:43:53.664Z] 5851b861e8e6: Download complete [2022-10-07T09:43:53.664Z] b85a868b505f: Verifying Checksum [2022-10-07T09:43:53.664Z] b85a868b505f: Download complete [2022-10-07T09:43:53.922Z] bab4dde63d76: Verifying Checksum [2022-10-07T09:43:53.922Z] bab4dde63d76: Download complete [2022-10-07T09:43:54.858Z] b85a868b505f: Pull complete [2022-10-07T09:43:55.117Z] e2be974225ed: Pull complete [2022-10-07T09:43:55.379Z] 339a4e72a1f5: Pull complete [2022-10-07T09:43:55.639Z] 988bab9f4d93: Pull complete [2022-10-07T09:43:55.898Z] 1469e6f7b9e6: Pull complete [2022-10-07T09:43:55.898Z] eaf3925da568: Pull complete [2022-10-07T09:43:57.807Z] bab4dde63d76: Pull complete [2022-10-07T09:43:57.807Z] bde34c3a00c8: Pull complete [2022-10-07T09:43:57.807Z] b352a97aabf1: Pull complete [2022-10-07T09:43:57.807Z] 4872d77fe225: Pull complete [2022-10-07T09:43:57.807Z] 5851b861e8e6: Pull complete [2022-10-07T09:43:57.807Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-07T09:43:57.807Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-07T09:43:57.807Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-07T09:43:58.079Z] prd-ubuntu20.04-docker-8c-8g-7311 does not seem to be running inside a container [2022-10-07T09:43:58.106Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-311 -v /w/workspace/foundry_device-virtual-go_PR-311:/w/workspace/foundry_device-virtual-go_PR-311:rw,z -v /w/workspace/foundry_device-virtual-go_PR-311@tmp:/w/workspace/foundry_device-virtual-go_PR-311@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-07T09:44:00.605Z] $ docker top 6ba896a6844629f0f684beffc8edff3e60d4fc7555e29f4791d0e3f38bb194e9 -eo pid,comm [2022-10-07T09:44:00.657Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-10-07T09:44:00.657Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-07T09:44:00.780Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-07T09:44:00.780Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-07T09:44:00.873Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-07T09:44:00.876Z] $ docker exec 6ba896a6844629f0f684beffc8edff3e60d4fc7555e29f4791d0e3f38bb194e9 ssh-agent [2022-10-07T09:44:00.988Z] SSH_AUTH_SOCK=/tmp/ssh-sqY67VatJFv7/agent.31 [2022-10-07T09:44:00.988Z] SSH_AGENT_PID=37 [2022-10-07T09:44:00.995Z] Running ssh-add (command line suppressed) [2022-10-07T09:44:01.086Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-311@tmp/private_key_7627492234167393726.key (/w/workspace/foundry_device-virtual-go_PR-311@tmp/private_key_7627492234167393726.key) [2022-10-07T09:44:01.100Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-07T09:44:01.432Z] + git tag --points-at HEAD [Pipeline] } [2022-10-07T09:44:01.459Z] $ docker exec --env ******** --env ******** 6ba896a6844629f0f684beffc8edff3e60d4fc7555e29f4791d0e3f38bb194e9 ssh-agent -k [2022-10-07T09:44:01.568Z] unset SSH_AUTH_SOCK; [2022-10-07T09:44:01.569Z] unset SSH_AGENT_PID; [2022-10-07T09:44:01.569Z] echo Agent pid 37 killed; [2022-10-07T09:44:01.583Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-07T09:44:01.679Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-07T09:44:01.679Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-07T09:44:01.802Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-07T09:44:01.804Z] $ docker exec 6ba896a6844629f0f684beffc8edff3e60d4fc7555e29f4791d0e3f38bb194e9 ssh-agent [2022-10-07T09:44:01.930Z] SSH_AUTH_SOCK=/tmp/ssh-zQ7gOfNzc3jz/agent.69 [2022-10-07T09:44:01.930Z] SSH_AGENT_PID=75 [2022-10-07T09:44:01.934Z] Running ssh-add (command line suppressed) [2022-10-07T09:44:02.048Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-311@tmp/private_key_7684134986517182748.key (/w/workspace/foundry_device-virtual-go_PR-311@tmp/private_key_7684134986517182748.key) [2022-10-07T09:44:02.060Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-07T09:44:02.383Z] + git semver init [2022-10-07T09:44:02.643Z] 2022-10-07 09:44:02,545 [run_init] DEBUG init version:0.0.0 force:False [2022-10-07T09:44:02.643Z] 2022-10-07 09:44:02,546 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-311/.semver [2022-10-07T09:44:02.643Z] 2022-10-07 09:44:02,546 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-311/.semver [2022-10-07T09:44:02.643Z] 2022-10-07 09:44:02,546 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-311/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-311, universal_newlines=False, shell=None, istream=None) [2022-10-07T09:44:04.021Z] 2022-10-07 09:44:03,798 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-311/.git/info/exclude [2022-10-07T09:44:04.021Z] 2022-10-07 09:44:03,799 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-311/.semver/PR-311 with force:False [2022-10-07T09:44:04.021Z] 2022-10-07 09:44:03,799 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-311/.semver/PR-311 [2022-10-07T09:44:04.021Z] 2022-10-07 09:44:03,803 [execute] INFO git cat-file --batch-check [2022-10-07T09:44:04.021Z] 2022-10-07 09:44:03,804 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-311/.semver, universal_newlines=False, shell=None, istream=) [2022-10-07T09:44:04.021Z] 2022-10-07 09:44:03,809 [execute] INFO git cat-file --batch [2022-10-07T09:44:04.021Z] 2022-10-07 09:44:03,809 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-311/.semver, universal_newlines=False, shell=None, istream=) [2022-10-07T09:44:04.021Z] 2022-10-07 09:44:03,814 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-311/.semver/PR-311 [2022-10-07T09:44:04.021Z] 0.0.0 [Pipeline] } [2022-10-07T09:44:04.048Z] $ docker exec --env ******** --env ******** 6ba896a6844629f0f684beffc8edff3e60d4fc7555e29f4791d0e3f38bb194e9 ssh-agent -k [2022-10-07T09:44:04.146Z] unset SSH_AUTH_SOCK; [2022-10-07T09:44:04.147Z] unset SSH_AGENT_PID; [2022-10-07T09:44:04.147Z] echo Agent pid 75 killed; [2022-10-07T09:44:04.156Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-07T09:44:04.568Z] + git semver [Pipeline] } [2022-10-07T09:44:04.853Z] $ docker stop --time=1 6ba896a6844629f0f684beffc8edff3e60d4fc7555e29f4791d0e3f38bb194e9 [2022-10-07T09:44:06.152Z] $ docker rm -f 6ba896a6844629f0f684beffc8edff3e60d4fc7555e29f4791d0e3f38bb194e9 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-07T09:44:06.539Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-07T09:44:06.762Z] Stashed 1 file(s) [Pipeline] echo [2022-10-07T09:44:06.778Z] [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-10-07T09:44:07.371Z] provisioning config files... [2022-10-07T09:44:07.380Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-311@tmp/config4658306204888223087tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-07T09:44:07.721Z] ---> docker-login.sh [2022-10-07T09:44:07.721Z] nexus3.edgexfoundry.org:10001 [2022-10-07T09:44:07.721Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T09:44:07.721Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T09:44:07.721Z] Configure a credential helper to remove this warning. See [2022-10-07T09:44:07.721Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T09:44:07.721Z] [2022-10-07T09:44:07.721Z] Login Succeeded [2022-10-07T09:44:07.721Z] nexus3.edgexfoundry.org:10002 [2022-10-07T09:44:07.721Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T09:44:07.721Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T09:44:07.721Z] Configure a credential helper to remove this warning. See [2022-10-07T09:44:07.721Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T09:44:07.721Z] [2022-10-07T09:44:07.721Z] Login Succeeded [2022-10-07T09:44:07.721Z] nexus3.edgexfoundry.org:10003 [2022-10-07T09:44:07.980Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T09:44:07.980Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T09:44:07.980Z] Configure a credential helper to remove this warning. See [2022-10-07T09:44:07.980Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T09:44:07.980Z] [2022-10-07T09:44:07.980Z] Login Succeeded [2022-10-07T09:44:07.980Z] nexus3.edgexfoundry.org:10004 [2022-10-07T09:44:07.980Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T09:44:07.980Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T09:44:07.980Z] Configure a credential helper to remove this warning. See [2022-10-07T09:44:07.980Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T09:44:07.980Z] [2022-10-07T09:44:07.980Z] Login Succeeded [2022-10-07T09:44:07.980Z] docker.io [2022-10-07T09:44:07.980Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T09:44:08.547Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T09:44:08.547Z] Configure a credential helper to remove this warning. See [2022-10-07T09:44:08.547Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T09:44:08.547Z] [2022-10-07T09:44:08.547Z] Login Succeeded [2022-10-07T09:44:08.547Z] ---> docker-login.sh ends [Pipeline] } [2022-10-07T09:44:08.576Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-07T09:44:08.744Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-07T09:44:08.777Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-07T09:44:08.806Z] ========================================================= [2022-10-07T09:44:08.806Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-07T09:44:08.806Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-07T09:44:09.263Z] + 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-10-07T09:44:09.263Z] Sending build context to Docker daemon 23.18MB [2022-10-07T09:44:09.263Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-07T09:44:09.263Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-07T09:44:09.526Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-07T09:44:09.526Z] 2408cc74d12b: Pulling fs layer [2022-10-07T09:44:09.526Z] ea60b727a1ce: Pulling fs layer [2022-10-07T09:44:09.526Z] 30c4a7721957: Pulling fs layer [2022-10-07T09:44:09.526Z] 370296b7ddb6: Pulling fs layer [2022-10-07T09:44:09.526Z] 7c6cee850709: Pulling fs layer [2022-10-07T09:44:09.526Z] aa9baa53a306: Pulling fs layer [2022-10-07T09:44:09.526Z] 8b309c321861: Pulling fs layer [2022-10-07T09:44:09.526Z] d8d76fd02f46: Pulling fs layer [2022-10-07T09:44:09.526Z] fa31f396de31: Pulling fs layer [2022-10-07T09:44:09.526Z] 8b309c321861: Waiting [2022-10-07T09:44:09.526Z] d8d76fd02f46: Waiting [2022-10-07T09:44:09.526Z] fa31f396de31: Waiting [2022-10-07T09:44:09.526Z] aa9baa53a306: Waiting [2022-10-07T09:44:09.526Z] 30c4a7721957: Verifying Checksum [2022-10-07T09:44:09.526Z] 30c4a7721957: Download complete [2022-10-07T09:44:09.526Z] ea60b727a1ce: Verifying Checksum [2022-10-07T09:44:09.526Z] ea60b727a1ce: Download complete [2022-10-07T09:44:09.526Z] 7c6cee850709: Verifying Checksum [2022-10-07T09:44:09.526Z] 7c6cee850709: Download complete [2022-10-07T09:44:09.526Z] aa9baa53a306: Verifying Checksum [2022-10-07T09:44:09.526Z] aa9baa53a306: Download complete [2022-10-07T09:44:09.526Z] 2408cc74d12b: Verifying Checksum [2022-10-07T09:44:09.526Z] 2408cc74d12b: Download complete [2022-10-07T09:44:09.526Z] 8b309c321861: Verifying Checksum [2022-10-07T09:44:09.526Z] 8b309c321861: Download complete [2022-10-07T09:44:09.526Z] 2408cc74d12b: Pull complete [2022-10-07T09:44:09.787Z] ea60b727a1ce: Pull complete [2022-10-07T09:44:09.787Z] 30c4a7721957: Pull complete [2022-10-07T09:44:10.046Z] d8d76fd02f46: Verifying Checksum [2022-10-07T09:44:10.046Z] d8d76fd02f46: Download complete [2022-10-07T09:44:10.046Z] fa31f396de31: Verifying Checksum [2022-10-07T09:44:10.046Z] fa31f396de31: Download complete [2022-10-07T09:44:10.305Z] 370296b7ddb6: Verifying Checksum [2022-10-07T09:44:10.305Z] 370296b7ddb6: Download complete [2022-10-07T09:44:13.586Z] 370296b7ddb6: Pull complete [2022-10-07T09:44:13.586Z] 7c6cee850709: Pull complete [2022-10-07T09:44:13.586Z] aa9baa53a306: Pull complete [2022-10-07T09:44:13.843Z] 8b309c321861: Pull complete [2022-10-07T09:44:15.743Z] d8d76fd02f46: Pull complete [2022-10-07T09:44:16.308Z] fa31f396de31: Pull complete [2022-10-07T09:44:16.308Z] Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a [2022-10-07T09:44:16.308Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-07T09:44:16.308Z] ---> cef68f9685f8 [2022-10-07T09:44:16.308Z] Step 3/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-07T09:44:20.509Z] ---> Running in 786567e42c06 [2022-10-07T09:44:20.509Z] Removing intermediate container 786567e42c06 [2022-10-07T09:44:20.509Z] ---> 894c60e6d1e4 [2022-10-07T09:44:20.509Z] Step 4/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-07T09:44:20.770Z] ---> Running in a7fbae6f3735 [2022-10-07T09:44:20.770Z] Removing intermediate container a7fbae6f3735 [2022-10-07T09:44:20.770Z] ---> 94c8fd3b1d16 [2022-10-07T09:44:20.770Z] Step 5/13 : ARG ADD_BUILD_TAGS="" [2022-10-07T09:44:20.770Z] ---> Running in 6b9a57ad2591 [2022-10-07T09:44:20.770Z] Removing intermediate container 6b9a57ad2591 [2022-10-07T09:44:20.770Z] ---> 54878d8b2787 [2022-10-07T09:44:20.770Z] Step 6/13 : WORKDIR /device-virtual-go [2022-10-07T09:44:20.770Z] ---> Running in 93212d440e5e [2022-10-07T09:44:21.029Z] Removing intermediate container 93212d440e5e [2022-10-07T09:44:21.029Z] ---> 93655c2bc693 [2022-10-07T09:44:21.029Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-07T09:44:21.029Z] ---> Running in 6c9e2255bd0a [2022-10-07T09:44:21.595Z] Removing intermediate container 6c9e2255bd0a [2022-10-07T09:44:21.595Z] ---> 5e3b785237c0 [2022-10-07T09:44:21.595Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-07T09:44:21.595Z] ---> Running in ef17c9180011 [2022-10-07T09:44:21.853Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-07T09:44:22.191Z] Still waiting to schedule task [2022-10-07T09:44:22.192Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-10-07T09:44:22.789Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-07T09:44:23.052Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-07T09:44:23.310Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-07T09:44:23.310Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-07T09:44:23.310Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-07T09:44:23.569Z] Executing busybox-1.35.0-r13.trigger [2022-10-07T09:44:23.569Z] OK: 216 MiB in 55 packages [2022-10-07T09:44:23.828Z] Removing intermediate container ef17c9180011 [2022-10-07T09:44:23.828Z] ---> 8013c7948d17 [2022-10-07T09:44:23.828Z] Step 9/13 : COPY go.mod vendor* ./ [2022-10-07T09:44:24.086Z] ---> 1089315edf6b [2022-10-07T09:44:24.086Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-07T09:44:24.086Z] ---> Running in 01bc2205ce64 [2022-10-07T09:44:50.663Z] Removing intermediate container 01bc2205ce64 [2022-10-07T09:44:50.663Z] ---> 0e62bf7a3d10 [2022-10-07T09:44:50.663Z] Step 11/13 : COPY . . [2022-10-07T09:44:50.663Z] ---> 293a4e5f9729 [2022-10-07T09:44:50.663Z] Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-07T09:44:50.663Z] ---> Running in a9eca2245a35 [2022-10-07T09:44:50.922Z] Removing intermediate container a9eca2245a35 [2022-10-07T09:44:50.922Z] ---> c4cc8993754b [2022-10-07T09:44:50.922Z] Step 13/13 : RUN $MAKE [2022-10-07T09:44:50.922Z] ---> Running in 3518fcc64669 [2022-10-07T09:44:51.180Z] noop [2022-10-07T09:44:51.439Z] Removing intermediate container 3518fcc64669 [2022-10-07T09:44:51.439Z] ---> 0cf55f40362c [2022-10-07T09:44:51.439Z] Successfully built 0cf55f40362c [2022-10-07T09:44:51.439Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-07T09:44:51.857Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-07T09:44:51.857Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-07T09:44:51.990Z] prd-ubuntu20.04-docker-8c-8g-7311 does not seem to be running inside a container [2022-10-07T09:44:52.013Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-311 -v /w/workspace/foundry_device-virtual-go_PR-311:/w/workspace/foundry_device-virtual-go_PR-311:rw,z -v /w/workspace/foundry_device-virtual-go_PR-311@tmp:/w/workspace/foundry_device-virtual-go_PR-311@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-x86_64 cat [2022-10-07T09:44:52.349Z] $ docker top c0231ffabb50407f97f2f81ff80ee0d67abab417d9462d1142ccc49180c789cc -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-07T09:44:52.733Z] + go version [2022-10-07T09:44:52.733Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-10-07T09:44:52.775Z] $ docker stop --time=1 c0231ffabb50407f97f2f81ff80ee0d67abab417d9462d1142ccc49180c789cc [2022-10-07T09:44:54.038Z] $ docker rm -f c0231ffabb50407f97f2f81ff80ee0d67abab417d9462d1142ccc49180c789cc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-07T09:44:54.697Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-07T09:44:54.697Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-07T09:44:54.831Z] prd-ubuntu20.04-docker-8c-8g-7311 does not seem to be running inside a container [2022-10-07T09:44:54.862Z] $ 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-311 -v /w/workspace/foundry_device-virtual-go_PR-311:/w/workspace/foundry_device-virtual-go_PR-311:rw,z -v /w/workspace/foundry_device-virtual-go_PR-311@tmp:/w/workspace/foundry_device-virtual-go_PR-311@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-x86_64 cat [2022-10-07T09:44:55.160Z] $ docker top fa13cd7e104f6f2497a24016239d8683b6fab9952377cb233f28d474e52bbeca -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-07T09:44:55.543Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-311 [Pipeline] fileExists [Pipeline] sh [2022-10-07T09:44:55.895Z] + make test [2022-10-07T09:44:55.895Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-10-07T09:44:56.152Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-10-07T09:45:06.118Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-10-07T09:45:06.118Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.042s coverage: 65.7% of statements [2022-10-07T09:45:12.706Z] 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-10-07T09:45:12.706Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-07T09:45:14.601Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-07T09:45:14.601Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-07T09:45:14.601Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-07T09:45:14.881Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-07T09:45:14.906Z] $ docker stop --time=1 fa13cd7e104f6f2497a24016239d8683b6fab9952377cb233f28d474e52bbeca [2022-10-07T09:45:17.195Z] $ docker rm -f fa13cd7e104f6f2497a24016239d8683b6fab9952377cb233f28d474e52bbeca [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-07T09:45:17.685Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-07T09:45:17.751Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-07T09:45:18.397Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-07T09:45:18.705Z] + ls -al . [2022-10-07T09:45:18.705Z] total 200 [2022-10-07T09:45:18.705Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 7 09:44 . [2022-10-07T09:45:18.705Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 09:43 .. [2022-10-07T09:45:18.705Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 7 09:45 .git [2022-10-07T09:45:18.706Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 09:43 .github [2022-10-07T09:45:18.706Z] -rw-rw-r-- 1 jenkins jenkins 337 Oct 7 09:43 .gitignore [2022-10-07T09:45:18.706Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 7 09:43 .golangci.yml [2022-10-07T09:45:18.706Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 7 09:44 .semver [2022-10-07T09:45:18.706Z] -rw-rw-r-- 1 jenkins jenkins 8527 Oct 7 09:43 Attribution.txt [2022-10-07T09:45:18.706Z] -rw-rw-r-- 1 jenkins jenkins 9649 Oct 7 09:43 CHANGELOG.md [2022-10-07T09:45:18.706Z] -rw-rw-r-- 1 jenkins jenkins 2034 Oct 7 09:43 Dockerfile [2022-10-07T09:45:18.706Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 7 09:43 GOVERNANCE.md [2022-10-07T09:45:18.706Z] -rw-rw-r-- 1 jenkins jenkins 660 Oct 7 09:43 Jenkinsfile [2022-10-07T09:45:18.706Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 7 09:43 LICENSE [2022-10-07T09:45:18.706Z] -rw-rw-r-- 1 jenkins jenkins 2457 Oct 7 09:43 Makefile [2022-10-07T09:45:18.706Z] -rw-rw-r-- 1 jenkins jenkins 623 Oct 7 09:43 OWNERS.md [2022-10-07T09:45:18.706Z] -rw-rw-r-- 1 jenkins jenkins 3578 Oct 7 09:43 README.md [2022-10-07T09:45:18.706Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 7 09:44 VERSION [2022-10-07T09:45:18.706Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 7 09:43 bin [2022-10-07T09:45:18.706Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 09:43 cmd [2022-10-07T09:45:18.706Z] -rw-r--r-- 1 jenkins jenkins 44128 Oct 7 09:45 coverage.out [2022-10-07T09:45:18.706Z] -rw-rw-r-- 1 jenkins jenkins 3399 Oct 7 09:43 go.mod [2022-10-07T09:45:18.706Z] -rw-rw-r-- 1 jenkins jenkins 37522 Oct 7 09:43 go.sum [2022-10-07T09:45:18.706Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 09:43 internal [2022-10-07T09:45:18.706Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 09:43 snap [2022-10-07T09:45:18.706Z] -rw-rw-r-- 1 jenkins jenkins 235 Oct 7 09:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-07T09:45:19.078Z] + 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=16d50189d2567c1e7ce66d0a270a8db246af86fa --label arch=amd64 --label version=0.0.0 . [2022-10-07T09:45:19.078Z] Sending build context to Docker daemon 23.23MB [2022-10-07T09:45:19.078Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-07T09:45:19.078Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-07T09:45:19.078Z] ---> 0cf55f40362c [2022-10-07T09:45:19.078Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-07T09:45:19.338Z] ---> Running in 56dfaef32fcb [2022-10-07T09:45:19.338Z] Removing intermediate container 56dfaef32fcb [2022-10-07T09:45:19.338Z] ---> 1dbb06451fce [2022-10-07T09:45:19.338Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-07T09:45:19.338Z] ---> Running in b94a0a50d869 [2022-10-07T09:45:19.597Z] Removing intermediate container b94a0a50d869 [2022-10-07T09:45:19.597Z] ---> 596d77bcb40b [2022-10-07T09:45:19.597Z] Step 5/27 : ARG ADD_BUILD_TAGS="" [2022-10-07T09:45:19.597Z] ---> Running in e38d9e51794e [2022-10-07T09:45:19.597Z] Removing intermediate container e38d9e51794e [2022-10-07T09:45:19.597Z] ---> 4c3c1c5278a7 [2022-10-07T09:45:19.597Z] Step 6/27 : WORKDIR /device-virtual-go [2022-10-07T09:45:19.597Z] ---> Running in d2d3cf8428d5 [2022-10-07T09:45:19.597Z] Removing intermediate container d2d3cf8428d5 [2022-10-07T09:45:19.597Z] ---> 8a01e319fce0 [2022-10-07T09:45:19.597Z] Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-07T09:45:19.855Z] ---> Running in 26e759bdb282 [2022-10-07T09:45:20.422Z] Removing intermediate container 26e759bdb282 [2022-10-07T09:45:20.422Z] ---> 6f63819db742 [2022-10-07T09:45:20.422Z] Step 8/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-07T09:45:20.422Z] ---> Running in e4373dac27d2 [2022-10-07T09:45:20.422Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-07T09:45:21.357Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-07T09:45:21.617Z] OK: 216 MiB in 55 packages [2022-10-07T09:45:22.185Z] Removing intermediate container e4373dac27d2 [2022-10-07T09:45:22.185Z] ---> 7e5327b0ebb5 [2022-10-07T09:45:22.185Z] Step 9/27 : COPY go.mod vendor* ./ [2022-10-07T09:45:22.185Z] ---> e821575fc677 [2022-10-07T09:45:22.185Z] Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-07T09:45:22.185Z] ---> Running in ba2e67d38bdf [2022-10-07T09:45:22.754Z] Removing intermediate container ba2e67d38bdf [2022-10-07T09:45:22.754Z] ---> 2ba67e172bce [2022-10-07T09:45:22.754Z] Step 11/27 : COPY . . [2022-10-07T09:45:23.740Z] ---> 2bb5f3637a32 [2022-10-07T09:45:23.740Z] Step 12/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-07T09:45:23.740Z] ---> Running in a0ca08670fc6 [2022-10-07T09:45:23.740Z] Removing intermediate container a0ca08670fc6 [2022-10-07T09:45:23.740Z] ---> bf0b306e148b [2022-10-07T09:45:23.740Z] Step 13/27 : RUN $MAKE [2022-10-07T09:45:23.740Z] ---> Running in a3562f5472c9 [2022-10-07T09:45:23.998Z] 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-10-07T09:45:45.917Z] Removing intermediate container a3562f5472c9 [2022-10-07T09:45:45.917Z] ---> 990431f354e2 [2022-10-07T09:45:45.917Z] Step 14/27 : FROM alpine:3.16 [2022-10-07T09:45:45.917Z] 3.16: Pulling from library/alpine [2022-10-07T09:45:45.917Z] 213ec9aee27d: Pulling fs layer [2022-10-07T09:45:45.917Z] 213ec9aee27d: Verifying Checksum [2022-10-07T09:45:45.917Z] 213ec9aee27d: Download complete [2022-10-07T09:45:45.917Z] 213ec9aee27d: Pull complete [2022-10-07T09:45:45.917Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-07T09:45:45.917Z] Status: Downloaded newer image for alpine:3.16 [2022-10-07T09:45:45.917Z] ---> 9c6f07244728 [2022-10-07T09:45:45.917Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-10-07T09:45:45.917Z] ---> Running in dd9b0e45203e [2022-10-07T09:45:45.917Z] Removing intermediate container dd9b0e45203e [2022-10-07T09:45:45.917Z] ---> 37f46eaf9e3b [2022-10-07T09:45:45.917Z] Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-07T09:45:45.917Z] ---> Running in 0952b191783f [2022-10-07T09:45:45.917Z] Removing intermediate container 0952b191783f [2022-10-07T09:45:45.917Z] ---> c9cd0fdb9a5e [2022-10-07T09:45:45.917Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-07T09:45:45.917Z] ---> Running in dce8f0dfaad9 [2022-10-07T09:45:45.917Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-07T09:45:46.175Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-07T09:45:46.748Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-07T09:45:46.748Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-07T09:45:46.748Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-07T09:45:47.007Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-07T09:45:47.007Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-07T09:45:47.007Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-07T09:45:47.265Z] Executing busybox-1.35.0-r17.trigger [2022-10-07T09:45:47.265Z] OK: 8 MiB in 20 packages [2022-10-07T09:45:48.197Z] Removing intermediate container dce8f0dfaad9 [2022-10-07T09:45:48.197Z] ---> d29470cf5bc0 [2022-10-07T09:45:48.197Z] Step 18/27 : WORKDIR / [2022-10-07T09:45:48.197Z] ---> Running in fe94c0a45e41 [2022-10-07T09:45:48.763Z] Removing intermediate container fe94c0a45e41 [2022-10-07T09:45:48.763Z] ---> a3aa5fce8186 [2022-10-07T09:45:48.763Z] Step 19/27 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-10-07T09:45:49.021Z] ---> ce3335a910af [2022-10-07T09:45:49.021Z] Step 20/27 : COPY --from=builder /device-virtual-go/LICENSE / [2022-10-07T09:45:49.278Z] ---> faa781313b2a [2022-10-07T09:45:49.278Z] Step 21/27 : COPY --from=builder /device-virtual-go/cmd / [2022-10-07T09:45:50.662Z] ---> ce4a398bd280 [2022-10-07T09:45:50.662Z] Step 22/27 : EXPOSE 59900 [2022-10-07T09:45:50.662Z] ---> Running in 57bce07602c2 [2022-10-07T09:45:50.920Z] Removing intermediate container 57bce07602c2 [2022-10-07T09:45:50.920Z] ---> 059bcf909812 [2022-10-07T09:45:50.920Z] Step 23/27 : ENTRYPOINT ["/device-virtual"] [2022-10-07T09:45:51.178Z] ---> Running in d85d7ddaca64 [2022-10-07T09:45:51.437Z] Removing intermediate container d85d7ddaca64 [2022-10-07T09:45:51.437Z] ---> 2fc4686346ad [2022-10-07T09:45:51.437Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-07T09:45:51.697Z] ---> Running in 2705faada3df [2022-10-07T09:45:51.970Z] Removing intermediate container 2705faada3df [2022-10-07T09:45:51.970Z] ---> c8a7048626f4 [2022-10-07T09:45:51.970Z] Step 25/27 : LABEL arch=amd64 [2022-10-07T09:45:51.970Z] ---> Running in 179fc167ac47 [2022-10-07T09:45:52.228Z] Removing intermediate container 179fc167ac47 [2022-10-07T09:45:52.228Z] ---> e98fe00f19c4 [2022-10-07T09:45:52.228Z] Step 26/27 : LABEL git_sha=16d50189d2567c1e7ce66d0a270a8db246af86fa [2022-10-07T09:45:52.486Z] ---> Running in 80a363380a59 [2022-10-07T09:45:52.585Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7312 in /w/workspace/foundry_device-virtual-go_PR-311 [Pipeline] { [Pipeline] ws [2022-10-07T09:45:52.623Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2022-10-07T09:45:52.698Z] The recommended git tool is: git [2022-10-07T09:45:52.744Z] Removing intermediate container 80a363380a59 [2022-10-07T09:45:52.744Z] ---> 92b6f00b3e56 [2022-10-07T09:45:52.744Z] Step 27/27 : LABEL version=0.0.0 [2022-10-07T09:45:53.002Z] ---> Running in 777604eacb48 [2022-10-07T09:45:53.261Z] Removing intermediate container 777604eacb48 [2022-10-07T09:45:53.261Z] ---> f3045e84dcce [2022-10-07T09:45:53.261Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-07T09:45:53.261Z] Successfully built f3045e84dcce [2022-10-07T09:45:53.261Z] 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-10-07T09:45:54.120Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-07T09:45:54.120Z] [2022-10-07T09:45:54.120Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-07T09:45:54.502Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-07T09:45:54.502Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-07T09:45:54.502Z] 5eb5b503b376: Pulling fs layer [2022-10-07T09:45:54.502Z] 5c69ac0246d0: Pulling fs layer [2022-10-07T09:45:54.502Z] ec43610c2a17: Pulling fs layer [2022-10-07T09:45:54.502Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-07T09:45:54.502Z] 33b1e0a273af: Pulling fs layer [2022-10-07T09:45:54.502Z] 5d3b04190fa2: Pulling fs layer [2022-10-07T09:45:54.502Z] 2f39f015ded8: Pulling fs layer [2022-10-07T09:45:54.502Z] 2f39f015ded8: Waiting [2022-10-07T09:45:54.502Z] 33b1e0a273af: Waiting [2022-10-07T09:45:54.502Z] 5d3b04190fa2: Waiting [2022-10-07T09:45:54.502Z] 3a2ae6a8a46f: Waiting [2022-10-07T09:45:54.502Z] 5c69ac0246d0: Verifying Checksum [2022-10-07T09:45:54.502Z] 5c69ac0246d0: Download complete [2022-10-07T09:45:54.502Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-07T09:45:54.502Z] 3a2ae6a8a46f: Download complete [2022-10-07T09:45:54.502Z] 33b1e0a273af: Verifying Checksum [2022-10-07T09:45:54.502Z] 33b1e0a273af: Download complete [2022-10-07T09:45:54.760Z] 5d3b04190fa2: Verifying Checksum [2022-10-07T09:45:54.760Z] 5d3b04190fa2: Download complete [2022-10-07T09:45:54.760Z] ec43610c2a17: Verifying Checksum [2022-10-07T09:45:54.760Z] ec43610c2a17: Download complete [2022-10-07T09:45:54.760Z] 5eb5b503b376: Verifying Checksum [2022-10-07T09:45:54.760Z] 5eb5b503b376: Download complete [2022-10-07T09:45:55.324Z] 2f39f015ded8: Download complete [2022-10-07T09:45:55.890Z] 5eb5b503b376: Pull complete [2022-10-07T09:45:55.890Z] 5c69ac0246d0: Pull complete [2022-10-07T09:45:56.455Z] ec43610c2a17: Pull complete [2022-10-07T09:45:56.455Z] 3a2ae6a8a46f: Pull complete [2022-10-07T09:45:56.713Z] 33b1e0a273af: Pull complete [2022-10-07T09:45:56.713Z] 5d3b04190fa2: Pull complete [2022-10-07T09:45:57.472Z] using credential edgex-jenkins-ssh [2022-10-07T09:45:57.488Z] Cloning the remote Git repository [2022-10-07T09:45:57.528Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2022-10-07T09:45:57.599Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2022-10-07T09:45:57.727Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-10-07T09:45:57.728Z] > git --version # timeout=10 [2022-10-07T09:45:57.750Z] > git --version # 'git version 2.25.1' [2022-10-07T09:45:57.751Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-07T09:45:57.796Z] Verifying host key using known hosts file [2022-10-07T09:45:57.970Z] 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-10-07T09:45:57.983Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-07T09:45:59.996Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-10-07T09:46:00.011Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-07T09:46:00.902Z] 2f39f015ded8: Pull complete [2022-10-07T09:46:00.902Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-07T09:46:00.902Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-07T09:46:00.902Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-07T09:46:01.126Z] prd-ubuntu20.04-docker-8c-8g-7311 does not seem to be running inside a container [2022-10-07T09:46:01.161Z] $ 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-311 -v /w/workspace/foundry_device-virtual-go_PR-311:/w/workspace/foundry_device-virtual-go_PR-311:rw,z -v /w/workspace/foundry_device-virtual-go_PR-311@tmp:/w/workspace/foundry_device-virtual-go_PR-311@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-07T09:46:01.461Z] Merging remotes/origin/main commit dc6526b820fce363f7c4f2d6ce852272454ac71f into PR head commit 16d50189d2567c1e7ce66d0a270a8db246af86fa [2022-10-07T09:46:00.777Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-10-07T09:46:00.819Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-10-07T09:46:00.820Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-07T09:46:00.825Z] Verifying host key using known hosts file [2022-10-07T09:46:00.832Z] 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-10-07T09:46:00.845Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/311/head:refs/remotes/origin/PR-311 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-07T09:46:01.481Z] > git config core.sparsecheckout # timeout=10 [2022-10-07T09:46:01.714Z] Merge succeeded, producing 16d50189d2567c1e7ce66d0a270a8db246af86fa [2022-10-07T09:46:01.715Z] Checking out Revision 16d50189d2567c1e7ce66d0a270a8db246af86fa (PR-311) [2022-10-07T09:46:01.503Z] > git checkout -f 16d50189d2567c1e7ce66d0a270a8db246af86fa # timeout=10 [2022-10-07T09:46:01.586Z] > git remote # timeout=10 [2022-10-07T09:46:01.606Z] > git config --get remote.origin.url # timeout=10 [2022-10-07T09:46:01.636Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-07T09:46:01.649Z] Verifying host key using known hosts file [2022-10-07T09:46:01.652Z] 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-10-07T09:46:01.661Z] > git merge dc6526b820fce363f7c4f2d6ce852272454ac71f # timeout=10 [2022-10-07T09:46:01.686Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-07T09:46:01.723Z] > git config core.sparsecheckout # timeout=10 [2022-10-07T09:46:01.738Z] > git checkout -f 16d50189d2567c1e7ce66d0a270a8db246af86fa # timeout=10 [2022-10-07T09:46:04.956Z] $ docker top ca11cc7ffd796e4642965d5fad11d14880bf3630cfbeb3409150689ae13e0e37 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-07T09:46:05.183Z] Commit message: "fix(snap): Remove duplicate file copying in install hook" [2022-10-07T09:46:05.229Z] > git --version # timeout=10 [2022-10-07T09:46:05.240Z] > git --version # 'git version 2.25.1' [2022-10-07T09:46:05.253Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-07T09:46:05.409Z] ---> job-cost.sh [2022-10-07T09:46:05.409Z] lf-activate-venv: SKIPPING [2022-10-07T09:46:05.409Z] INFO: No Stack... [2022-10-07T09:46:05.667Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-07T09:46:05.709Z] [2022-10-07T09:46:05.709Z] GitHub has been notified of this commit’s build result [2022-10-07T09:46:05.709Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2022-10-07T09:46:05.925Z] INFO: Archiving Costs [Pipeline] sh [Pipeline] sh [2022-10-07T09:46:06.383Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-07T09:46:06.383Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-07T09:46:06.383Z] Dload Upload Total Spent Left Speed [2022-10-07T09:46:06.383Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 96198 0 --:--:-- --:--:-- --:--:-- 96938 [2022-10-07T09:46:06.413Z] + cut -d, -f6 [2022-10-07T09:46:06.413Z] + cat /w/workspace/foundry_device-virtual-go_PR-311/archives/cost.csv [Pipeline] lock [2022-10-07T09:46:06.449Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-311-1-stack-cost] [2022-10-07T09:46:06.453Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-311-1-stack-cost] did not exist. Created. [2022-10-07T09:46:06.453Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-311-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-07T09:46:06.841Z] + echo total: 0.2199999988079071 [Pipeline] sh [Pipeline] stash [2022-10-07T09:46:06.972Z] Stashed 1 file(s) [Pipeline] } [2022-10-07T09:46:06.998Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-311-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-07T09:46:07.073Z] $ docker stop --time=1 ca11cc7ffd796e4642965d5fad11d14880bf3630cfbeb3409150689ae13e0e37 [2022-10-07T09:46:07.160Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [2022-10-07T09:46:08.211Z] $ docker rm -f ca11cc7ffd796e4642965d5fad11d14880bf3630cfbeb3409150689ae13e0e37 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-07T09:46:08.642Z] + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} [2022-10-07T09:46:08.642Z] /etc/docker/daemon.json [2022-10-07T09:46:08.642Z] { [2022-10-07T09:46:08.642Z] "registry-mirrors": [ [2022-10-07T09:46:08.642Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-07T09:46:08.642Z] ], [2022-10-07T09:46:08.642Z] "bip": "10.250.0.254/24", [2022-10-07T09:46:08.642Z] "hosts": [ [2022-10-07T09:46:08.642Z] "tcp://0.0.0.0:5555", [2022-10-07T09:46:08.642Z] "unix:///var/run/docker.sock" [2022-10-07T09:46:08.642Z] ], [2022-10-07T09:46:08.642Z] "mtu": 1458, [2022-10-07T09:46:08.642Z] "selinux-enabled": true, [2022-10-07T09:46:08.642Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-07T09:46:08.642Z] } [Pipeline] sh [2022-10-07T09:46:08.974Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-07T09:46:09.314Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-07T09:46:27.628Z] provisioning config files... [2022-10-07T09:46:27.654Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config7038919966140944577tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-07T09:46:28.038Z] ---> docker-login.sh [2022-10-07T09:46:28.038Z] nexus3.edgexfoundry.org:10001 [2022-10-07T09:46:28.308Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T09:46:28.577Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T09:46:28.577Z] Configure a credential helper to remove this warning. See [2022-10-07T09:46:28.577Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T09:46:28.577Z] [2022-10-07T09:46:28.577Z] Login Succeeded [2022-10-07T09:46:28.577Z] nexus3.edgexfoundry.org:10002 [2022-10-07T09:46:28.847Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T09:46:28.847Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T09:46:28.847Z] Configure a credential helper to remove this warning. See [2022-10-07T09:46:28.847Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T09:46:28.847Z] [2022-10-07T09:46:28.847Z] Login Succeeded [2022-10-07T09:46:28.847Z] nexus3.edgexfoundry.org:10003 [2022-10-07T09:46:29.116Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T09:46:29.387Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T09:46:29.387Z] Configure a credential helper to remove this warning. See [2022-10-07T09:46:29.387Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T09:46:29.387Z] [2022-10-07T09:46:29.387Z] Login Succeeded [2022-10-07T09:46:29.387Z] nexus3.edgexfoundry.org:10004 [2022-10-07T09:46:29.659Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T09:46:29.659Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T09:46:29.659Z] Configure a credential helper to remove this warning. See [2022-10-07T09:46:29.659Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T09:46:29.659Z] [2022-10-07T09:46:29.659Z] Login Succeeded [2022-10-07T09:46:29.659Z] docker.io [2022-10-07T09:46:29.928Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T09:46:30.197Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T09:46:30.197Z] Configure a credential helper to remove this warning. See [2022-10-07T09:46:30.197Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T09:46:30.197Z] [2022-10-07T09:46:30.197Z] Login Succeeded [2022-10-07T09:46:30.197Z] ---> docker-login.sh ends [Pipeline] } [2022-10-07T09:46:30.224Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-07T09:46:30.503Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-07T09:46:30.535Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-07T09:46:30.568Z] ========================================================= [2022-10-07T09:46:30.568Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-07T09:46:30.568Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-07T09:46:31.057Z] + 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-10-07T09:46:31.327Z] Sending build context to Docker daemon 11.73MB [2022-10-07T09:46:31.327Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-07T09:46:31.327Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-07T09:46:31.599Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-07T09:46:31.599Z] b3c136eddcbf: Pulling fs layer [2022-10-07T09:46:31.599Z] c0a3192eca97: Pulling fs layer [2022-10-07T09:46:31.599Z] a050256f5b6f: Pulling fs layer [2022-10-07T09:46:31.599Z] 656be50a0ddc: Pulling fs layer [2022-10-07T09:46:31.599Z] 2bbca73fdf42: Pulling fs layer [2022-10-07T09:46:31.599Z] f607e4fc86c3: Pulling fs layer [2022-10-07T09:46:31.599Z] 4d572c569a2c: Pulling fs layer [2022-10-07T09:46:31.599Z] fcf976331f73: Pulling fs layer [2022-10-07T09:46:31.599Z] 656be50a0ddc: Waiting [2022-10-07T09:46:31.599Z] 2bbca73fdf42: Waiting [2022-10-07T09:46:31.599Z] f607e4fc86c3: Waiting [2022-10-07T09:46:31.599Z] 4d572c569a2c: Waiting [2022-10-07T09:46:31.599Z] a050256f5b6f: Download complete [2022-10-07T09:46:31.599Z] c0a3192eca97: Verifying Checksum [2022-10-07T09:46:31.600Z] c0a3192eca97: Download complete [2022-10-07T09:46:31.600Z] 2bbca73fdf42: Verifying Checksum [2022-10-07T09:46:31.600Z] 2bbca73fdf42: Download complete [2022-10-07T09:46:31.600Z] f607e4fc86c3: Download complete [2022-10-07T09:46:31.600Z] b3c136eddcbf: Verifying Checksum [2022-10-07T09:46:31.600Z] b3c136eddcbf: Download complete [2022-10-07T09:46:32.588Z] b3c136eddcbf: Pull complete [2022-10-07T09:46:32.861Z] fcf976331f73: Verifying Checksum [2022-10-07T09:46:33.140Z] c0a3192eca97: Pull complete [2022-10-07T09:46:33.413Z] a050256f5b6f: Pull complete [2022-10-07T09:46:34.003Z] 4d572c569a2c: Verifying Checksum [2022-10-07T09:46:34.003Z] 4d572c569a2c: Download complete [2022-10-07T09:46:34.591Z] 656be50a0ddc: Verifying Checksum [2022-10-07T09:46:34.591Z] 656be50a0ddc: Download complete [2022-10-07T09:46:46.926Z] 656be50a0ddc: Pull complete [2022-10-07T09:46:46.926Z] 2bbca73fdf42: Pull complete [2022-10-07T09:46:46.926Z] f607e4fc86c3: Pull complete [2022-10-07T09:46:52.279Z] 4d572c569a2c: Pull complete [2022-10-07T09:46:54.241Z] fcf976331f73: Pull complete [2022-10-07T09:46:54.241Z] Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 [2022-10-07T09:46:54.241Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-07T09:46:54.241Z] ---> 3970a7415f9e [2022-10-07T09:46:54.241Z] Step 3/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-07T09:46:56.197Z] ---> Running in f7fd8c2d480a [2022-10-07T09:46:56.197Z] Removing intermediate container f7fd8c2d480a [2022-10-07T09:46:56.197Z] ---> 903af4963fea [2022-10-07T09:46:56.197Z] Step 4/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-07T09:46:56.464Z] ---> Running in dafc5ab365e1 [2022-10-07T09:46:56.732Z] Removing intermediate container dafc5ab365e1 [2022-10-07T09:46:56.732Z] ---> 8099a9f8200f [2022-10-07T09:46:56.732Z] Step 5/13 : ARG ADD_BUILD_TAGS="" [2022-10-07T09:46:56.732Z] ---> Running in 3b38325fc67b [2022-10-07T09:46:57.000Z] Removing intermediate container 3b38325fc67b [2022-10-07T09:46:57.000Z] ---> b4dc680f6c8d [2022-10-07T09:46:57.000Z] Step 6/13 : WORKDIR /device-virtual-go [2022-10-07T09:46:57.267Z] ---> Running in b96be36e5448 [2022-10-07T09:46:57.535Z] Removing intermediate container b96be36e5448 [2022-10-07T09:46:57.535Z] ---> c0f5b5793abc [2022-10-07T09:46:57.535Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-07T09:46:57.535Z] ---> Running in fb074b65eadb [2022-10-07T09:46:59.483Z] Removing intermediate container fb074b65eadb [2022-10-07T09:46:59.483Z] ---> 4632393f212f [2022-10-07T09:46:59.483Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-07T09:46:59.483Z] ---> Running in e91e72751d10 [2022-10-07T09:47:00.455Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-07T09:47:01.417Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-07T09:47:02.002Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-07T09:47:02.268Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-07T09:47:02.268Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-07T09:47:02.539Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-07T09:47:02.539Z] Executing busybox-1.35.0-r13.trigger [2022-10-07T09:47:02.539Z] OK: 226 MiB in 55 packages [2022-10-07T09:47:03.957Z] Removing intermediate container e91e72751d10 [2022-10-07T09:47:03.957Z] ---> f9cc3968c192 [2022-10-07T09:47:03.957Z] Step 9/13 : COPY go.mod vendor* ./ [2022-10-07T09:47:04.224Z] ---> 394ebd263787 [2022-10-07T09:47:04.224Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-07T09:47:04.497Z] ---> Running in 1aa49154fb83 [2022-10-07T09:47:51.353Z] Removing intermediate container 1aa49154fb83 [2022-10-07T09:47:51.353Z] ---> dcbe88b134ba [2022-10-07T09:47:51.353Z] Step 11/13 : COPY . . [2022-10-07T09:47:51.634Z] ---> 788aa9f46af7 [2022-10-07T09:47:51.634Z] Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-07T09:47:51.634Z] ---> Running in 234e0f18b75e [2022-10-07T09:47:51.914Z] Removing intermediate container 234e0f18b75e [2022-10-07T09:47:51.914Z] ---> ce2d93a65e95 [2022-10-07T09:47:51.914Z] Step 13/13 : RUN $MAKE [2022-10-07T09:47:51.914Z] ---> Running in f0cc909e9568 [2022-10-07T09:47:52.896Z] noop [2022-10-07T09:47:53.480Z] Removing intermediate container f0cc909e9568 [2022-10-07T09:47:53.480Z] ---> 2607cfca75c6 [2022-10-07T09:47:53.745Z] Successfully built 2607cfca75c6 [2022-10-07T09:47:53.745Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-07T09:47:54.219Z] + docker inspect -f . ci-base-image-arm64 [2022-10-07T09:47:54.219Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-07T09:47:54.471Z] prd-ubuntu20.04-docker-arm64-4c-16g-7312 does not seem to be running inside a container [2022-10-07T09:47:54.530Z] $ 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 ******** ci-base-image-arm64 cat [2022-10-07T09:47:55.700Z] $ docker top 3d4ea389fc2e3e2396a0a949420ad0519349f79067e80a68663f00c107b870cd -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-07T09:47:56.564Z] + go version [2022-10-07T09:47:56.564Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-10-07T09:47:56.599Z] $ docker stop --time=1 3d4ea389fc2e3e2396a0a949420ad0519349f79067e80a68663f00c107b870cd [2022-10-07T09:47:58.250Z] $ docker rm -f 3d4ea389fc2e3e2396a0a949420ad0519349f79067e80a68663f00c107b870cd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-07T09:47:59.066Z] + docker inspect -f . ci-base-image-arm64 [2022-10-07T09:47:59.066Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-07T09:47:59.309Z] prd-ubuntu20.04-docker-arm64-4c-16g-7312 does not seem to be running inside a container [2022-10-07T09:47:59.367Z] $ 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 ******** ci-base-image-arm64 cat [2022-10-07T09:48:00.499Z] $ docker top 018a48a21e378d5a531e1271250364fd7ecf3d3e2d58ae845f215db4a35821a7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-07T09:48:01.044Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh [2022-10-07T09:48:02.015Z] + make test [2022-10-07T09:48:02.015Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-10-07T09:48:03.429Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-10-07T09:49:25.052Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-10-07T09:49:25.052Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.131s coverage: 65.7% of statements [2022-10-07T09:49:25.052Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-07T09:49:25.052Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-07T09:49:43.264Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-07T09:49:43.264Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-07T09:49:43.264Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-07T09:49:43.306Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-07T09:49:43.337Z] $ docker stop --time=1 018a48a21e378d5a531e1271250364fd7ecf3d3e2d58ae845f215db4a35821a7 [2022-10-07T09:49:45.064Z] $ docker rm -f 018a48a21e378d5a531e1271250364fd7ecf3d3e2d58ae845f215db4a35821a7 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-07T09:49:45.989Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-07T09:49:46.020Z] Warning: overwriting stash ‘coverage-report’ [2022-10-07T09:49:46.388Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-07T09:49:46.992Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-07T09:49:47.329Z] + ls -al . [2022-10-07T09:49:47.329Z] total 196 [2022-10-07T09:49:47.329Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 7 09:48 . [2022-10-07T09:49:47.329Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 09:45 .. [2022-10-07T09:49:47.329Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 7 09:46 .git [2022-10-07T09:49:47.329Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 09:46 .github [2022-10-07T09:49:47.329Z] -rw-rw-r-- 1 jenkins jenkins 337 Oct 7 09:46 .gitignore [2022-10-07T09:49:47.329Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 7 09:46 .golangci.yml [2022-10-07T09:49:47.329Z] -rw-rw-r-- 1 jenkins jenkins 8527 Oct 7 09:46 Attribution.txt [2022-10-07T09:49:47.329Z] -rw-rw-r-- 1 jenkins jenkins 9649 Oct 7 09:46 CHANGELOG.md [2022-10-07T09:49:47.329Z] -rw-rw-r-- 1 jenkins jenkins 2034 Oct 7 09:46 Dockerfile [2022-10-07T09:49:47.329Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 7 09:46 GOVERNANCE.md [2022-10-07T09:49:47.329Z] -rw-rw-r-- 1 jenkins jenkins 660 Oct 7 09:46 Jenkinsfile [2022-10-07T09:49:47.329Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 7 09:46 LICENSE [2022-10-07T09:49:47.329Z] -rw-rw-r-- 1 jenkins jenkins 2457 Oct 7 09:46 Makefile [2022-10-07T09:49:47.329Z] -rw-rw-r-- 1 jenkins jenkins 623 Oct 7 09:46 OWNERS.md [2022-10-07T09:49:47.329Z] -rw-rw-r-- 1 jenkins jenkins 3578 Oct 7 09:46 README.md [2022-10-07T09:49:47.329Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 7 09:44 VERSION [2022-10-07T09:49:47.329Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 7 09:46 bin [2022-10-07T09:49:47.329Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 09:46 cmd [2022-10-07T09:49:47.329Z] -rw-r--r-- 1 jenkins jenkins 44128 Oct 7 09:49 coverage.out [2022-10-07T09:49:47.329Z] -rw-rw-r-- 1 jenkins jenkins 3399 Oct 7 09:46 go.mod [2022-10-07T09:49:47.329Z] -rw-rw-r-- 1 jenkins jenkins 37522 Oct 7 09:46 go.sum [2022-10-07T09:49:47.329Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 09:46 internal [2022-10-07T09:49:47.329Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 09:46 snap [2022-10-07T09:49:47.329Z] -rw-rw-r-- 1 jenkins jenkins 235 Oct 7 09:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-07T09:49:47.744Z] + 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=16d50189d2567c1e7ce66d0a270a8db246af86fa --label arch=arm64 --label version=0.0.0 . [2022-10-07T09:49:48.010Z] Sending build context to Docker daemon 11.78MB [2022-10-07T09:49:48.010Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-07T09:49:48.010Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-07T09:49:48.010Z] ---> 2607cfca75c6 [2022-10-07T09:49:48.010Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-07T09:49:48.275Z] ---> Running in b5c9db6974e7 [2022-10-07T09:49:48.613Z] Removing intermediate container b5c9db6974e7 [2022-10-07T09:49:48.613Z] ---> 6ad172d00c64 [2022-10-07T09:49:48.613Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-07T09:49:48.613Z] ---> Running in 04d8b77fd5ce [2022-10-07T09:49:48.882Z] Removing intermediate container 04d8b77fd5ce [2022-10-07T09:49:48.882Z] ---> 673f5504a53b [2022-10-07T09:49:48.882Z] Step 5/27 : ARG ADD_BUILD_TAGS="" [2022-10-07T09:49:48.882Z] ---> Running in cf9bc79616dd [2022-10-07T09:49:49.151Z] Removing intermediate container cf9bc79616dd [2022-10-07T09:49:49.151Z] ---> 05330bb68d3d [2022-10-07T09:49:49.151Z] Step 6/27 : WORKDIR /device-virtual-go [2022-10-07T09:49:49.151Z] ---> Running in c986aed066d6 [2022-10-07T09:49:49.442Z] Removing intermediate container c986aed066d6 [2022-10-07T09:49:49.442Z] ---> 4958cfb395f8 [2022-10-07T09:49:49.442Z] Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-07T09:49:49.713Z] ---> Running in 03d7d756dba0 [2022-10-07T09:49:51.151Z] Removing intermediate container 03d7d756dba0 [2022-10-07T09:49:51.151Z] ---> 0c99c5b5dd80 [2022-10-07T09:49:51.151Z] Step 8/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-07T09:49:51.418Z] ---> Running in c8d119ae0b27 [2022-10-07T09:49:52.380Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-07T09:49:52.959Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-07T09:49:53.924Z] OK: 226 MiB in 55 packages [2022-10-07T09:49:54.888Z] Removing intermediate container c8d119ae0b27 [2022-10-07T09:49:54.889Z] ---> 2308c93e7726 [2022-10-07T09:49:54.889Z] Step 9/27 : COPY go.mod vendor* ./ [2022-10-07T09:49:55.157Z] ---> 7893208d6c7b [2022-10-07T09:49:55.157Z] Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-07T09:49:55.157Z] ---> Running in 1ef18d879e4e [2022-10-07T09:49:57.110Z] Removing intermediate container 1ef18d879e4e [2022-10-07T09:49:57.110Z] ---> 1d80b0ff1f95 [2022-10-07T09:49:57.110Z] Step 11/27 : COPY . . [2022-10-07T09:49:58.079Z] ---> fcb6a4026ecd [2022-10-07T09:49:58.079Z] Step 12/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-07T09:49:58.348Z] ---> Running in e20641b90951 [2022-10-07T09:49:58.617Z] Removing intermediate container e20641b90951 [2022-10-07T09:49:58.617Z] ---> fe84ec5ad11c [2022-10-07T09:49:58.617Z] Step 13/27 : RUN $MAKE [2022-10-07T09:49:58.617Z] ---> Running in 2539e75570ce [2022-10-07T09:49:59.582Z] 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-10-07T09:52:36.319Z] Removing intermediate container 2539e75570ce [2022-10-07T09:52:36.319Z] ---> 1fbeee3efcf7 [2022-10-07T09:52:36.319Z] Step 14/27 : FROM alpine:3.16 [2022-10-07T09:52:36.319Z] 3.16: Pulling from library/alpine [2022-10-07T09:52:36.319Z] 9b18e9b68314: Pulling fs layer [2022-10-07T09:52:36.319Z] 9b18e9b68314: Download complete [2022-10-07T09:52:36.319Z] 9b18e9b68314: Pull complete [2022-10-07T09:52:36.319Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-07T09:52:36.319Z] Status: Downloaded newer image for alpine:3.16 [2022-10-07T09:52:36.319Z] ---> a6215f271958 [2022-10-07T09:52:36.319Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-10-07T09:52:36.319Z] ---> Running in ccb891be6ec4 [2022-10-07T09:52:36.319Z] Removing intermediate container ccb891be6ec4 [2022-10-07T09:52:36.319Z] ---> 478173f2fd25 [2022-10-07T09:52:36.319Z] Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-07T09:52:36.319Z] ---> Running in fad1753e61c9 [2022-10-07T09:52:36.319Z] Removing intermediate container fad1753e61c9 [2022-10-07T09:52:36.319Z] ---> e382444adeba [2022-10-07T09:52:36.319Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-07T09:52:36.319Z] ---> Running in 661c47f75d74 [2022-10-07T09:52:36.319Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-07T09:52:36.319Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-07T09:52:36.319Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-07T09:52:36.319Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-07T09:52:36.319Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-07T09:52:36.319Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-07T09:52:36.319Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-07T09:52:36.319Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-07T09:52:36.319Z] Executing busybox-1.35.0-r17.trigger [2022-10-07T09:52:36.319Z] OK: 8 MiB in 20 packages [2022-10-07T09:52:36.319Z] Removing intermediate container 661c47f75d74 [2022-10-07T09:52:36.319Z] ---> eb61358d6352 [2022-10-07T09:52:36.319Z] Step 18/27 : WORKDIR / [2022-10-07T09:52:36.319Z] ---> Running in 5dbe6e81a899 [2022-10-07T09:52:36.319Z] Removing intermediate container 5dbe6e81a899 [2022-10-07T09:52:36.319Z] ---> c864daba1223 [2022-10-07T09:52:36.319Z] Step 19/27 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-10-07T09:52:36.319Z] ---> 714577b85296 [2022-10-07T09:52:36.319Z] Step 20/27 : COPY --from=builder /device-virtual-go/LICENSE / [2022-10-07T09:52:36.319Z] ---> da7337e0c889 [2022-10-07T09:52:36.319Z] Step 21/27 : COPY --from=builder /device-virtual-go/cmd / [2022-10-07T09:52:36.319Z] ---> bed614a9817c [2022-10-07T09:52:36.319Z] Step 22/27 : EXPOSE 59900 [2022-10-07T09:52:36.319Z] ---> Running in bf6e5f17882e [2022-10-07T09:52:36.319Z] Removing intermediate container bf6e5f17882e [2022-10-07T09:52:36.319Z] ---> 0c1cd06d81f8 [2022-10-07T09:52:36.319Z] Step 23/27 : ENTRYPOINT ["/device-virtual"] [2022-10-07T09:52:36.319Z] ---> Running in d4b737361cac [2022-10-07T09:52:36.319Z] Removing intermediate container d4b737361cac [2022-10-07T09:52:36.319Z] ---> c1f5496b0ac4 [2022-10-07T09:52:36.319Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-07T09:52:36.319Z] ---> Running in 44a927267787 [2022-10-07T09:52:36.319Z] Removing intermediate container 44a927267787 [2022-10-07T09:52:36.319Z] ---> 65096218dfd8 [2022-10-07T09:52:36.319Z] Step 25/27 : LABEL arch=arm64 [2022-10-07T09:52:36.319Z] ---> Running in caaa3877d6e1 [2022-10-07T09:52:36.319Z] Removing intermediate container caaa3877d6e1 [2022-10-07T09:52:36.319Z] ---> 823cef0ca8c3 [2022-10-07T09:52:36.319Z] Step 26/27 : LABEL git_sha=16d50189d2567c1e7ce66d0a270a8db246af86fa [2022-10-07T09:52:36.319Z] ---> Running in c6edb8d217fb [2022-10-07T09:52:36.319Z] Removing intermediate container c6edb8d217fb [2022-10-07T09:52:36.319Z] ---> 8203757d031b [2022-10-07T09:52:36.319Z] Step 27/27 : LABEL version=0.0.0 [2022-10-07T09:52:36.319Z] ---> Running in 0d9a32468c7d [2022-10-07T09:52:36.585Z] Removing intermediate container 0d9a32468c7d [2022-10-07T09:52:36.585Z] ---> e31311972818 [2022-10-07T09:52:36.585Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-07T09:52:36.585Z] Successfully built e31311972818 [2022-10-07T09:52:36.849Z] 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-10-07T09:52:37.661Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-07T09:52:37.661Z] [2022-10-07T09:52:37.661Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-07T09:52:38.056Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-07T09:52:38.056Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-07T09:52:38.056Z] 8998bd30e6a1: Pulling fs layer [2022-10-07T09:52:38.056Z] 04944245beec: Pulling fs layer [2022-10-07T09:52:38.056Z] 699f458cf7ca: Pulling fs layer [2022-10-07T09:52:38.056Z] 765212b225bb: Pulling fs layer [2022-10-07T09:52:38.056Z] f23df028b6ca: Pulling fs layer [2022-10-07T09:52:38.056Z] d65c8cfc05b1: Pulling fs layer [2022-10-07T09:52:38.056Z] 2437ff75d9bd: Pulling fs layer [2022-10-07T09:52:38.056Z] d65c8cfc05b1: Waiting [2022-10-07T09:52:38.056Z] 2437ff75d9bd: Waiting [2022-10-07T09:52:38.056Z] 765212b225bb: Waiting [2022-10-07T09:52:38.056Z] f23df028b6ca: Waiting [2022-10-07T09:52:38.325Z] 04944245beec: Verifying Checksum [2022-10-07T09:52:38.325Z] 04944245beec: Download complete [2022-10-07T09:52:38.325Z] 765212b225bb: Verifying Checksum [2022-10-07T09:52:38.325Z] 765212b225bb: Download complete [2022-10-07T09:52:38.325Z] f23df028b6ca: Verifying Checksum [2022-10-07T09:52:38.325Z] f23df028b6ca: Download complete [2022-10-07T09:52:38.325Z] d65c8cfc05b1: Verifying Checksum [2022-10-07T09:52:38.325Z] d65c8cfc05b1: Download complete [2022-10-07T09:52:38.592Z] 699f458cf7ca: Verifying Checksum [2022-10-07T09:52:38.592Z] 699f458cf7ca: Download complete [2022-10-07T09:52:38.862Z] 8998bd30e6a1: Download complete [2022-10-07T09:52:40.804Z] 2437ff75d9bd: Verifying Checksum [2022-10-07T09:52:40.804Z] 2437ff75d9bd: Download complete [2022-10-07T09:52:42.740Z] 8998bd30e6a1: Pull complete [2022-10-07T09:52:43.009Z] 04944245beec: Pull complete [2022-10-07T09:52:44.423Z] 699f458cf7ca: Pull complete [2022-10-07T09:52:44.423Z] 765212b225bb: Pull complete [2022-10-07T09:52:45.008Z] f23df028b6ca: Pull complete [2022-10-07T09:52:45.274Z] d65c8cfc05b1: Pull complete [2022-10-07T09:53:00.256Z] 2437ff75d9bd: Pull complete [2022-10-07T09:53:00.256Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-07T09:53:00.256Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-07T09:53:00.256Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-07T09:53:00.601Z] prd-ubuntu20.04-docker-arm64-4c-16g-7312 does not seem to be running inside a container [2022-10-07T09:53:00.661Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-07T09:53:03.153Z] $ docker top 4dc32978e7a8eda1ad859318cb986e3d1aecff019bb65c79033729fc65ee4f16 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-07T09:53:04.033Z] ---> job-cost.sh [2022-10-07T09:53:04.033Z] lf-activate-venv: SKIPPING [2022-10-07T09:53:04.033Z] INFO: No Stack... [2022-10-07T09:53:04.299Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-07T09:53:05.255Z] INFO: Archiving Costs [Pipeline] sh [2022-10-07T09:53:05.912Z] + cat+ /w/workspace/device-virtual-go/1/archives/cost.csv [2022-10-07T09:53:05.912Z] cut -d, -f6 [Pipeline] lock [2022-10-07T09:53:05.983Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-311-1-stack-cost] [2022-10-07T09:53:05.988Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-311-1-stack-cost] did not exist. Created. [2022-10-07T09:53:05.988Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-311-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-07T09:53:06.704Z] /w/workspace/device-virtual-go/1@tmp/durable-03699cc1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-07T09:53:07.368Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-07T09:53:07.406Z] Warning: overwriting stash ‘stack-cost’ [2022-10-07T09:53:07.446Z] Stashed 1 file(s) [Pipeline] } [2022-10-07T09:53:07.461Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-311-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-07T09:53:07.546Z] $ docker stop --time=1 4dc32978e7a8eda1ad859318cb986e3d1aecff019bb65c79033729fc65ee4f16 [2022-10-07T09:53:09.059Z] $ docker rm -f 4dc32978e7a8eda1ad859318cb986e3d1aecff019bb65c79033729fc65ee4f16 [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-10-07T09:53:10.018Z] provisioning config files... [2022-10-07T09:53:10.024Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-311@tmp/config4697296462170183583tmp [Pipeline] { [Pipeline] sh [2022-10-07T09:53:10.349Z] + set +x [2022-10-07T09:53:10.349Z] + curl -s https://codecov.io/bash [2022-10-07T09:53:10.349Z] + bash -s -- [2022-10-07T09:53:10.349Z] [2022-10-07T09:53:10.349Z] _____ _ [2022-10-07T09:53:10.349Z] / ____| | | [2022-10-07T09:53:10.349Z] | | ___ __| | ___ ___ _____ __ [2022-10-07T09:53:10.349Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-07T09:53:10.349Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-07T09:53:10.349Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-07T09:53:10.349Z] Bash-1.0.6 [2022-10-07T09:53:10.349Z] [2022-10-07T09:53:10.349Z] [2022-10-07T09:53:10.349Z] ==> git version 2.25.1 found [2022-10-07T09:53:10.349Z] ==> 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-10-07T09:53:10.349Z] Release-Date: 2020-01-08 [2022-10-07T09:53:10.349Z] 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-10-07T09:53:10.349Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-07T09:53:10.349Z] ==> Jenkins CI detected. [2022-10-07T09:53:10.349Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-311 [2022-10-07T09:53:10.349Z] project root: . [2022-10-07T09:53:10.349Z] --> token set from env [2022-10-07T09:53:10.349Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-07T09:53:10.349Z] ==> Running gcov in . (disable via -X gcov) [2022-10-07T09:53:10.349Z] ==> Python coveragepy not found [2022-10-07T09:53:10.349Z] ==> Searching for coverage reports in: [2022-10-07T09:53:10.349Z] + . [2022-10-07T09:53:10.349Z] -> Found 1 reports [2022-10-07T09:53:10.349Z] ==> Detecting git/mercurial file structure [2022-10-07T09:53:10.349Z] ==> Reading reports [2022-10-07T09:53:10.608Z] + ./coverage.out bytes=44128 [2022-10-07T09:53:10.608Z] ==> Appending adjustments [2022-10-07T09:53:10.608Z] https://docs.codecov.io/docs/fixing-reports [2022-10-07T09:53:10.608Z] + Found adjustments [2022-10-07T09:53:10.608Z] ==> Gzipping contents [2022-10-07T09:53:10.608Z] 8.0K /tmp/codecov.RcDO9p.gz [2022-10-07T09:53:10.608Z] ==> Uploading reports [2022-10-07T09:53:10.609Z] url: https://codecov.io [2022-10-07T09:53:10.609Z] query: branch=PR-311&commit=16d50189d2567c1e7ce66d0a270a8db246af86fa&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-311%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=311&job=&cmd_args= [2022-10-07T09:53:10.609Z] -> Pinging Codecov [2022-10-07T09:53:10.609Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-311&commit=16d50189d2567c1e7ce66d0a270a8db246af86fa&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-311%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=311&job=&cmd_args= [2022-10-07T09:53:10.867Z] -> Uploading to [2022-10-07T09:53:10.867Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-07/5E52B4B073DB2E39498172D8E973AA87/16d50189d2567c1e7ce66d0a270a8db246af86fa/dbbd4598-7ed3-4fca-86f8-60f843302edd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221007%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221007T095310Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cedf4d66b31dbc71a79209f52f761afa8e03e1c4c9f72c2416575b25a9ef6f97 [2022-10-07T09:53:10.867Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-07T09:53:10.867Z] Dload Upload Total Spent Left Speed [2022-10-07T09:53:11.127Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5489 0 0 100 5489 0 21275 --:--:-- --:--:-- --:--:-- 21275 [2022-10-07T09:53:11.387Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/16d50189d2567c1e7ce66d0a270a8db246af86fa [Pipeline] } [2022-10-07T09:53:11.414Z] 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-10-07T09:53:13.166Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-311/archives ] [2022-10-07T09:53:13.166Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-311/archives [2022-10-07T09:53:13.166Z] total 16 [2022-10-07T09:53:13.166Z] drwxr-xr-x 3 root root 4096 Oct 7 09:46 . [2022-10-07T09:53:13.166Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 7 09:46 .. [2022-10-07T09:53:13.166Z] drwxr-xr-x 2 root root 4096 Oct 7 09:46 cost [2022-10-07T09:53:13.166Z] -rw-r--r-- 1 root root 89 Oct 7 09:46 cost.csv [2022-10-07T09:53:13.166Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-311/archives [2022-10-07T09:53:13.166Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-311/archives [2022-10-07T09:53:13.166Z] total 16 [2022-10-07T09:53:13.166Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 7 09:46 . [2022-10-07T09:53:13.166Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 7 09:46 .. [2022-10-07T09:53:13.166Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 7 09:46 cost [2022-10-07T09:53:13.166Z] -rw-r--r-- 1 jenkins jenkins 89 Oct 7 09:46 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-07T09:53:13.495Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-07T09:53:14.375Z] ---> package-listing.sh [2022-10-07T09:53:14.375Z] ++ facter osfamily [2022-10-07T09:53:14.375Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-07T09:53:14.632Z] + OS_FAMILY=debian [2022-10-07T09:53:14.632Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-311 [2022-10-07T09:53:14.632Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-07T09:53:14.632Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-07T09:53:14.632Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-07T09:53:14.632Z] + PACKAGES=/tmp/packages_start.txt [2022-10-07T09:53:14.632Z] + '[' /w/workspace/foundry_device-virtual-go_PR-311 ']' [2022-10-07T09:53:14.632Z] + PACKAGES=/tmp/packages_end.txt [2022-10-07T09:53:14.632Z] + case "${OS_FAMILY}" in [2022-10-07T09:53:14.632Z] + dpkg -l [2022-10-07T09:53:14.632Z] + grep '^ii' [2022-10-07T09:53:14.632Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-07T09:53:14.632Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-07T09:53:14.632Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-07T09:53:14.632Z] + '[' /w/workspace/foundry_device-virtual-go_PR-311 ']' [2022-10-07T09:53:14.632Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-311/archives/ [2022-10-07T09:53:14.632Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-311/archives/ [Pipeline] echo [2022-10-07T09:53:14.664Z] 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-311/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-07T09:53:15.000Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-07T09:53:15.615Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-07T09:53:15.615Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-07T09:53:15.752Z] prd-ubuntu20.04-docker-8c-8g-7311 does not seem to be running inside a container [2022-10-07T09:53:15.784Z] $ 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-311/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-311 -v /w/workspace/foundry_device-virtual-go_PR-311:/w/workspace/foundry_device-virtual-go_PR-311:rw,z -v /w/workspace/foundry_device-virtual-go_PR-311@tmp:/w/workspace/foundry_device-virtual-go_PR-311@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-10-07T09:53:15.972Z] $ docker top 188378946e5c74f222f334ae4cd347542b905c5caa90d59e5f642e6033582483 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-07T09:53:16.362Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-07T09:53:16.670Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-07T09:53:16.980Z] + ls /var/log/sa-host [2022-10-07T09:53:16.980Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-07T09:53:17.193Z] provisioning config files... [2022-10-07T09:53:17.201Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-311@tmp/config12462241883648502675tmp [Pipeline] { [Pipeline] echo [2022-10-07T09:53:17.256Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-07T09:53:17.567Z] ---> create-netrc.sh [Pipeline] } [2022-10-07T09:53:17.595Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-07T09:53:17.998Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-07T09:53:18.031Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-07T09:53:18.338Z] ---> sudo-logs.sh [2022-10-07T09:53:18.338Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-07T09:53:18.424Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-07T09:53:18.732Z] ---> job-cost.sh [2022-10-07T09:53:18.732Z] lf-activate-venv: SKIPPING [2022-10-07T09:53:18.732Z] DEBUG: total: 0.2199999988079071 [2022-10-07T09:53:18.732Z] INFO: Retrieving Stack Cost... [2022-10-07T09:53:19.299Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-07T09:53:19.559Z] INFO: Archiving Costs [Pipeline] echo [2022-10-07T09:53:19.588Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-07T09:53:19.895Z] ---> logs-deploy.sh [2022-10-07T09:53:19.895Z] lf-activate-venv: SKIPPING [2022-10-07T09:53:19.895Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-311/1 [2022-10-07T09:53:19.895Z] INFO: archiving workspace using pattern(s): [2022-10-07T09:53:20.829Z] Archives upload complete. [2022-10-07T09:53:20.829Z] INFO: archiving logs to Nexus