Pull request #306 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e11f045f311ff971e5a274d2c890fd8a0545b719+e9e78a70a342ea66ab18edf5d69a1655646d3b52 (96dcd3596a9df377ae6596ee9dc543015a07d40a) 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-ssh3351620114525288864.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-ssh2936684863529957860.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-306/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-306/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12495916528135128037.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-306/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13658060581269569426.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-ssh10493730046315896386.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-306/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-306/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18122238171831253562.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 Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-1140 in /w/workspace/foundry_device-virtual-go_PR-306 [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-306 # 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/306/head:refs/remotes/origin/PR-306 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit e9e78a70a342ea66ab18edf5d69a1655646d3b52 into PR head commit e11f045f311ff971e5a274d2c890fd8a0545b719 Merge succeeded, producing e11f045f311ff971e5a274d2c890fd8a0545b719 Checking out Revision e11f045f311ff971e5a274d2c890fd8a0545b719 (PR-306) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" 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] { > git config core.sparsecheckout # timeout=10 > git checkout -f e11f045f311ff971e5a274d2c890fd8a0545b719 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge e9e78a70a342ea66ab18edf5d69a1655646d3b52 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e11f045f311ff971e5a274d2c890fd8a0545b719 # timeout=10 [Pipeline] timeout [2022-09-26T11:04:20.522Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-26T11:04:20.677Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-26T11:04:20.770Z] ========================================================= [2022-09-26T11:04:20.770Z] EdgeX Global Pipelines Version Info [2022-09-26T11:04:20.770Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-09-26T11:04:21.509Z] ------------------- [2022-09-26T11:04:21.509Z] stable info: [2022-09-26T11:04:21.509Z] ------------------- [2022-09-26T11:04:21.510Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-26T11:04:21.510Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-26T11:04:21.510Z] Message: update stable to v1.0.239 [2022-09-26T11:04:22.081Z] ------------------- [2022-09-26T11:04:22.081Z] experimental info: [2022-09-26T11:04:22.081Z] ------------------- [2022-09-26T11:04:22.081Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-26T11:04:22.082Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-26T11:04:22.082Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-26T11:04:22.361Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2022-09-26T11:04:22.405Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2022-09-26T11:04:22.448Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-26T11:04:22.489Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-26T11:04:22.528Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-26T11:04:22.568Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-26T11:04:22.602Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-26T11:04:22.638Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-09-26T11:04:22.672Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-26T11:04:22.706Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-26T11:04:22.740Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-26T11:04:22.777Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2022-09-26T11:04:22.816Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-26T11:04:22.854Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-26T11:04:22.893Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-26T11:04:22.933Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-09-26T11:04:22.977Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-26T11:04:23.017Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-26T11:04:23.056Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-26T11:04:23.097Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-26T11:04:23.133Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-09-26T11:04:23.173Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-09-26T11:04:23.208Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-26T11:04:23.246Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-26T11:04:23.286Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-26T11:04:23.328Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-26T11:04:23.366Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-26T11:04:23.411Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-306 [Pipeline] echo [2022-09-26T11:04:23.454Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-306 [Pipeline] echo [2022-09-26T11:04:23.494Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-306 [Pipeline] echo [2022-09-26T11:04:23.535Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e11f045f311ff971e5a274d2c890fd8a0545b719 [Pipeline] echo [2022-09-26T11:04:23.574Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e11f045 [Pipeline] echo [2022-09-26T11:04:23.615Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-26T11:04:23.725Z] provisioning config files... [2022-09-26T11:04:23.741Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-306@tmp/config17625946576233635323tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-26T11:04:24.103Z] ---> docker-login.sh [2022-09-26T11:04:24.103Z] nexus3.edgexfoundry.org:10001 [2022-09-26T11:04:24.364Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T11:04:24.627Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T11:04:24.627Z] Configure a credential helper to remove this warning. See [2022-09-26T11:04:24.627Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T11:04:24.627Z] [2022-09-26T11:04:24.627Z] Login Succeeded [2022-09-26T11:04:24.627Z] nexus3.edgexfoundry.org:10002 [2022-09-26T11:04:24.627Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T11:04:24.627Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T11:04:24.627Z] Configure a credential helper to remove this warning. See [2022-09-26T11:04:24.627Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T11:04:24.627Z] [2022-09-26T11:04:24.627Z] Login Succeeded [2022-09-26T11:04:24.627Z] nexus3.edgexfoundry.org:10003 [2022-09-26T11:04:24.627Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T11:04:24.888Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T11:04:24.888Z] Configure a credential helper to remove this warning. See [2022-09-26T11:04:24.888Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T11:04:24.888Z] [2022-09-26T11:04:24.888Z] Login Succeeded [2022-09-26T11:04:24.888Z] nexus3.edgexfoundry.org:10004 [2022-09-26T11:04:24.888Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T11:04:24.888Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T11:04:24.888Z] Configure a credential helper to remove this warning. See [2022-09-26T11:04:24.888Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T11:04:24.888Z] [2022-09-26T11:04:24.888Z] Login Succeeded [2022-09-26T11:04:24.888Z] docker.io [2022-09-26T11:04:24.888Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T11:04:25.460Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T11:04:25.460Z] Configure a credential helper to remove this warning. See [2022-09-26T11:04:25.460Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T11:04:25.460Z] [2022-09-26T11:04:25.460Z] Login Succeeded [2022-09-26T11:04:25.460Z] ---> docker-login.sh ends [Pipeline] } [2022-09-26T11:04:25.487Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-26T11:04:26.116Z] + git rev-list -1 --merges e11f045f311ff971e5a274d2c890fd8a0545b719~1..e11f045f311ff971e5a274d2c890fd8a0545b719 [Pipeline] echo [2022-09-26T11:04:26.164Z] -----------> git rev-list -1 --merges e11f045f311ff971e5a274d2c890fd8a0545b719~1..e11f045f311ff971e5a274d2c890fd8a0545b719 e11f045f311ff971e5a274d2c890fd8a0545b719 [false] [Pipeline] sh [2022-09-26T11:04:26.474Z] + git log --format=format:%s -1 e11f045f311ff971e5a274d2c890fd8a0545b719 [Pipeline] echo [2022-09-26T11:04:26.510Z] ========================================================= [2022-09-26T11:04:26.510Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-26T11:04:26.510Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-26T11:04:26.946Z] + git log --format=format:%s -1 e11f045f311ff971e5a274d2c890fd8a0545b719 [Pipeline] echo [2022-09-26T11:04:26.980Z] [semverPrep] GIT_COMMIT: e11f045f311ff971e5a274d2c890fd8a0545b719, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-09-26T11:04:27.010Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-26T11:04:27.399Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-26T11:04:27.399Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-26T11:04:27.399Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-26T11:04:27.399Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-26T11:04:27.399Z] + + sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-26T11:04:27.399Z] echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-26T11:04:27.399Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-26T11:04:27.831Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-26T11:04:27.831Z] [2022-09-26T11:04:27.831Z] 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-26T11:04:28.204Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-26T11:04:28.204Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-26T11:04:28.204Z] b85a868b505f: Pulling fs layer [2022-09-26T11:04:28.204Z] e2be974225ed: Pulling fs layer [2022-09-26T11:04:28.204Z] 339a4e72a1f5: Pulling fs layer [2022-09-26T11:04:28.204Z] 988bab9f4d93: Pulling fs layer [2022-09-26T11:04:28.204Z] 1469e6f7b9e6: Pulling fs layer [2022-09-26T11:04:28.204Z] eaf3925da568: Pulling fs layer [2022-09-26T11:04:28.204Z] bab4dde63d76: Pulling fs layer [2022-09-26T11:04:28.204Z] bde34c3a00c8: Pulling fs layer [2022-09-26T11:04:28.204Z] b352a97aabf1: Pulling fs layer [2022-09-26T11:04:28.204Z] 4872d77fe225: Pulling fs layer [2022-09-26T11:04:28.204Z] 5851b861e8e6: Pulling fs layer [2022-09-26T11:04:28.204Z] 988bab9f4d93: Waiting [2022-09-26T11:04:28.204Z] 1469e6f7b9e6: Waiting [2022-09-26T11:04:28.204Z] eaf3925da568: Waiting [2022-09-26T11:04:28.204Z] bab4dde63d76: Waiting [2022-09-26T11:04:28.204Z] bde34c3a00c8: Waiting [2022-09-26T11:04:28.204Z] b352a97aabf1: Waiting [2022-09-26T11:04:28.204Z] 4872d77fe225: Waiting [2022-09-26T11:04:28.204Z] 5851b861e8e6: Waiting [2022-09-26T11:04:28.204Z] e2be974225ed: Verifying Checksum [2022-09-26T11:04:28.204Z] e2be974225ed: Download complete [2022-09-26T11:04:28.204Z] 988bab9f4d93: Download complete [2022-09-26T11:04:28.466Z] 1469e6f7b9e6: Verifying Checksum [2022-09-26T11:04:28.466Z] 1469e6f7b9e6: Download complete [2022-09-26T11:04:28.466Z] 339a4e72a1f5: Verifying Checksum [2022-09-26T11:04:28.466Z] 339a4e72a1f5: Download complete [2022-09-26T11:04:28.466Z] eaf3925da568: Verifying Checksum [2022-09-26T11:04:28.466Z] eaf3925da568: Download complete [2022-09-26T11:04:28.466Z] bde34c3a00c8: Download complete [2022-09-26T11:04:28.466Z] b352a97aabf1: Download complete [2022-09-26T11:04:28.466Z] 4872d77fe225: Verifying Checksum [2022-09-26T11:04:28.466Z] 4872d77fe225: Download complete [2022-09-26T11:04:28.466Z] 5851b861e8e6: Verifying Checksum [2022-09-26T11:04:28.466Z] 5851b861e8e6: Download complete [2022-09-26T11:04:28.466Z] b85a868b505f: Verifying Checksum [2022-09-26T11:04:28.466Z] b85a868b505f: Download complete [2022-09-26T11:04:28.725Z] bab4dde63d76: Verifying Checksum [2022-09-26T11:04:28.725Z] bab4dde63d76: Download complete [2022-09-26T11:04:29.671Z] b85a868b505f: Pull complete [2022-09-26T11:04:29.931Z] e2be974225ed: Pull complete [2022-09-26T11:04:30.502Z] 339a4e72a1f5: Pull complete [2022-09-26T11:04:30.502Z] 988bab9f4d93: Pull complete [2022-09-26T11:04:30.762Z] 1469e6f7b9e6: Pull complete [2022-09-26T11:04:30.762Z] eaf3925da568: Pull complete [2022-09-26T11:04:32.670Z] bab4dde63d76: Pull complete [2022-09-26T11:04:32.670Z] bde34c3a00c8: Pull complete [2022-09-26T11:04:32.933Z] b352a97aabf1: Pull complete [2022-09-26T11:04:32.933Z] 4872d77fe225: Pull complete [2022-09-26T11:04:32.933Z] 5851b861e8e6: Pull complete [2022-09-26T11:04:32.933Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-26T11:04:32.933Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-26T11:04:32.933Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-26T11:04:33.173Z] prd-ubuntu20.04-docker-8c-8g-1140 does not seem to be running inside a container [2022-09-26T11:04:33.211Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-306 -v /w/workspace/foundry_device-virtual-go_PR-306:/w/workspace/foundry_device-virtual-go_PR-306:rw,z -v /w/workspace/foundry_device-virtual-go_PR-306@tmp:/w/workspace/foundry_device-virtual-go_PR-306@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-09-26T11:04:35.337Z] $ docker top 79eaf1646357dc7b4e6a5f035c0ce11679f3f203f243ad477a350cbabaeac7ef -eo pid,comm [2022-09-26T11:04:35.387Z] 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-26T11:04:35.387Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-26T11:04:35.523Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-26T11:04:35.523Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-26T11:04:35.640Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-26T11:04:35.649Z] $ docker exec 79eaf1646357dc7b4e6a5f035c0ce11679f3f203f243ad477a350cbabaeac7ef ssh-agent [2022-09-26T11:04:35.760Z] SSH_AUTH_SOCK=/tmp/ssh-tp6fDKgLoIdl/agent.32 [2022-09-26T11:04:35.760Z] SSH_AGENT_PID=38 [2022-09-26T11:04:35.766Z] Running ssh-add (command line suppressed) [2022-09-26T11:04:35.883Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-306@tmp/private_key_18382484245455762479.key (/w/workspace/foundry_device-virtual-go_PR-306@tmp/private_key_18382484245455762479.key) [2022-09-26T11:04:35.891Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-26T11:04:36.221Z] + git tag --points-at HEAD [Pipeline] } [2022-09-26T11:04:36.257Z] $ docker exec --env ******** --env ******** 79eaf1646357dc7b4e6a5f035c0ce11679f3f203f243ad477a350cbabaeac7ef ssh-agent -k [2022-09-26T11:04:36.357Z] unset SSH_AUTH_SOCK; [2022-09-26T11:04:36.358Z] unset SSH_AGENT_PID; [2022-09-26T11:04:36.358Z] echo Agent pid 38 killed; [2022-09-26T11:04:36.363Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-26T11:04:36.457Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-26T11:04:36.457Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-26T11:04:36.582Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-26T11:04:36.592Z] $ docker exec 79eaf1646357dc7b4e6a5f035c0ce11679f3f203f243ad477a350cbabaeac7ef ssh-agent [2022-09-26T11:04:36.698Z] SSH_AUTH_SOCK=/tmp/ssh-MPQDZDBnz0mK/agent.71 [2022-09-26T11:04:36.698Z] SSH_AGENT_PID=77 [2022-09-26T11:04:36.703Z] Running ssh-add (command line suppressed) [2022-09-26T11:04:36.819Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-306@tmp/private_key_4352334206507385235.key (/w/workspace/foundry_device-virtual-go_PR-306@tmp/private_key_4352334206507385235.key) [2022-09-26T11:04:36.826Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-26T11:04:37.152Z] + git semver init [2022-09-26T11:04:37.412Z] 2022-09-26 11:04:37,329 [run_init] DEBUG init version:0.0.0 force:False [2022-09-26T11:04:37.412Z] 2022-09-26 11:04:37,330 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-306/.semver [2022-09-26T11:04:37.412Z] 2022-09-26 11:04:37,331 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-306/.semver [2022-09-26T11:04:37.412Z] 2022-09-26 11:04:37,331 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-306/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-306, universal_newlines=False, shell=None, istream=None) [2022-09-26T11:04:38.794Z] 2022-09-26 11:04:38,496 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-306/.git/info/exclude [2022-09-26T11:04:38.794Z] 2022-09-26 11:04:38,497 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-306/.semver/PR-306 with force:False [2022-09-26T11:04:38.794Z] 2022-09-26 11:04:38,497 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-306/.semver/PR-306 [2022-09-26T11:04:38.794Z] 2022-09-26 11:04:38,502 [execute] INFO git cat-file --batch-check [2022-09-26T11:04:38.794Z] 2022-09-26 11:04:38,502 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-306/.semver, universal_newlines=False, shell=None, istream=) [2022-09-26T11:04:38.794Z] 2022-09-26 11:04:38,509 [execute] INFO git cat-file --batch [2022-09-26T11:04:38.794Z] 2022-09-26 11:04:38,509 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-306/.semver, universal_newlines=False, shell=None, istream=) [2022-09-26T11:04:38.794Z] 2022-09-26 11:04:38,514 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-306/.semver/PR-306 [2022-09-26T11:04:38.794Z] 0.0.0 [Pipeline] } [2022-09-26T11:04:38.830Z] $ docker exec --env ******** --env ******** 79eaf1646357dc7b4e6a5f035c0ce11679f3f203f243ad477a350cbabaeac7ef ssh-agent -k [2022-09-26T11:04:38.943Z] unset SSH_AUTH_SOCK; [2022-09-26T11:04:38.943Z] unset SSH_AGENT_PID; [2022-09-26T11:04:38.944Z] echo Agent pid 77 killed; [2022-09-26T11:04:38.946Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-26T11:04:39.377Z] + git semver [Pipeline] } [2022-09-26T11:04:39.667Z] $ docker stop --time=1 79eaf1646357dc7b4e6a5f035c0ce11679f3f203f243ad477a350cbabaeac7ef [2022-09-26T11:04:40.971Z] $ docker rm -f 79eaf1646357dc7b4e6a5f035c0ce11679f3f203f243ad477a350cbabaeac7ef [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-26T11:04:41.376Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-26T11:04:41.622Z] Stashed 1 file(s) [Pipeline] echo [2022-09-26T11:04:41.643Z] [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-26T11:04:42.237Z] provisioning config files... [2022-09-26T11:04:42.249Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-306@tmp/config4157730281619926584tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-26T11:04:42.594Z] ---> docker-login.sh [2022-09-26T11:04:42.595Z] nexus3.edgexfoundry.org:10001 [2022-09-26T11:04:42.595Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T11:04:42.595Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T11:04:42.595Z] Configure a credential helper to remove this warning. See [2022-09-26T11:04:42.595Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T11:04:42.595Z] [2022-09-26T11:04:42.595Z] Login Succeeded [2022-09-26T11:04:42.595Z] nexus3.edgexfoundry.org:10002 [2022-09-26T11:04:42.595Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T11:04:42.595Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T11:04:42.595Z] Configure a credential helper to remove this warning. See [2022-09-26T11:04:42.595Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T11:04:42.595Z] [2022-09-26T11:04:42.595Z] Login Succeeded [2022-09-26T11:04:42.595Z] nexus3.edgexfoundry.org:10003 [2022-09-26T11:04:42.855Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T11:04:42.855Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T11:04:42.855Z] Configure a credential helper to remove this warning. See [2022-09-26T11:04:42.855Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T11:04:42.855Z] [2022-09-26T11:04:42.855Z] Login Succeeded [2022-09-26T11:04:42.855Z] nexus3.edgexfoundry.org:10004 [2022-09-26T11:04:42.855Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T11:04:42.855Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T11:04:42.855Z] Configure a credential helper to remove this warning. See [2022-09-26T11:04:42.855Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T11:04:42.855Z] [2022-09-26T11:04:42.855Z] Login Succeeded [2022-09-26T11:04:42.855Z] docker.io [2022-09-26T11:04:43.116Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T11:04:43.375Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T11:04:43.375Z] Configure a credential helper to remove this warning. See [2022-09-26T11:04:43.375Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T11:04:43.375Z] [2022-09-26T11:04:43.375Z] Login Succeeded [2022-09-26T11:04:43.375Z] ---> docker-login.sh ends [Pipeline] } [2022-09-26T11:04:43.403Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-26T11:04:43.589Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-26T11:04:43.623Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-26T11:04:43.651Z] ========================================================= [2022-09-26T11:04:43.652Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-26T11:04:43.652Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-26T11:04:44.107Z] + 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-26T11:04:44.107Z] Sending build context to Docker daemon 23.14MB [2022-09-26T11:04:44.107Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-26T11:04:44.107Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-26T11:04:44.375Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-26T11:04:44.375Z] 2408cc74d12b: Pulling fs layer [2022-09-26T11:04:44.375Z] ea60b727a1ce: Pulling fs layer [2022-09-26T11:04:44.375Z] 30c4a7721957: Pulling fs layer [2022-09-26T11:04:44.375Z] 370296b7ddb6: Pulling fs layer [2022-09-26T11:04:44.375Z] 7c6cee850709: Pulling fs layer [2022-09-26T11:04:44.375Z] 39a5fcdaea64: Pulling fs layer [2022-09-26T11:04:44.375Z] d94ebbe4e438: Pulling fs layer [2022-09-26T11:04:44.375Z] bcfd1f05c69d: Pulling fs layer [2022-09-26T11:04:44.375Z] 59ccb84bbe0f: Pulling fs layer [2022-09-26T11:04:44.375Z] 370296b7ddb6: Waiting [2022-09-26T11:04:44.375Z] d94ebbe4e438: Waiting [2022-09-26T11:04:44.375Z] bcfd1f05c69d: Waiting [2022-09-26T11:04:44.375Z] 59ccb84bbe0f: Waiting [2022-09-26T11:04:44.375Z] 7c6cee850709: Waiting [2022-09-26T11:04:44.375Z] 39a5fcdaea64: Waiting [2022-09-26T11:04:44.375Z] 30c4a7721957: Verifying Checksum [2022-09-26T11:04:44.375Z] 30c4a7721957: Download complete [2022-09-26T11:04:44.375Z] ea60b727a1ce: Download complete [2022-09-26T11:04:44.375Z] 7c6cee850709: Verifying Checksum [2022-09-26T11:04:44.375Z] 7c6cee850709: Download complete [2022-09-26T11:04:44.375Z] 39a5fcdaea64: Verifying Checksum [2022-09-26T11:04:44.375Z] 39a5fcdaea64: Download complete [2022-09-26T11:04:44.375Z] 2408cc74d12b: Verifying Checksum [2022-09-26T11:04:44.375Z] 2408cc74d12b: Download complete [2022-09-26T11:04:44.375Z] d94ebbe4e438: Verifying Checksum [2022-09-26T11:04:44.375Z] d94ebbe4e438: Download complete [2022-09-26T11:04:44.375Z] 2408cc74d12b: Pull complete [2022-09-26T11:04:44.649Z] ea60b727a1ce: Pull complete [2022-09-26T11:04:44.649Z] 30c4a7721957: Pull complete [2022-09-26T11:04:45.241Z] bcfd1f05c69d: Verifying Checksum [2022-09-26T11:04:45.241Z] bcfd1f05c69d: Download complete [2022-09-26T11:04:45.241Z] 59ccb84bbe0f: Download complete [2022-09-26T11:04:45.241Z] 370296b7ddb6: Verifying Checksum [2022-09-26T11:04:45.241Z] 370296b7ddb6: Download complete [2022-09-26T11:04:49.445Z] 370296b7ddb6: Pull complete [2022-09-26T11:04:49.445Z] 7c6cee850709: Pull complete [2022-09-26T11:04:49.445Z] 39a5fcdaea64: Pull complete [2022-09-26T11:04:49.445Z] d94ebbe4e438: Pull complete [2022-09-26T11:04:51.343Z] bcfd1f05c69d: Pull complete [2022-09-26T11:04:52.277Z] 59ccb84bbe0f: Pull complete [2022-09-26T11:04:52.277Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-26T11:04:52.277Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-26T11:04:52.277Z] ---> a4fb48ad2a94 [2022-09-26T11:04:52.277Z] Step 3/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-26T11:04:55.570Z] ---> Running in 48e516467f03 [2022-09-26T11:04:55.570Z] Removing intermediate container 48e516467f03 [2022-09-26T11:04:55.570Z] ---> 3116604a7187 [2022-09-26T11:04:55.570Z] Step 4/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-26T11:04:55.570Z] ---> Running in 060085604ec4 [2022-09-26T11:04:55.570Z] Removing intermediate container 060085604ec4 [2022-09-26T11:04:55.570Z] ---> 464ffa54737d [2022-09-26T11:04:55.570Z] Step 5/13 : ARG ADD_BUILD_TAGS="" [2022-09-26T11:04:55.570Z] ---> Running in 6b2a729e04b9 [2022-09-26T11:04:55.570Z] Removing intermediate container 6b2a729e04b9 [2022-09-26T11:04:55.570Z] ---> 04a7a7df704f [2022-09-26T11:04:55.570Z] Step 6/13 : WORKDIR /device-virtual-go [2022-09-26T11:04:55.570Z] ---> Running in c0f83b13a3ad [2022-09-26T11:04:55.570Z] Removing intermediate container c0f83b13a3ad [2022-09-26T11:04:55.570Z] ---> be9ad772890c [2022-09-26T11:04:55.570Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-26T11:04:55.570Z] ---> Running in a553ca8a2ddf [2022-09-26T11:04:56.136Z] Removing intermediate container a553ca8a2ddf [2022-09-26T11:04:56.136Z] ---> 99afecbcee77 [2022-09-26T11:04:56.136Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-26T11:04:56.136Z] ---> Running in 1df996899a85 [2022-09-26T11:04:56.395Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-26T11:04:57.055Z] Still waiting to schedule task [2022-09-26T11:04:57.055Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-09-26T11:04:57.332Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-26T11:04:57.600Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-09-26T11:04:57.600Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-09-26T11:04:57.600Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-09-26T11:04:57.859Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-09-26T11:04:57.859Z] Executing busybox-1.35.0-r13.trigger [2022-09-26T11:04:57.859Z] OK: 216 MiB in 55 packages [2022-09-26T11:04:58.428Z] Removing intermediate container 1df996899a85 [2022-09-26T11:04:58.428Z] ---> b7b68db4781b [2022-09-26T11:04:58.428Z] Step 9/13 : COPY go.mod vendor* ./ [2022-09-26T11:04:58.428Z] ---> 140c8f512601 [2022-09-26T11:04:58.428Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-26T11:04:58.428Z] ---> Running in fd920da8d816 [2022-09-26T11:05:25.045Z] Removing intermediate container fd920da8d816 [2022-09-26T11:05:25.045Z] ---> 3a33cb710811 [2022-09-26T11:05:25.045Z] Step 11/13 : COPY . . [2022-09-26T11:05:25.045Z] ---> b7363b69590e [2022-09-26T11:05:25.045Z] Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-26T11:05:25.045Z] ---> Running in 41c7bebb2714 [2022-09-26T11:05:25.045Z] Removing intermediate container 41c7bebb2714 [2022-09-26T11:05:25.045Z] ---> 13bda59ab7bb [2022-09-26T11:05:25.045Z] Step 13/13 : RUN $MAKE [2022-09-26T11:05:25.045Z] ---> Running in dc8ba9ca6b9f [2022-09-26T11:05:25.045Z] noop [2022-09-26T11:05:25.045Z] Removing intermediate container dc8ba9ca6b9f [2022-09-26T11:05:25.045Z] ---> 6cd4bcf1708b [2022-09-26T11:05:25.045Z] Successfully built 6cd4bcf1708b [2022-09-26T11:05:25.045Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-26T11:05:25.508Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-26T11:05:25.508Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-26T11:05:25.655Z] prd-ubuntu20.04-docker-8c-8g-1140 does not seem to be running inside a container [2022-09-26T11:05:25.691Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-306 -v /w/workspace/foundry_device-virtual-go_PR-306:/w/workspace/foundry_device-virtual-go_PR-306:rw,z -v /w/workspace/foundry_device-virtual-go_PR-306@tmp:/w/workspace/foundry_device-virtual-go_PR-306@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 ******** ci-base-image-x86_64 cat [2022-09-26T11:05:26.039Z] $ docker top 5c26713a760e58b41dc1bb1b988ddc6d6604c317d88a5934a8251eb5c7418df6 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-26T11:05:26.439Z] + go version [2022-09-26T11:05:26.439Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-26T11:05:26.474Z] $ docker stop --time=1 5c26713a760e58b41dc1bb1b988ddc6d6604c317d88a5934a8251eb5c7418df6 [2022-09-26T11:05:27.731Z] $ docker rm -f 5c26713a760e58b41dc1bb1b988ddc6d6604c317d88a5934a8251eb5c7418df6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-26T11:05:28.463Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-26T11:05:28.463Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-26T11:05:28.622Z] prd-ubuntu20.04-docker-8c-8g-1140 does not seem to be running inside a container [2022-09-26T11:05:28.654Z] $ 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-306 -v /w/workspace/foundry_device-virtual-go_PR-306:/w/workspace/foundry_device-virtual-go_PR-306:rw,z -v /w/workspace/foundry_device-virtual-go_PR-306@tmp:/w/workspace/foundry_device-virtual-go_PR-306@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 ******** ci-base-image-x86_64 cat [2022-09-26T11:05:29.029Z] $ docker top 07f3815385c0a6fbeb9c48accd43783bc25fc8b8a8a540d0942cbfa4c7927d9b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-26T11:05:29.428Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-306 [Pipeline] fileExists [Pipeline] sh [2022-09-26T11:05:29.795Z] + make test [2022-09-26T11:05:29.795Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-09-26T11:05:30.055Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-09-26T11:05:40.036Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-09-26T11:05:40.607Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.039s coverage: 65.7% of statements [2022-09-26T11:05:48.719Z] 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-26T11:05:48.720Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-26T11:05:51.250Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-26T11:05:51.251Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-26T11:05:51.251Z] ./bin/test-attribution-txt.sh [2022-09-26T11:05:51.251Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-09-26T11:05:51.251Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-09-26T11:05:51.251Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-09-26T11:05:51.286Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-26T11:05:51.320Z] $ docker stop --time=1 07f3815385c0a6fbeb9c48accd43783bc25fc8b8a8a540d0942cbfa4c7927d9b [2022-09-26T11:05:53.577Z] $ docker rm -f 07f3815385c0a6fbeb9c48accd43783bc25fc8b8a8a540d0942cbfa4c7927d9b [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-26T11:05:54.085Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-26T11:05:54.149Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-09-26T11:05:54.785Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-26T11:05:55.100Z] + ls -al . [2022-09-26T11:05:55.100Z] total 196 [2022-09-26T11:05:55.100Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 26 11:05 . [2022-09-26T11:05:55.100Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 11:04 .. [2022-09-26T11:05:55.100Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 26 11:05 .git [2022-09-26T11:05:55.100Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 11:04 .github [2022-09-26T11:05:55.100Z] -rw-rw-r-- 1 jenkins jenkins 337 Sep 26 11:04 .gitignore [2022-09-26T11:05:55.100Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 26 11:04 .golangci.yml [2022-09-26T11:05:55.100Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 26 11:04 .semver [2022-09-26T11:05:55.100Z] -rw-rw-r-- 1 jenkins jenkins 8152 Sep 26 11:04 Attribution.txt [2022-09-26T11:05:55.100Z] -rw-rw-r-- 1 jenkins jenkins 9649 Sep 26 11:04 CHANGELOG.md [2022-09-26T11:05:55.100Z] -rw-rw-r-- 1 jenkins jenkins 2034 Sep 26 11:04 Dockerfile [2022-09-26T11:05:55.100Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 26 11:04 GOVERNANCE.md [2022-09-26T11:05:55.100Z] -rw-rw-r-- 1 jenkins jenkins 660 Sep 26 11:04 Jenkinsfile [2022-09-26T11:05:55.100Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 26 11:04 LICENSE [2022-09-26T11:05:55.100Z] -rw-rw-r-- 1 jenkins jenkins 2457 Sep 26 11:04 Makefile [2022-09-26T11:05:55.100Z] -rw-rw-r-- 1 jenkins jenkins 623 Sep 26 11:04 OWNERS.md [2022-09-26T11:05:55.100Z] -rw-rw-r-- 1 jenkins jenkins 3578 Sep 26 11:04 README.md [2022-09-26T11:05:55.100Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 26 11:04 VERSION [2022-09-26T11:05:55.100Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 26 11:04 bin [2022-09-26T11:05:55.100Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 11:04 cmd [2022-09-26T11:05:55.100Z] -rw-r--r-- 1 jenkins jenkins 44128 Sep 26 11:05 coverage.out [2022-09-26T11:05:55.100Z] -rw-rw-r-- 1 jenkins jenkins 3399 Sep 26 11:04 go.mod [2022-09-26T11:05:55.100Z] -rw-rw-r-- 1 jenkins jenkins 37521 Sep 26 11:04 go.sum [2022-09-26T11:05:55.100Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 11:04 internal [2022-09-26T11:05:55.100Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 11:04 snap [2022-09-26T11:05:55.100Z] -rw-rw-r-- 1 jenkins jenkins 235 Sep 26 11:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-26T11:05:55.488Z] + 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=e11f045f311ff971e5a274d2c890fd8a0545b719 --label arch=amd64 --label version=0.0.0 . [2022-09-26T11:05:55.488Z] Sending build context to Docker daemon 23.19MB [2022-09-26T11:05:55.488Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-09-26T11:05:55.488Z] Step 2/27 : FROM ${BASE} AS builder [2022-09-26T11:05:55.488Z] ---> 6cd4bcf1708b [2022-09-26T11:05:55.488Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-26T11:05:55.747Z] ---> Running in c7a1045e3935 [2022-09-26T11:05:55.747Z] Removing intermediate container c7a1045e3935 [2022-09-26T11:05:55.747Z] ---> 7621854b67c7 [2022-09-26T11:05:55.747Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2022-09-26T11:05:55.747Z] ---> Running in 0402ad84c109 [2022-09-26T11:05:56.060Z] Removing intermediate container 0402ad84c109 [2022-09-26T11:05:56.060Z] ---> b64598c4f31d [2022-09-26T11:05:56.060Z] Step 5/27 : ARG ADD_BUILD_TAGS="" [2022-09-26T11:05:56.060Z] ---> Running in 2eb6ea75c882 [2022-09-26T11:05:56.060Z] Removing intermediate container 2eb6ea75c882 [2022-09-26T11:05:56.060Z] ---> 3b0d6b3d135c [2022-09-26T11:05:56.060Z] Step 6/27 : WORKDIR /device-virtual-go [2022-09-26T11:05:56.060Z] ---> Running in 03bf214da1ee [2022-09-26T11:05:56.060Z] Removing intermediate container 03bf214da1ee [2022-09-26T11:05:56.060Z] ---> 519218f1af89 [2022-09-26T11:05:56.060Z] Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-26T11:05:56.060Z] ---> Running in 3faba9e8a957 [2022-09-26T11:05:56.677Z] Removing intermediate container 3faba9e8a957 [2022-09-26T11:05:56.677Z] ---> b7c35a3eeb80 [2022-09-26T11:05:56.677Z] Step 8/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-26T11:05:56.677Z] ---> Running in 408ddad4fe1d [2022-09-26T11:05:56.969Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-26T11:05:57.944Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-26T11:05:58.205Z] OK: 216 MiB in 55 packages [2022-09-26T11:05:58.464Z] Removing intermediate container 408ddad4fe1d [2022-09-26T11:05:58.464Z] ---> 62e69ae7f21a [2022-09-26T11:05:58.464Z] Step 9/27 : COPY go.mod vendor* ./ [2022-09-26T11:05:58.724Z] ---> 4f6365f68013 [2022-09-26T11:05:58.724Z] Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-26T11:05:58.724Z] ---> Running in 92e88d0cfbb4 [2022-09-26T11:05:59.293Z] Removing intermediate container 92e88d0cfbb4 [2022-09-26T11:05:59.293Z] ---> efdc7904e967 [2022-09-26T11:05:59.293Z] Step 11/27 : COPY . . [2022-09-26T11:05:59.861Z] ---> 96615887c4ca [2022-09-26T11:05:59.861Z] Step 12/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-26T11:05:59.861Z] ---> Running in 1508020d2ba4 [2022-09-26T11:06:00.121Z] Removing intermediate container 1508020d2ba4 [2022-09-26T11:06:00.121Z] ---> 17066c600e4a [2022-09-26T11:06:00.121Z] Step 13/27 : RUN $MAKE [2022-09-26T11:06:00.121Z] ---> Running in 482e8972de05 [2022-09-26T11:06:00.380Z] 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-26T11:06:22.313Z] Removing intermediate container 482e8972de05 [2022-09-26T11:06:22.313Z] ---> 268726fbb3b6 [2022-09-26T11:06:22.313Z] Step 14/27 : FROM alpine:3.16 [2022-09-26T11:06:22.313Z] 3.16: Pulling from library/alpine [2022-09-26T11:06:22.313Z] 213ec9aee27d: Pulling fs layer [2022-09-26T11:06:22.313Z] 213ec9aee27d: Verifying Checksum [2022-09-26T11:06:22.313Z] 213ec9aee27d: Download complete [2022-09-26T11:06:22.571Z] 213ec9aee27d: Pull complete [2022-09-26T11:06:22.571Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-26T11:06:22.571Z] Status: Downloaded newer image for alpine:3.16 [2022-09-26T11:06:22.571Z] ---> 9c6f07244728 [2022-09-26T11:06:22.571Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-09-26T11:06:22.571Z] ---> Running in f806642f14a3 [2022-09-26T11:06:22.571Z] Removing intermediate container f806642f14a3 [2022-09-26T11:06:22.571Z] ---> 3e2121593d62 [2022-09-26T11:06:22.571Z] Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-26T11:06:22.571Z] ---> Running in 6bcb35677cb5 [2022-09-26T11:06:23.139Z] Removing intermediate container 6bcb35677cb5 [2022-09-26T11:06:23.139Z] ---> 19ba50b4e7fe [2022-09-26T11:06:23.139Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-26T11:06:23.398Z] ---> Running in fc4f84c0984c [2022-09-26T11:06:23.657Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-26T11:06:24.226Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-26T11:06:24.797Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-26T11:06:24.797Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-26T11:06:24.797Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-26T11:06:25.056Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-26T11:06:25.056Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-26T11:06:25.056Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-26T11:06:25.333Z] Executing busybox-1.35.0-r17.trigger [2022-09-26T11:06:25.333Z] OK: 8 MiB in 20 packages [2022-09-26T11:06:25.593Z] Removing intermediate container fc4f84c0984c [2022-09-26T11:06:25.593Z] ---> f1cf5ecb8667 [2022-09-26T11:06:25.593Z] Step 18/27 : WORKDIR / [2022-09-26T11:06:25.593Z] ---> Running in eb70eee43892 [2022-09-26T11:06:25.852Z] Removing intermediate container eb70eee43892 [2022-09-26T11:06:25.852Z] ---> 72fcc1bc64f3 [2022-09-26T11:06:25.852Z] Step 19/27 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-09-26T11:06:25.852Z] ---> 764c0b1d2984 [2022-09-26T11:06:25.852Z] Step 20/27 : COPY --from=builder /device-virtual-go/LICENSE / [2022-09-26T11:06:26.110Z] ---> 213164425aaa [2022-09-26T11:06:26.110Z] Step 21/27 : COPY --from=builder /device-virtual-go/cmd / [2022-09-26T11:06:26.117Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1141 in /w/workspace/foundry_device-virtual-go_PR-306 [Pipeline] { [Pipeline] ws [2022-09-26T11:06:26.177Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2022-09-26T11:06:26.253Z] The recommended git tool is: git [2022-09-26T11:06:26.677Z] ---> 73c8c34d7982 [2022-09-26T11:06:26.677Z] Step 22/27 : EXPOSE 59900 [2022-09-26T11:06:26.677Z] ---> Running in d1bc5a1690d3 [2022-09-26T11:06:26.677Z] Removing intermediate container d1bc5a1690d3 [2022-09-26T11:06:26.677Z] ---> 8da728d98baf [2022-09-26T11:06:26.677Z] Step 23/27 : ENTRYPOINT ["/device-virtual"] [2022-09-26T11:06:26.677Z] ---> Running in c415d6137bc9 [2022-09-26T11:06:26.677Z] Removing intermediate container c415d6137bc9 [2022-09-26T11:06:26.677Z] ---> 85924c934734 [2022-09-26T11:06:26.677Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-26T11:06:26.677Z] ---> Running in de5f84e20749 [2022-09-26T11:06:26.936Z] Removing intermediate container de5f84e20749 [2022-09-26T11:06:26.936Z] ---> 045f9df598c0 [2022-09-26T11:06:26.936Z] Step 25/27 : LABEL arch=amd64 [2022-09-26T11:06:26.936Z] ---> Running in 8a47657ca48f [2022-09-26T11:06:26.936Z] Removing intermediate container 8a47657ca48f [2022-09-26T11:06:26.936Z] ---> 3a24faaa031c [2022-09-26T11:06:26.936Z] Step 26/27 : LABEL git_sha=e11f045f311ff971e5a274d2c890fd8a0545b719 [2022-09-26T11:06:26.936Z] ---> Running in 742f697bf971 [2022-09-26T11:06:26.936Z] Removing intermediate container 742f697bf971 [2022-09-26T11:06:26.936Z] ---> a750f1aed7f5 [2022-09-26T11:06:26.936Z] Step 27/27 : LABEL version=0.0.0 [2022-09-26T11:06:26.936Z] ---> Running in 07c778e693e0 [2022-09-26T11:06:27.195Z] Removing intermediate container 07c778e693e0 [2022-09-26T11:06:27.195Z] ---> ddf126260308 [2022-09-26T11:06:27.195Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-26T11:06:27.195Z] Successfully built ddf126260308 [2022-09-26T11:06:27.195Z] 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-26T11:06:28.049Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-26T11:06:28.049Z] [2022-09-26T11:06:28.049Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-26T11:06:28.427Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-26T11:06:28.427Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-26T11:06:28.427Z] 5eb5b503b376: Pulling fs layer [2022-09-26T11:06:28.427Z] 5c69ac0246d0: Pulling fs layer [2022-09-26T11:06:28.427Z] ec43610c2a17: Pulling fs layer [2022-09-26T11:06:28.427Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-26T11:06:28.428Z] 33b1e0a273af: Pulling fs layer [2022-09-26T11:06:28.428Z] 5d3b04190fa2: Pulling fs layer [2022-09-26T11:06:28.428Z] 2f39f015ded8: Pulling fs layer [2022-09-26T11:06:28.428Z] 3a2ae6a8a46f: Waiting [2022-09-26T11:06:28.428Z] 2f39f015ded8: Waiting [2022-09-26T11:06:28.428Z] 33b1e0a273af: Waiting [2022-09-26T11:06:28.428Z] 5d3b04190fa2: Waiting [2022-09-26T11:06:28.428Z] 5c69ac0246d0: Download complete [2022-09-26T11:06:28.428Z] 3a2ae6a8a46f: Verifying Checksum [2022-09-26T11:06:28.428Z] 3a2ae6a8a46f: Download complete [2022-09-26T11:06:28.428Z] 33b1e0a273af: Verifying Checksum [2022-09-26T11:06:28.428Z] 33b1e0a273af: Download complete [2022-09-26T11:06:28.689Z] 5d3b04190fa2: Verifying Checksum [2022-09-26T11:06:28.689Z] 5d3b04190fa2: Download complete [2022-09-26T11:06:28.689Z] ec43610c2a17: Verifying Checksum [2022-09-26T11:06:28.689Z] ec43610c2a17: Download complete [2022-09-26T11:06:28.689Z] 5eb5b503b376: Verifying Checksum [2022-09-26T11:06:28.689Z] 5eb5b503b376: Download complete [2022-09-26T11:06:29.262Z] 2f39f015ded8: Download complete [2022-09-26T11:06:29.829Z] 5eb5b503b376: Pull complete [2022-09-26T11:06:30.087Z] 5c69ac0246d0: Pull complete [2022-09-26T11:06:30.655Z] ec43610c2a17: Pull complete [2022-09-26T11:06:30.655Z] 3a2ae6a8a46f: Pull complete [2022-09-26T11:06:30.913Z] 33b1e0a273af: Pull complete [2022-09-26T11:06:30.913Z] 5d3b04190fa2: Pull complete [2022-09-26T11:06:31.183Z] using credential edgex-jenkins-ssh [2022-09-26T11:06:31.201Z] Cloning the remote Git repository [2022-09-26T11:06:31.237Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2022-09-26T11:06:31.314Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2022-09-26T11:06:31.447Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-09-26T11:06:31.448Z] > git --version # timeout=10 [2022-09-26T11:06:31.470Z] > git --version # 'git version 2.25.1' [2022-09-26T11:06:31.472Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-26T11:06:31.514Z] Verifying host key using known hosts file [2022-09-26T11:06:31.689Z] 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-26T11:06:31.701Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-26T11:06:33.753Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-09-26T11:06:33.777Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-26T11:06:34.592Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-09-26T11:06:34.635Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-09-26T11:06:34.636Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-26T11:06:34.641Z] Verifying host key using known hosts file [2022-09-26T11:06:34.648Z] 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-26T11:06:34.662Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/306/head:refs/remotes/origin/PR-306 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-09-26T11:06:35.102Z] 2f39f015ded8: Pull complete [2022-09-26T11:06:35.102Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-26T11:06:35.102Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-26T11:06:35.102Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [2022-09-26T11:06:35.242Z] Merging remotes/origin/main commit e9e78a70a342ea66ab18edf5d69a1655646d3b52 into PR head commit e11f045f311ff971e5a274d2c890fd8a0545b719 [Pipeline] withDockerContainer [2022-09-26T11:06:35.308Z] prd-ubuntu20.04-docker-8c-8g-1140 does not seem to be running inside a container [2022-09-26T11:06:35.343Z] $ 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-306 -v /w/workspace/foundry_device-virtual-go_PR-306:/w/workspace/foundry_device-virtual-go_PR-306:rw,z -v /w/workspace/foundry_device-virtual-go_PR-306@tmp:/w/workspace/foundry_device-virtual-go_PR-306@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-lftools-log-publisher:latest cat [2022-09-26T11:06:35.473Z] Merge succeeded, producing e11f045f311ff971e5a274d2c890fd8a0545b719 [2022-09-26T11:06:35.474Z] Checking out Revision e11f045f311ff971e5a274d2c890fd8a0545b719 (PR-306) [2022-09-26T11:06:35.939Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2022-09-26T11:06:35.979Z] > git --version # timeout=10 [2022-09-26T11:06:35.993Z] > git --version # 'git version 2.25.1' [2022-09-26T11:06:36.007Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-26T11:06:35.254Z] > git config core.sparsecheckout # timeout=10 [2022-09-26T11:06:35.274Z] > git checkout -f e11f045f311ff971e5a274d2c890fd8a0545b719 # timeout=10 [2022-09-26T11:06:35.365Z] > git remote # timeout=10 [2022-09-26T11:06:35.383Z] > git config --get remote.origin.url # timeout=10 [2022-09-26T11:06:35.403Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-26T11:06:35.409Z] Verifying host key using known hosts file [2022-09-26T11:06:35.413Z] 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-26T11:06:35.422Z] > git merge e9e78a70a342ea66ab18edf5d69a1655646d3b52 # timeout=10 [2022-09-26T11:06:35.449Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-09-26T11:06:35.476Z] > git config core.sparsecheckout # timeout=10 [2022-09-26T11:06:35.490Z] > git checkout -f e11f045f311ff971e5a274d2c890fd8a0545b719 # timeout=10 [2022-09-26T11:06:36.448Z] [2022-09-26T11:06:36.448Z] GitHub has been notified of this commit’s build result [2022-09-26T11:06:36.448Z] [2022-09-26T11:06:37.776Z] $ docker top ba64af8a7969aa3844e482b3a237380e4e2e2d565572ee0931ca1485b4636551 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-26T11:06:38.288Z] ---> job-cost.sh [2022-09-26T11:06:38.288Z] lf-activate-venv: SKIPPING [2022-09-26T11:06:38.288Z] INFO: No Stack... [2022-09-26T11:06:38.548Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-26T11:06:38.731Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-26T11:06:38.731Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-26T11:06:38.731Z] Dload Upload Total Spent Left Speed [2022-09-26T11:06:38.732Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 96198 0 --:--:-- --:--:-- --:--:-- 96198 [Pipeline] sh [2022-09-26T11:06:39.115Z] INFO: Archiving Costs [Pipeline] sh [2022-09-26T11:06:39.356Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-26T11:06:39.444Z] + cat /w/workspace/foundry_device-virtual-go_PR-306/archives/cost.csv [2022-09-26T11:06:39.445Z] + cut -d, -f6 [Pipeline] lock [2022-09-26T11:06:39.499Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-306-1-stack-cost] [2022-09-26T11:06:39.504Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-306-1-stack-cost] did not exist. Created. [2022-09-26T11:06:39.504Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-306-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-26T11:06:39.697Z] + sudo tee /etc/docker/daemon.new [2022-09-26T11:06:39.697Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-09-26T11:06:39.697Z] { [2022-09-26T11:06:39.697Z] "registry-mirrors": [ [2022-09-26T11:06:39.697Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-26T11:06:39.697Z] ], [2022-09-26T11:06:39.697Z] "bip": "10.250.0.254/24", [2022-09-26T11:06:39.697Z] "hosts": [ [2022-09-26T11:06:39.697Z] "tcp://0.0.0.0:5555", [2022-09-26T11:06:39.697Z] "unix:///var/run/docker.sock" [2022-09-26T11:06:39.697Z] ], [2022-09-26T11:06:39.697Z] "mtu": 1458, [2022-09-26T11:06:39.697Z] "selinux-enabled": true, [2022-09-26T11:06:39.697Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-26T11:06:39.697Z] } [Pipeline] sh [2022-09-26T11:06:39.902Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-26T11:06:39.952Z] Stashed 1 file(s) [Pipeline] } [2022-09-26T11:06:39.984Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-306-1-stack-cost] [2022-09-26T11:06:40.039Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] // lock [Pipeline] } [2022-09-26T11:06:40.088Z] $ docker stop --time=1 ba64af8a7969aa3844e482b3a237380e4e2e2d565572ee0931ca1485b4636551 [2022-09-26T11:06:41.241Z] $ docker rm -f ba64af8a7969aa3844e482b3a237380e4e2e2d565572ee0931ca1485b4636551 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-09-26T11:06:41.672Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-26T11:06:59.996Z] provisioning config files... [2022-09-26T11:07:00.019Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config8855817970107995938tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-26T11:07:00.404Z] ---> docker-login.sh [2022-09-26T11:07:00.404Z] nexus3.edgexfoundry.org:10001 [2022-09-26T11:07:00.675Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T11:07:00.944Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T11:07:00.944Z] Configure a credential helper to remove this warning. See [2022-09-26T11:07:00.944Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T11:07:00.944Z] [2022-09-26T11:07:00.944Z] Login Succeeded [2022-09-26T11:07:01.214Z] nexus3.edgexfoundry.org:10002 [2022-09-26T11:07:01.214Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T11:07:01.483Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T11:07:01.483Z] Configure a credential helper to remove this warning. See [2022-09-26T11:07:01.483Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T11:07:01.483Z] [2022-09-26T11:07:01.483Z] Login Succeeded [2022-09-26T11:07:01.483Z] nexus3.edgexfoundry.org:10003 [2022-09-26T11:07:01.754Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T11:07:01.754Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T11:07:01.754Z] Configure a credential helper to remove this warning. See [2022-09-26T11:07:01.754Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T11:07:01.754Z] [2022-09-26T11:07:01.754Z] Login Succeeded [2022-09-26T11:07:01.754Z] nexus3.edgexfoundry.org:10004 [2022-09-26T11:07:02.027Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T11:07:02.297Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T11:07:02.297Z] Configure a credential helper to remove this warning. See [2022-09-26T11:07:02.297Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T11:07:02.297Z] [2022-09-26T11:07:02.297Z] Login Succeeded [2022-09-26T11:07:02.297Z] docker.io [2022-09-26T11:07:02.297Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T11:07:02.881Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T11:07:02.881Z] Configure a credential helper to remove this warning. See [2022-09-26T11:07:02.881Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T11:07:02.881Z] [2022-09-26T11:07:02.881Z] Login Succeeded [2022-09-26T11:07:02.881Z] ---> docker-login.sh ends [Pipeline] } [2022-09-26T11:07:02.910Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-26T11:07:03.179Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-26T11:07:03.210Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-26T11:07:03.239Z] ========================================================= [2022-09-26T11:07:03.239Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-26T11:07:03.239Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-26T11:07:03.715Z] + 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-26T11:07:03.984Z] Sending build context to Docker daemon 11.71MB [2022-09-26T11:07:03.984Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-26T11:07:03.984Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-26T11:07:04.253Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-26T11:07:04.253Z] b3c136eddcbf: Pulling fs layer [2022-09-26T11:07:04.253Z] c0a3192eca97: Pulling fs layer [2022-09-26T11:07:04.253Z] a050256f5b6f: Pulling fs layer [2022-09-26T11:07:04.253Z] 656be50a0ddc: Pulling fs layer [2022-09-26T11:07:04.253Z] 2bbca73fdf42: Pulling fs layer [2022-09-26T11:07:04.253Z] 46d945488cbd: Pulling fs layer [2022-09-26T11:07:04.253Z] 8a5474983e97: Pulling fs layer [2022-09-26T11:07:04.253Z] 329c88fbcd65: Pulling fs layer [2022-09-26T11:07:04.253Z] 46d945488cbd: Waiting [2022-09-26T11:07:04.253Z] 8a5474983e97: Waiting [2022-09-26T11:07:04.253Z] 329c88fbcd65: Waiting [2022-09-26T11:07:04.253Z] 656be50a0ddc: Waiting [2022-09-26T11:07:04.253Z] 2bbca73fdf42: Waiting [2022-09-26T11:07:04.253Z] a050256f5b6f: Verifying Checksum [2022-09-26T11:07:04.253Z] a050256f5b6f: Download complete [2022-09-26T11:07:04.253Z] c0a3192eca97: Download complete [2022-09-26T11:07:04.253Z] 2bbca73fdf42: Verifying Checksum [2022-09-26T11:07:04.253Z] 2bbca73fdf42: Download complete [2022-09-26T11:07:04.253Z] 46d945488cbd: Verifying Checksum [2022-09-26T11:07:04.253Z] 46d945488cbd: Download complete [2022-09-26T11:07:04.253Z] b3c136eddcbf: Verifying Checksum [2022-09-26T11:07:04.253Z] b3c136eddcbf: Download complete [2022-09-26T11:07:05.245Z] b3c136eddcbf: Pull complete [2022-09-26T11:07:05.518Z] 329c88fbcd65: Verifying Checksum [2022-09-26T11:07:05.518Z] 329c88fbcd65: Download complete [2022-09-26T11:07:05.787Z] c0a3192eca97: Pull complete [2022-09-26T11:07:06.058Z] a050256f5b6f: Pull complete [2022-09-26T11:07:06.656Z] 8a5474983e97: Verifying Checksum [2022-09-26T11:07:06.656Z] 8a5474983e97: Download complete [2022-09-26T11:07:07.244Z] 656be50a0ddc: Download complete [2022-09-26T11:07:19.570Z] 656be50a0ddc: Pull complete [2022-09-26T11:07:19.570Z] 2bbca73fdf42: Pull complete [2022-09-26T11:07:19.570Z] 46d945488cbd: Pull complete [2022-09-26T11:07:26.310Z] 8a5474983e97: Pull complete [2022-09-26T11:07:27.316Z] 329c88fbcd65: Pull complete [2022-09-26T11:07:27.316Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-26T11:07:27.316Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-26T11:07:27.590Z] ---> ff4287adb874 [2022-09-26T11:07:27.590Z] Step 3/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-26T11:07:29.004Z] ---> Running in 030c7ff67688 [2022-09-26T11:07:29.273Z] Removing intermediate container 030c7ff67688 [2022-09-26T11:07:29.273Z] ---> 4f9688f50edc [2022-09-26T11:07:29.273Z] Step 4/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-26T11:07:29.540Z] ---> Running in 82ef93fba80d [2022-09-26T11:07:29.809Z] Removing intermediate container 82ef93fba80d [2022-09-26T11:07:29.809Z] ---> e2dc0fcbe97b [2022-09-26T11:07:29.809Z] Step 5/13 : ARG ADD_BUILD_TAGS="" [2022-09-26T11:07:29.809Z] ---> Running in 451999c8b0b6 [2022-09-26T11:07:30.083Z] Removing intermediate container 451999c8b0b6 [2022-09-26T11:07:30.083Z] ---> 7db894c5b391 [2022-09-26T11:07:30.083Z] Step 6/13 : WORKDIR /device-virtual-go [2022-09-26T11:07:30.083Z] ---> Running in db330e98c4c7 [2022-09-26T11:07:30.667Z] Removing intermediate container db330e98c4c7 [2022-09-26T11:07:30.667Z] ---> b636c7109b46 [2022-09-26T11:07:30.667Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-26T11:07:30.667Z] ---> Running in 739a0696dd81 [2022-09-26T11:07:32.750Z] Removing intermediate container 739a0696dd81 [2022-09-26T11:07:32.750Z] ---> 0a64af1ddbcd [2022-09-26T11:07:32.750Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-26T11:07:32.750Z] ---> Running in d9aa03a9bd70 [2022-09-26T11:07:33.713Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-26T11:07:34.300Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-26T11:07:35.262Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-09-26T11:07:35.262Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-09-26T11:07:35.262Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-09-26T11:07:35.529Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-09-26T11:07:35.796Z] Executing busybox-1.35.0-r13.trigger [2022-09-26T11:07:35.796Z] OK: 226 MiB in 55 packages [2022-09-26T11:07:36.754Z] Removing intermediate container d9aa03a9bd70 [2022-09-26T11:07:36.754Z] ---> 532d322846aa [2022-09-26T11:07:36.754Z] Step 9/13 : COPY go.mod vendor* ./ [2022-09-26T11:07:37.022Z] ---> 29b7fc6fd896 [2022-09-26T11:07:37.022Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-26T11:07:37.304Z] ---> Running in 2780182324c1 [2022-09-26T11:08:24.144Z] Removing intermediate container 2780182324c1 [2022-09-26T11:08:24.144Z] ---> 5653209fb495 [2022-09-26T11:08:24.144Z] Step 11/13 : COPY . . [2022-09-26T11:08:24.144Z] ---> 6c061d6eeffe [2022-09-26T11:08:24.144Z] Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-26T11:08:24.144Z] ---> Running in 3545d7a2e56d [2022-09-26T11:08:24.144Z] Removing intermediate container 3545d7a2e56d [2022-09-26T11:08:24.144Z] ---> 2bf5ed9b7465 [2022-09-26T11:08:24.144Z] Step 13/13 : RUN $MAKE [2022-09-26T11:08:24.144Z] ---> Running in 70a12f10cb27 [2022-09-26T11:08:24.144Z] noop [2022-09-26T11:08:24.411Z] Removing intermediate container 70a12f10cb27 [2022-09-26T11:08:24.411Z] ---> 589417b63897 [2022-09-26T11:08:24.411Z] Successfully built 589417b63897 [2022-09-26T11:08:24.411Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-26T11:08:24.882Z] + docker inspect -f . ci-base-image-arm64 [2022-09-26T11:08:24.882Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-26T11:08:25.136Z] prd-ubuntu20.04-docker-arm64-4c-16g-1141 does not seem to be running inside a container [2022-09-26T11:08:25.202Z] $ 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 ******** ci-base-image-arm64 cat [2022-09-26T11:08:26.334Z] $ docker top 66dba47b2757efad03dfd051adf59fa58a08bef638b37120ad47bc7ed9704d77 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-26T11:08:27.191Z] + go version [2022-09-26T11:08:27.191Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-26T11:08:27.232Z] $ docker stop --time=1 66dba47b2757efad03dfd051adf59fa58a08bef638b37120ad47bc7ed9704d77 [2022-09-26T11:08:28.801Z] $ docker rm -f 66dba47b2757efad03dfd051adf59fa58a08bef638b37120ad47bc7ed9704d77 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-26T11:08:29.712Z] + docker inspect -f . ci-base-image-arm64 [2022-09-26T11:08:29.712Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-26T11:08:29.994Z] prd-ubuntu20.04-docker-arm64-4c-16g-1141 does not seem to be running inside a container [2022-09-26T11:08:30.065Z] $ 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 ******** ci-base-image-arm64 cat [2022-09-26T11:08:31.204Z] $ docker top da1fb21dbab7561ff53ab9014d62a81b7dd7acb08c87080d670d75832f6f5df6 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-26T11:08:31.760Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh [2022-09-26T11:08:32.149Z] + make test [2022-09-26T11:08:32.424Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-09-26T11:08:33.859Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-09-26T11:09:55.513Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-09-26T11:09:55.513Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.137s coverage: 65.7% of statements [2022-09-26T11:09:55.513Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-26T11:09:55.513Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-26T11:10:13.733Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-26T11:10:13.733Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-26T11:10:13.733Z] ./bin/test-attribution-txt.sh [2022-09-26T11:10:13.733Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-09-26T11:10:13.733Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-09-26T11:10:13.733Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-09-26T11:10:13.780Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-26T11:10:13.818Z] $ docker stop --time=1 da1fb21dbab7561ff53ab9014d62a81b7dd7acb08c87080d670d75832f6f5df6 [2022-09-26T11:10:15.556Z] $ docker rm -f da1fb21dbab7561ff53ab9014d62a81b7dd7acb08c87080d670d75832f6f5df6 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-26T11:10:16.566Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-26T11:10:16.608Z] Warning: overwriting stash ‘coverage-report’ [2022-09-26T11:10:17.056Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-26T11:10:17.656Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-26T11:10:18.000Z] + ls -al . [2022-09-26T11:10:18.000Z] total 192 [2022-09-26T11:10:18.000Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 26 11:08 . [2022-09-26T11:10:18.000Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 11:06 .. [2022-09-26T11:10:18.000Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 26 11:06 .git [2022-09-26T11:10:18.000Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 11:06 .github [2022-09-26T11:10:18.000Z] -rw-rw-r-- 1 jenkins jenkins 337 Sep 26 11:06 .gitignore [2022-09-26T11:10:18.000Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 26 11:06 .golangci.yml [2022-09-26T11:10:18.000Z] -rw-rw-r-- 1 jenkins jenkins 8152 Sep 26 11:06 Attribution.txt [2022-09-26T11:10:18.000Z] -rw-rw-r-- 1 jenkins jenkins 9649 Sep 26 11:06 CHANGELOG.md [2022-09-26T11:10:18.000Z] -rw-rw-r-- 1 jenkins jenkins 2034 Sep 26 11:06 Dockerfile [2022-09-26T11:10:18.000Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 26 11:06 GOVERNANCE.md [2022-09-26T11:10:18.000Z] -rw-rw-r-- 1 jenkins jenkins 660 Sep 26 11:06 Jenkinsfile [2022-09-26T11:10:18.000Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 26 11:06 LICENSE [2022-09-26T11:10:18.000Z] -rw-rw-r-- 1 jenkins jenkins 2457 Sep 26 11:06 Makefile [2022-09-26T11:10:18.000Z] -rw-rw-r-- 1 jenkins jenkins 623 Sep 26 11:06 OWNERS.md [2022-09-26T11:10:18.000Z] -rw-rw-r-- 1 jenkins jenkins 3578 Sep 26 11:06 README.md [2022-09-26T11:10:18.000Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 26 11:04 VERSION [2022-09-26T11:10:18.000Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 26 11:06 bin [2022-09-26T11:10:18.000Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 11:06 cmd [2022-09-26T11:10:18.001Z] -rw-r--r-- 1 jenkins jenkins 44128 Sep 26 11:09 coverage.out [2022-09-26T11:10:18.001Z] -rw-rw-r-- 1 jenkins jenkins 3399 Sep 26 11:06 go.mod [2022-09-26T11:10:18.001Z] -rw-rw-r-- 1 jenkins jenkins 37521 Sep 26 11:06 go.sum [2022-09-26T11:10:18.001Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 11:06 internal [2022-09-26T11:10:18.001Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 11:06 snap [2022-09-26T11:10:18.001Z] -rw-rw-r-- 1 jenkins jenkins 235 Sep 26 11:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-26T11:10:18.419Z] + 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=e11f045f311ff971e5a274d2c890fd8a0545b719 --label arch=arm64 --label version=0.0.0 . [2022-09-26T11:10:18.702Z] Sending build context to Docker daemon 11.76MB [2022-09-26T11:10:18.702Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-09-26T11:10:18.702Z] Step 2/27 : FROM ${BASE} AS builder [2022-09-26T11:10:18.702Z] ---> 589417b63897 [2022-09-26T11:10:18.702Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-26T11:10:18.971Z] ---> Running in b2f58a732408 [2022-09-26T11:10:19.239Z] Removing intermediate container b2f58a732408 [2022-09-26T11:10:19.239Z] ---> 9cb92aa50c57 [2022-09-26T11:10:19.239Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2022-09-26T11:10:19.239Z] ---> Running in 31965add5e69 [2022-09-26T11:10:19.515Z] Removing intermediate container 31965add5e69 [2022-09-26T11:10:19.515Z] ---> 42ffdf624aed [2022-09-26T11:10:19.515Z] Step 5/27 : ARG ADD_BUILD_TAGS="" [2022-09-26T11:10:19.515Z] ---> Running in 3a3b90777b61 [2022-09-26T11:10:19.783Z] Removing intermediate container 3a3b90777b61 [2022-09-26T11:10:19.783Z] ---> bea2f5acd1b9 [2022-09-26T11:10:19.783Z] Step 6/27 : WORKDIR /device-virtual-go [2022-09-26T11:10:20.051Z] ---> Running in eeaba046b8e3 [2022-09-26T11:10:20.317Z] Removing intermediate container eeaba046b8e3 [2022-09-26T11:10:20.317Z] ---> bcbcabc98804 [2022-09-26T11:10:20.317Z] Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-26T11:10:20.317Z] ---> Running in d71bc9f53628 [2022-09-26T11:10:21.727Z] Removing intermediate container d71bc9f53628 [2022-09-26T11:10:21.727Z] ---> c0131d0e0c77 [2022-09-26T11:10:21.727Z] Step 8/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-26T11:10:21.727Z] ---> Running in b70358897baa [2022-09-26T11:10:22.681Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-26T11:10:23.637Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-26T11:10:24.595Z] OK: 226 MiB in 55 packages [2022-09-26T11:10:25.558Z] Removing intermediate container b70358897baa [2022-09-26T11:10:25.558Z] ---> 6dd909f9d845 [2022-09-26T11:10:25.558Z] Step 9/27 : COPY go.mod vendor* ./ [2022-09-26T11:10:25.825Z] ---> 2ae7e1b07df2 [2022-09-26T11:10:25.825Z] Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-26T11:10:25.825Z] ---> Running in 86d37d85f752 [2022-09-26T11:10:27.770Z] Removing intermediate container 86d37d85f752 [2022-09-26T11:10:27.770Z] ---> 280fe222c661 [2022-09-26T11:10:27.770Z] Step 11/27 : COPY . . [2022-09-26T11:10:29.181Z] ---> 7ff024f36ef3 [2022-09-26T11:10:29.181Z] Step 12/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-26T11:10:29.181Z] ---> Running in 542e6801c392 [2022-09-26T11:10:29.181Z] Removing intermediate container 542e6801c392 [2022-09-26T11:10:29.181Z] ---> 530448efa215 [2022-09-26T11:10:29.181Z] Step 13/27 : RUN $MAKE [2022-09-26T11:10:29.450Z] ---> Running in 1c26fd6713a3 [2022-09-26T11:10:30.418Z] 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-26T11:13:07.117Z] Removing intermediate container 1c26fd6713a3 [2022-09-26T11:13:07.117Z] ---> 4a596d922223 [2022-09-26T11:13:07.117Z] Step 14/27 : FROM alpine:3.16 [2022-09-26T11:13:07.117Z] 3.16: Pulling from library/alpine [2022-09-26T11:13:07.117Z] 9b18e9b68314: Pulling fs layer [2022-09-26T11:13:07.117Z] 9b18e9b68314: Verifying Checksum [2022-09-26T11:13:07.117Z] 9b18e9b68314: Download complete [2022-09-26T11:13:07.117Z] 9b18e9b68314: Pull complete [2022-09-26T11:13:07.117Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-26T11:13:07.117Z] Status: Downloaded newer image for alpine:3.16 [2022-09-26T11:13:07.117Z] ---> a6215f271958 [2022-09-26T11:13:07.117Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-09-26T11:13:07.117Z] ---> Running in 793b28702498 [2022-09-26T11:13:07.117Z] Removing intermediate container 793b28702498 [2022-09-26T11:13:07.117Z] ---> c75f1c11d96e [2022-09-26T11:13:07.117Z] Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-26T11:13:07.117Z] ---> Running in 9ccc4f86c497 [2022-09-26T11:13:07.117Z] Removing intermediate container 9ccc4f86c497 [2022-09-26T11:13:07.117Z] ---> f15e3bd98eb2 [2022-09-26T11:13:07.117Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-26T11:13:07.117Z] ---> Running in 43084ebb3b33 [2022-09-26T11:13:07.117Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-26T11:13:07.117Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-26T11:13:07.117Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-26T11:13:07.117Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-26T11:13:07.117Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-26T11:13:07.117Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-26T11:13:07.117Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-26T11:13:07.117Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-26T11:13:07.117Z] Executing busybox-1.35.0-r17.trigger [2022-09-26T11:13:07.117Z] OK: 8 MiB in 20 packages [2022-09-26T11:13:07.117Z] Removing intermediate container 43084ebb3b33 [2022-09-26T11:13:07.117Z] ---> 7e857f14c4f3 [2022-09-26T11:13:07.117Z] Step 18/27 : WORKDIR / [2022-09-26T11:13:07.117Z] ---> Running in d2dec8713ea4 [2022-09-26T11:13:07.117Z] Removing intermediate container d2dec8713ea4 [2022-09-26T11:13:07.117Z] ---> 5c25295ca3f6 [2022-09-26T11:13:07.117Z] Step 19/27 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-09-26T11:13:07.117Z] ---> 7053269a56e8 [2022-09-26T11:13:07.117Z] Step 20/27 : COPY --from=builder /device-virtual-go/LICENSE / [2022-09-26T11:13:07.117Z] ---> a1e082e66358 [2022-09-26T11:13:07.117Z] Step 21/27 : COPY --from=builder /device-virtual-go/cmd / [2022-09-26T11:13:07.117Z] ---> 67d042783f96 [2022-09-26T11:13:07.117Z] Step 22/27 : EXPOSE 59900 [2022-09-26T11:13:07.117Z] ---> Running in ade35a7c3470 [2022-09-26T11:13:07.117Z] Removing intermediate container ade35a7c3470 [2022-09-26T11:13:07.117Z] ---> 38c34a9e5429 [2022-09-26T11:13:07.117Z] Step 23/27 : ENTRYPOINT ["/device-virtual"] [2022-09-26T11:13:07.117Z] ---> Running in 8cf88d0ae6ce [2022-09-26T11:13:07.117Z] Removing intermediate container 8cf88d0ae6ce [2022-09-26T11:13:07.117Z] ---> 53efaca4ee69 [2022-09-26T11:13:07.117Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-26T11:13:07.117Z] ---> Running in 78157941d4ec [2022-09-26T11:13:07.117Z] Removing intermediate container 78157941d4ec [2022-09-26T11:13:07.117Z] ---> 05301c6e534d [2022-09-26T11:13:07.117Z] Step 25/27 : LABEL arch=arm64 [2022-09-26T11:13:07.117Z] ---> Running in 8e400a4934cd [2022-09-26T11:13:07.117Z] Removing intermediate container 8e400a4934cd [2022-09-26T11:13:07.117Z] ---> 844fb28d28ce [2022-09-26T11:13:07.117Z] Step 26/27 : LABEL git_sha=e11f045f311ff971e5a274d2c890fd8a0545b719 [2022-09-26T11:13:07.117Z] ---> Running in b15bd71a1f7b [2022-09-26T11:13:07.117Z] Removing intermediate container b15bd71a1f7b [2022-09-26T11:13:07.117Z] ---> 9bcafe187bc0 [2022-09-26T11:13:07.117Z] Step 27/27 : LABEL version=0.0.0 [2022-09-26T11:13:07.117Z] ---> Running in b34e8604ae48 [2022-09-26T11:13:07.382Z] Removing intermediate container b34e8604ae48 [2022-09-26T11:13:07.382Z] ---> 4e76c25ecd2d [2022-09-26T11:13:07.382Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-26T11:13:07.382Z] Successfully built 4e76c25ecd2d [2022-09-26T11:13:07.382Z] 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-26T11:13:08.185Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-26T11:13:08.185Z] [2022-09-26T11:13:08.185Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-26T11:13:08.584Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-26T11:13:08.584Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-26T11:13:08.584Z] 8998bd30e6a1: Pulling fs layer [2022-09-26T11:13:08.584Z] 04944245beec: Pulling fs layer [2022-09-26T11:13:08.584Z] 699f458cf7ca: Pulling fs layer [2022-09-26T11:13:08.584Z] 765212b225bb: Pulling fs layer [2022-09-26T11:13:08.584Z] f23df028b6ca: Pulling fs layer [2022-09-26T11:13:08.584Z] d65c8cfc05b1: Pulling fs layer [2022-09-26T11:13:08.584Z] 2437ff75d9bd: Pulling fs layer [2022-09-26T11:13:08.584Z] 2437ff75d9bd: Waiting [2022-09-26T11:13:08.584Z] f23df028b6ca: Waiting [2022-09-26T11:13:08.584Z] d65c8cfc05b1: Waiting [2022-09-26T11:13:08.584Z] 765212b225bb: Waiting [2022-09-26T11:13:08.851Z] 04944245beec: Verifying Checksum [2022-09-26T11:13:08.851Z] 04944245beec: Download complete [2022-09-26T11:13:08.851Z] 765212b225bb: Verifying Checksum [2022-09-26T11:13:08.851Z] 765212b225bb: Download complete [2022-09-26T11:13:08.851Z] f23df028b6ca: Verifying Checksum [2022-09-26T11:13:08.851Z] f23df028b6ca: Download complete [2022-09-26T11:13:08.851Z] d65c8cfc05b1: Verifying Checksum [2022-09-26T11:13:08.851Z] d65c8cfc05b1: Download complete [2022-09-26T11:13:08.851Z] 699f458cf7ca: Verifying Checksum [2022-09-26T11:13:08.851Z] 699f458cf7ca: Download complete [2022-09-26T11:13:09.434Z] 8998bd30e6a1: Download complete [2022-09-26T11:13:11.372Z] 2437ff75d9bd: Verifying Checksum [2022-09-26T11:13:11.372Z] 2437ff75d9bd: Download complete [2022-09-26T11:13:13.314Z] 8998bd30e6a1: Pull complete [2022-09-26T11:13:13.581Z] 04944245beec: Pull complete [2022-09-26T11:13:14.992Z] 699f458cf7ca: Pull complete [2022-09-26T11:13:14.992Z] 765212b225bb: Pull complete [2022-09-26T11:13:15.950Z] f23df028b6ca: Pull complete [2022-09-26T11:13:16.218Z] d65c8cfc05b1: Pull complete [2022-09-26T11:13:31.205Z] 2437ff75d9bd: Pull complete [2022-09-26T11:13:31.205Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-26T11:13:31.205Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-26T11:13:31.205Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-26T11:13:31.511Z] prd-ubuntu20.04-docker-arm64-4c-16g-1141 does not seem to be running inside a container [2022-09-26T11:13:31.588Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-09-26T11:13:34.086Z] $ docker top 4256bcd79578492b5d76c3e60639641ce7d056b54258a54beba06ed1593a69e4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-26T11:13:34.646Z] ---> job-cost.sh [2022-09-26T11:13:34.915Z] lf-activate-venv: SKIPPING [2022-09-26T11:13:34.915Z] INFO: No Stack... [2022-09-26T11:13:35.185Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-26T11:13:36.154Z] INFO: Archiving Costs [Pipeline] sh [2022-09-26T11:13:36.869Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2022-09-26T11:13:36.869Z] + cut -d, -f6 [Pipeline] lock [2022-09-26T11:13:36.954Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-306-1-stack-cost] [2022-09-26T11:13:36.959Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-306-1-stack-cost] did not exist. Created. [2022-09-26T11:13:36.959Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-306-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-26T11:13:37.359Z] /w/workspace/device-virtual-go/1@tmp/durable-5d1041f3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-26T11:13:37.701Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-26T11:13:37.736Z] Warning: overwriting stash ‘stack-cost’ [2022-09-26T11:13:37.776Z] Stashed 1 file(s) [Pipeline] } [2022-09-26T11:13:37.791Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-306-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-26T11:13:37.875Z] $ docker stop --time=1 4256bcd79578492b5d76c3e60639641ce7d056b54258a54beba06ed1593a69e4 [2022-09-26T11:13:39.318Z] $ docker rm -f 4256bcd79578492b5d76c3e60639641ce7d056b54258a54beba06ed1593a69e4 [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-26T11:13:40.206Z] provisioning config files... [2022-09-26T11:13:40.214Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-306@tmp/config16209161512622628703tmp [Pipeline] { [Pipeline] sh [2022-09-26T11:13:40.550Z] + set +x [2022-09-26T11:13:40.550Z] + curl -s https://codecov.io/bash [2022-09-26T11:13:40.550Z] + bash -s -- [2022-09-26T11:13:40.550Z] [2022-09-26T11:13:40.550Z] _____ _ [2022-09-26T11:13:40.550Z] / ____| | | [2022-09-26T11:13:40.550Z] | | ___ __| | ___ ___ _____ __ [2022-09-26T11:13:40.550Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-09-26T11:13:40.550Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-09-26T11:13:40.550Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-09-26T11:13:40.550Z] Bash-1.0.6 [2022-09-26T11:13:40.550Z] [2022-09-26T11:13:40.550Z] [2022-09-26T11:13:40.550Z] ==> git version 2.25.1 found [2022-09-26T11:13:40.550Z] ==> 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-26T11:13:40.550Z] Release-Date: 2020-01-08 [2022-09-26T11:13:40.550Z] 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-26T11:13:40.550Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-09-26T11:13:40.550Z] ==> Jenkins CI detected. [2022-09-26T11:13:40.550Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-306 [2022-09-26T11:13:40.550Z] project root: . [2022-09-26T11:13:40.550Z] --> token set from env [2022-09-26T11:13:40.550Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-09-26T11:13:40.550Z] ==> Running gcov in . (disable via -X gcov) [2022-09-26T11:13:40.550Z] ==> Python coveragepy not found [2022-09-26T11:13:40.550Z] ==> Searching for coverage reports in: [2022-09-26T11:13:40.550Z] + . [2022-09-26T11:13:40.550Z] -> Found 1 reports [2022-09-26T11:13:40.550Z] ==> Detecting git/mercurial file structure [2022-09-26T11:13:40.550Z] ==> Reading reports [2022-09-26T11:13:40.550Z] + ./coverage.out bytes=44128 [2022-09-26T11:13:40.550Z] ==> Appending adjustments [2022-09-26T11:13:40.550Z] https://docs.codecov.io/docs/fixing-reports [2022-09-26T11:13:40.809Z] + Found adjustments [2022-09-26T11:13:40.809Z] ==> Gzipping contents [2022-09-26T11:13:40.809Z] 8.0K /tmp/codecov.rkBnd8.gz [2022-09-26T11:13:40.809Z] ==> Uploading reports [2022-09-26T11:13:40.809Z] url: https://codecov.io [2022-09-26T11:13:40.809Z] query: branch=PR-306&commit=e11f045f311ff971e5a274d2c890fd8a0545b719&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-306%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=306&job=&cmd_args= [2022-09-26T11:13:40.809Z] -> Pinging Codecov [2022-09-26T11:13:40.809Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-306&commit=e11f045f311ff971e5a274d2c890fd8a0545b719&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-306%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=306&job=&cmd_args= [2022-09-26T11:13:42.196Z] -> Uploading to [2022-09-26T11:13:42.196Z] https://storage.googleapis.com/codecov/v4/raw/2022-09-26/5E52B4B073DB2E39498172D8E973AA87/e11f045f311ff971e5a274d2c890fd8a0545b719/7ecea3ca-9e43-4ce5-bf87-5b1f1278b213.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220926%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220926T111341Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d7f496d115fe540d2e94f4580eea61edab0a84f2c80167b2bbe785dfb32d7f1d [2022-09-26T11:13:42.196Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-26T11:13:42.196Z] Dload Upload Total Spent Left Speed [2022-09-26T11:13:42.196Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5501 0 0 100 5501 0 21076 --:--:-- --:--:-- --:--:-- 21076 [2022-09-26T11:13:42.196Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/e11f045f311ff971e5a274d2c890fd8a0545b719 [Pipeline] } [2022-09-26T11:13:42.223Z] 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-26T11:13:43.939Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-306/archives ] [2022-09-26T11:13:43.939Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-306/archives [2022-09-26T11:13:43.939Z] total 16 [2022-09-26T11:13:43.939Z] drwxr-xr-x 3 root root 4096 Sep 26 11:06 . [2022-09-26T11:13:43.939Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 26 11:06 .. [2022-09-26T11:13:43.939Z] drwxr-xr-x 2 root root 4096 Sep 26 11:06 cost [2022-09-26T11:13:43.939Z] -rw-r--r-- 1 root root 89 Sep 26 11:06 cost.csv [2022-09-26T11:13:43.939Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-306/archives [2022-09-26T11:13:43.939Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-306/archives [2022-09-26T11:13:43.939Z] total 16 [2022-09-26T11:13:43.939Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 26 11:06 . [2022-09-26T11:13:43.939Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 26 11:06 .. [2022-09-26T11:13:43.939Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 26 11:06 cost [2022-09-26T11:13:43.939Z] -rw-r--r-- 1 jenkins jenkins 89 Sep 26 11:06 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-26T11:13:44.266Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-26T11:13:45.157Z] ---> package-listing.sh [2022-09-26T11:13:45.157Z] ++ facter osfamily [2022-09-26T11:13:45.157Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-26T11:13:45.418Z] + OS_FAMILY=debian [2022-09-26T11:13:45.418Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-306 [2022-09-26T11:13:45.418Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-26T11:13:45.418Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-26T11:13:45.418Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-26T11:13:45.418Z] + PACKAGES=/tmp/packages_start.txt [2022-09-26T11:13:45.418Z] + '[' /w/workspace/foundry_device-virtual-go_PR-306 ']' [2022-09-26T11:13:45.418Z] + PACKAGES=/tmp/packages_end.txt [2022-09-26T11:13:45.418Z] + case "${OS_FAMILY}" in [2022-09-26T11:13:45.418Z] + dpkg -l [2022-09-26T11:13:45.418Z] + grep '^ii' [2022-09-26T11:13:45.418Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-26T11:13:45.418Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-26T11:13:45.418Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-26T11:13:45.418Z] + '[' /w/workspace/foundry_device-virtual-go_PR-306 ']' [2022-09-26T11:13:45.418Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-306/archives/ [2022-09-26T11:13:45.418Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-306/archives/ [Pipeline] echo [2022-09-26T11:13:45.455Z] 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-306/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-09-26T11:13:45.747Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-26T11:13:46.387Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-26T11:13:46.387Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-26T11:13:46.541Z] prd-ubuntu20.04-docker-8c-8g-1140 does not seem to be running inside a container [2022-09-26T11:13:46.575Z] $ 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-306/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-306 -v /w/workspace/foundry_device-virtual-go_PR-306:/w/workspace/foundry_device-virtual-go_PR-306:rw,z -v /w/workspace/foundry_device-virtual-go_PR-306@tmp:/w/workspace/foundry_device-virtual-go_PR-306@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-26T11:13:46.958Z] $ docker top bb36369b7f921cdbb45fc0969b25a46028c6f011697c35c916a3406cfde6c4af -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-26T11:13:47.350Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-26T11:13:47.664Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-26T11:13:47.968Z] + ls /var/log/sa-host [2022-09-26T11:13:47.968Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-26T11:13:48.188Z] provisioning config files... [2022-09-26T11:13:48.197Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-306@tmp/config14927698822015184519tmp [Pipeline] { [Pipeline] echo [2022-09-26T11:13:48.248Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-26T11:13:48.558Z] ---> create-netrc.sh [Pipeline] } [2022-09-26T11:13:48.586Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-26T11:13:48.980Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-26T11:13:49.011Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-26T11:13:49.313Z] ---> sudo-logs.sh [2022-09-26T11:13:49.313Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-26T11:13:49.408Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-26T11:13:49.714Z] ---> job-cost.sh [2022-09-26T11:13:49.714Z] lf-activate-venv: SKIPPING [2022-09-26T11:13:49.714Z] DEBUG: total: 0.2199999988079071 [2022-09-26T11:13:49.714Z] INFO: Retrieving Stack Cost... [2022-09-26T11:13:50.283Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-26T11:13:50.544Z] INFO: Archiving Costs [Pipeline] echo [2022-09-26T11:13:50.578Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-26T11:13:50.885Z] ---> logs-deploy.sh [2022-09-26T11:13:50.885Z] lf-activate-venv: SKIPPING [2022-09-26T11:13:50.885Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-306/1 [2022-09-26T11:13:50.885Z] INFO: archiving workspace using pattern(s): [2022-09-26T11:13:51.821Z] Archives upload complete. [2022-09-26T11:13:52.080Z] INFO: archiving logs to Nexus