Pull request #300 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-virtual-go Loading trusted files from base branch main at b155924b7e348e7f4c6bc2e32e3176dc0fde7f12 rather than c6051772b3684361e4ed1e111942558285e6c3c6 Obtained Jenkinsfile from b155924b7e348e7f4c6bc2e32e3176dc0fde7f12 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-ssh12993087658306530737.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh13457124208725964906.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-300/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-300/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10767281765625971309.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh11448596990816305439.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-300/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-300/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14315356535868488364.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d # timeout=10 Commit message: "Merge changes Iad18a535,I8019d0c0" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-22588 in /w/workspace/foundry_device-virtual-go_PR-300 [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-300 # 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit b155924b7e348e7f4c6bc2e32e3176dc0fde7f12 into PR head commit c6051772b3684361e4ed1e111942558285e6c3c6 Merge succeeded, producing c6051772b3684361e4ed1e111942558285e6c3c6 Checking out Revision c6051772b3684361e4ed1e111942558285e6c3c6 (PR-300) > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/300/head:refs/remotes/origin/PR-300 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c6051772b3684361e4ed1e111942558285e6c3c6 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge b155924b7e348e7f4c6bc2e32e3176dc0fde7f12 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c6051772b3684361e4ed1e111942558285e6c3c6 # timeout=10 Commit message: "revert(snap): Revert `latest` version in edgex-docs' link" > git rev-list --no-walk 4b178002e221fe3f5b3d3ae238b1d54201d7be48 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-08-12T06:39:56.909Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-08-12T06:39:56.978Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-08-12T06:39:56.992Z] ========================================================= [2022-08-12T06:39:56.992Z] EdgeX Global Pipelines Version Info [2022-08-12T06:39:56.992Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-08-12T06:39:57.771Z] ------------------- [2022-08-12T06:39:57.771Z] stable info: [2022-08-12T06:39:57.771Z] ------------------- [2022-08-12T06:39:57.771Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-12T06:39:57.771Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-12T06:39:57.771Z] Message: update stable to v1.0.238 [2022-08-12T06:39:58.345Z] ------------------- [2022-08-12T06:39:58.345Z] experimental info: [2022-08-12T06:39:58.345Z] ------------------- [2022-08-12T06:39:58.345Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-12T06:39:58.345Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-12T06:39:58.345Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-08-12T06:39:58.639Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2022-08-12T06:39:58.656Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2022-08-12T06:39:58.674Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-08-12T06:39:58.688Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-08-12T06:39:58.700Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-08-12T06:39:58.714Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-08-12T06:39:58.729Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-08-12T06:39:58.744Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-08-12T06:39:58.764Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-08-12T06:39:58.782Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-08-12T06:39:58.798Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-08-12T06:39:58.813Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2022-08-12T06:39:58.823Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-08-12T06:39:58.836Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-08-12T06:39:58.848Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-08-12T06:39:58.859Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-08-12T06:39:58.871Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-08-12T06:39:58.885Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-08-12T06:39:58.900Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-08-12T06:39:58.915Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-08-12T06:39:58.930Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-08-12T06:39:58.944Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-08-12T06:39:58.958Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-08-12T06:39:58.972Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-08-12T06:39:58.981Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-08-12T06:39:58.995Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-08-12T06:39:59.011Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-08-12T06:39:59.021Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-300 [Pipeline] echo [2022-08-12T06:39:59.036Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-300 [Pipeline] echo [2022-08-12T06:39:59.048Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-300 [Pipeline] echo [2022-08-12T06:39:59.062Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c6051772b3684361e4ed1e111942558285e6c3c6 [Pipeline] echo [2022-08-12T06:39:59.075Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c605177 [Pipeline] echo [2022-08-12T06:39:59.085Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-12T06:39:59.130Z] provisioning config files... [2022-08-12T06:39:59.146Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-300@tmp/config1490513757441808247tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-12T06:39:59.460Z] ---> docker-login.sh [2022-08-12T06:39:59.460Z] nexus3.edgexfoundry.org:10001 [2022-08-12T06:39:59.724Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T06:39:59.984Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T06:39:59.984Z] Configure a credential helper to remove this warning. See [2022-08-12T06:39:59.984Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T06:39:59.984Z] [2022-08-12T06:39:59.984Z] Login Succeeded [2022-08-12T06:39:59.984Z] nexus3.edgexfoundry.org:10002 [2022-08-12T06:39:59.984Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T06:40:00.246Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T06:40:00.246Z] Configure a credential helper to remove this warning. See [2022-08-12T06:40:00.246Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T06:40:00.246Z] [2022-08-12T06:40:00.246Z] Login Succeeded [2022-08-12T06:40:00.246Z] nexus3.edgexfoundry.org:10003 [2022-08-12T06:40:00.246Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T06:40:00.246Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T06:40:00.246Z] Configure a credential helper to remove this warning. See [2022-08-12T06:40:00.246Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T06:40:00.246Z] [2022-08-12T06:40:00.246Z] Login Succeeded [2022-08-12T06:40:00.246Z] nexus3.edgexfoundry.org:10004 [2022-08-12T06:40:00.508Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T06:40:00.508Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T06:40:00.508Z] Configure a credential helper to remove this warning. See [2022-08-12T06:40:00.508Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T06:40:00.508Z] [2022-08-12T06:40:00.508Z] Login Succeeded [2022-08-12T06:40:00.508Z] docker.io [2022-08-12T06:40:00.508Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T06:40:00.770Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T06:40:00.770Z] Configure a credential helper to remove this warning. See [2022-08-12T06:40:00.770Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T06:40:00.770Z] [2022-08-12T06:40:00.770Z] Login Succeeded [2022-08-12T06:40:00.770Z] ---> docker-login.sh ends [Pipeline] } [2022-08-12T06:40:00.781Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-08-12T06:40:01.171Z] + git rev-list -1 --merges c6051772b3684361e4ed1e111942558285e6c3c6~1..c6051772b3684361e4ed1e111942558285e6c3c6 [Pipeline] echo [2022-08-12T06:40:01.206Z] -----------> git rev-list -1 --merges c6051772b3684361e4ed1e111942558285e6c3c6~1..c6051772b3684361e4ed1e111942558285e6c3c6 c6051772b3684361e4ed1e111942558285e6c3c6 [false] [Pipeline] sh [2022-08-12T06:40:01.504Z] + git log --format=format:%s -1 c6051772b3684361e4ed1e111942558285e6c3c6 [Pipeline] echo [2022-08-12T06:40:01.522Z] ========================================================= [2022-08-12T06:40:01.522Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-08-12T06:40:01.522Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-12T06:40:01.873Z] + git log --format=format:%s -1 c6051772b3684361e4ed1e111942558285e6c3c6 [Pipeline] echo [2022-08-12T06:40:01.887Z] [semverPrep] GIT_COMMIT: c6051772b3684361e4ed1e111942558285e6c3c6, Commit Message: revert(snap): Revert `latest` version in edgex-docs' link [Pipeline] echo [2022-08-12T06:40:01.898Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-08-12T06:40:02.274Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-12T06:40:02.274Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-08-12T06:40:02.274Z] + [ -e /tmp/ssh_known_hosts ] [2022-08-12T06:40:02.274Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-08-12T06:40:02.274Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-08-12T06:40:02.274Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-08-12T06:40:02.274Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T06:40:02.699Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-12T06:40:02.699Z] [2022-08-12T06:40:02.699Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T06:40:03.009Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-12T06:40:03.009Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-08-12T06:40:03.009Z] b85a868b505f: Pulling fs layer [2022-08-12T06:40:03.009Z] e2be974225ed: Pulling fs layer [2022-08-12T06:40:03.009Z] 339a4e72a1f5: Pulling fs layer [2022-08-12T06:40:03.009Z] 988bab9f4d93: Pulling fs layer [2022-08-12T06:40:03.009Z] 1469e6f7b9e6: Pulling fs layer [2022-08-12T06:40:03.009Z] eaf3925da568: Pulling fs layer [2022-08-12T06:40:03.009Z] bab4dde63d76: Pulling fs layer [2022-08-12T06:40:03.009Z] bde34c3a00c8: Pulling fs layer [2022-08-12T06:40:03.009Z] b352a97aabf1: Pulling fs layer [2022-08-12T06:40:03.009Z] 4872d77fe225: Pulling fs layer [2022-08-12T06:40:03.009Z] 5851b861e8e6: Pulling fs layer [2022-08-12T06:40:03.009Z] bab4dde63d76: Waiting [2022-08-12T06:40:03.009Z] bde34c3a00c8: Waiting [2022-08-12T06:40:03.009Z] 5851b861e8e6: Waiting [2022-08-12T06:40:03.009Z] b352a97aabf1: Waiting [2022-08-12T06:40:03.009Z] eaf3925da568: Waiting [2022-08-12T06:40:03.009Z] 988bab9f4d93: Waiting [2022-08-12T06:40:03.009Z] 4872d77fe225: Waiting [2022-08-12T06:40:03.009Z] 1469e6f7b9e6: Waiting [2022-08-12T06:40:03.009Z] e2be974225ed: Download complete [2022-08-12T06:40:03.009Z] 988bab9f4d93: Verifying Checksum [2022-08-12T06:40:03.009Z] 988bab9f4d93: Download complete [2022-08-12T06:40:03.275Z] 1469e6f7b9e6: Verifying Checksum [2022-08-12T06:40:03.275Z] 1469e6f7b9e6: Download complete [2022-08-12T06:40:03.275Z] eaf3925da568: Verifying Checksum [2022-08-12T06:40:03.275Z] eaf3925da568: Download complete [2022-08-12T06:40:03.275Z] 339a4e72a1f5: Verifying Checksum [2022-08-12T06:40:03.275Z] 339a4e72a1f5: Download complete [2022-08-12T06:40:03.275Z] bde34c3a00c8: Download complete [2022-08-12T06:40:03.275Z] b352a97aabf1: Verifying Checksum [2022-08-12T06:40:03.275Z] b352a97aabf1: Download complete [2022-08-12T06:40:03.275Z] 4872d77fe225: Download complete [2022-08-12T06:40:03.275Z] 5851b861e8e6: Verifying Checksum [2022-08-12T06:40:03.275Z] 5851b861e8e6: Download complete [2022-08-12T06:40:03.275Z] b85a868b505f: Verifying Checksum [2022-08-12T06:40:03.275Z] b85a868b505f: Download complete [2022-08-12T06:40:03.536Z] bab4dde63d76: Verifying Checksum [2022-08-12T06:40:03.536Z] bab4dde63d76: Download complete [2022-08-12T06:40:04.477Z] b85a868b505f: Pull complete [2022-08-12T06:40:04.737Z] e2be974225ed: Pull complete [2022-08-12T06:40:05.306Z] 339a4e72a1f5: Pull complete [2022-08-12T06:40:05.306Z] 988bab9f4d93: Pull complete [2022-08-12T06:40:05.566Z] 1469e6f7b9e6: Pull complete [2022-08-12T06:40:05.827Z] eaf3925da568: Pull complete [2022-08-12T06:40:07.735Z] bab4dde63d76: Pull complete [2022-08-12T06:40:07.735Z] bde34c3a00c8: Pull complete [2022-08-12T06:40:07.735Z] b352a97aabf1: Pull complete [2022-08-12T06:40:08.002Z] 4872d77fe225: Pull complete [2022-08-12T06:40:08.002Z] 5851b861e8e6: Pull complete [2022-08-12T06:40:08.002Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-08-12T06:40:08.002Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-12T06:40:08.002Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-12T06:40:08.099Z] prd-ubuntu20.04-docker-8c-8g-22588 does not seem to be running inside a container [2022-08-12T06:40:08.134Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-300 -v /w/workspace/foundry_device-virtual-go_PR-300:/w/workspace/foundry_device-virtual-go_PR-300:rw,z -v /w/workspace/foundry_device-virtual-go_PR-300@tmp:/w/workspace/foundry_device-virtual-go_PR-300@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-devops/py-git-semver:0.1.4 cat [2022-08-12T06:40:10.351Z] $ docker top a66ac871fccbfafc8811ea3b5127265451351b2d7be34783824d025fa0234de5 -eo pid,comm [2022-08-12T06:40:10.422Z] 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-08-12T06:40:10.422Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-12T06:40:10.462Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-12T06:40:10.462Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-12T06:40:10.587Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-12T06:40:10.588Z] $ docker exec a66ac871fccbfafc8811ea3b5127265451351b2d7be34783824d025fa0234de5 ssh-agent [2022-08-12T06:40:10.717Z] SSH_AUTH_SOCK=/tmp/ssh-pDZU52bsBQgl/agent.34 [2022-08-12T06:40:10.717Z] SSH_AGENT_PID=41 [2022-08-12T06:40:10.724Z] Running ssh-add (command line suppressed) [2022-08-12T06:40:10.845Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-300@tmp/private_key_4811472806148146238.key (/w/workspace/foundry_device-virtual-go_PR-300@tmp/private_key_4811472806148146238.key) [2022-08-12T06:40:10.865Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-12T06:40:11.158Z] + git tag --points-at HEAD [Pipeline] } [2022-08-12T06:40:11.170Z] $ docker exec --env ******** --env ******** a66ac871fccbfafc8811ea3b5127265451351b2d7be34783824d025fa0234de5 ssh-agent -k [2022-08-12T06:40:11.282Z] unset SSH_AUTH_SOCK; [2022-08-12T06:40:11.283Z] unset SSH_AGENT_PID; [2022-08-12T06:40:11.283Z] echo Agent pid 41 killed; [2022-08-12T06:40:11.297Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-08-12T06:40:11.326Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-12T06:40:11.326Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-12T06:40:11.453Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-12T06:40:11.453Z] $ docker exec a66ac871fccbfafc8811ea3b5127265451351b2d7be34783824d025fa0234de5 ssh-agent [2022-08-12T06:40:11.585Z] SSH_AUTH_SOCK=/tmp/ssh-GSXmKQlLuxPX/agent.74 [2022-08-12T06:40:11.585Z] SSH_AGENT_PID=80 [2022-08-12T06:40:11.591Z] Running ssh-add (command line suppressed) [2022-08-12T06:40:11.717Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-300@tmp/private_key_7965762132153753980.key (/w/workspace/foundry_device-virtual-go_PR-300@tmp/private_key_7965762132153753980.key) [2022-08-12T06:40:11.733Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-12T06:40:12.030Z] + git semver init [2022-08-12T06:40:12.291Z] 2022-08-12 06:40:12,232 [run_init] DEBUG init version:0.0.0 force:False [2022-08-12T06:40:12.291Z] 2022-08-12 06:40:12,233 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-300/.semver [2022-08-12T06:40:12.291Z] 2022-08-12 06:40:12,233 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-300/.semver [2022-08-12T06:40:12.291Z] 2022-08-12 06:40:12,234 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-300/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-300, universal_newlines=False, shell=None, istream=None) [2022-08-12T06:40:13.679Z] 2022-08-12 06:40:13,253 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-300/.git/info/exclude [2022-08-12T06:40:13.679Z] 2022-08-12 06:40:13,254 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-300/.semver/PR-300 with force:False [2022-08-12T06:40:13.679Z] 2022-08-12 06:40:13,254 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-300/.semver/PR-300 [2022-08-12T06:40:13.679Z] 2022-08-12 06:40:13,260 [execute] INFO git cat-file --batch-check [2022-08-12T06:40:13.679Z] 2022-08-12 06:40:13,260 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-300/.semver, universal_newlines=False, shell=None, istream=) [2022-08-12T06:40:13.679Z] 2022-08-12 06:40:13,268 [execute] INFO git cat-file --batch [2022-08-12T06:40:13.679Z] 2022-08-12 06:40:13,268 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-300/.semver, universal_newlines=False, shell=None, istream=) [2022-08-12T06:40:13.679Z] 2022-08-12 06:40:13,276 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-300/.semver/PR-300 [2022-08-12T06:40:13.679Z] 0.0.0 [Pipeline] } [2022-08-12T06:40:13.692Z] $ docker exec --env ******** --env ******** a66ac871fccbfafc8811ea3b5127265451351b2d7be34783824d025fa0234de5 ssh-agent -k [2022-08-12T06:40:13.827Z] unset SSH_AUTH_SOCK; [2022-08-12T06:40:13.828Z] unset SSH_AGENT_PID; [2022-08-12T06:40:13.828Z] echo Agent pid 80 killed; [2022-08-12T06:40:13.844Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-12T06:40:14.156Z] + git semver [Pipeline] } [2022-08-12T06:40:14.436Z] $ docker stop --time=1 a66ac871fccbfafc8811ea3b5127265451351b2d7be34783824d025fa0234de5 [2022-08-12T06:40:15.740Z] $ docker rm -f a66ac871fccbfafc8811ea3b5127265451351b2d7be34783824d025fa0234de5 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-12T06:40:16.092Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-08-12T06:40:16.377Z] Stashed 1 file(s) [Pipeline] echo [2022-08-12T06:40:16.380Z] [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-08-12T06:40:16.532Z] provisioning config files... [2022-08-12T06:40:16.544Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-300@tmp/config6317286202447813524tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-12T06:40:16.848Z] ---> docker-login.sh [2022-08-12T06:40:16.848Z] nexus3.edgexfoundry.org:10001 [2022-08-12T06:40:16.848Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T06:40:16.848Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T06:40:16.848Z] Configure a credential helper to remove this warning. See [2022-08-12T06:40:16.848Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T06:40:16.848Z] [2022-08-12T06:40:16.848Z] Login Succeeded [2022-08-12T06:40:16.848Z] nexus3.edgexfoundry.org:10002 [2022-08-12T06:40:16.848Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T06:40:17.110Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T06:40:17.110Z] Configure a credential helper to remove this warning. See [2022-08-12T06:40:17.110Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T06:40:17.110Z] [2022-08-12T06:40:17.110Z] Login Succeeded [2022-08-12T06:40:17.110Z] nexus3.edgexfoundry.org:10003 [2022-08-12T06:40:17.110Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T06:40:17.110Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T06:40:17.110Z] Configure a credential helper to remove this warning. See [2022-08-12T06:40:17.110Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T06:40:17.110Z] [2022-08-12T06:40:17.110Z] Login Succeeded [2022-08-12T06:40:17.110Z] nexus3.edgexfoundry.org:10004 [2022-08-12T06:40:17.372Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T06:40:17.372Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T06:40:17.372Z] Configure a credential helper to remove this warning. See [2022-08-12T06:40:17.372Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T06:40:17.372Z] [2022-08-12T06:40:17.372Z] Login Succeeded [2022-08-12T06:40:17.372Z] docker.io [2022-08-12T06:40:17.372Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T06:40:17.635Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T06:40:17.635Z] Configure a credential helper to remove this warning. See [2022-08-12T06:40:17.635Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T06:40:17.635Z] [2022-08-12T06:40:17.635Z] Login Succeeded [2022-08-12T06:40:17.635Z] ---> docker-login.sh ends [Pipeline] } [2022-08-12T06:40:17.646Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-12T06:40:17.705Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-12T06:40:17.714Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-12T06:40:17.719Z] ========================================================= [2022-08-12T06:40:17.719Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-08-12T06:40:17.719Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T06:40:18.043Z] + 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-08-12T06:40:18.043Z] Sending build context to Docker daemon 23.13MB [2022-08-12T06:40:18.043Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-08-12T06:40:18.043Z] Step 2/12 : FROM ${BASE} AS builder [2022-08-12T06:40:18.305Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-08-12T06:40:18.306Z] 2408cc74d12b: Pulling fs layer [2022-08-12T06:40:18.306Z] ea60b727a1ce: Pulling fs layer [2022-08-12T06:40:18.306Z] 30c4a7721957: Pulling fs layer [2022-08-12T06:40:18.306Z] 370296b7ddb6: Pulling fs layer [2022-08-12T06:40:18.306Z] 7c6cee850709: Pulling fs layer [2022-08-12T06:40:18.306Z] 39a5fcdaea64: Pulling fs layer [2022-08-12T06:40:18.306Z] d94ebbe4e438: Pulling fs layer [2022-08-12T06:40:18.306Z] bcfd1f05c69d: Pulling fs layer [2022-08-12T06:40:18.306Z] 59ccb84bbe0f: Pulling fs layer [2022-08-12T06:40:18.306Z] 370296b7ddb6: Waiting [2022-08-12T06:40:18.306Z] 7c6cee850709: Waiting [2022-08-12T06:40:18.306Z] d94ebbe4e438: Waiting [2022-08-12T06:40:18.306Z] bcfd1f05c69d: Waiting [2022-08-12T06:40:18.306Z] 59ccb84bbe0f: Waiting [2022-08-12T06:40:18.306Z] 30c4a7721957: Verifying Checksum [2022-08-12T06:40:18.306Z] 30c4a7721957: Download complete [2022-08-12T06:40:18.306Z] ea60b727a1ce: Verifying Checksum [2022-08-12T06:40:18.306Z] ea60b727a1ce: Download complete [2022-08-12T06:40:18.306Z] 7c6cee850709: Verifying Checksum [2022-08-12T06:40:18.306Z] 7c6cee850709: Download complete [2022-08-12T06:40:18.306Z] 39a5fcdaea64: Verifying Checksum [2022-08-12T06:40:18.306Z] 39a5fcdaea64: Download complete [2022-08-12T06:40:18.306Z] 2408cc74d12b: Verifying Checksum [2022-08-12T06:40:18.306Z] 2408cc74d12b: Download complete [2022-08-12T06:40:18.306Z] d94ebbe4e438: Download complete [2022-08-12T06:40:18.306Z] 2408cc74d12b: Pull complete [2022-08-12T06:40:18.577Z] ea60b727a1ce: Pull complete [2022-08-12T06:40:18.577Z] 30c4a7721957: Pull complete [2022-08-12T06:40:18.841Z] 59ccb84bbe0f: Verifying Checksum [2022-08-12T06:40:18.841Z] 59ccb84bbe0f: Download complete [2022-08-12T06:40:19.100Z] 370296b7ddb6: Verifying Checksum [2022-08-12T06:40:19.100Z] 370296b7ddb6: Download complete [2022-08-12T06:40:19.100Z] bcfd1f05c69d: Verifying Checksum [2022-08-12T06:40:19.100Z] bcfd1f05c69d: Download complete [2022-08-12T06:40:23.299Z] 370296b7ddb6: Pull complete [2022-08-12T06:40:23.299Z] 7c6cee850709: Pull complete [2022-08-12T06:40:23.299Z] 39a5fcdaea64: Pull complete [2022-08-12T06:40:23.299Z] d94ebbe4e438: Pull complete [2022-08-12T06:40:25.202Z] bcfd1f05c69d: Pull complete [2022-08-12T06:40:26.143Z] 59ccb84bbe0f: Pull complete [2022-08-12T06:40:26.143Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-08-12T06:40:26.143Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-08-12T06:40:26.143Z] ---> a4fb48ad2a94 [2022-08-12T06:40:26.143Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-12T06:40:29.442Z] ---> Running in e0bd56046a8a [2022-08-12T06:40:29.442Z] Removing intermediate container e0bd56046a8a [2022-08-12T06:40:29.442Z] ---> 6b2e96e9e269 [2022-08-12T06:40:29.442Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-08-12T06:40:29.442Z] ---> Running in f2e7bceab059 [2022-08-12T06:40:29.442Z] Removing intermediate container f2e7bceab059 [2022-08-12T06:40:29.442Z] ---> 85cf341d5647 [2022-08-12T06:40:29.442Z] Step 5/12 : WORKDIR /device-virtual-go [2022-08-12T06:40:29.442Z] ---> Running in 1bee700710d3 [2022-08-12T06:40:29.442Z] Removing intermediate container 1bee700710d3 [2022-08-12T06:40:29.442Z] ---> d253a9317855 [2022-08-12T06:40:29.442Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-12T06:40:29.442Z] ---> Running in cb46117e1948 [2022-08-12T06:40:30.012Z] Removing intermediate container cb46117e1948 [2022-08-12T06:40:30.012Z] ---> 1a939d8c4a23 [2022-08-12T06:40:30.012Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-12T06:40:30.012Z] ---> Running in b0a0efadb6ba [2022-08-12T06:40:30.273Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-12T06:40:31.212Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-12T06:40:31.473Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-08-12T06:40:31.490Z] Still waiting to schedule task [2022-08-12T06:40:31.490Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-08-12T06:40:31.733Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-08-12T06:40:31.733Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-08-12T06:40:31.733Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-08-12T06:40:31.995Z] Executing busybox-1.35.0-r13.trigger [2022-08-12T06:40:31.995Z] OK: 216 MiB in 55 packages [2022-08-12T06:40:32.566Z] Removing intermediate container b0a0efadb6ba [2022-08-12T06:40:32.566Z] ---> ab98239e16a5 [2022-08-12T06:40:32.566Z] Step 8/12 : COPY go.mod vendor* ./ [2022-08-12T06:40:32.566Z] ---> f7403cbe30b7 [2022-08-12T06:40:32.566Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-12T06:40:32.566Z] ---> Running in 438ec119c48c [2022-08-12T06:40:50.679Z] Removing intermediate container 438ec119c48c [2022-08-12T06:40:50.679Z] ---> b51d2efedc0f [2022-08-12T06:40:50.679Z] Step 10/12 : COPY . . [2022-08-12T06:40:50.679Z] ---> 7b92fe63472f [2022-08-12T06:40:50.679Z] Step 11/12 : ARG MAKE='make build' [2022-08-12T06:40:50.679Z] ---> Running in 2966a25b8c04 [2022-08-12T06:40:50.679Z] Removing intermediate container 2966a25b8c04 [2022-08-12T06:40:50.679Z] ---> fccb8f5fd49f [2022-08-12T06:40:50.679Z] Step 12/12 : RUN $MAKE [2022-08-12T06:40:50.679Z] ---> Running in ad3e99aea9ff [2022-08-12T06:40:50.679Z] noop [2022-08-12T06:40:50.679Z] Removing intermediate container ad3e99aea9ff [2022-08-12T06:40:50.679Z] ---> da850a0f1aeb [2022-08-12T06:40:50.679Z] Successfully built da850a0f1aeb [2022-08-12T06:40:50.679Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T06:40:51.002Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-12T06:40:51.002Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-12T06:40:51.079Z] prd-ubuntu20.04-docker-8c-8g-22588 does not seem to be running inside a container [2022-08-12T06:40:51.135Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-300 -v /w/workspace/foundry_device-virtual-go_PR-300:/w/workspace/foundry_device-virtual-go_PR-300:rw,z -v /w/workspace/foundry_device-virtual-go_PR-300@tmp:/w/workspace/foundry_device-virtual-go_PR-300@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-08-12T06:40:51.488Z] $ docker top 4bd7cc6d2d1f636244ee96b8dd975a1a3aa76266c5022b5c03198d614821fef1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-12T06:40:51.844Z] + go version [2022-08-12T06:40:51.844Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-08-12T06:40:51.857Z] $ docker stop --time=1 4bd7cc6d2d1f636244ee96b8dd975a1a3aa76266c5022b5c03198d614821fef1 [2022-08-12T06:40:53.114Z] $ docker rm -f 4bd7cc6d2d1f636244ee96b8dd975a1a3aa76266c5022b5c03198d614821fef1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T06:40:53.564Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-12T06:40:53.564Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-12T06:40:53.685Z] prd-ubuntu20.04-docker-8c-8g-22588 does not seem to be running inside a container [2022-08-12T06:40:53.762Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/foundry_device-virtual-go_PR-300 -v /w/workspace/foundry_device-virtual-go_PR-300:/w/workspace/foundry_device-virtual-go_PR-300:rw,z -v /w/workspace/foundry_device-virtual-go_PR-300@tmp:/w/workspace/foundry_device-virtual-go_PR-300@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-08-12T06:40:54.103Z] $ docker top 5f46fc8a5f22289461e90f60bd81a9f55d51e9fd0561cd49e8396fe0179f50d5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-12T06:40:54.462Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-300 [Pipeline] fileExists [Pipeline] sh [2022-08-12T06:40:54.765Z] + make test [2022-08-12T06:40:54.765Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-08-12T06:40:55.031Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-08-12T06:41:05.025Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-08-12T06:41:05.289Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.044s coverage: 65.7% of statements [2022-08-12T06:41:11.873Z] 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-08-12T06:41:11.873Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-12T06:41:15.176Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-12T06:41:15.176Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-12T06:41:15.176Z] ./bin/test-attribution-txt.sh [2022-08-12T06:41:15.176Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-08-12T06:41:15.176Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-08-12T06:41:15.176Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-08-12T06:41:15.195Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-12T06:41:15.209Z] $ docker stop --time=1 5f46fc8a5f22289461e90f60bd81a9f55d51e9fd0561cd49e8396fe0179f50d5 [2022-08-12T06:41:17.546Z] $ docker rm -f 5f46fc8a5f22289461e90f60bd81a9f55d51e9fd0561cd49e8396fe0179f50d5 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-12T06:41:18.005Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-12T06:41:18.063Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-08-12T06:41:18.610Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-12T06:41:18.913Z] + ls -al . [2022-08-12T06:41:18.913Z] total 192 [2022-08-12T06:41:18.913Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 12 06:40 . [2022-08-12T06:41:18.913Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 12 06:39 .. [2022-08-12T06:41:18.913Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 12 06:41 .git [2022-08-12T06:41:18.913Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 12 06:39 .github [2022-08-12T06:41:18.913Z] -rw-rw-r-- 1 jenkins jenkins 337 Aug 12 06:39 .gitignore [2022-08-12T06:41:18.913Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 12 06:39 .golangci.yml [2022-08-12T06:41:18.913Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 12 06:40 .semver [2022-08-12T06:41:18.913Z] -rw-rw-r-- 1 jenkins jenkins 8152 Aug 12 06:39 Attribution.txt [2022-08-12T06:41:18.913Z] -rw-rw-r-- 1 jenkins jenkins 9649 Aug 12 06:39 CHANGELOG.md [2022-08-12T06:41:18.913Z] -rw-rw-r-- 1 jenkins jenkins 1978 Aug 12 06:39 Dockerfile [2022-08-12T06:41:18.913Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 12 06:39 GOVERNANCE.md [2022-08-12T06:41:18.913Z] -rw-rw-r-- 1 jenkins jenkins 660 Aug 12 06:39 Jenkinsfile [2022-08-12T06:41:18.913Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 12 06:39 LICENSE [2022-08-12T06:41:18.913Z] -rw-rw-r-- 1 jenkins jenkins 2248 Aug 12 06:39 Makefile [2022-08-12T06:41:18.913Z] -rw-rw-r-- 1 jenkins jenkins 623 Aug 12 06:39 OWNERS.md [2022-08-12T06:41:18.913Z] -rw-rw-r-- 1 jenkins jenkins 2914 Aug 12 06:39 README.md [2022-08-12T06:41:18.913Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 12 06:40 VERSION [2022-08-12T06:41:18.913Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 12 06:39 bin [2022-08-12T06:41:18.913Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 12 06:39 cmd [2022-08-12T06:41:18.913Z] -rw-r--r-- 1 jenkins jenkins 44128 Aug 12 06:41 coverage.out [2022-08-12T06:41:18.913Z] -rw-rw-r-- 1 jenkins jenkins 3328 Aug 12 06:39 go.mod [2022-08-12T06:41:18.913Z] -rw-rw-r-- 1 jenkins jenkins 36202 Aug 12 06:39 go.sum [2022-08-12T06:41:18.913Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 12 06:39 internal [2022-08-12T06:41:18.913Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 12 06:39 snap [2022-08-12T06:41:18.913Z] -rw-rw-r-- 1 jenkins jenkins 235 Aug 12 06:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T06:41:19.321Z] + 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=c6051772b3684361e4ed1e111942558285e6c3c6 --label arch=amd64 --label version=0.0.0 . [2022-08-12T06:41:19.321Z] Sending build context to Docker daemon 23.17MB [2022-08-12T06:41:19.321Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-08-12T06:41:19.321Z] Step 2/26 : FROM ${BASE} AS builder [2022-08-12T06:41:19.321Z] ---> da850a0f1aeb [2022-08-12T06:41:19.321Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-12T06:41:19.584Z] ---> Running in fbb5e6a7c8d8 [2022-08-12T06:41:19.584Z] Removing intermediate container fbb5e6a7c8d8 [2022-08-12T06:41:19.584Z] ---> 3214e1eb9a6c [2022-08-12T06:41:19.584Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-08-12T06:41:19.584Z] ---> Running in 22a9f252ab56 [2022-08-12T06:41:19.845Z] Removing intermediate container 22a9f252ab56 [2022-08-12T06:41:19.845Z] ---> c16b4e27351e [2022-08-12T06:41:19.845Z] Step 5/26 : WORKDIR /device-virtual-go [2022-08-12T06:41:19.845Z] ---> Running in ebb126b27580 [2022-08-12T06:41:19.845Z] Removing intermediate container ebb126b27580 [2022-08-12T06:41:19.845Z] ---> fa23901f015f [2022-08-12T06:41:19.845Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-12T06:41:19.845Z] ---> Running in da57646c2d11 [2022-08-12T06:41:20.415Z] Removing intermediate container da57646c2d11 [2022-08-12T06:41:20.415Z] ---> ab706c0f1296 [2022-08-12T06:41:20.415Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-12T06:41:20.415Z] ---> Running in 858d030540db [2022-08-12T06:41:20.675Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-12T06:41:21.628Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-12T06:41:21.905Z] OK: 216 MiB in 55 packages [2022-08-12T06:41:22.167Z] Removing intermediate container 858d030540db [2022-08-12T06:41:22.167Z] ---> 368e09b4bb2e [2022-08-12T06:41:22.167Z] Step 8/26 : COPY go.mod vendor* ./ [2022-08-12T06:41:22.167Z] ---> 2bd36431ad95 [2022-08-12T06:41:22.167Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-12T06:41:22.426Z] ---> Running in 2b38533a9275 [2022-08-12T06:41:22.998Z] Removing intermediate container 2b38533a9275 [2022-08-12T06:41:22.998Z] ---> ab9a671ad832 [2022-08-12T06:41:22.998Z] Step 10/26 : COPY . . [2022-08-12T06:41:23.566Z] ---> 4968894bbeeb [2022-08-12T06:41:23.566Z] Step 11/26 : ARG MAKE='make build' [2022-08-12T06:41:23.566Z] ---> Running in 5344bf796e1a [2022-08-12T06:41:23.566Z] Removing intermediate container 5344bf796e1a [2022-08-12T06:41:23.566Z] ---> e7e430227429 [2022-08-12T06:41:23.566Z] Step 12/26 : RUN $MAKE [2022-08-12T06:41:23.566Z] ---> Running in 28c526a3aa15 [2022-08-12T06:41:24.134Z] CGO_ENABLED=1 GO111MODULE=on go build -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-08-12T06:41:46.086Z] Removing intermediate container 28c526a3aa15 [2022-08-12T06:41:46.086Z] ---> 4bec34ba5113 [2022-08-12T06:41:46.086Z] Step 13/26 : FROM alpine:3.16 [2022-08-12T06:41:46.086Z] 3.16: Pulling from library/alpine [2022-08-12T06:41:46.086Z] 213ec9aee27d: Pulling fs layer [2022-08-12T06:41:46.086Z] 213ec9aee27d: Verifying Checksum [2022-08-12T06:41:46.086Z] 213ec9aee27d: Download complete [2022-08-12T06:41:46.086Z] 213ec9aee27d: Pull complete [2022-08-12T06:41:46.086Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-12T06:41:46.086Z] Status: Downloaded newer image for alpine:3.16 [2022-08-12T06:41:46.086Z] ---> 9c6f07244728 [2022-08-12T06:41:46.086Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-08-12T06:41:46.086Z] ---> Running in f073bded0647 [2022-08-12T06:41:46.086Z] Removing intermediate container f073bded0647 [2022-08-12T06:41:46.086Z] ---> 14111dc6e743 [2022-08-12T06:41:46.086Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-12T06:41:46.086Z] ---> Running in 251a91256d31 [2022-08-12T06:41:46.086Z] Removing intermediate container 251a91256d31 [2022-08-12T06:41:46.086Z] ---> bdd2d8445666 [2022-08-12T06:41:46.086Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-12T06:41:46.086Z] ---> Running in 56b0b9e473dc [2022-08-12T06:41:46.086Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-12T06:41:47.028Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-12T06:41:47.290Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-12T06:41:47.290Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-08-12T06:41:47.290Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-12T06:41:47.550Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-12T06:41:47.550Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-12T06:41:47.811Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-12T06:41:47.811Z] Executing busybox-1.35.0-r17.trigger [2022-08-12T06:41:47.811Z] OK: 8 MiB in 20 packages [2022-08-12T06:41:48.072Z] Removing intermediate container 56b0b9e473dc [2022-08-12T06:41:48.072Z] ---> 458bc3c5c7b4 [2022-08-12T06:41:48.072Z] Step 17/26 : WORKDIR / [2022-08-12T06:41:48.331Z] ---> Running in 213f7e6d9da1 [2022-08-12T06:41:48.331Z] Removing intermediate container 213f7e6d9da1 [2022-08-12T06:41:48.331Z] ---> 042c72ea2551 [2022-08-12T06:41:48.331Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-08-12T06:41:48.331Z] ---> c39d19d45126 [2022-08-12T06:41:48.331Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-08-12T06:41:48.592Z] ---> 20b979521009 [2022-08-12T06:41:48.592Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-08-12T06:41:49.163Z] ---> deec9131c232 [2022-08-12T06:41:49.163Z] Step 21/26 : EXPOSE 59900 [2022-08-12T06:41:49.163Z] ---> Running in 006cdf83dc55 [2022-08-12T06:41:49.423Z] Removing intermediate container 006cdf83dc55 [2022-08-12T06:41:49.423Z] ---> d7bee0415c1e [2022-08-12T06:41:49.423Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-08-12T06:41:49.423Z] ---> Running in 18c3fe497c9c [2022-08-12T06:41:49.423Z] Removing intermediate container 18c3fe497c9c [2022-08-12T06:41:49.423Z] ---> 10cdc0487b4b [2022-08-12T06:41:49.423Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-12T06:41:49.423Z] ---> Running in fb7981b1b9ce [2022-08-12T06:41:49.686Z] Removing intermediate container fb7981b1b9ce [2022-08-12T06:41:49.686Z] ---> f7a0eaf4a19e [2022-08-12T06:41:49.686Z] Step 24/26 : LABEL arch=amd64 [2022-08-12T06:41:49.686Z] ---> Running in b44b6c90edfb [2022-08-12T06:41:49.686Z] Removing intermediate container b44b6c90edfb [2022-08-12T06:41:49.686Z] ---> ca8bd0d0e8b8 [2022-08-12T06:41:49.686Z] Step 25/26 : LABEL git_sha=c6051772b3684361e4ed1e111942558285e6c3c6 [2022-08-12T06:41:49.686Z] ---> Running in 413f29adbb5d [2022-08-12T06:41:49.686Z] Removing intermediate container 413f29adbb5d [2022-08-12T06:41:49.686Z] ---> eaf83efdd51a [2022-08-12T06:41:49.686Z] Step 26/26 : LABEL version=0.0.0 [2022-08-12T06:41:49.686Z] ---> Running in cc79503228e3 [2022-08-12T06:41:49.946Z] Removing intermediate container cc79503228e3 [2022-08-12T06:41:49.946Z] ---> 91bb17dd3f1a [2022-08-12T06:41:49.946Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-12T06:41:49.946Z] Successfully built 91bb17dd3f1a [2022-08-12T06:41:49.946Z] 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-08-12T06:41:50.405Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-12T06:41:50.405Z] [2022-08-12T06:41:50.405Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T06:41:50.715Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-12T06:41:50.715Z] latest: Pulling from edgex-lftools-log-publisher [2022-08-12T06:41:50.715Z] 5eb5b503b376: Pulling fs layer [2022-08-12T06:41:50.715Z] 5c69ac0246d0: Pulling fs layer [2022-08-12T06:41:50.715Z] ec43610c2a17: Pulling fs layer [2022-08-12T06:41:50.715Z] 3a2ae6a8a46f: Pulling fs layer [2022-08-12T06:41:50.715Z] 33b1e0a273af: Pulling fs layer [2022-08-12T06:41:50.715Z] 5d3b04190fa2: Pulling fs layer [2022-08-12T06:41:50.715Z] 2f39f015ded8: Pulling fs layer [2022-08-12T06:41:50.715Z] 33b1e0a273af: Waiting [2022-08-12T06:41:50.715Z] 5d3b04190fa2: Waiting [2022-08-12T06:41:50.715Z] 2f39f015ded8: Waiting [2022-08-12T06:41:50.715Z] 3a2ae6a8a46f: Waiting [2022-08-12T06:41:50.715Z] 5c69ac0246d0: Verifying Checksum [2022-08-12T06:41:50.715Z] 5c69ac0246d0: Download complete [2022-08-12T06:41:50.715Z] 3a2ae6a8a46f: Verifying Checksum [2022-08-12T06:41:50.715Z] 3a2ae6a8a46f: Download complete [2022-08-12T06:41:50.715Z] 33b1e0a273af: Verifying Checksum [2022-08-12T06:41:50.715Z] 33b1e0a273af: Download complete [2022-08-12T06:41:50.715Z] 5d3b04190fa2: Verifying Checksum [2022-08-12T06:41:50.715Z] 5d3b04190fa2: Download complete [2022-08-12T06:41:50.976Z] ec43610c2a17: Verifying Checksum [2022-08-12T06:41:50.976Z] ec43610c2a17: Download complete [2022-08-12T06:41:50.976Z] 5eb5b503b376: Verifying Checksum [2022-08-12T06:41:50.976Z] 5eb5b503b376: Download complete [2022-08-12T06:41:51.547Z] 2f39f015ded8: Download complete [2022-08-12T06:41:52.485Z] 5eb5b503b376: Pull complete [2022-08-12T06:41:52.485Z] 5c69ac0246d0: Pull complete [2022-08-12T06:41:52.746Z] ec43610c2a17: Pull complete [2022-08-12T06:41:53.006Z] 3a2ae6a8a46f: Pull complete [2022-08-12T06:41:53.267Z] 33b1e0a273af: Pull complete [2022-08-12T06:41:53.267Z] 5d3b04190fa2: Pull complete [2022-08-12T06:41:58.547Z] 2f39f015ded8: Pull complete [2022-08-12T06:41:58.547Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-08-12T06:41:58.547Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-12T06:41:58.547Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-12T06:41:58.648Z] prd-ubuntu20.04-docker-8c-8g-22588 does not seem to be running inside a container [2022-08-12T06:41:58.685Z] $ 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-300 -v /w/workspace/foundry_device-virtual-go_PR-300:/w/workspace/foundry_device-virtual-go_PR-300:rw,z -v /w/workspace/foundry_device-virtual-go_PR-300@tmp:/w/workspace/foundry_device-virtual-go_PR-300@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-12T06:42:01.054Z] $ docker top 267a208691c9f87d96fc807bb80f1c51060ddb8c7710d970a4cd651957fbe5fa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-12T06:42:01.480Z] ---> job-cost.sh [2022-08-12T06:42:01.480Z] lf-activate-venv: SKIPPING [2022-08-12T06:42:01.480Z] INFO: No Stack... [2022-08-12T06:42:02.052Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-12T06:42:02.314Z] INFO: Archiving Costs [Pipeline] sh [2022-08-12T06:42:02.609Z] + cat /w/workspace/foundry_device-virtual-go_PR-300/archives/cost.csv [2022-08-12T06:42:02.609Z] + cut -d, -f6 [Pipeline] lock [2022-08-12T06:42:02.624Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-300-4-stack-cost] [2022-08-12T06:42:02.633Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-300-4-stack-cost] did not exist. Created. [2022-08-12T06:42:02.633Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-300-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-12T06:42:02.939Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-08-12T06:42:02.965Z] Stashed 1 file(s) [Pipeline] } [2022-08-12T06:42:02.971Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-300-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-12T06:42:02.990Z] $ docker stop --time=1 267a208691c9f87d96fc807bb80f1c51060ddb8c7710d970a4cd651957fbe5fa [2022-08-12T06:42:04.153Z] $ docker rm -f 267a208691c9f87d96fc807bb80f1c51060ddb8c7710d970a4cd651957fbe5fa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-08-12T06:44:26.195Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-22589 in /w/workspace/foundry_device-virtual-go_PR-300 [Pipeline] { [Pipeline] ws [2022-08-12T06:44:26.208Z] Running in /w/workspace/device-virtual-go/4 [Pipeline] { [Pipeline] checkout [2022-08-12T06:44:26.269Z] The recommended git tool is: git [2022-08-12T06:44:33.530Z] using credential edgex-jenkins-ssh [2022-08-12T06:44:33.552Z] Cloning the remote Git repository [2022-08-12T06:44:33.622Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2022-08-12T06:44:33.715Z] > git init /w/workspace/device-virtual-go/4 # timeout=10 [2022-08-12T06:44:33.822Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-08-12T06:44:33.823Z] > git --version # timeout=10 [2022-08-12T06:44:33.855Z] > git --version # 'git version 2.25.1' [2022-08-12T06:44:33.857Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-12T06:44:33.936Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-12T06:44:36.643Z] Merging remotes/origin/main commit b155924b7e348e7f4c6bc2e32e3176dc0fde7f12 into PR head commit c6051772b3684361e4ed1e111942558285e6c3c6 [2022-08-12T06:44:36.051Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-08-12T06:44:36.070Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-12T06:44:36.101Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-08-12T06:44:36.144Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-08-12T06:44:36.145Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-12T06:44:36.159Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/300/head:refs/remotes/origin/PR-300 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-08-12T06:44:36.665Z] > git config core.sparsecheckout # timeout=10 [2022-08-12T06:44:36.681Z] > git checkout -f c6051772b3684361e4ed1e111942558285e6c3c6 # timeout=10 [2022-08-12T06:44:36.872Z] Merge succeeded, producing c6051772b3684361e4ed1e111942558285e6c3c6 [2022-08-12T06:44:36.872Z] Checking out Revision c6051772b3684361e4ed1e111942558285e6c3c6 (PR-300) [2022-08-12T06:44:36.778Z] > git remote # timeout=10 [2022-08-12T06:44:36.801Z] > git config --get remote.origin.url # timeout=10 [2022-08-12T06:44:36.815Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-12T06:44:36.828Z] > git merge b155924b7e348e7f4c6bc2e32e3176dc0fde7f12 # timeout=10 [2022-08-12T06:44:36.856Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-08-12T06:44:36.883Z] > git config core.sparsecheckout # timeout=10 [2022-08-12T06:44:36.895Z] > git checkout -f c6051772b3684361e4ed1e111942558285e6c3c6 # timeout=10 [2022-08-12T06:44:41.072Z] Commit message: "revert(snap): Revert `latest` version in edgex-docs' link" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-12T06:44:42.085Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-08-12T06:44:42.085Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-12T06:44:42.085Z] Dload Upload Total Spent Left Speed [2022-08-12T06:44:42.085Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 96343 0 --:--:-- --:--:-- --:--:-- 95596 [Pipeline] sh [2022-08-12T06:44:42.839Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-08-12T06:44:43.185Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-08-12T06:44:43.185Z] + sudo tee /etc/docker/daemon.new [2022-08-12T06:44:43.185Z] { [2022-08-12T06:44:43.185Z] "registry-mirrors": [ [2022-08-12T06:44:43.185Z] "https://nexus3.edgexfoundry.org:10001" [2022-08-12T06:44:43.185Z] ], [2022-08-12T06:44:43.185Z] "bip": "10.250.0.254/24", [2022-08-12T06:44:43.185Z] "hosts": [ [2022-08-12T06:44:43.185Z] "tcp://0.0.0.0:5555", [2022-08-12T06:44:43.185Z] "unix:///var/run/docker.sock" [2022-08-12T06:44:43.185Z] ], [2022-08-12T06:44:43.185Z] "mtu": 1458, [2022-08-12T06:44:43.185Z] "selinux-enabled": true, [2022-08-12T06:44:43.185Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-08-12T06:44:43.185Z] } [Pipeline] sh [2022-08-12T06:44:43.535Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-08-12T06:44:43.873Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-12T06:45:02.235Z] provisioning config files... [2022-08-12T06:45:02.262Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/4@tmp/config474548610920760360tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-12T06:45:02.632Z] ---> docker-login.sh [2022-08-12T06:45:02.632Z] nexus3.edgexfoundry.org:10001 [2022-08-12T06:45:03.230Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T06:45:03.505Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T06:45:03.505Z] Configure a credential helper to remove this warning. See [2022-08-12T06:45:03.505Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T06:45:03.505Z] [2022-08-12T06:45:03.505Z] Login Succeeded [2022-08-12T06:45:03.505Z] nexus3.edgexfoundry.org:10002 [2022-08-12T06:45:03.780Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T06:45:04.055Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T06:45:04.055Z] Configure a credential helper to remove this warning. See [2022-08-12T06:45:04.055Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T06:45:04.055Z] [2022-08-12T06:45:04.055Z] Login Succeeded [2022-08-12T06:45:04.055Z] nexus3.edgexfoundry.org:10003 [2022-08-12T06:45:04.333Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T06:45:04.333Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T06:45:04.333Z] Configure a credential helper to remove this warning. See [2022-08-12T06:45:04.333Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T06:45:04.333Z] [2022-08-12T06:45:04.333Z] Login Succeeded [2022-08-12T06:45:04.333Z] nexus3.edgexfoundry.org:10004 [2022-08-12T06:45:04.939Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T06:45:04.939Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T06:45:04.939Z] Configure a credential helper to remove this warning. See [2022-08-12T06:45:04.939Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T06:45:04.939Z] [2022-08-12T06:45:04.939Z] Login Succeeded [2022-08-12T06:45:04.939Z] docker.io [2022-08-12T06:45:05.213Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T06:45:05.812Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T06:45:05.812Z] Configure a credential helper to remove this warning. See [2022-08-12T06:45:05.812Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T06:45:05.812Z] [2022-08-12T06:45:05.812Z] Login Succeeded [2022-08-12T06:45:05.812Z] ---> docker-login.sh ends [Pipeline] } [2022-08-12T06:45:05.831Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-12T06:45:06.399Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-12T06:45:06.415Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-12T06:45:06.425Z] ========================================================= [2022-08-12T06:45:06.425Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-08-12T06:45:06.425Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T06:45:07.148Z] + 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-08-12T06:45:07.762Z] Sending build context to Docker daemon 11.72MB [2022-08-12T06:45:07.762Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-08-12T06:45:07.762Z] Step 2/12 : FROM ${BASE} AS builder [2022-08-12T06:45:07.762Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-08-12T06:45:07.762Z] b3c136eddcbf: Pulling fs layer [2022-08-12T06:45:07.762Z] c0a3192eca97: Pulling fs layer [2022-08-12T06:45:07.762Z] a050256f5b6f: Pulling fs layer [2022-08-12T06:45:07.762Z] 656be50a0ddc: Pulling fs layer [2022-08-12T06:45:07.762Z] 2bbca73fdf42: Pulling fs layer [2022-08-12T06:45:07.762Z] 46d945488cbd: Pulling fs layer [2022-08-12T06:45:07.762Z] 8a5474983e97: Pulling fs layer [2022-08-12T06:45:07.762Z] 329c88fbcd65: Pulling fs layer [2022-08-12T06:45:07.762Z] 46d945488cbd: Waiting [2022-08-12T06:45:07.762Z] 656be50a0ddc: Waiting [2022-08-12T06:45:07.762Z] 329c88fbcd65: Waiting [2022-08-12T06:45:07.762Z] 8a5474983e97: Waiting [2022-08-12T06:45:07.762Z] 2bbca73fdf42: Waiting [2022-08-12T06:45:08.041Z] a050256f5b6f: Verifying Checksum [2022-08-12T06:45:08.041Z] a050256f5b6f: Download complete [2022-08-12T06:45:08.041Z] c0a3192eca97: Verifying Checksum [2022-08-12T06:45:08.041Z] c0a3192eca97: Download complete [2022-08-12T06:45:08.041Z] 2bbca73fdf42: Download complete [2022-08-12T06:45:08.041Z] 46d945488cbd: Verifying Checksum [2022-08-12T06:45:08.041Z] 46d945488cbd: Download complete [2022-08-12T06:45:08.041Z] b3c136eddcbf: Verifying Checksum [2022-08-12T06:45:08.041Z] b3c136eddcbf: Download complete [2022-08-12T06:45:09.033Z] b3c136eddcbf: Pull complete [2022-08-12T06:45:09.033Z] 329c88fbcd65: Verifying Checksum [2022-08-12T06:45:09.033Z] 329c88fbcd65: Download complete [2022-08-12T06:45:09.639Z] c0a3192eca97: Pull complete [2022-08-12T06:45:09.917Z] a050256f5b6f: Pull complete [2022-08-12T06:45:10.518Z] 8a5474983e97: Verifying Checksum [2022-08-12T06:45:10.518Z] 8a5474983e97: Download complete [2022-08-12T06:45:11.116Z] 656be50a0ddc: Verifying Checksum [2022-08-12T06:45:11.116Z] 656be50a0ddc: Download complete [2022-08-12T06:45:26.220Z] 656be50a0ddc: Pull complete [2022-08-12T06:45:26.220Z] 2bbca73fdf42: Pull complete [2022-08-12T06:45:26.220Z] 46d945488cbd: Pull complete [2022-08-12T06:45:31.647Z] 8a5474983e97: Pull complete [2022-08-12T06:45:33.660Z] 329c88fbcd65: Pull complete [2022-08-12T06:45:33.660Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-08-12T06:45:33.660Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-08-12T06:45:33.660Z] ---> ff4287adb874 [2022-08-12T06:45:33.660Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-12T06:45:34.259Z] ---> Running in a19d21b09380 [2022-08-12T06:45:35.244Z] Removing intermediate container a19d21b09380 [2022-08-12T06:45:35.244Z] ---> ca47d05dc206 [2022-08-12T06:45:35.244Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-08-12T06:45:35.523Z] ---> Running in 42298a796969 [2022-08-12T06:45:35.801Z] Removing intermediate container 42298a796969 [2022-08-12T06:45:35.801Z] ---> 9d0e1fa30fef [2022-08-12T06:45:35.801Z] Step 5/12 : WORKDIR /device-virtual-go [2022-08-12T06:45:35.801Z] ---> Running in 8a20f736364a [2022-08-12T06:45:36.076Z] Removing intermediate container 8a20f736364a [2022-08-12T06:45:36.076Z] ---> 1014ea693c1d [2022-08-12T06:45:36.076Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-12T06:45:36.076Z] ---> Running in 08e056447740 [2022-08-12T06:45:38.075Z] Removing intermediate container 08e056447740 [2022-08-12T06:45:38.075Z] ---> d442c7171d3e [2022-08-12T06:45:38.075Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-12T06:45:38.075Z] ---> Running in 9be15d4d11c8 [2022-08-12T06:45:39.065Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-12T06:45:40.045Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-12T06:45:40.643Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-08-12T06:45:40.915Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-08-12T06:45:40.915Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-08-12T06:45:41.193Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-08-12T06:45:41.193Z] Executing busybox-1.35.0-r13.trigger [2022-08-12T06:45:41.193Z] OK: 226 MiB in 55 packages [2022-08-12T06:45:42.183Z] Removing intermediate container 9be15d4d11c8 [2022-08-12T06:45:42.183Z] ---> c033433cae05 [2022-08-12T06:45:42.183Z] Step 8/12 : COPY go.mod vendor* ./ [2022-08-12T06:45:42.786Z] ---> 887d558edf16 [2022-08-12T06:45:42.786Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-12T06:45:42.786Z] ---> Running in b432cc001ac6 [2022-08-12T06:46:29.770Z] Removing intermediate container b432cc001ac6 [2022-08-12T06:46:29.770Z] ---> 33d374b3db46 [2022-08-12T06:46:29.770Z] Step 10/12 : COPY . . [2022-08-12T06:46:29.770Z] ---> ec9a8b4a2756 [2022-08-12T06:46:29.770Z] Step 11/12 : ARG MAKE='make build' [2022-08-12T06:46:29.770Z] ---> Running in bb24a1783a71 [2022-08-12T06:46:29.770Z] Removing intermediate container bb24a1783a71 [2022-08-12T06:46:29.770Z] ---> ec3a989873f9 [2022-08-12T06:46:29.770Z] Step 12/12 : RUN $MAKE [2022-08-12T06:46:29.770Z] ---> Running in a06f36abeb9c [2022-08-12T06:46:30.767Z] noop [2022-08-12T06:46:31.363Z] Removing intermediate container a06f36abeb9c [2022-08-12T06:46:31.363Z] ---> 598ebb85c2c0 [2022-08-12T06:46:31.363Z] Successfully built 598ebb85c2c0 [2022-08-12T06:46:31.635Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T06:46:32.009Z] + docker inspect -f . ci-base-image-arm64 [2022-08-12T06:46:32.009Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-12T06:46:32.266Z] prd-ubuntu20.04-docker-arm64-4c-16g-22589 does not seem to be running inside a container [2022-08-12T06:46:32.357Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/4 -v /w/workspace/device-virtual-go/4:/w/workspace/device-virtual-go/4:rw,z -v /w/workspace/device-virtual-go/4@tmp:/w/workspace/device-virtual-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-08-12T06:46:33.664Z] $ docker top 825f82c4d98f334cf4b2f071df7d31db94b8318aa381af2e88eee4395fb03a51 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-12T06:46:34.571Z] + go version [2022-08-12T06:46:34.571Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-08-12T06:46:34.598Z] $ docker stop --time=1 825f82c4d98f334cf4b2f071df7d31db94b8318aa381af2e88eee4395fb03a51 [2022-08-12T06:46:36.213Z] $ docker rm -f 825f82c4d98f334cf4b2f071df7d31db94b8318aa381af2e88eee4395fb03a51 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T06:46:36.803Z] + docker inspect -f . ci-base-image-arm64 [2022-08-12T06:46:36.803Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-12T06:46:37.031Z] prd-ubuntu20.04-docker-arm64-4c-16g-22589 does not seem to be running inside a container [2022-08-12T06:46:37.118Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-virtual-go/4 -v /w/workspace/device-virtual-go/4:/w/workspace/device-virtual-go/4:rw,z -v /w/workspace/device-virtual-go/4@tmp:/w/workspace/device-virtual-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-08-12T06:46:38.319Z] $ docker top 55c9bc7502516c1dcb098b495240c597ec9349f54034728c35fda5f3897d12d7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-12T06:46:39.210Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/4 [Pipeline] fileExists [Pipeline] sh [2022-08-12T06:46:39.876Z] + make test [2022-08-12T06:46:39.876Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-08-12T06:46:41.318Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-08-12T06:48:03.202Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-08-12T06:48:03.202Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.128s coverage: 65.7% of statements [2022-08-12T06:48:03.202Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-08-12T06:48:03.202Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-12T06:48:18.337Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-12T06:48:18.337Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-12T06:48:18.337Z] ./bin/test-attribution-txt.sh [2022-08-12T06:48:18.337Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-08-12T06:48:18.337Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-08-12T06:48:18.337Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-08-12T06:48:18.364Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-12T06:48:18.382Z] $ docker stop --time=1 55c9bc7502516c1dcb098b495240c597ec9349f54034728c35fda5f3897d12d7 [2022-08-12T06:48:20.180Z] $ docker rm -f 55c9bc7502516c1dcb098b495240c597ec9349f54034728c35fda5f3897d12d7 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-12T06:48:21.158Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-12T06:48:21.186Z] Warning: overwriting stash ‘coverage-report’ [2022-08-12T06:48:21.683Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-12T06:48:22.096Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-12T06:48:22.430Z] + ls -al . [2022-08-12T06:48:22.430Z] total 188 [2022-08-12T06:48:22.430Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 12 06:46 . [2022-08-12T06:48:22.430Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 12 06:44 .. [2022-08-12T06:48:22.430Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 12 06:44 .git [2022-08-12T06:48:22.430Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 12 06:44 .github [2022-08-12T06:48:22.430Z] -rw-rw-r-- 1 jenkins jenkins 337 Aug 12 06:44 .gitignore [2022-08-12T06:48:22.430Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 12 06:44 .golangci.yml [2022-08-12T06:48:22.430Z] -rw-rw-r-- 1 jenkins jenkins 8152 Aug 12 06:44 Attribution.txt [2022-08-12T06:48:22.430Z] -rw-rw-r-- 1 jenkins jenkins 9649 Aug 12 06:44 CHANGELOG.md [2022-08-12T06:48:22.430Z] -rw-rw-r-- 1 jenkins jenkins 1978 Aug 12 06:44 Dockerfile [2022-08-12T06:48:22.430Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 12 06:44 GOVERNANCE.md [2022-08-12T06:48:22.430Z] -rw-rw-r-- 1 jenkins jenkins 660 Aug 12 06:44 Jenkinsfile [2022-08-12T06:48:22.430Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 12 06:44 LICENSE [2022-08-12T06:48:22.430Z] -rw-rw-r-- 1 jenkins jenkins 2248 Aug 12 06:44 Makefile [2022-08-12T06:48:22.430Z] -rw-rw-r-- 1 jenkins jenkins 623 Aug 12 06:44 OWNERS.md [2022-08-12T06:48:22.430Z] -rw-rw-r-- 1 jenkins jenkins 2914 Aug 12 06:44 README.md [2022-08-12T06:48:22.430Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 12 06:40 VERSION [2022-08-12T06:48:22.430Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 12 06:44 bin [2022-08-12T06:48:22.430Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 12 06:44 cmd [2022-08-12T06:48:22.430Z] -rw-r--r-- 1 jenkins jenkins 44128 Aug 12 06:47 coverage.out [2022-08-12T06:48:22.430Z] -rw-rw-r-- 1 jenkins jenkins 3328 Aug 12 06:44 go.mod [2022-08-12T06:48:22.430Z] -rw-rw-r-- 1 jenkins jenkins 36202 Aug 12 06:44 go.sum [2022-08-12T06:48:22.430Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 12 06:44 internal [2022-08-12T06:48:22.430Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 12 06:44 snap [2022-08-12T06:48:22.430Z] -rw-rw-r-- 1 jenkins jenkins 235 Aug 12 06:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T06:48:22.785Z] + 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=c6051772b3684361e4ed1e111942558285e6c3c6 --label arch=arm64 --label version=0.0.0 . [2022-08-12T06:48:23.391Z] Sending build context to Docker daemon 11.76MB [2022-08-12T06:48:23.391Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-08-12T06:48:23.391Z] Step 2/26 : FROM ${BASE} AS builder [2022-08-12T06:48:23.391Z] ---> 598ebb85c2c0 [2022-08-12T06:48:23.391Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-12T06:48:23.391Z] ---> Running in b4f98743a837 [2022-08-12T06:48:23.679Z] Removing intermediate container b4f98743a837 [2022-08-12T06:48:23.679Z] ---> ce9830fcb908 [2022-08-12T06:48:23.679Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-08-12T06:48:23.679Z] ---> Running in 3f0696985379 [2022-08-12T06:48:24.271Z] Removing intermediate container 3f0696985379 [2022-08-12T06:48:24.271Z] ---> c05acb5f11a2 [2022-08-12T06:48:24.271Z] Step 5/26 : WORKDIR /device-virtual-go [2022-08-12T06:48:24.271Z] ---> Running in bad1caa712c2 [2022-08-12T06:48:24.544Z] Removing intermediate container bad1caa712c2 [2022-08-12T06:48:24.544Z] ---> e6a1b6d7e7e0 [2022-08-12T06:48:24.544Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-12T06:48:24.544Z] ---> Running in ccaacbbb54df [2022-08-12T06:48:25.993Z] Removing intermediate container ccaacbbb54df [2022-08-12T06:48:25.993Z] ---> 7854a55b4e18 [2022-08-12T06:48:25.993Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-12T06:48:26.271Z] ---> Running in e763d8f3aa11 [2022-08-12T06:48:27.251Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-12T06:48:28.226Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-12T06:48:28.823Z] OK: 226 MiB in 55 packages [2022-08-12T06:48:29.817Z] Removing intermediate container e763d8f3aa11 [2022-08-12T06:48:29.817Z] ---> 55c50f2a3952 [2022-08-12T06:48:29.817Z] Step 8/26 : COPY go.mod vendor* ./ [2022-08-12T06:48:30.422Z] ---> e3e46aec229b [2022-08-12T06:48:30.422Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-12T06:48:30.422Z] ---> Running in 0a258c8b036c [2022-08-12T06:48:32.410Z] Removing intermediate container 0a258c8b036c [2022-08-12T06:48:32.410Z] ---> c41746436f83 [2022-08-12T06:48:32.410Z] Step 10/26 : COPY . . [2022-08-12T06:48:33.397Z] ---> 9a1b6dc4c321 [2022-08-12T06:48:33.397Z] Step 11/26 : ARG MAKE='make build' [2022-08-12T06:48:33.674Z] ---> Running in 39ab76403882 [2022-08-12T06:48:33.947Z] Removing intermediate container 39ab76403882 [2022-08-12T06:48:33.947Z] ---> a71e80c7387f [2022-08-12T06:48:33.947Z] Step 12/26 : RUN $MAKE [2022-08-12T06:48:33.947Z] ---> Running in d01b0298b1da [2022-08-12T06:48:34.933Z] CGO_ENABLED=1 GO111MODULE=on go build -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-08-12T06:50:41.858Z] Removing intermediate container d01b0298b1da [2022-08-12T06:50:41.858Z] ---> a5816a787828 [2022-08-12T06:50:41.858Z] Step 13/26 : FROM alpine:3.16 [2022-08-12T06:50:41.858Z] 3.16: Pulling from library/alpine [2022-08-12T06:50:41.858Z] 9b18e9b68314: Pulling fs layer [2022-08-12T06:50:41.858Z] 9b18e9b68314: Verifying Checksum [2022-08-12T06:50:41.858Z] 9b18e9b68314: Download complete [2022-08-12T06:50:41.858Z] 9b18e9b68314: Pull complete [2022-08-12T06:50:41.858Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-12T06:50:41.858Z] Status: Downloaded newer image for alpine:3.16 [2022-08-12T06:50:41.858Z] ---> a6215f271958 [2022-08-12T06:50:41.858Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-08-12T06:50:41.858Z] ---> Running in a14e2db0e7b8 [2022-08-12T06:50:41.858Z] Removing intermediate container a14e2db0e7b8 [2022-08-12T06:50:41.858Z] ---> 18c128a82d34 [2022-08-12T06:50:41.858Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-12T06:50:41.858Z] ---> Running in 3f7ca7b9e070 [2022-08-12T06:50:41.858Z] Removing intermediate container 3f7ca7b9e070 [2022-08-12T06:50:41.858Z] ---> d49b9e599a86 [2022-08-12T06:50:41.858Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-12T06:50:41.858Z] ---> Running in 0680fe84dc71 [2022-08-12T06:50:41.858Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-12T06:50:41.858Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-12T06:50:41.858Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-12T06:50:41.858Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-08-12T06:50:41.858Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-12T06:50:41.858Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-12T06:50:41.858Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-12T06:50:41.858Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-12T06:50:42.130Z] Executing busybox-1.35.0-r17.trigger [2022-08-12T06:50:42.130Z] OK: 8 MiB in 20 packages [2022-08-12T06:50:42.726Z] Removing intermediate container 0680fe84dc71 [2022-08-12T06:50:42.726Z] ---> adb4e6df7076 [2022-08-12T06:50:42.726Z] Step 17/26 : WORKDIR / [2022-08-12T06:50:43.009Z] ---> Running in f73cd5952658 [2022-08-12T06:50:43.282Z] Removing intermediate container f73cd5952658 [2022-08-12T06:50:43.282Z] ---> 62382c0a389b [2022-08-12T06:50:43.282Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-08-12T06:50:43.881Z] ---> c521bba10dfd [2022-08-12T06:50:43.881Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-08-12T06:50:44.153Z] ---> 664f643ca389 [2022-08-12T06:50:44.153Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-08-12T06:50:45.591Z] ---> 9fae932f75e4 [2022-08-12T06:50:45.591Z] Step 21/26 : EXPOSE 59900 [2022-08-12T06:50:45.591Z] ---> Running in 9c65b9236a81 [2022-08-12T06:50:45.867Z] Removing intermediate container 9c65b9236a81 [2022-08-12T06:50:45.867Z] ---> 0190e5ec13eb [2022-08-12T06:50:45.867Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-08-12T06:50:45.867Z] ---> Running in 3952bd7b41f2 [2022-08-12T06:50:46.150Z] Removing intermediate container 3952bd7b41f2 [2022-08-12T06:50:46.150Z] ---> d43d7de7d512 [2022-08-12T06:50:46.150Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-12T06:50:46.150Z] ---> Running in 818cc2531fcc [2022-08-12T06:50:46.744Z] Removing intermediate container 818cc2531fcc [2022-08-12T06:50:46.744Z] ---> 3ec2946d5e24 [2022-08-12T06:50:46.744Z] Step 24/26 : LABEL arch=arm64 [2022-08-12T06:50:46.744Z] ---> Running in 0ee073aa88fc [2022-08-12T06:50:47.016Z] Removing intermediate container 0ee073aa88fc [2022-08-12T06:50:47.016Z] ---> f555852c8d3b [2022-08-12T06:50:47.016Z] Step 25/26 : LABEL git_sha=c6051772b3684361e4ed1e111942558285e6c3c6 [2022-08-12T06:50:47.016Z] ---> Running in 4b7b2bd11b9d [2022-08-12T06:50:47.289Z] Removing intermediate container 4b7b2bd11b9d [2022-08-12T06:50:47.289Z] ---> 6684229a2f87 [2022-08-12T06:50:47.289Z] Step 26/26 : LABEL version=0.0.0 [2022-08-12T06:50:47.289Z] ---> Running in df7914e7f09f [2022-08-12T06:50:47.561Z] Removing intermediate container df7914e7f09f [2022-08-12T06:50:47.561Z] ---> 49adf936aba7 [2022-08-12T06:50:47.561Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-12T06:50:47.561Z] Successfully built 49adf936aba7 [2022-08-12T06:50:47.561Z] 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-08-12T06:50:48.023Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-12T06:50:48.023Z] [2022-08-12T06:50:48.023Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T06:50:48.373Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-12T06:50:48.373Z] arm64: Pulling from edgex-lftools-log-publisher [2022-08-12T06:50:48.373Z] 8998bd30e6a1: Pulling fs layer [2022-08-12T06:50:48.373Z] 04944245beec: Pulling fs layer [2022-08-12T06:50:48.373Z] 699f458cf7ca: Pulling fs layer [2022-08-12T06:50:48.373Z] 765212b225bb: Pulling fs layer [2022-08-12T06:50:48.373Z] f23df028b6ca: Pulling fs layer [2022-08-12T06:50:48.373Z] d65c8cfc05b1: Pulling fs layer [2022-08-12T06:50:48.373Z] 2437ff75d9bd: Pulling fs layer [2022-08-12T06:50:48.373Z] 765212b225bb: Waiting [2022-08-12T06:50:48.373Z] f23df028b6ca: Waiting [2022-08-12T06:50:48.373Z] d65c8cfc05b1: Waiting [2022-08-12T06:50:48.373Z] 2437ff75d9bd: Waiting [2022-08-12T06:50:48.648Z] 04944245beec: Verifying Checksum [2022-08-12T06:50:48.648Z] 04944245beec: Download complete [2022-08-12T06:50:48.648Z] 765212b225bb: Verifying Checksum [2022-08-12T06:50:48.648Z] 765212b225bb: Download complete [2022-08-12T06:50:48.648Z] f23df028b6ca: Verifying Checksum [2022-08-12T06:50:48.648Z] f23df028b6ca: Download complete [2022-08-12T06:50:48.648Z] d65c8cfc05b1: Download complete [2022-08-12T06:50:48.648Z] 699f458cf7ca: Verifying Checksum [2022-08-12T06:50:48.648Z] 699f458cf7ca: Download complete [2022-08-12T06:50:49.247Z] 8998bd30e6a1: Verifying Checksum [2022-08-12T06:50:49.247Z] 8998bd30e6a1: Download complete [2022-08-12T06:50:51.231Z] 2437ff75d9bd: Verifying Checksum [2022-08-12T06:50:51.231Z] 2437ff75d9bd: Download complete [2022-08-12T06:50:53.883Z] 8998bd30e6a1: Pull complete [2022-08-12T06:50:53.883Z] 04944245beec: Pull complete [2022-08-12T06:50:55.322Z] 699f458cf7ca: Pull complete [2022-08-12T06:50:55.596Z] 765212b225bb: Pull complete [2022-08-12T06:50:56.584Z] f23df028b6ca: Pull complete [2022-08-12T06:50:56.584Z] d65c8cfc05b1: Pull complete [2022-08-12T06:51:11.692Z] 2437ff75d9bd: Pull complete [2022-08-12T06:51:11.692Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-08-12T06:51:11.692Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-12T06:51:11.692Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-12T06:51:11.960Z] prd-ubuntu20.04-docker-arm64-4c-16g-22589 does not seem to be running inside a container [2022-08-12T06:51:12.050Z] $ 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/4 -v /w/workspace/device-virtual-go/4:/w/workspace/device-virtual-go/4:rw,z -v /w/workspace/device-virtual-go/4@tmp:/w/workspace/device-virtual-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-08-12T06:51:14.542Z] $ docker top db6026a0d6ea2ea05fc5633caca03ca3263df00d5f1152b0ee5533d03a9a76e6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-12T06:51:15.444Z] ---> job-cost.sh [2022-08-12T06:51:15.444Z] lf-activate-venv: SKIPPING [2022-08-12T06:51:15.444Z] INFO: No Stack... [2022-08-12T06:51:16.041Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-08-12T06:51:17.020Z] INFO: Archiving Costs [Pipeline] sh [2022-08-12T06:51:17.686Z] + cut -d, -f6 [2022-08-12T06:51:17.686Z] + cat /w/workspace/device-virtual-go/4/archives/cost.csv [Pipeline] lock [2022-08-12T06:51:17.750Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-300-4-stack-cost] [2022-08-12T06:51:17.758Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-300-4-stack-cost] did not exist. Created. [2022-08-12T06:51:17.758Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-300-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-12T06:51:18.435Z] /w/workspace/device-virtual-go/4@tmp/durable-80de8525/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-08-12T06:51:19.112Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-08-12T06:51:19.138Z] Warning: overwriting stash ‘stack-cost’ [2022-08-12T06:51:19.181Z] Stashed 1 file(s) [Pipeline] } [2022-08-12T06:51:19.189Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-300-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-12T06:51:19.214Z] $ docker stop --time=1 db6026a0d6ea2ea05fc5633caca03ca3263df00d5f1152b0ee5533d03a9a76e6 [2022-08-12T06:51:20.704Z] $ docker rm -f db6026a0d6ea2ea05fc5633caca03ca3263df00d5f1152b0ee5533d03a9a76e6 [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-08-12T06:51:21.146Z] provisioning config files... [2022-08-12T06:51:21.156Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-300@tmp/config7752663531811328039tmp [Pipeline] { [Pipeline] sh [2022-08-12T06:51:21.447Z] + set +x [2022-08-12T06:51:21.447Z] + curl -s https://codecov.io/bash [2022-08-12T06:51:21.447Z] + bash -s -- [2022-08-12T06:51:21.447Z] [2022-08-12T06:51:21.447Z] _____ _ [2022-08-12T06:51:21.447Z] / ____| | | [2022-08-12T06:51:21.447Z] | | ___ __| | ___ ___ _____ __ [2022-08-12T06:51:21.447Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-08-12T06:51:21.447Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-08-12T06:51:21.447Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-08-12T06:51:21.447Z] Bash-1.0.6 [2022-08-12T06:51:21.447Z] [2022-08-12T06:51:21.447Z] [2022-08-12T06:51:21.447Z] ==> git version 2.25.1 found [2022-08-12T06:51:21.447Z] ==> 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-08-12T06:51:21.447Z] Release-Date: 2020-01-08 [2022-08-12T06:51:21.447Z] 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-08-12T06:51:21.447Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-08-12T06:51:21.447Z] ==> Jenkins CI detected. [2022-08-12T06:51:21.447Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-300 [2022-08-12T06:51:21.447Z] project root: . [2022-08-12T06:51:21.447Z] --> token set from env [2022-08-12T06:51:21.447Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-08-12T06:51:21.447Z] ==> Running gcov in . (disable via -X gcov) [2022-08-12T06:51:21.447Z] ==> Python coveragepy not found [2022-08-12T06:51:21.447Z] ==> Searching for coverage reports in: [2022-08-12T06:51:21.447Z] + . [2022-08-12T06:51:21.447Z] -> Found 1 reports [2022-08-12T06:51:21.447Z] ==> Detecting git/mercurial file structure [2022-08-12T06:51:21.447Z] ==> Reading reports [2022-08-12T06:51:21.447Z] + ./coverage.out bytes=44128 [2022-08-12T06:51:21.447Z] ==> Appending adjustments [2022-08-12T06:51:21.447Z] https://docs.codecov.io/docs/fixing-reports [2022-08-12T06:51:21.707Z] + Found adjustments [2022-08-12T06:51:21.707Z] ==> Gzipping contents [2022-08-12T06:51:21.707Z] 8.0K /tmp/codecov.JVZ6Xj.gz [2022-08-12T06:51:21.707Z] ==> Uploading reports [2022-08-12T06:51:21.707Z] url: https://codecov.io [2022-08-12T06:51:21.707Z] query: branch=PR-300&commit=c6051772b3684361e4ed1e111942558285e6c3c6&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-300%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=300&job=&cmd_args= [2022-08-12T06:51:21.707Z] -> Pinging Codecov [2022-08-12T06:51:21.707Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-300&commit=c6051772b3684361e4ed1e111942558285e6c3c6&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-300%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=300&job=&cmd_args= [2022-08-12T06:51:21.967Z] -> Uploading to [2022-08-12T06:51:21.967Z] https://storage.googleapis.com/codecov/v4/raw/2022-08-12/5E52B4B073DB2E39498172D8E973AA87/c6051772b3684361e4ed1e111942558285e6c3c6/d920572b-8dab-4c54-b635-7c56bef5931d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220812%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220812T065121Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=359a201472713e6f7a7fd58895e4844d1bae9a16a05a1242e21abf76bb8ddced [2022-08-12T06:51:21.967Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-12T06:51:21.967Z] Dload Upload Total Spent Left Speed [2022-08-12T06:51:22.227Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5470 0 0 100 5470 0 20641 --:--:-- --:--:-- --:--:-- 20641 [2022-08-12T06:51:22.227Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/c6051772b3684361e4ed1e111942558285e6c3c6 [Pipeline] } [2022-08-12T06:51:22.236Z] 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-08-12T06:51:22.925Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-300/archives ] [2022-08-12T06:51:22.925Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-300/archives [2022-08-12T06:51:22.925Z] total 16 [2022-08-12T06:51:22.925Z] drwxr-xr-x 3 root root 4096 Aug 12 06:42 . [2022-08-12T06:51:22.925Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 12 06:42 .. [2022-08-12T06:51:22.925Z] drwxr-xr-x 2 root root 4096 Aug 12 06:42 cost [2022-08-12T06:51:22.925Z] -rw-r--r-- 1 root root 89 Aug 12 06:42 cost.csv [2022-08-12T06:51:22.925Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-300/archives [2022-08-12T06:51:22.925Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-300/archives [2022-08-12T06:51:22.925Z] total 16 [2022-08-12T06:51:22.925Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 12 06:42 . [2022-08-12T06:51:22.925Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 12 06:42 .. [2022-08-12T06:51:22.925Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 12 06:42 cost [2022-08-12T06:51:22.925Z] -rw-r--r-- 1 jenkins jenkins 89 Aug 12 06:42 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-08-12T06:51:23.216Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-12T06:51:24.082Z] ---> package-listing.sh [2022-08-12T06:51:24.082Z] ++ facter osfamily [2022-08-12T06:51:24.082Z] ++ tr '[:upper:]' '[:lower:]' [2022-08-12T06:51:24.342Z] + OS_FAMILY=debian [2022-08-12T06:51:24.342Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-300 [2022-08-12T06:51:24.342Z] + START_PACKAGES=/tmp/packages_start.txt [2022-08-12T06:51:24.342Z] + END_PACKAGES=/tmp/packages_end.txt [2022-08-12T06:51:24.342Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-08-12T06:51:24.342Z] + PACKAGES=/tmp/packages_start.txt [2022-08-12T06:51:24.342Z] + '[' /w/workspace/foundry_device-virtual-go_PR-300 ']' [2022-08-12T06:51:24.342Z] + PACKAGES=/tmp/packages_end.txt [2022-08-12T06:51:24.342Z] + case "${OS_FAMILY}" in [2022-08-12T06:51:24.342Z] + dpkg -l [2022-08-12T06:51:24.342Z] + grep '^ii' [2022-08-12T06:51:24.342Z] + '[' -f /tmp/packages_start.txt ']' [2022-08-12T06:51:24.342Z] + '[' -f /tmp/packages_end.txt ']' [2022-08-12T06:51:24.342Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-08-12T06:51:24.342Z] + '[' /w/workspace/foundry_device-virtual-go_PR-300 ']' [2022-08-12T06:51:24.342Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-300/archives/ [2022-08-12T06:51:24.342Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-300/archives/ [Pipeline] echo [2022-08-12T06:51:24.354Z] 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-300/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-08-12T06:51:24.636Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T06:51:25.214Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-12T06:51:25.214Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-12T06:51:25.305Z] prd-ubuntu20.04-docker-8c-8g-22588 does not seem to be running inside a container [2022-08-12T06:51:25.344Z] $ 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-300/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-300 -v /w/workspace/foundry_device-virtual-go_PR-300:/w/workspace/foundry_device-virtual-go_PR-300:rw,z -v /w/workspace/foundry_device-virtual-go_PR-300@tmp:/w/workspace/foundry_device-virtual-go_PR-300@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-12T06:51:25.557Z] $ docker top f9adf8dcf72037c6d77886d4c6799f1747c24a4dd48e8bd10e5012355c5a42d5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-12T06:51:25.915Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-08-12T06:51:26.203Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-08-12T06:51:26.493Z] + ls /var/log/sa-host [2022-08-12T06:51:26.493Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-12T06:51:26.572Z] provisioning config files... [2022-08-12T06:51:26.581Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-300@tmp/config719563634698650171tmp [Pipeline] { [Pipeline] echo [2022-08-12T06:51:26.592Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-12T06:51:26.876Z] ---> create-netrc.sh [Pipeline] } [2022-08-12T06:51:26.885Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-08-12T06:51:27.217Z] ---> python-tools-install.sh [Pipeline] echo [2022-08-12T06:51:27.226Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-12T06:51:27.509Z] ---> sudo-logs.sh [2022-08-12T06:51:27.509Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-08-12T06:51:27.536Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-12T06:51:27.817Z] ---> job-cost.sh [2022-08-12T06:51:27.817Z] lf-activate-venv: SKIPPING [2022-08-12T06:51:27.817Z] DEBUG: total: 0.2199999988079071 [2022-08-12T06:51:27.817Z] INFO: Retrieving Stack Cost... [2022-08-12T06:51:28.079Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-12T06:51:28.651Z] INFO: Archiving Costs [Pipeline] echo [2022-08-12T06:51:28.664Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-12T06:51:28.952Z] ---> logs-deploy.sh [2022-08-12T06:51:28.952Z] lf-activate-venv: SKIPPING [2022-08-12T06:51:28.952Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-300/4 [2022-08-12T06:51:28.952Z] INFO: archiving workspace using pattern(s): [2022-08-12T06:51:29.894Z] Archives upload complete. [2022-08-12T06:51:29.894Z] INFO: archiving logs to Nexus