Pull request #308 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-virtual-go Obtained Jenkinsfile from 0b45d56e7b64418fa3ac13a0c8ad83cc9f4cc964+338b4a6717ad749e6fbb765a40a4439a1a99c0fd (7d7cd5e2d03ffd181c31012c1104f1e26eb62865) 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-ssh11090881480376238500.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh51905193198978760.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-308/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-308/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9772525427471508436.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-308/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17215637319827488635.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh16254159062586163162.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-308/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-308/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17701771454735468570.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-1330 in /w/workspace/foundry_device-virtual-go_PR-308 [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-308 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/308/head:refs/remotes/origin/PR-308 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 338b4a6717ad749e6fbb765a40a4439a1a99c0fd into PR head commit 0b45d56e7b64418fa3ac13a0c8ad83cc9f4cc964 Merge succeeded, producing 0b45d56e7b64418fa3ac13a0c8ad83cc9f4cc964 Checking out Revision 0b45d56e7b64418fa3ac13a0c8ad83cc9f4cc964 (PR-308) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b45d56e7b64418fa3ac13a0c8ad83cc9f4cc964 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 338b4a6717ad749e6fbb765a40a4439a1a99c0fd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0b45d56e7b64418fa3ac13a0c8ad83cc9f4cc964 # timeout=10 Commit message: "feat: add internal message request/response topics" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-27T09:07:24.379Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-27T09:07:24.530Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-27T09:07:24.625Z] ========================================================= [2022-09-27T09:07:24.625Z] EdgeX Global Pipelines Version Info [2022-09-27T09:07:24.625Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-09-27T09:07:25.350Z] ------------------- [2022-09-27T09:07:25.351Z] stable info: [2022-09-27T09:07:25.351Z] ------------------- [2022-09-27T09:07:25.351Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-27T09:07:25.351Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-27T09:07:25.351Z] Message: update stable to v1.0.239 [2022-09-27T09:07:26.732Z] ------------------- [2022-09-27T09:07:26.732Z] experimental info: [2022-09-27T09:07:26.732Z] ------------------- [2022-09-27T09:07:26.732Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-27T09:07:26.732Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-27T09:07:26.732Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-27T09:07:26.991Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2022-09-27T09:07:27.027Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2022-09-27T09:07:27.061Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-27T09:07:27.101Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-27T09:07:27.140Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-27T09:07:27.177Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-27T09:07:27.212Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-27T09:07:27.252Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-09-27T09:07:27.292Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-27T09:07:27.330Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-27T09:07:27.368Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-27T09:07:27.401Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2022-09-27T09:07:27.441Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-27T09:07:27.480Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-27T09:07:27.515Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-27T09:07:27.550Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-09-27T09:07:27.584Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-27T09:07:27.621Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-27T09:07:27.656Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-27T09:07:27.692Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-27T09:07:27.733Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-09-27T09:07:27.770Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-09-27T09:07:27.813Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-27T09:07:27.847Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-27T09:07:27.883Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-27T09:07:27.929Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-27T09:07:27.967Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-27T09:07:28.005Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-308 [Pipeline] echo [2022-09-27T09:07:28.041Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-308 [Pipeline] echo [2022-09-27T09:07:28.080Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-308 [Pipeline] echo [2022-09-27T09:07:28.119Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0b45d56e7b64418fa3ac13a0c8ad83cc9f4cc964 [Pipeline] echo [2022-09-27T09:07:28.158Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0b45d56 [Pipeline] echo [2022-09-27T09:07:28.195Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-27T09:07:28.299Z] provisioning config files... [2022-09-27T09:07:28.315Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-308@tmp/config11259641857137278392tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-27T09:07:28.647Z] ---> docker-login.sh [2022-09-27T09:07:28.647Z] nexus3.edgexfoundry.org:10001 [2022-09-27T09:07:28.908Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T09:07:28.908Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T09:07:28.908Z] Configure a credential helper to remove this warning. See [2022-09-27T09:07:28.908Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T09:07:28.908Z] [2022-09-27T09:07:28.908Z] Login Succeeded [2022-09-27T09:07:28.908Z] nexus3.edgexfoundry.org:10002 [2022-09-27T09:07:28.908Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T09:07:29.175Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T09:07:29.175Z] Configure a credential helper to remove this warning. See [2022-09-27T09:07:29.175Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T09:07:29.175Z] [2022-09-27T09:07:29.175Z] Login Succeeded [2022-09-27T09:07:29.175Z] nexus3.edgexfoundry.org:10003 [2022-09-27T09:07:29.175Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T09:07:29.175Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T09:07:29.175Z] Configure a credential helper to remove this warning. See [2022-09-27T09:07:29.175Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T09:07:29.175Z] [2022-09-27T09:07:29.175Z] Login Succeeded [2022-09-27T09:07:29.175Z] nexus3.edgexfoundry.org:10004 [2022-09-27T09:07:29.175Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T09:07:29.435Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T09:07:29.435Z] Configure a credential helper to remove this warning. See [2022-09-27T09:07:29.435Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T09:07:29.435Z] [2022-09-27T09:07:29.435Z] Login Succeeded [2022-09-27T09:07:29.435Z] docker.io [2022-09-27T09:07:29.435Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T09:07:29.695Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T09:07:29.695Z] Configure a credential helper to remove this warning. See [2022-09-27T09:07:29.695Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T09:07:29.695Z] [2022-09-27T09:07:29.695Z] Login Succeeded [2022-09-27T09:07:29.695Z] ---> docker-login.sh ends [Pipeline] } [2022-09-27T09:07:29.724Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-27T09:07:30.311Z] + git rev-list -1 --merges 0b45d56e7b64418fa3ac13a0c8ad83cc9f4cc964~1..0b45d56e7b64418fa3ac13a0c8ad83cc9f4cc964 [Pipeline] echo [2022-09-27T09:07:30.354Z] -----------> git rev-list -1 --merges 0b45d56e7b64418fa3ac13a0c8ad83cc9f4cc964~1..0b45d56e7b64418fa3ac13a0c8ad83cc9f4cc964 0b45d56e7b64418fa3ac13a0c8ad83cc9f4cc964 [false] [Pipeline] sh [2022-09-27T09:07:30.658Z] + git log --format=format:%s -1 0b45d56e7b64418fa3ac13a0c8ad83cc9f4cc964 [Pipeline] echo [2022-09-27T09:07:30.690Z] ========================================================= [2022-09-27T09:07:30.691Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-27T09:07:30.691Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-27T09:07:31.102Z] + git log --format=format:%s -1 0b45d56e7b64418fa3ac13a0c8ad83cc9f4cc964 [Pipeline] echo [2022-09-27T09:07:31.131Z] [semverPrep] GIT_COMMIT: 0b45d56e7b64418fa3ac13a0c8ad83cc9f4cc964, Commit Message: feat: add internal message request/response topics [Pipeline] echo [2022-09-27T09:07:31.156Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-27T09:07:31.550Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-27T09:07:31.550Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-27T09:07:31.550Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-27T09:07:31.550Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-27T09:07:31.550Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-27T09:07:31.550Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-27T09:07:31.550Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T09:07:32.027Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-27T09:07:32.027Z] [2022-09-27T09:07:32.027Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T09:07:32.397Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-27T09:07:32.397Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-27T09:07:32.397Z] b85a868b505f: Pulling fs layer [2022-09-27T09:07:32.397Z] e2be974225ed: Pulling fs layer [2022-09-27T09:07:32.397Z] 339a4e72a1f5: Pulling fs layer [2022-09-27T09:07:32.397Z] 988bab9f4d93: Pulling fs layer [2022-09-27T09:07:32.397Z] 1469e6f7b9e6: Pulling fs layer [2022-09-27T09:07:32.397Z] eaf3925da568: Pulling fs layer [2022-09-27T09:07:32.397Z] bab4dde63d76: Pulling fs layer [2022-09-27T09:07:32.397Z] bde34c3a00c8: Pulling fs layer [2022-09-27T09:07:32.397Z] b352a97aabf1: Pulling fs layer [2022-09-27T09:07:32.397Z] 4872d77fe225: Pulling fs layer [2022-09-27T09:07:32.397Z] 5851b861e8e6: Pulling fs layer [2022-09-27T09:07:32.397Z] bde34c3a00c8: Waiting [2022-09-27T09:07:32.397Z] b352a97aabf1: Waiting [2022-09-27T09:07:32.397Z] 988bab9f4d93: Waiting [2022-09-27T09:07:32.397Z] 1469e6f7b9e6: Waiting [2022-09-27T09:07:32.397Z] 5851b861e8e6: Waiting [2022-09-27T09:07:32.397Z] bab4dde63d76: Waiting [2022-09-27T09:07:32.397Z] 4872d77fe225: Waiting [2022-09-27T09:07:32.397Z] e2be974225ed: Verifying Checksum [2022-09-27T09:07:32.397Z] e2be974225ed: Download complete [2022-09-27T09:07:32.397Z] 988bab9f4d93: Verifying Checksum [2022-09-27T09:07:32.397Z] 988bab9f4d93: Download complete [2022-09-27T09:07:32.660Z] 1469e6f7b9e6: Verifying Checksum [2022-09-27T09:07:32.660Z] 1469e6f7b9e6: Download complete [2022-09-27T09:07:32.660Z] eaf3925da568: Verifying Checksum [2022-09-27T09:07:32.660Z] eaf3925da568: Download complete [2022-09-27T09:07:32.660Z] 339a4e72a1f5: Verifying Checksum [2022-09-27T09:07:32.660Z] 339a4e72a1f5: Download complete [2022-09-27T09:07:32.660Z] bde34c3a00c8: Download complete [2022-09-27T09:07:32.660Z] b352a97aabf1: Verifying Checksum [2022-09-27T09:07:32.660Z] b352a97aabf1: Download complete [2022-09-27T09:07:32.660Z] 4872d77fe225: Download complete [2022-09-27T09:07:32.660Z] 5851b861e8e6: Verifying Checksum [2022-09-27T09:07:32.660Z] 5851b861e8e6: Download complete [2022-09-27T09:07:32.660Z] b85a868b505f: Verifying Checksum [2022-09-27T09:07:32.660Z] b85a868b505f: Download complete [2022-09-27T09:07:32.968Z] bab4dde63d76: Verifying Checksum [2022-09-27T09:07:32.968Z] bab4dde63d76: Download complete [2022-09-27T09:07:33.915Z] b85a868b505f: Pull complete [2022-09-27T09:07:33.915Z] e2be974225ed: Pull complete [2022-09-27T09:07:34.480Z] 339a4e72a1f5: Pull complete [2022-09-27T09:07:34.480Z] 988bab9f4d93: Pull complete [2022-09-27T09:07:34.738Z] 1469e6f7b9e6: Pull complete [2022-09-27T09:07:34.738Z] eaf3925da568: Pull complete [2022-09-27T09:07:36.638Z] bab4dde63d76: Pull complete [2022-09-27T09:07:36.638Z] bde34c3a00c8: Pull complete [2022-09-27T09:07:36.638Z] b352a97aabf1: Pull complete [2022-09-27T09:07:36.638Z] 4872d77fe225: Pull complete [2022-09-27T09:07:36.897Z] 5851b861e8e6: Pull complete [2022-09-27T09:07:36.897Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-27T09:07:36.897Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-27T09:07:36.897Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T09:07:37.107Z] prd-ubuntu20.04-docker-8c-8g-1330 does not seem to be running inside a container [2022-09-27T09:07:37.130Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-308 -v /w/workspace/foundry_device-virtual-go_PR-308:/w/workspace/foundry_device-virtual-go_PR-308:rw,z -v /w/workspace/foundry_device-virtual-go_PR-308@tmp:/w/workspace/foundry_device-virtual-go_PR-308@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-09-27T09:07:39.417Z] $ docker top c78c914df40451f740fc256a41ac126c36c23f007c4fbdf07f9d5be36364739f -eo pid,comm [2022-09-27T09:07:39.472Z] 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-09-27T09:07:39.472Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-27T09:07:39.591Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-27T09:07:39.591Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-27T09:07:39.688Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-27T09:07:39.687Z] $ docker exec c78c914df40451f740fc256a41ac126c36c23f007c4fbdf07f9d5be36364739f ssh-agent [2022-09-27T09:07:39.800Z] SSH_AUTH_SOCK=/tmp/ssh-oR5LAOGpjNyX/agent.33 [2022-09-27T09:07:39.800Z] SSH_AGENT_PID=39 [2022-09-27T09:07:39.805Z] Running ssh-add (command line suppressed) [2022-09-27T09:07:39.889Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-308@tmp/private_key_13134676758850180287.key (/w/workspace/foundry_device-virtual-go_PR-308@tmp/private_key_13134676758850180287.key) [2022-09-27T09:07:39.905Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-27T09:07:40.232Z] + git tag --points-at HEAD [Pipeline] } [2022-09-27T09:07:40.252Z] $ docker exec --env ******** --env ******** c78c914df40451f740fc256a41ac126c36c23f007c4fbdf07f9d5be36364739f ssh-agent -k [2022-09-27T09:07:40.352Z] unset SSH_AUTH_SOCK; [2022-09-27T09:07:40.353Z] unset SSH_AGENT_PID; [2022-09-27T09:07:40.353Z] echo Agent pid 39 killed; [2022-09-27T09:07:40.371Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-27T09:07:40.454Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-27T09:07:40.454Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-27T09:07:40.564Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-27T09:07:40.564Z] $ docker exec c78c914df40451f740fc256a41ac126c36c23f007c4fbdf07f9d5be36364739f ssh-agent [2022-09-27T09:07:40.665Z] SSH_AUTH_SOCK=/tmp/ssh-xx3p7q87APpu/agent.71 [2022-09-27T09:07:40.665Z] SSH_AGENT_PID=77 [2022-09-27T09:07:40.669Z] Running ssh-add (command line suppressed) [2022-09-27T09:07:40.770Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-308@tmp/private_key_14621910997300893721.key (/w/workspace/foundry_device-virtual-go_PR-308@tmp/private_key_14621910997300893721.key) [2022-09-27T09:07:40.785Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-27T09:07:41.108Z] + git semver init [2022-09-27T09:07:41.367Z] 2022-09-27 09:07:41,289 [run_init] DEBUG init version:0.0.0 force:False [2022-09-27T09:07:41.367Z] 2022-09-27 09:07:41,289 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-308/.semver [2022-09-27T09:07:41.367Z] 2022-09-27 09:07:41,290 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-308/.semver [2022-09-27T09:07:41.367Z] 2022-09-27 09:07:41,290 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-308/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-308, universal_newlines=False, shell=None, istream=None) [2022-09-27T09:07:42.746Z] 2022-09-27 09:07:42,488 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-308/.git/info/exclude [2022-09-27T09:07:42.746Z] 2022-09-27 09:07:42,489 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-308/.semver/PR-308 with force:False [2022-09-27T09:07:42.746Z] 2022-09-27 09:07:42,489 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-308/.semver/PR-308 [2022-09-27T09:07:42.746Z] 2022-09-27 09:07:42,493 [execute] INFO git cat-file --batch-check [2022-09-27T09:07:42.746Z] 2022-09-27 09:07:42,494 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-308/.semver, universal_newlines=False, shell=None, istream=) [2022-09-27T09:07:42.746Z] 2022-09-27 09:07:42,499 [execute] INFO git cat-file --batch [2022-09-27T09:07:42.746Z] 2022-09-27 09:07:42,499 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-308/.semver, universal_newlines=False, shell=None, istream=) [2022-09-27T09:07:42.746Z] 2022-09-27 09:07:42,504 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-308/.semver/PR-308 [2022-09-27T09:07:42.746Z] 0.0.0 [Pipeline] } [2022-09-27T09:07:42.777Z] $ docker exec --env ******** --env ******** c78c914df40451f740fc256a41ac126c36c23f007c4fbdf07f9d5be36364739f ssh-agent -k [2022-09-27T09:07:42.890Z] unset SSH_AUTH_SOCK; [2022-09-27T09:07:42.891Z] unset SSH_AGENT_PID; [2022-09-27T09:07:42.891Z] echo Agent pid 77 killed; [2022-09-27T09:07:42.904Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-27T09:07:43.308Z] + git semver [Pipeline] } [2022-09-27T09:07:43.587Z] $ docker stop --time=1 c78c914df40451f740fc256a41ac126c36c23f007c4fbdf07f9d5be36364739f [2022-09-27T09:07:44.875Z] $ docker rm -f c78c914df40451f740fc256a41ac126c36c23f007c4fbdf07f9d5be36364739f [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-27T09:07:45.262Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-27T09:07:45.494Z] Stashed 1 file(s) [Pipeline] echo [2022-09-27T09:07:45.512Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-27T09:07:46.118Z] provisioning config files... [2022-09-27T09:07:46.127Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-308@tmp/config6692521069488862756tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-27T09:07:46.474Z] ---> docker-login.sh [2022-09-27T09:07:46.474Z] nexus3.edgexfoundry.org:10001 [2022-09-27T09:07:46.474Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T09:07:46.474Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T09:07:46.474Z] Configure a credential helper to remove this warning. See [2022-09-27T09:07:46.474Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T09:07:46.474Z] [2022-09-27T09:07:46.474Z] Login Succeeded [2022-09-27T09:07:46.474Z] nexus3.edgexfoundry.org:10002 [2022-09-27T09:07:46.474Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T09:07:46.474Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T09:07:46.474Z] Configure a credential helper to remove this warning. See [2022-09-27T09:07:46.474Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T09:07:46.474Z] [2022-09-27T09:07:46.474Z] Login Succeeded [2022-09-27T09:07:46.474Z] nexus3.edgexfoundry.org:10003 [2022-09-27T09:07:46.735Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T09:07:46.735Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T09:07:46.735Z] Configure a credential helper to remove this warning. See [2022-09-27T09:07:46.735Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T09:07:46.735Z] [2022-09-27T09:07:46.735Z] Login Succeeded [2022-09-27T09:07:46.735Z] nexus3.edgexfoundry.org:10004 [2022-09-27T09:07:46.735Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T09:07:46.735Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T09:07:46.735Z] Configure a credential helper to remove this warning. See [2022-09-27T09:07:46.735Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T09:07:46.735Z] [2022-09-27T09:07:46.735Z] Login Succeeded [2022-09-27T09:07:46.735Z] docker.io [2022-09-27T09:07:46.994Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T09:07:47.252Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T09:07:47.252Z] Configure a credential helper to remove this warning. See [2022-09-27T09:07:47.252Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T09:07:47.252Z] [2022-09-27T09:07:47.252Z] Login Succeeded [2022-09-27T09:07:47.252Z] ---> docker-login.sh ends [Pipeline] } [2022-09-27T09:07:47.281Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-27T09:07:47.465Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-27T09:07:47.499Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-27T09:07:47.534Z] ========================================================= [2022-09-27T09:07:47.534Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-27T09:07:47.534Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T09:07:47.976Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-09-27T09:07:47.976Z] Sending build context to Docker daemon 23.18MB [2022-09-27T09:07:47.976Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-27T09:07:47.976Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-27T09:07:48.242Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-27T09:07:48.242Z] 2408cc74d12b: Pulling fs layer [2022-09-27T09:07:48.242Z] ea60b727a1ce: Pulling fs layer [2022-09-27T09:07:48.242Z] 30c4a7721957: Pulling fs layer [2022-09-27T09:07:48.242Z] 370296b7ddb6: Pulling fs layer [2022-09-27T09:07:48.242Z] 7c6cee850709: Pulling fs layer [2022-09-27T09:07:48.242Z] 39a5fcdaea64: Pulling fs layer [2022-09-27T09:07:48.242Z] d94ebbe4e438: Pulling fs layer [2022-09-27T09:07:48.242Z] bcfd1f05c69d: Pulling fs layer [2022-09-27T09:07:48.242Z] 59ccb84bbe0f: Pulling fs layer [2022-09-27T09:07:48.242Z] d94ebbe4e438: Waiting [2022-09-27T09:07:48.242Z] 7c6cee850709: Waiting [2022-09-27T09:07:48.242Z] 39a5fcdaea64: Waiting [2022-09-27T09:07:48.242Z] 59ccb84bbe0f: Waiting [2022-09-27T09:07:48.242Z] 370296b7ddb6: Waiting [2022-09-27T09:07:48.242Z] 30c4a7721957: Download complete [2022-09-27T09:07:48.242Z] ea60b727a1ce: Download complete [2022-09-27T09:07:48.242Z] 7c6cee850709: Download complete [2022-09-27T09:07:48.242Z] 39a5fcdaea64: Verifying Checksum [2022-09-27T09:07:48.242Z] 39a5fcdaea64: Download complete [2022-09-27T09:07:48.242Z] 2408cc74d12b: Verifying Checksum [2022-09-27T09:07:48.242Z] 2408cc74d12b: Download complete [2022-09-27T09:07:48.242Z] d94ebbe4e438: Download complete [2022-09-27T09:07:48.242Z] 2408cc74d12b: Pull complete [2022-09-27T09:07:48.508Z] ea60b727a1ce: Pull complete [2022-09-27T09:07:48.508Z] 30c4a7721957: Pull complete [2022-09-27T09:07:48.770Z] 59ccb84bbe0f: Verifying Checksum [2022-09-27T09:07:48.770Z] 59ccb84bbe0f: Download complete [2022-09-27T09:07:48.770Z] bcfd1f05c69d: Verifying Checksum [2022-09-27T09:07:48.770Z] bcfd1f05c69d: Download complete [2022-09-27T09:07:49.027Z] 370296b7ddb6: Verifying Checksum [2022-09-27T09:07:49.027Z] 370296b7ddb6: Download complete [2022-09-27T09:07:52.305Z] 370296b7ddb6: Pull complete [2022-09-27T09:07:52.305Z] 7c6cee850709: Pull complete [2022-09-27T09:07:52.305Z] 39a5fcdaea64: Pull complete [2022-09-27T09:07:52.563Z] d94ebbe4e438: Pull complete [2022-09-27T09:07:54.462Z] bcfd1f05c69d: Pull complete [2022-09-27T09:07:55.030Z] 59ccb84bbe0f: Pull complete [2022-09-27T09:07:55.030Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-27T09:07:55.030Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-27T09:07:55.030Z] ---> a4fb48ad2a94 [2022-09-27T09:07:55.030Z] Step 3/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-27T09:07:58.320Z] ---> Running in 56525d7997ce [2022-09-27T09:07:58.320Z] Removing intermediate container 56525d7997ce [2022-09-27T09:07:58.320Z] ---> 58f723a3b62e [2022-09-27T09:07:58.321Z] Step 4/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-27T09:07:58.321Z] ---> Running in e96e5f787049 [2022-09-27T09:07:58.321Z] Removing intermediate container e96e5f787049 [2022-09-27T09:07:58.321Z] ---> 5d87dee92f5d [2022-09-27T09:07:58.321Z] Step 5/13 : ARG ADD_BUILD_TAGS="" [2022-09-27T09:07:58.321Z] ---> Running in d3335f4da550 [2022-09-27T09:07:58.321Z] Removing intermediate container d3335f4da550 [2022-09-27T09:07:58.321Z] ---> b0a7f7bcfb54 [2022-09-27T09:07:58.321Z] Step 6/13 : WORKDIR /device-virtual-go [2022-09-27T09:07:58.321Z] ---> Running in fd0b2d0007a4 [2022-09-27T09:07:58.321Z] Removing intermediate container fd0b2d0007a4 [2022-09-27T09:07:58.321Z] ---> 4dd270dbecc5 [2022-09-27T09:07:58.321Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-27T09:07:58.321Z] ---> Running in 179a1d382451 [2022-09-27T09:07:58.889Z] Removing intermediate container 179a1d382451 [2022-09-27T09:07:58.889Z] ---> 0dd144dedb9d [2022-09-27T09:07:58.889Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-27T09:07:58.889Z] ---> Running in 33e62ad0a99f [2022-09-27T09:07:59.147Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-27T09:08:00.084Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-27T09:08:00.348Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-09-27T09:08:00.611Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-09-27T09:08:00.611Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-09-27T09:08:00.876Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-09-27T09:08:00.876Z] Executing busybox-1.35.0-r13.trigger [2022-09-27T09:08:00.876Z] OK: 216 MiB in 55 packages [2022-09-27T09:08:00.946Z] Still waiting to schedule task [2022-09-27T09:08:00.947Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-09-27T09:08:01.447Z] Removing intermediate container 33e62ad0a99f [2022-09-27T09:08:01.447Z] ---> dcce4d35277a [2022-09-27T09:08:01.447Z] Step 9/13 : COPY go.mod vendor* ./ [2022-09-27T09:08:01.447Z] ---> 159c1b180d2e [2022-09-27T09:08:01.447Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-27T09:08:01.447Z] ---> Running in ccbd202761c2 [2022-09-27T09:08:23.397Z] Removing intermediate container ccbd202761c2 [2022-09-27T09:08:23.397Z] ---> 26629d500257 [2022-09-27T09:08:23.397Z] Step 11/13 : COPY . . [2022-09-27T09:08:23.397Z] ---> c437573af91c [2022-09-27T09:08:23.397Z] Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-27T09:08:23.397Z] ---> Running in 4ee119e36d6d [2022-09-27T09:08:23.397Z] Removing intermediate container 4ee119e36d6d [2022-09-27T09:08:23.397Z] ---> 39664af3b90b [2022-09-27T09:08:23.397Z] Step 13/13 : RUN $MAKE [2022-09-27T09:08:23.397Z] ---> Running in eafac1c77709 [2022-09-27T09:08:23.397Z] noop [2022-09-27T09:08:23.397Z] Removing intermediate container eafac1c77709 [2022-09-27T09:08:23.397Z] ---> be0ef0919f83 [2022-09-27T09:08:23.397Z] Successfully built be0ef0919f83 [2022-09-27T09:08:23.397Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T09:08:23.836Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-27T09:08:23.836Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T09:08:23.997Z] prd-ubuntu20.04-docker-8c-8g-1330 does not seem to be running inside a container [2022-09-27T09:08:24.033Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-308 -v /w/workspace/foundry_device-virtual-go_PR-308:/w/workspace/foundry_device-virtual-go_PR-308:rw,z -v /w/workspace/foundry_device-virtual-go_PR-308@tmp:/w/workspace/foundry_device-virtual-go_PR-308@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-27T09:08:24.356Z] $ docker top fe7b84c0a6d066cd380c090afdca3bef2ae5908eb7ea20168e85365bf72c7b16 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-27T09:08:24.745Z] + go version [2022-09-27T09:08:24.746Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-27T09:08:24.792Z] $ docker stop --time=1 fe7b84c0a6d066cd380c090afdca3bef2ae5908eb7ea20168e85365bf72c7b16 [2022-09-27T09:08:26.013Z] $ docker rm -f fe7b84c0a6d066cd380c090afdca3bef2ae5908eb7ea20168e85365bf72c7b16 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T09:08:26.701Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-27T09:08:26.701Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T09:08:26.845Z] prd-ubuntu20.04-docker-8c-8g-1330 does not seem to be running inside a container [2022-09-27T09:08:26.873Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-virtual-go_PR-308 -v /w/workspace/foundry_device-virtual-go_PR-308:/w/workspace/foundry_device-virtual-go_PR-308:rw,z -v /w/workspace/foundry_device-virtual-go_PR-308@tmp:/w/workspace/foundry_device-virtual-go_PR-308@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-27T09:08:27.170Z] $ docker top 257b0bd34407b028e4dbf834956369066a5349c528e65e73c14f3796fcd72e6c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-27T09:08:27.548Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-308 [Pipeline] fileExists [Pipeline] sh [2022-09-27T09:08:27.902Z] + make test [2022-09-27T09:08:27.902Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-09-27T09:08:28.158Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-09-27T09:08:36.267Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-09-27T09:08:37.202Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.041s coverage: 65.7% of statements [2022-09-27T09:08:43.757Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-09-27T09:08:43.757Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-27T09:08:46.285Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-27T09:08:46.285Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-27T09:08:46.285Z] ./bin/test-attribution-txt.sh [2022-09-27T09:08:46.285Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-09-27T09:08:46.285Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-09-27T09:08:46.285Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-09-27T09:08:46.323Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-27T09:08:46.354Z] $ docker stop --time=1 257b0bd34407b028e4dbf834956369066a5349c528e65e73c14f3796fcd72e6c [2022-09-27T09:08:48.478Z] $ docker rm -f 257b0bd34407b028e4dbf834956369066a5349c528e65e73c14f3796fcd72e6c [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-27T09:08:48.961Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-27T09:08:49.039Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-09-27T09:08:49.706Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-27T09:08:50.018Z] + ls -al . [2022-09-27T09:08:50.018Z] total 196 [2022-09-27T09:08:50.018Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 27 09:08 . [2022-09-27T09:08:50.018Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 09:07 .. [2022-09-27T09:08:50.018Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 09:08 .git [2022-09-27T09:08:50.018Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 09:07 .github [2022-09-27T09:08:50.018Z] -rw-rw-r-- 1 jenkins jenkins 337 Sep 27 09:07 .gitignore [2022-09-27T09:08:50.018Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 27 09:07 .golangci.yml [2022-09-27T09:08:50.018Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 09:07 .semver [2022-09-27T09:08:50.018Z] -rw-rw-r-- 1 jenkins jenkins 8152 Sep 27 09:07 Attribution.txt [2022-09-27T09:08:50.018Z] -rw-rw-r-- 1 jenkins jenkins 9649 Sep 27 09:07 CHANGELOG.md [2022-09-27T09:08:50.018Z] -rw-rw-r-- 1 jenkins jenkins 2034 Sep 27 09:07 Dockerfile [2022-09-27T09:08:50.018Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 09:07 GOVERNANCE.md [2022-09-27T09:08:50.018Z] -rw-rw-r-- 1 jenkins jenkins 660 Sep 27 09:07 Jenkinsfile [2022-09-27T09:08:50.018Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 27 09:07 LICENSE [2022-09-27T09:08:50.018Z] -rw-rw-r-- 1 jenkins jenkins 2457 Sep 27 09:07 Makefile [2022-09-27T09:08:50.018Z] -rw-rw-r-- 1 jenkins jenkins 623 Sep 27 09:07 OWNERS.md [2022-09-27T09:08:50.018Z] -rw-rw-r-- 1 jenkins jenkins 3578 Sep 27 09:07 README.md [2022-09-27T09:08:50.018Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 27 09:07 VERSION [2022-09-27T09:08:50.018Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 09:07 bin [2022-09-27T09:08:50.018Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 09:07 cmd [2022-09-27T09:08:50.018Z] -rw-r--r-- 1 jenkins jenkins 44128 Sep 27 09:08 coverage.out [2022-09-27T09:08:50.018Z] -rw-rw-r-- 1 jenkins jenkins 3399 Sep 27 09:07 go.mod [2022-09-27T09:08:50.018Z] -rw-rw-r-- 1 jenkins jenkins 37521 Sep 27 09:07 go.sum [2022-09-27T09:08:50.018Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 09:07 internal [2022-09-27T09:08:50.018Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 09:07 snap [2022-09-27T09:08:50.018Z] -rw-rw-r-- 1 jenkins jenkins 235 Sep 27 09:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T09:08:50.398Z] + 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=0b45d56e7b64418fa3ac13a0c8ad83cc9f4cc964 --label arch=amd64 --label version=0.0.0 . [2022-09-27T09:08:50.398Z] Sending build context to Docker daemon 23.22MB [2022-09-27T09:08:50.398Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-09-27T09:08:50.398Z] Step 2/27 : FROM ${BASE} AS builder [2022-09-27T09:08:50.398Z] ---> be0ef0919f83 [2022-09-27T09:08:50.398Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-27T09:08:50.657Z] ---> Running in 0b45b9923ffa [2022-09-27T09:08:50.657Z] Removing intermediate container 0b45b9923ffa [2022-09-27T09:08:50.657Z] ---> 6d2807b08867 [2022-09-27T09:08:50.657Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2022-09-27T09:08:50.657Z] ---> Running in 806c80297a70 [2022-09-27T09:08:50.916Z] Removing intermediate container 806c80297a70 [2022-09-27T09:08:50.916Z] ---> 46888d458771 [2022-09-27T09:08:50.916Z] Step 5/27 : ARG ADD_BUILD_TAGS="" [2022-09-27T09:08:50.916Z] ---> Running in 932ee032aafd [2022-09-27T09:08:50.916Z] Removing intermediate container 932ee032aafd [2022-09-27T09:08:50.916Z] ---> 4b10939ce835 [2022-09-27T09:08:50.916Z] Step 6/27 : WORKDIR /device-virtual-go [2022-09-27T09:08:50.916Z] ---> Running in f63af220cee9 [2022-09-27T09:08:50.916Z] Removing intermediate container f63af220cee9 [2022-09-27T09:08:50.916Z] ---> a3ab036c6859 [2022-09-27T09:08:50.916Z] Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-27T09:08:50.916Z] ---> Running in 1f9d013b2370 [2022-09-27T09:08:51.483Z] Removing intermediate container 1f9d013b2370 [2022-09-27T09:08:51.483Z] ---> 0a5eb6953a84 [2022-09-27T09:08:51.483Z] Step 8/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-27T09:08:51.483Z] ---> Running in b54db5673198 [2022-09-27T09:08:51.743Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-27T09:08:52.681Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-27T09:08:52.942Z] OK: 216 MiB in 55 packages [2022-09-27T09:08:53.202Z] Removing intermediate container b54db5673198 [2022-09-27T09:08:53.202Z] ---> e225efa081f6 [2022-09-27T09:08:53.202Z] Step 9/27 : COPY go.mod vendor* ./ [2022-09-27T09:08:53.202Z] ---> 62980bc1ef25 [2022-09-27T09:08:53.202Z] Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-27T09:08:53.202Z] ---> Running in 667cf42b3648 [2022-09-27T09:08:54.140Z] Removing intermediate container 667cf42b3648 [2022-09-27T09:08:54.140Z] ---> c2a6c3f6ad96 [2022-09-27T09:08:54.140Z] Step 11/27 : COPY . . [2022-09-27T09:08:54.398Z] ---> a1240a68dbd6 [2022-09-27T09:08:54.398Z] Step 12/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-27T09:08:54.398Z] ---> Running in 14e79bcac4fd [2022-09-27T09:08:54.658Z] Removing intermediate container 14e79bcac4fd [2022-09-27T09:08:54.658Z] ---> 1d5b0e7cedc0 [2022-09-27T09:08:54.658Z] Step 13/27 : RUN $MAKE [2022-09-27T09:08:54.658Z] ---> Running in 010682c7aa41 [2022-09-27T09:08:54.916Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd [2022-09-27T09:09:16.835Z] Removing intermediate container 010682c7aa41 [2022-09-27T09:09:16.835Z] ---> 388edd1fc922 [2022-09-27T09:09:16.835Z] Step 14/27 : FROM alpine:3.16 [2022-09-27T09:09:16.835Z] 3.16: Pulling from library/alpine [2022-09-27T09:09:16.835Z] 213ec9aee27d: Pulling fs layer [2022-09-27T09:09:16.835Z] 213ec9aee27d: Verifying Checksum [2022-09-27T09:09:16.835Z] 213ec9aee27d: Download complete [2022-09-27T09:09:16.835Z] 213ec9aee27d: Pull complete [2022-09-27T09:09:16.835Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-27T09:09:16.835Z] Status: Downloaded newer image for alpine:3.16 [2022-09-27T09:09:16.835Z] ---> 9c6f07244728 [2022-09-27T09:09:16.835Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-09-27T09:09:16.835Z] ---> Running in f99467829862 [2022-09-27T09:09:16.835Z] Removing intermediate container f99467829862 [2022-09-27T09:09:16.835Z] ---> fa90d5c6d004 [2022-09-27T09:09:16.835Z] Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-27T09:09:16.835Z] ---> Running in 941614669f71 [2022-09-27T09:09:16.835Z] Removing intermediate container 941614669f71 [2022-09-27T09:09:16.835Z] ---> 2de7200f81b0 [2022-09-27T09:09:16.835Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-27T09:09:16.835Z] ---> Running in b19123e2dab5 [2022-09-27T09:09:16.835Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-27T09:09:16.835Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-27T09:09:16.835Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-27T09:09:16.835Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-27T09:09:17.095Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-27T09:09:17.095Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-27T09:09:17.095Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-27T09:09:17.355Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-27T09:09:17.355Z] Executing busybox-1.35.0-r17.trigger [2022-09-27T09:09:17.355Z] OK: 8 MiB in 20 packages [2022-09-27T09:09:17.922Z] Removing intermediate container b19123e2dab5 [2022-09-27T09:09:17.922Z] ---> 8d1dbad943f3 [2022-09-27T09:09:17.922Z] Step 18/27 : WORKDIR / [2022-09-27T09:09:17.922Z] ---> Running in 8e39ff0b4231 [2022-09-27T09:09:17.922Z] Removing intermediate container 8e39ff0b4231 [2022-09-27T09:09:17.922Z] ---> ef5ea713a7a5 [2022-09-27T09:09:17.922Z] Step 19/27 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-09-27T09:09:17.922Z] ---> ce08b65af3e3 [2022-09-27T09:09:17.922Z] Step 20/27 : COPY --from=builder /device-virtual-go/LICENSE / [2022-09-27T09:09:18.181Z] ---> 7ce125a28660 [2022-09-27T09:09:18.181Z] Step 21/27 : COPY --from=builder /device-virtual-go/cmd / [2022-09-27T09:09:18.746Z] ---> 86f4fd8e231b [2022-09-27T09:09:18.746Z] Step 22/27 : EXPOSE 59900 [2022-09-27T09:09:18.746Z] ---> Running in b3a2382ad243 [2022-09-27T09:09:18.746Z] Removing intermediate container b3a2382ad243 [2022-09-27T09:09:18.746Z] ---> 80af3b22270e [2022-09-27T09:09:18.746Z] Step 23/27 : ENTRYPOINT ["/device-virtual"] [2022-09-27T09:09:18.746Z] ---> Running in 6747c25c8d4c [2022-09-27T09:09:19.006Z] Removing intermediate container 6747c25c8d4c [2022-09-27T09:09:19.006Z] ---> 1e2a2692f600 [2022-09-27T09:09:19.006Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-27T09:09:19.006Z] ---> Running in 0a80df5f987d [2022-09-27T09:09:19.006Z] Removing intermediate container 0a80df5f987d [2022-09-27T09:09:19.006Z] ---> eab815cacb98 [2022-09-27T09:09:19.006Z] Step 25/27 : LABEL arch=amd64 [2022-09-27T09:09:19.006Z] ---> Running in 2aa96786f50c [2022-09-27T09:09:19.006Z] Removing intermediate container 2aa96786f50c [2022-09-27T09:09:19.006Z] ---> 3ab997ed4074 [2022-09-27T09:09:19.006Z] Step 26/27 : LABEL git_sha=0b45d56e7b64418fa3ac13a0c8ad83cc9f4cc964 [2022-09-27T09:09:19.006Z] ---> Running in c1c06b7b749e [2022-09-27T09:09:19.265Z] Removing intermediate container c1c06b7b749e [2022-09-27T09:09:19.265Z] ---> 550e96cedfa3 [2022-09-27T09:09:19.265Z] Step 27/27 : LABEL version=0.0.0 [2022-09-27T09:09:19.265Z] ---> Running in 14ce092a39b7 [2022-09-27T09:09:19.265Z] Removing intermediate container 14ce092a39b7 [2022-09-27T09:09:19.265Z] ---> d1c06835b418 [2022-09-27T09:09:19.265Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-27T09:09:19.265Z] Successfully built d1c06835b418 [2022-09-27T09:09:19.265Z] Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T09:09:20.147Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-27T09:09:20.148Z] [2022-09-27T09:09:20.148Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T09:09:20.519Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-27T09:09:20.519Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-27T09:09:20.519Z] 5eb5b503b376: Pulling fs layer [2022-09-27T09:09:20.519Z] 5c69ac0246d0: Pulling fs layer [2022-09-27T09:09:20.519Z] ec43610c2a17: Pulling fs layer [2022-09-27T09:09:20.519Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-27T09:09:20.519Z] 33b1e0a273af: Pulling fs layer [2022-09-27T09:09:20.519Z] 5d3b04190fa2: Pulling fs layer [2022-09-27T09:09:20.519Z] 2f39f015ded8: Pulling fs layer [2022-09-27T09:09:20.519Z] 33b1e0a273af: Waiting [2022-09-27T09:09:20.519Z] 2f39f015ded8: Waiting [2022-09-27T09:09:20.519Z] 5d3b04190fa2: Waiting [2022-09-27T09:09:20.519Z] 5c69ac0246d0: Download complete [2022-09-27T09:09:20.519Z] 3a2ae6a8a46f: Verifying Checksum [2022-09-27T09:09:20.520Z] 3a2ae6a8a46f: Download complete [2022-09-27T09:09:20.520Z] 33b1e0a273af: Verifying Checksum [2022-09-27T09:09:20.520Z] 33b1e0a273af: Download complete [2022-09-27T09:09:20.520Z] ec43610c2a17: Verifying Checksum [2022-09-27T09:09:20.520Z] ec43610c2a17: Download complete [2022-09-27T09:09:20.520Z] 5d3b04190fa2: Download complete [2022-09-27T09:09:20.778Z] 5eb5b503b376: Verifying Checksum [2022-09-27T09:09:20.778Z] 5eb5b503b376: Download complete [2022-09-27T09:09:21.344Z] 2f39f015ded8: Download complete [2022-09-27T09:09:21.909Z] 5eb5b503b376: Pull complete [2022-09-27T09:09:21.909Z] 5c69ac0246d0: Pull complete [2022-09-27T09:09:22.477Z] ec43610c2a17: Pull complete [2022-09-27T09:09:22.477Z] 3a2ae6a8a46f: Pull complete [2022-09-27T09:09:22.735Z] 33b1e0a273af: Pull complete [2022-09-27T09:09:22.735Z] 5d3b04190fa2: Pull complete [2022-09-27T09:09:26.918Z] 2f39f015ded8: Pull complete [2022-09-27T09:09:26.918Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-27T09:09:26.919Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-27T09:09:26.919Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T09:09:27.141Z] prd-ubuntu20.04-docker-8c-8g-1330 does not seem to be running inside a container [2022-09-27T09:09:27.173Z] $ 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-308 -v /w/workspace/foundry_device-virtual-go_PR-308:/w/workspace/foundry_device-virtual-go_PR-308:rw,z -v /w/workspace/foundry_device-virtual-go_PR-308@tmp:/w/workspace/foundry_device-virtual-go_PR-308@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-27T09:09:29.858Z] $ docker top f8f74df279cbd7491716ff31069670b4af8eb66b92f48f11509b95abf26874e5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-27T09:09:30.306Z] ---> job-cost.sh [2022-09-27T09:09:30.306Z] lf-activate-venv: SKIPPING [2022-09-27T09:09:30.306Z] INFO: No Stack... [2022-09-27T09:09:30.871Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-27T09:09:31.129Z] INFO: Archiving Costs [Pipeline] sh [2022-09-27T09:09:31.439Z] + cat /w/workspace/foundry_device-virtual-go_PR-308/archives/cost.csv [2022-09-27T09:09:31.439Z] + cut -d, -f6 [Pipeline] lock [2022-09-27T09:09:31.477Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-308-1-stack-cost] [2022-09-27T09:09:31.482Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-308-1-stack-cost] did not exist. Created. [2022-09-27T09:09:31.482Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-308-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-27T09:09:31.861Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-27T09:09:31.909Z] Stashed 1 file(s) [Pipeline] } [2022-09-27T09:09:31.931Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-308-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-27T09:09:32.002Z] $ docker stop --time=1 f8f74df279cbd7491716ff31069670b4af8eb66b92f48f11509b95abf26874e5 [2022-09-27T09:09:33.142Z] $ docker rm -f f8f74df279cbd7491716ff31069670b4af8eb66b92f48f11509b95abf26874e5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-09-27T09:09:36.578Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1331 in /w/workspace/foundry_device-virtual-go_PR-308 [Pipeline] { [Pipeline] ws [2022-09-27T09:09:36.629Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2022-09-27T09:09:36.705Z] The recommended git tool is: git [2022-09-27T09:09:41.623Z] using credential edgex-jenkins-ssh [2022-09-27T09:09:41.647Z] Cloning the remote Git repository [2022-09-27T09:09:41.688Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2022-09-27T09:09:41.763Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2022-09-27T09:09:41.911Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-09-27T09:09:41.912Z] > git --version # timeout=10 [2022-09-27T09:09:41.937Z] > git --version # 'git version 2.25.1' [2022-09-27T09:09:41.939Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-27T09:09:41.986Z] Verifying host key using known hosts file [2022-09-27T09:09:42.202Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-09-27T09:09:42.217Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-27T09:09:44.319Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-09-27T09:09:44.341Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-27T09:09:45.093Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-09-27T09:09:45.131Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-09-27T09:09:45.132Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-27T09:09:45.137Z] Verifying host key using known hosts file [2022-09-27T09:09:45.144Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-09-27T09:09:45.156Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/308/head:refs/remotes/origin/PR-308 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-09-27T09:09:45.779Z] Merging remotes/origin/main commit 338b4a6717ad749e6fbb765a40a4439a1a99c0fd into PR head commit 0b45d56e7b64418fa3ac13a0c8ad83cc9f4cc964 [2022-09-27T09:09:45.979Z] Merge succeeded, producing 0b45d56e7b64418fa3ac13a0c8ad83cc9f4cc964 [2022-09-27T09:09:45.980Z] Checking out Revision 0b45d56e7b64418fa3ac13a0c8ad83cc9f4cc964 (PR-308) [2022-09-27T09:09:45.793Z] > git config core.sparsecheckout # timeout=10 [2022-09-27T09:09:45.817Z] > git checkout -f 0b45d56e7b64418fa3ac13a0c8ad83cc9f4cc964 # timeout=10 [2022-09-27T09:09:45.893Z] > git remote # timeout=10 [2022-09-27T09:09:45.910Z] > git config --get remote.origin.url # timeout=10 [2022-09-27T09:09:45.924Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-27T09:09:45.929Z] Verifying host key using known hosts file [2022-09-27T09:09:45.933Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-09-27T09:09:45.941Z] > git merge 338b4a6717ad749e6fbb765a40a4439a1a99c0fd # timeout=10 [2022-09-27T09:09:45.961Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-09-27T09:09:45.982Z] > git config core.sparsecheckout # timeout=10 [2022-09-27T09:09:45.997Z] > git checkout -f 0b45d56e7b64418fa3ac13a0c8ad83cc9f4cc964 # timeout=10 [2022-09-27T09:09:49.440Z] Commit message: "feat: add internal message request/response topics" [2022-09-27T09:09:49.492Z] > git --version # timeout=10 [2022-09-27T09:09:49.506Z] > git --version # 'git version 2.25.1' [2022-09-27T09:09:49.520Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-27T09:09:50.665Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-27T09:09:50.665Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-27T09:09:50.665Z] Dload Upload Total Spent Left Speed [2022-09-27T09:09:50.665Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 80267 0 --:--:-- --:--:-- --:--:-- 80267 [Pipeline] sh [2022-09-27T09:09:51.350Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-27T09:09:51.688Z] + sudo tee /etc/docker/daemon.new [2022-09-27T09:09:51.688Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-09-27T09:09:51.688Z] { [2022-09-27T09:09:51.688Z] "registry-mirrors": [ [2022-09-27T09:09:51.688Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-27T09:09:51.688Z] ], [2022-09-27T09:09:51.688Z] "bip": "10.250.0.254/24", [2022-09-27T09:09:51.688Z] "hosts": [ [2022-09-27T09:09:51.688Z] "tcp://0.0.0.0:5555", [2022-09-27T09:09:51.688Z] "unix:///var/run/docker.sock" [2022-09-27T09:09:51.688Z] ], [2022-09-27T09:09:51.688Z] "mtu": 1458, [2022-09-27T09:09:51.688Z] "selinux-enabled": true, [2022-09-27T09:09:51.688Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-27T09:09:51.688Z] } [Pipeline] sh [2022-09-27T09:09:52.024Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-27T09:09:52.363Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-27T09:10:10.676Z] provisioning config files... [2022-09-27T09:10:10.704Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config18350518889018995409tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-27T09:10:11.097Z] ---> docker-login.sh [2022-09-27T09:10:11.097Z] nexus3.edgexfoundry.org:10001 [2022-09-27T09:10:11.367Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T09:10:11.633Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T09:10:11.633Z] Configure a credential helper to remove this warning. See [2022-09-27T09:10:11.634Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T09:10:11.634Z] [2022-09-27T09:10:11.634Z] Login Succeeded [2022-09-27T09:10:11.634Z] nexus3.edgexfoundry.org:10002 [2022-09-27T09:10:11.902Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T09:10:12.169Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T09:10:12.169Z] Configure a credential helper to remove this warning. See [2022-09-27T09:10:12.169Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T09:10:12.169Z] [2022-09-27T09:10:12.169Z] Login Succeeded [2022-09-27T09:10:12.169Z] nexus3.edgexfoundry.org:10003 [2022-09-27T09:10:12.169Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T09:10:12.438Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T09:10:12.438Z] Configure a credential helper to remove this warning. See [2022-09-27T09:10:12.438Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T09:10:12.438Z] [2022-09-27T09:10:12.438Z] Login Succeeded [2022-09-27T09:10:12.438Z] nexus3.edgexfoundry.org:10004 [2022-09-27T09:10:12.710Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T09:10:12.711Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T09:10:12.711Z] Configure a credential helper to remove this warning. See [2022-09-27T09:10:12.711Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T09:10:12.711Z] [2022-09-27T09:10:12.711Z] Login Succeeded [2022-09-27T09:10:12.711Z] docker.io [2022-09-27T09:10:12.979Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T09:10:13.564Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T09:10:13.564Z] Configure a credential helper to remove this warning. See [2022-09-27T09:10:13.564Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T09:10:13.564Z] [2022-09-27T09:10:13.564Z] Login Succeeded [2022-09-27T09:10:13.564Z] ---> docker-login.sh ends [Pipeline] } [2022-09-27T09:10:13.592Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-27T09:10:13.865Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-27T09:10:13.902Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-27T09:10:13.940Z] ========================================================= [2022-09-27T09:10:13.940Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-27T09:10:13.940Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T09:10:14.433Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-09-27T09:10:14.704Z] Sending build context to Docker daemon 11.74MB [2022-09-27T09:10:14.704Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-27T09:10:14.704Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-27T09:10:14.974Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-27T09:10:14.974Z] b3c136eddcbf: Pulling fs layer [2022-09-27T09:10:14.974Z] c0a3192eca97: Pulling fs layer [2022-09-27T09:10:14.974Z] a050256f5b6f: Pulling fs layer [2022-09-27T09:10:14.974Z] 656be50a0ddc: Pulling fs layer [2022-09-27T09:10:14.974Z] 2bbca73fdf42: Pulling fs layer [2022-09-27T09:10:14.974Z] 46d945488cbd: Pulling fs layer [2022-09-27T09:10:14.974Z] 8a5474983e97: Pulling fs layer [2022-09-27T09:10:14.974Z] 329c88fbcd65: Pulling fs layer [2022-09-27T09:10:14.974Z] 46d945488cbd: Waiting [2022-09-27T09:10:14.974Z] 656be50a0ddc: Waiting [2022-09-27T09:10:14.974Z] 2bbca73fdf42: Waiting [2022-09-27T09:10:14.974Z] 8a5474983e97: Waiting [2022-09-27T09:10:14.974Z] 329c88fbcd65: Waiting [2022-09-27T09:10:14.974Z] a050256f5b6f: Verifying Checksum [2022-09-27T09:10:14.974Z] a050256f5b6f: Download complete [2022-09-27T09:10:14.974Z] c0a3192eca97: Verifying Checksum [2022-09-27T09:10:14.974Z] c0a3192eca97: Download complete [2022-09-27T09:10:14.974Z] 2bbca73fdf42: Verifying Checksum [2022-09-27T09:10:14.974Z] 2bbca73fdf42: Download complete [2022-09-27T09:10:14.974Z] 46d945488cbd: Verifying Checksum [2022-09-27T09:10:14.975Z] 46d945488cbd: Download complete [2022-09-27T09:10:14.975Z] b3c136eddcbf: Verifying Checksum [2022-09-27T09:10:15.948Z] b3c136eddcbf: Pull complete [2022-09-27T09:10:16.221Z] 329c88fbcd65: Verifying Checksum [2022-09-27T09:10:16.221Z] 329c88fbcd65: Download complete [2022-09-27T09:10:17.200Z] c0a3192eca97: Pull complete [2022-09-27T09:10:17.200Z] 8a5474983e97: Verifying Checksum [2022-09-27T09:10:17.200Z] 8a5474983e97: Download complete [2022-09-27T09:10:17.200Z] a050256f5b6f: Pull complete [2022-09-27T09:10:17.788Z] 656be50a0ddc: Verifying Checksum [2022-09-27T09:10:17.788Z] 656be50a0ddc: Download complete [2022-09-27T09:10:30.120Z] 656be50a0ddc: Pull complete [2022-09-27T09:10:30.120Z] 2bbca73fdf42: Pull complete [2022-09-27T09:10:30.120Z] 46d945488cbd: Pull complete [2022-09-27T09:10:35.460Z] 8a5474983e97: Pull complete [2022-09-27T09:10:37.415Z] 329c88fbcd65: Pull complete [2022-09-27T09:10:37.415Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-27T09:10:37.415Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-27T09:10:37.415Z] ---> ff4287adb874 [2022-09-27T09:10:37.415Z] Step 3/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-27T09:10:39.369Z] ---> Running in dd96bd32cd8a [2022-09-27T09:10:39.369Z] Removing intermediate container dd96bd32cd8a [2022-09-27T09:10:39.369Z] ---> 04fc72a74932 [2022-09-27T09:10:39.369Z] Step 4/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-27T09:10:39.369Z] ---> Running in 1255b13e0d58 [2022-09-27T09:10:39.637Z] Removing intermediate container 1255b13e0d58 [2022-09-27T09:10:39.637Z] ---> 81f1e9fc6245 [2022-09-27T09:10:39.637Z] Step 5/13 : ARG ADD_BUILD_TAGS="" [2022-09-27T09:10:39.908Z] ---> Running in b4e7fafc1444 [2022-09-27T09:10:40.176Z] Removing intermediate container b4e7fafc1444 [2022-09-27T09:10:40.176Z] ---> c8ae49d32b71 [2022-09-27T09:10:40.176Z] Step 6/13 : WORKDIR /device-virtual-go [2022-09-27T09:10:40.176Z] ---> Running in c32a7aaab551 [2022-09-27T09:10:40.442Z] Removing intermediate container c32a7aaab551 [2022-09-27T09:10:40.442Z] ---> 4a772eab8dab [2022-09-27T09:10:40.442Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-27T09:10:40.711Z] ---> Running in 09802ee1dc06 [2022-09-27T09:10:42.654Z] Removing intermediate container 09802ee1dc06 [2022-09-27T09:10:42.654Z] ---> fd8b76131f15 [2022-09-27T09:10:42.654Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-27T09:10:42.654Z] ---> Running in c86919ef4a65 [2022-09-27T09:10:43.239Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-27T09:10:44.200Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-27T09:10:45.154Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-09-27T09:10:45.154Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-09-27T09:10:45.419Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-09-27T09:10:45.419Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-09-27T09:10:45.684Z] Executing busybox-1.35.0-r13.trigger [2022-09-27T09:10:45.684Z] OK: 226 MiB in 55 packages [2022-09-27T09:10:46.640Z] Removing intermediate container c86919ef4a65 [2022-09-27T09:10:46.640Z] ---> a3d55688c762 [2022-09-27T09:10:46.640Z] Step 9/13 : COPY go.mod vendor* ./ [2022-09-27T09:10:46.909Z] ---> b6a2d1c9fa91 [2022-09-27T09:10:46.909Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-27T09:10:46.909Z] ---> Running in b0255bd8f883 [2022-09-27T09:11:33.766Z] Removing intermediate container b0255bd8f883 [2022-09-27T09:11:33.766Z] ---> 6e44446e87f8 [2022-09-27T09:11:33.766Z] Step 11/13 : COPY . . [2022-09-27T09:11:33.766Z] ---> 0a6f476b9223 [2022-09-27T09:11:33.766Z] Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-27T09:11:33.766Z] ---> Running in 2edb666e2021 [2022-09-27T09:11:33.766Z] Removing intermediate container 2edb666e2021 [2022-09-27T09:11:33.766Z] ---> 7f8b185d1781 [2022-09-27T09:11:33.766Z] Step 13/13 : RUN $MAKE [2022-09-27T09:11:33.766Z] ---> Running in 0630c044bcd8 [2022-09-27T09:11:34.031Z] noop [2022-09-27T09:11:34.613Z] Removing intermediate container 0630c044bcd8 [2022-09-27T09:11:34.613Z] ---> 06201060e8a4 [2022-09-27T09:11:34.613Z] Successfully built 06201060e8a4 [2022-09-27T09:11:34.613Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T09:11:35.084Z] + docker inspect -f . ci-base-image-arm64 [2022-09-27T09:11:35.084Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T09:11:35.314Z] prd-ubuntu20.04-docker-arm64-4c-16g-1331 does not seem to be running inside a container [2022-09-27T09:11:35.371Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-27T09:11:36.413Z] $ docker top 490b327f2b6f79c247ff7c99dd31a5e27bf0de22ca71d54152b562c9d97ee65b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-27T09:11:37.250Z] + go version [2022-09-27T09:11:37.251Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-27T09:11:37.288Z] $ docker stop --time=1 490b327f2b6f79c247ff7c99dd31a5e27bf0de22ca71d54152b562c9d97ee65b [2022-09-27T09:11:40.192Z] $ docker rm -f 490b327f2b6f79c247ff7c99dd31a5e27bf0de22ca71d54152b562c9d97ee65b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T09:11:40.963Z] + docker inspect -f . ci-base-image-arm64 [2022-09-27T09:11:40.963Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T09:11:41.210Z] prd-ubuntu20.04-docker-arm64-4c-16g-1331 does not seem to be running inside a container [2022-09-27T09:11:41.271Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-27T09:11:42.405Z] $ docker top 881f36e26e8a63326193ecfb9aeacef738d50502c7cd0cbdc5b884be3f1b6dc3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-27T09:11:42.941Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh [2022-09-27T09:11:43.343Z] + make test [2022-09-27T09:11:43.610Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-09-27T09:11:45.035Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-09-27T09:13:06.649Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-09-27T09:13:06.649Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.129s coverage: 65.7% of statements [2022-09-27T09:13:06.649Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-27T09:13:06.649Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-27T09:13:24.850Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-27T09:13:24.850Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-27T09:13:24.850Z] ./bin/test-attribution-txt.sh [2022-09-27T09:13:24.850Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-09-27T09:13:24.850Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-09-27T09:13:24.850Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-09-27T09:13:24.888Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-27T09:13:24.918Z] $ docker stop --time=1 881f36e26e8a63326193ecfb9aeacef738d50502c7cd0cbdc5b884be3f1b6dc3 [2022-09-27T09:13:26.614Z] $ docker rm -f 881f36e26e8a63326193ecfb9aeacef738d50502c7cd0cbdc5b884be3f1b6dc3 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-27T09:13:27.553Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-27T09:13:27.589Z] Warning: overwriting stash ‘coverage-report’ [2022-09-27T09:13:27.961Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-27T09:13:28.555Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-27T09:13:28.907Z] + ls -al . [2022-09-27T09:13:28.907Z] total 192 [2022-09-27T09:13:28.907Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 09:11 . [2022-09-27T09:13:28.907Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 09:09 .. [2022-09-27T09:13:28.907Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 09:09 .git [2022-09-27T09:13:28.907Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 09:09 .github [2022-09-27T09:13:28.907Z] -rw-rw-r-- 1 jenkins jenkins 337 Sep 27 09:09 .gitignore [2022-09-27T09:13:28.907Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 27 09:09 .golangci.yml [2022-09-27T09:13:28.907Z] -rw-rw-r-- 1 jenkins jenkins 8152 Sep 27 09:09 Attribution.txt [2022-09-27T09:13:28.907Z] -rw-rw-r-- 1 jenkins jenkins 9649 Sep 27 09:09 CHANGELOG.md [2022-09-27T09:13:28.907Z] -rw-rw-r-- 1 jenkins jenkins 2034 Sep 27 09:09 Dockerfile [2022-09-27T09:13:28.907Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 09:09 GOVERNANCE.md [2022-09-27T09:13:28.907Z] -rw-rw-r-- 1 jenkins jenkins 660 Sep 27 09:09 Jenkinsfile [2022-09-27T09:13:28.907Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 27 09:09 LICENSE [2022-09-27T09:13:28.907Z] -rw-rw-r-- 1 jenkins jenkins 2457 Sep 27 09:09 Makefile [2022-09-27T09:13:28.907Z] -rw-rw-r-- 1 jenkins jenkins 623 Sep 27 09:09 OWNERS.md [2022-09-27T09:13:28.907Z] -rw-rw-r-- 1 jenkins jenkins 3578 Sep 27 09:09 README.md [2022-09-27T09:13:28.907Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 27 09:07 VERSION [2022-09-27T09:13:28.907Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 09:09 bin [2022-09-27T09:13:28.907Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 09:09 cmd [2022-09-27T09:13:28.907Z] -rw-r--r-- 1 jenkins jenkins 44128 Sep 27 09:13 coverage.out [2022-09-27T09:13:28.907Z] -rw-rw-r-- 1 jenkins jenkins 3399 Sep 27 09:09 go.mod [2022-09-27T09:13:28.907Z] -rw-rw-r-- 1 jenkins jenkins 37521 Sep 27 09:09 go.sum [2022-09-27T09:13:28.907Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 09:09 internal [2022-09-27T09:13:28.907Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 09:09 snap [2022-09-27T09:13:28.907Z] -rw-rw-r-- 1 jenkins jenkins 235 Sep 27 09:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T09:13:29.322Z] + 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=0b45d56e7b64418fa3ac13a0c8ad83cc9f4cc964 --label arch=arm64 --label version=0.0.0 . [2022-09-27T09:13:29.593Z] Sending build context to Docker daemon 11.78MB [2022-09-27T09:13:29.593Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-09-27T09:13:29.593Z] Step 2/27 : FROM ${BASE} AS builder [2022-09-27T09:13:29.593Z] ---> 06201060e8a4 [2022-09-27T09:13:29.593Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-27T09:13:29.860Z] ---> Running in c5ac780f540b [2022-09-27T09:13:30.125Z] Removing intermediate container c5ac780f540b [2022-09-27T09:13:30.125Z] ---> d8dcedbdb786 [2022-09-27T09:13:30.125Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2022-09-27T09:13:30.125Z] ---> Running in 4103e61a793a [2022-09-27T09:13:30.392Z] Removing intermediate container 4103e61a793a [2022-09-27T09:13:30.392Z] ---> 5eca6d72591b [2022-09-27T09:13:30.392Z] Step 5/27 : ARG ADD_BUILD_TAGS="" [2022-09-27T09:13:30.392Z] ---> Running in d7d6ee7716b1 [2022-09-27T09:13:30.662Z] Removing intermediate container d7d6ee7716b1 [2022-09-27T09:13:30.662Z] ---> 8b9b77a614c6 [2022-09-27T09:13:30.662Z] Step 6/27 : WORKDIR /device-virtual-go [2022-09-27T09:13:30.662Z] ---> Running in 1c0149cb1005 [2022-09-27T09:13:31.248Z] Removing intermediate container 1c0149cb1005 [2022-09-27T09:13:31.248Z] ---> 7b71aa5d412d [2022-09-27T09:13:31.248Z] Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-27T09:13:31.248Z] ---> Running in 539007f50867 [2022-09-27T09:13:32.671Z] Removing intermediate container 539007f50867 [2022-09-27T09:13:32.671Z] ---> 37e881ed5dc3 [2022-09-27T09:13:32.671Z] Step 8/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-27T09:13:32.671Z] ---> Running in dd8b65a768ba [2022-09-27T09:13:33.633Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-27T09:13:34.596Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-27T09:13:35.558Z] OK: 226 MiB in 55 packages [2022-09-27T09:13:36.533Z] Removing intermediate container dd8b65a768ba [2022-09-27T09:13:36.533Z] ---> 3ca134c84bf6 [2022-09-27T09:13:36.533Z] Step 9/27 : COPY go.mod vendor* ./ [2022-09-27T09:13:36.807Z] ---> c0f8138501ca [2022-09-27T09:13:36.807Z] Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-27T09:13:36.807Z] ---> Running in b1f2b9766cbb [2022-09-27T09:13:38.760Z] Removing intermediate container b1f2b9766cbb [2022-09-27T09:13:38.760Z] ---> c0977ff41850 [2022-09-27T09:13:38.760Z] Step 11/27 : COPY . . [2022-09-27T09:13:39.722Z] ---> 705a933f77de [2022-09-27T09:13:39.722Z] Step 12/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-27T09:13:39.988Z] ---> Running in 9fda39b061a3 [2022-09-27T09:13:40.256Z] Removing intermediate container 9fda39b061a3 [2022-09-27T09:13:40.256Z] ---> c3016a339414 [2022-09-27T09:13:40.256Z] Step 13/27 : RUN $MAKE [2022-09-27T09:13:40.256Z] ---> Running in 6af0c4dc8ab0 [2022-09-27T09:13:41.315Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd [2022-09-27T09:16:18.115Z] Removing intermediate container 6af0c4dc8ab0 [2022-09-27T09:16:18.115Z] ---> 08b4faa54f30 [2022-09-27T09:16:18.115Z] Step 14/27 : FROM alpine:3.16 [2022-09-27T09:16:18.115Z] 3.16: Pulling from library/alpine [2022-09-27T09:16:18.115Z] 9b18e9b68314: Pulling fs layer [2022-09-27T09:16:18.115Z] 9b18e9b68314: Download complete [2022-09-27T09:16:18.115Z] 9b18e9b68314: Pull complete [2022-09-27T09:16:18.115Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-27T09:16:18.115Z] Status: Downloaded newer image for alpine:3.16 [2022-09-27T09:16:18.115Z] ---> a6215f271958 [2022-09-27T09:16:18.115Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-09-27T09:16:18.115Z] ---> Running in f57d8df9e2b6 [2022-09-27T09:16:18.115Z] Removing intermediate container f57d8df9e2b6 [2022-09-27T09:16:18.115Z] ---> f70329559f86 [2022-09-27T09:16:18.115Z] Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-27T09:16:18.115Z] ---> Running in 5714baf2aa19 [2022-09-27T09:16:18.115Z] Removing intermediate container 5714baf2aa19 [2022-09-27T09:16:18.115Z] ---> 47ede7ed59e5 [2022-09-27T09:16:18.115Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-27T09:16:18.115Z] ---> Running in 794d657adc4d [2022-09-27T09:16:18.115Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-27T09:16:18.115Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-27T09:16:18.115Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-27T09:16:18.115Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-27T09:16:18.115Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-27T09:16:18.115Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-27T09:16:18.115Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-27T09:16:18.115Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-27T09:16:18.115Z] Executing busybox-1.35.0-r17.trigger [2022-09-27T09:16:18.115Z] OK: 8 MiB in 20 packages [2022-09-27T09:16:18.115Z] Removing intermediate container 794d657adc4d [2022-09-27T09:16:18.115Z] ---> c898712f2d7a [2022-09-27T09:16:18.115Z] Step 18/27 : WORKDIR / [2022-09-27T09:16:18.115Z] ---> Running in 399cbbe2a6d0 [2022-09-27T09:16:18.115Z] Removing intermediate container 399cbbe2a6d0 [2022-09-27T09:16:18.115Z] ---> a19c3ccfae77 [2022-09-27T09:16:18.115Z] Step 19/27 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-09-27T09:16:18.115Z] ---> 9b81c1c50d56 [2022-09-27T09:16:18.115Z] Step 20/27 : COPY --from=builder /device-virtual-go/LICENSE / [2022-09-27T09:16:18.115Z] ---> 2ca577cb1425 [2022-09-27T09:16:18.115Z] Step 21/27 : COPY --from=builder /device-virtual-go/cmd / [2022-09-27T09:16:18.115Z] ---> 1b7568e89eb1 [2022-09-27T09:16:18.115Z] Step 22/27 : EXPOSE 59900 [2022-09-27T09:16:18.115Z] ---> Running in 91ed79788ddc [2022-09-27T09:16:18.115Z] Removing intermediate container 91ed79788ddc [2022-09-27T09:16:18.115Z] ---> 1bc7193a7638 [2022-09-27T09:16:18.115Z] Step 23/27 : ENTRYPOINT ["/device-virtual"] [2022-09-27T09:16:18.115Z] ---> Running in 3dbad921f8f0 [2022-09-27T09:16:18.115Z] Removing intermediate container 3dbad921f8f0 [2022-09-27T09:16:18.115Z] ---> 115597757dd4 [2022-09-27T09:16:18.115Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-27T09:16:18.115Z] ---> Running in f60cba328a4f [2022-09-27T09:16:18.115Z] Removing intermediate container f60cba328a4f [2022-09-27T09:16:18.115Z] ---> 1570e48b7634 [2022-09-27T09:16:18.115Z] Step 25/27 : LABEL arch=arm64 [2022-09-27T09:16:18.115Z] ---> Running in 65cf777cff69 [2022-09-27T09:16:18.115Z] Removing intermediate container 65cf777cff69 [2022-09-27T09:16:18.115Z] ---> c08be40b6e27 [2022-09-27T09:16:18.115Z] Step 26/27 : LABEL git_sha=0b45d56e7b64418fa3ac13a0c8ad83cc9f4cc964 [2022-09-27T09:16:18.115Z] ---> Running in 2fd27474bdfc [2022-09-27T09:16:18.115Z] Removing intermediate container 2fd27474bdfc [2022-09-27T09:16:18.115Z] ---> 987f87268026 [2022-09-27T09:16:18.115Z] Step 27/27 : LABEL version=0.0.0 [2022-09-27T09:16:18.115Z] ---> Running in 1496396911d5 [2022-09-27T09:16:18.383Z] Removing intermediate container 1496396911d5 [2022-09-27T09:16:18.383Z] ---> 5eb6a3af1f62 [2022-09-27T09:16:18.383Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-27T09:16:18.383Z] Successfully built 5eb6a3af1f62 [2022-09-27T09:16:18.383Z] Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T09:16:19.202Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-27T09:16:19.202Z] [2022-09-27T09:16:19.202Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T09:16:19.607Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-27T09:16:19.608Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-27T09:16:19.608Z] 8998bd30e6a1: Pulling fs layer [2022-09-27T09:16:19.608Z] 04944245beec: Pulling fs layer [2022-09-27T09:16:19.608Z] 699f458cf7ca: Pulling fs layer [2022-09-27T09:16:19.608Z] 765212b225bb: Pulling fs layer [2022-09-27T09:16:19.608Z] f23df028b6ca: Pulling fs layer [2022-09-27T09:16:19.608Z] d65c8cfc05b1: Pulling fs layer [2022-09-27T09:16:19.608Z] 2437ff75d9bd: Pulling fs layer [2022-09-27T09:16:19.608Z] 765212b225bb: Waiting [2022-09-27T09:16:19.608Z] f23df028b6ca: Waiting [2022-09-27T09:16:19.608Z] d65c8cfc05b1: Waiting [2022-09-27T09:16:19.608Z] 2437ff75d9bd: Waiting [2022-09-27T09:16:19.885Z] 04944245beec: Verifying Checksum [2022-09-27T09:16:19.885Z] 04944245beec: Download complete [2022-09-27T09:16:19.885Z] 765212b225bb: Verifying Checksum [2022-09-27T09:16:19.885Z] 765212b225bb: Download complete [2022-09-27T09:16:19.885Z] f23df028b6ca: Verifying Checksum [2022-09-27T09:16:19.885Z] f23df028b6ca: Download complete [2022-09-27T09:16:19.885Z] d65c8cfc05b1: Verifying Checksum [2022-09-27T09:16:19.885Z] d65c8cfc05b1: Download complete [2022-09-27T09:16:19.885Z] 699f458cf7ca: Verifying Checksum [2022-09-27T09:16:19.885Z] 699f458cf7ca: Download complete [2022-09-27T09:16:20.474Z] 8998bd30e6a1: Verifying Checksum [2022-09-27T09:16:20.474Z] 8998bd30e6a1: Download complete [2022-09-27T09:16:23.054Z] 2437ff75d9bd: Verifying Checksum [2022-09-27T09:16:23.054Z] 2437ff75d9bd: Download complete [2022-09-27T09:16:24.466Z] 8998bd30e6a1: Pull complete [2022-09-27T09:16:24.732Z] 04944245beec: Pull complete [2022-09-27T09:16:26.140Z] 699f458cf7ca: Pull complete [2022-09-27T09:16:26.140Z] 765212b225bb: Pull complete [2022-09-27T09:16:27.100Z] f23df028b6ca: Pull complete [2022-09-27T09:16:27.100Z] d65c8cfc05b1: Pull complete [2022-09-27T09:16:42.076Z] 2437ff75d9bd: Pull complete [2022-09-27T09:16:42.076Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-27T09:16:42.076Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-27T09:16:42.076Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T09:16:42.390Z] prd-ubuntu20.04-docker-arm64-4c-16g-1331 does not seem to be running inside a container [2022-09-27T09:16:42.461Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-09-27T09:16:45.013Z] $ docker top a8d58b1d5f247e086a644b0a4956a911681ce44533f04371a23926dd61b61ad3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-27T09:16:45.904Z] ---> job-cost.sh [2022-09-27T09:16:45.904Z] lf-activate-venv: SKIPPING [2022-09-27T09:16:45.904Z] INFO: No Stack... [2022-09-27T09:16:46.487Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-27T09:16:47.442Z] INFO: Archiving Costs [Pipeline] sh [2022-09-27T09:16:47.782Z] + + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2022-09-27T09:16:47.782Z] cut -d, -f6 [Pipeline] lock [2022-09-27T09:16:47.858Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-308-1-stack-cost] [2022-09-27T09:16:47.864Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-308-1-stack-cost] did not exist. Created. [2022-09-27T09:16:47.864Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-308-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-27T09:16:48.277Z] /w/workspace/device-virtual-go/1@tmp/durable-8a16a40f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-27T09:16:48.622Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-27T09:16:48.916Z] Warning: overwriting stash ‘stack-cost’ [2022-09-27T09:16:48.952Z] Stashed 1 file(s) [Pipeline] } [2022-09-27T09:16:48.973Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-308-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-27T09:16:49.056Z] $ docker stop --time=1 a8d58b1d5f247e086a644b0a4956a911681ce44533f04371a23926dd61b61ad3 [2022-09-27T09:16:50.501Z] $ docker rm -f a8d58b1d5f247e086a644b0a4956a911681ce44533f04371a23926dd61b61ad3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-09-27T09:16:51.433Z] provisioning config files... [2022-09-27T09:16:51.441Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-308@tmp/config12610856939617417496tmp [Pipeline] { [Pipeline] sh [2022-09-27T09:16:51.762Z] + set +x [2022-09-27T09:16:51.762Z] + curl -s https://codecov.io/bash [2022-09-27T09:16:51.762Z] + bash -s -- [2022-09-27T09:16:51.762Z] [2022-09-27T09:16:51.762Z] _____ _ [2022-09-27T09:16:51.762Z] / ____| | | [2022-09-27T09:16:51.762Z] | | ___ __| | ___ ___ _____ __ [2022-09-27T09:16:51.762Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-09-27T09:16:51.762Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-09-27T09:16:51.762Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-09-27T09:16:51.762Z] Bash-1.0.6 [2022-09-27T09:16:51.762Z] [2022-09-27T09:16:51.762Z] [2022-09-27T09:16:51.762Z] ==> git version 2.25.1 found [2022-09-27T09:16:51.762Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-09-27T09:16:51.762Z] Release-Date: 2020-01-08 [2022-09-27T09:16:51.762Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-09-27T09:16:51.762Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-09-27T09:16:51.762Z] ==> Jenkins CI detected. [2022-09-27T09:16:51.762Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-308 [2022-09-27T09:16:51.762Z] project root: . [2022-09-27T09:16:51.762Z] --> token set from env [2022-09-27T09:16:51.762Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-09-27T09:16:51.762Z] ==> Running gcov in . (disable via -X gcov) [2022-09-27T09:16:51.762Z] ==> Python coveragepy not found [2022-09-27T09:16:51.762Z] ==> Searching for coverage reports in: [2022-09-27T09:16:51.762Z] + . [2022-09-27T09:16:51.762Z] -> Found 1 reports [2022-09-27T09:16:51.762Z] ==> Detecting git/mercurial file structure [2022-09-27T09:16:51.762Z] ==> Reading reports [2022-09-27T09:16:51.762Z] + ./coverage.out bytes=44128 [2022-09-27T09:16:51.762Z] ==> Appending adjustments [2022-09-27T09:16:51.762Z] https://docs.codecov.io/docs/fixing-reports [2022-09-27T09:16:52.021Z] + Found adjustments [2022-09-27T09:16:52.021Z] ==> Gzipping contents [2022-09-27T09:16:52.021Z] 8.0K /tmp/codecov.Y6VjeZ.gz [2022-09-27T09:16:52.021Z] ==> Uploading reports [2022-09-27T09:16:52.021Z] url: https://codecov.io [2022-09-27T09:16:52.021Z] query: branch=PR-308&commit=0b45d56e7b64418fa3ac13a0c8ad83cc9f4cc964&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-308%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=308&job=&cmd_args= [2022-09-27T09:16:52.021Z] -> Pinging Codecov [2022-09-27T09:16:52.021Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-308&commit=0b45d56e7b64418fa3ac13a0c8ad83cc9f4cc964&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-308%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=308&job=&cmd_args= [2022-09-27T09:16:52.279Z] -> Uploading to [2022-09-27T09:16:52.279Z] https://storage.googleapis.com/codecov/v4/raw/2022-09-27/5E52B4B073DB2E39498172D8E973AA87/0b45d56e7b64418fa3ac13a0c8ad83cc9f4cc964/ff1529bc-fad2-4dbf-be3a-496f3d2232f5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220927%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220927T091652Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e33e36f012cf612b81d4ad1a6f20fdc13e6f85bd3ddecfe41fba70a51b22e17b [2022-09-27T09:16:52.279Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-27T09:16:52.279Z] Dload Upload Total Spent Left Speed [2022-09-27T09:16:52.539Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5485 0 0 100 5485 0 20855 --:--:-- --:--:-- --:--:-- 20855 [2022-09-27T09:16:52.539Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/0b45d56e7b64418fa3ac13a0c8ad83cc9f4cc964 [Pipeline] } [2022-09-27T09:16:52.567Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-09-27T09:16:54.232Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-308/archives ] [2022-09-27T09:16:54.232Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-308/archives [2022-09-27T09:16:54.233Z] total 16 [2022-09-27T09:16:54.233Z] drwxr-xr-x 3 root root 4096 Sep 27 09:09 . [2022-09-27T09:16:54.233Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 27 09:09 .. [2022-09-27T09:16:54.233Z] drwxr-xr-x 2 root root 4096 Sep 27 09:09 cost [2022-09-27T09:16:54.233Z] -rw-r--r-- 1 root root 89 Sep 27 09:09 cost.csv [2022-09-27T09:16:54.233Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-308/archives [2022-09-27T09:16:54.233Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-308/archives [2022-09-27T09:16:54.233Z] total 16 [2022-09-27T09:16:54.233Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 09:09 . [2022-09-27T09:16:54.233Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 27 09:09 .. [2022-09-27T09:16:54.233Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 27 09:09 cost [2022-09-27T09:16:54.233Z] -rw-r--r-- 1 jenkins jenkins 89 Sep 27 09:09 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-27T09:16:54.558Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-27T09:16:55.453Z] ---> package-listing.sh [2022-09-27T09:16:55.453Z] ++ facter osfamily [2022-09-27T09:16:55.453Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-27T09:16:55.713Z] + OS_FAMILY=debian [2022-09-27T09:16:55.713Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-308 [2022-09-27T09:16:55.713Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-27T09:16:55.713Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-27T09:16:55.713Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-27T09:16:55.713Z] + PACKAGES=/tmp/packages_start.txt [2022-09-27T09:16:55.713Z] + '[' /w/workspace/foundry_device-virtual-go_PR-308 ']' [2022-09-27T09:16:55.713Z] + PACKAGES=/tmp/packages_end.txt [2022-09-27T09:16:55.713Z] + case "${OS_FAMILY}" in [2022-09-27T09:16:55.713Z] + dpkg -l [2022-09-27T09:16:55.713Z] + grep '^ii' [2022-09-27T09:16:55.713Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-27T09:16:55.713Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-27T09:16:55.713Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-27T09:16:55.713Z] + '[' /w/workspace/foundry_device-virtual-go_PR-308 ']' [2022-09-27T09:16:55.713Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-308/archives/ [2022-09-27T09:16:55.713Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-308/archives/ [Pipeline] echo [2022-09-27T09:16:55.742Z] 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-308/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-09-27T09:16:56.045Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T09:16:56.669Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-27T09:16:56.669Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T09:16:56.798Z] prd-ubuntu20.04-docker-8c-8g-1330 does not seem to be running inside a container [2022-09-27T09:16:56.837Z] $ 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-308/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-308 -v /w/workspace/foundry_device-virtual-go_PR-308:/w/workspace/foundry_device-virtual-go_PR-308:rw,z -v /w/workspace/foundry_device-virtual-go_PR-308@tmp:/w/workspace/foundry_device-virtual-go_PR-308@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-27T09:16:57.146Z] $ docker top 40729df56b3263d2636c6c8dcb07078973f4f771a30ea65be706ee5244532cc5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-27T09:16:57.539Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-27T09:16:57.850Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-27T09:16:58.157Z] + ls /var/log/sa-host [2022-09-27T09:16:58.157Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-27T09:16:58.375Z] provisioning config files... [2022-09-27T09:16:58.384Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-308@tmp/config16158406503235987547tmp [Pipeline] { [Pipeline] echo [2022-09-27T09:16:58.435Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-27T09:16:58.745Z] ---> create-netrc.sh [Pipeline] } [2022-09-27T09:16:58.772Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-27T09:16:59.169Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-27T09:16:59.201Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-27T09:16:59.506Z] ---> sudo-logs.sh [2022-09-27T09:16:59.506Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-27T09:16:59.586Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-27T09:16:59.895Z] ---> job-cost.sh [2022-09-27T09:16:59.895Z] lf-activate-venv: SKIPPING [2022-09-27T09:16:59.895Z] DEBUG: total: 0.2199999988079071 [2022-09-27T09:16:59.895Z] INFO: Retrieving Stack Cost... [2022-09-27T09:17:00.462Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-27T09:17:00.723Z] INFO: Archiving Costs [Pipeline] echo [2022-09-27T09:17:00.758Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-27T09:17:01.068Z] ---> logs-deploy.sh [2022-09-27T09:17:01.068Z] lf-activate-venv: SKIPPING [2022-09-27T09:17:01.068Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-308/1 [2022-09-27T09:17:01.068Z] INFO: archiving workspace using pattern(s): [2022-09-27T09:17:02.006Z] Archives upload complete. [2022-09-27T09:17:02.457Z] INFO: archiving logs to Nexus