Pull request #314 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 22d768529fbb3a99908fcf631ac5c84028b44c46+2ecf0fc734cc14a642189e470a894444964f864e (f511d08b69f19d446c06278f343bc38054c25673) 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-ssh15055379471464526592.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-ssh7992600436834095058.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-314/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-314/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3212288431182589599.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-314/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4974117995616055102.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-ssh12820707410608589989.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-314/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-314/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2020216397243664873.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-8299 in /w/workspace/foundry_device-virtual-go_PR-314 [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-314 # 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/314/head:refs/remotes/origin/PR-314 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 2ecf0fc734cc14a642189e470a894444964f864e into PR head commit 22d768529fbb3a99908fcf631ac5c84028b44c46 Merge succeeded, producing 22d768529fbb3a99908fcf631ac5c84028b44c46 Checking out Revision 22d768529fbb3a99908fcf631ac5c84028b44c46 (PR-314) 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] { > git config core.sparsecheckout # timeout=10 > git checkout -f 22d768529fbb3a99908fcf631ac5c84028b44c46 # 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 2ecf0fc734cc14a642189e470a894444964f864e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 22d768529fbb3a99908fcf631ac5c84028b44c46 # timeout=10 [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-17T11:06:51.052Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-17T11:06:51.213Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-17T11:06:51.296Z] ========================================================= [2022-10-17T11:06:51.296Z] EdgeX Global Pipelines Version Info [2022-10-17T11:06:51.296Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-17T11:06:52.048Z] ------------------- [2022-10-17T11:06:52.048Z] stable info: [2022-10-17T11:06:52.049Z] ------------------- [2022-10-17T11:06:52.049Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-17T11:06:52.049Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-17T11:06:52.049Z] Message: update stable to v1.0.239 [2022-10-17T11:06:52.620Z] ------------------- [2022-10-17T11:06:52.620Z] experimental info: [2022-10-17T11:06:52.620Z] ------------------- [2022-10-17T11:06:52.620Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-17T11:06:52.620Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-17T11:06:52.620Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-17T11:06:53.004Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2022-10-17T11:06:53.043Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2022-10-17T11:06:53.081Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-17T11:06:53.113Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-17T11:06:53.149Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-17T11:06:53.185Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-17T11:06:53.224Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-17T11:06:53.258Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-17T11:06:53.291Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-17T11:06:53.333Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-17T11:06:53.373Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-17T11:06:53.409Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2022-10-17T11:06:53.449Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-17T11:06:53.485Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-17T11:06:53.521Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-17T11:06:53.562Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-17T11:06:53.599Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-17T11:06:53.638Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-17T11:06:53.677Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-17T11:06:53.716Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-17T11:06:53.754Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-17T11:06:53.791Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-17T11:06:53.831Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-17T11:06:53.876Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-17T11:06:53.915Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-17T11:06:53.955Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-17T11:06:53.990Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-17T11:06:54.027Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-314 [Pipeline] echo [2022-10-17T11:06:54.067Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-314 [Pipeline] echo [2022-10-17T11:06:54.105Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-314 [Pipeline] echo [2022-10-17T11:06:54.142Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 22d768529fbb3a99908fcf631ac5c84028b44c46 [Pipeline] echo [2022-10-17T11:06:54.179Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 22d7685 [Pipeline] echo [2022-10-17T11:06:54.217Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-17T11:06:54.329Z] provisioning config files... [2022-10-17T11:06:54.344Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-314@tmp/config9298103598723373514tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-17T11:06:54.709Z] ---> docker-login.sh [2022-10-17T11:06:54.709Z] nexus3.edgexfoundry.org:10001 [2022-10-17T11:06:55.283Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T11:06:55.545Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T11:06:55.545Z] Configure a credential helper to remove this warning. See [2022-10-17T11:06:55.545Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T11:06:55.545Z] [2022-10-17T11:06:55.545Z] Login Succeeded [2022-10-17T11:06:55.545Z] nexus3.edgexfoundry.org:10002 [2022-10-17T11:06:55.804Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T11:06:55.804Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T11:06:55.804Z] Configure a credential helper to remove this warning. See [2022-10-17T11:06:55.804Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T11:06:55.804Z] [2022-10-17T11:06:55.804Z] Login Succeeded [2022-10-17T11:06:55.804Z] nexus3.edgexfoundry.org:10003 [2022-10-17T11:06:55.804Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T11:06:55.804Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T11:06:55.804Z] Configure a credential helper to remove this warning. See [2022-10-17T11:06:55.804Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T11:06:55.804Z] [2022-10-17T11:06:55.804Z] Login Succeeded [2022-10-17T11:06:55.804Z] nexus3.edgexfoundry.org:10004 [2022-10-17T11:06:56.064Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T11:06:56.064Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T11:06:56.064Z] Configure a credential helper to remove this warning. See [2022-10-17T11:06:56.064Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T11:06:56.064Z] [2022-10-17T11:06:56.064Z] Login Succeeded [2022-10-17T11:06:56.064Z] docker.io [2022-10-17T11:06:56.064Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T11:06:56.324Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T11:06:56.324Z] Configure a credential helper to remove this warning. See [2022-10-17T11:06:56.324Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T11:06:56.324Z] [2022-10-17T11:06:56.324Z] Login Succeeded [2022-10-17T11:06:56.324Z] ---> docker-login.sh ends [Pipeline] } [2022-10-17T11:06:56.351Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-17T11:06:56.957Z] + git rev-list -1 --merges 22d768529fbb3a99908fcf631ac5c84028b44c46~1..22d768529fbb3a99908fcf631ac5c84028b44c46 [Pipeline] echo [2022-10-17T11:06:57.004Z] -----------> git rev-list -1 --merges 22d768529fbb3a99908fcf631ac5c84028b44c46~1..22d768529fbb3a99908fcf631ac5c84028b44c46 22d768529fbb3a99908fcf631ac5c84028b44c46 [false] [Pipeline] sh [2022-10-17T11:06:57.313Z] + git log --format=format:%s -1 22d768529fbb3a99908fcf631ac5c84028b44c46 [Pipeline] echo [2022-10-17T11:06:57.346Z] ========================================================= [2022-10-17T11:06:57.346Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-17T11:06:57.346Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-17T11:06:57.770Z] + git log --format=format:%s -1 22d768529fbb3a99908fcf631ac5c84028b44c46 [Pipeline] echo [2022-10-17T11:06:57.801Z] [semverPrep] GIT_COMMIT: 22d768529fbb3a99908fcf631ac5c84028b44c46, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-10-17T11:06:57.830Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-17T11:06:58.223Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-17T11:06:58.223Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-17T11:06:58.223Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-17T11:06:58.223Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-17T11:06:58.223Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-17T11:06:58.223Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-17T11:06:58.223Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T11:06:58.702Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-17T11:06:58.702Z] [2022-10-17T11:06:58.702Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T11:06:59.077Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-17T11:06:59.077Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-17T11:06:59.077Z] b85a868b505f: Pulling fs layer [2022-10-17T11:06:59.077Z] e2be974225ed: Pulling fs layer [2022-10-17T11:06:59.077Z] 339a4e72a1f5: Pulling fs layer [2022-10-17T11:06:59.077Z] 988bab9f4d93: Pulling fs layer [2022-10-17T11:06:59.077Z] 1469e6f7b9e6: Pulling fs layer [2022-10-17T11:06:59.077Z] eaf3925da568: Pulling fs layer [2022-10-17T11:06:59.077Z] bab4dde63d76: Pulling fs layer [2022-10-17T11:06:59.077Z] bde34c3a00c8: Pulling fs layer [2022-10-17T11:06:59.077Z] b352a97aabf1: Pulling fs layer [2022-10-17T11:06:59.077Z] 4872d77fe225: Pulling fs layer [2022-10-17T11:06:59.077Z] 5851b861e8e6: Pulling fs layer [2022-10-17T11:06:59.077Z] 988bab9f4d93: Waiting [2022-10-17T11:06:59.077Z] 1469e6f7b9e6: Waiting [2022-10-17T11:06:59.077Z] eaf3925da568: Waiting [2022-10-17T11:06:59.077Z] bab4dde63d76: Waiting [2022-10-17T11:06:59.077Z] bde34c3a00c8: Waiting [2022-10-17T11:06:59.077Z] b352a97aabf1: Waiting [2022-10-17T11:06:59.077Z] 5851b861e8e6: Waiting [2022-10-17T11:06:59.077Z] 4872d77fe225: Waiting [2022-10-17T11:06:59.077Z] e2be974225ed: Download complete [2022-10-17T11:06:59.077Z] 988bab9f4d93: Verifying Checksum [2022-10-17T11:06:59.077Z] 988bab9f4d93: Download complete [2022-10-17T11:06:59.336Z] 1469e6f7b9e6: Verifying Checksum [2022-10-17T11:06:59.336Z] 1469e6f7b9e6: Download complete [2022-10-17T11:06:59.336Z] 339a4e72a1f5: Verifying Checksum [2022-10-17T11:06:59.336Z] 339a4e72a1f5: Download complete [2022-10-17T11:06:59.336Z] eaf3925da568: Verifying Checksum [2022-10-17T11:06:59.336Z] eaf3925da568: Download complete [2022-10-17T11:06:59.336Z] bde34c3a00c8: Verifying Checksum [2022-10-17T11:06:59.336Z] bde34c3a00c8: Download complete [2022-10-17T11:06:59.336Z] b352a97aabf1: Verifying Checksum [2022-10-17T11:06:59.336Z] 4872d77fe225: Download complete [2022-10-17T11:06:59.336Z] b85a868b505f: Verifying Checksum [2022-10-17T11:06:59.336Z] b85a868b505f: Download complete [2022-10-17T11:06:59.336Z] 5851b861e8e6: Verifying Checksum [2022-10-17T11:06:59.336Z] 5851b861e8e6: Download complete [2022-10-17T11:06:59.902Z] bab4dde63d76: Verifying Checksum [2022-10-17T11:06:59.902Z] bab4dde63d76: Download complete [2022-10-17T11:07:00.843Z] b85a868b505f: Pull complete [2022-10-17T11:07:00.843Z] e2be974225ed: Pull complete [2022-10-17T11:07:01.411Z] 339a4e72a1f5: Pull complete [2022-10-17T11:07:01.411Z] 988bab9f4d93: Pull complete [2022-10-17T11:07:01.672Z] 1469e6f7b9e6: Pull complete [2022-10-17T11:07:01.672Z] eaf3925da568: Pull complete [2022-10-17T11:07:03.573Z] bab4dde63d76: Pull complete [2022-10-17T11:07:03.573Z] bde34c3a00c8: Pull complete [2022-10-17T11:07:03.832Z] b352a97aabf1: Pull complete [2022-10-17T11:07:03.833Z] 4872d77fe225: Pull complete [2022-10-17T11:07:04.093Z] 5851b861e8e6: Pull complete [2022-10-17T11:07:04.093Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-17T11:07:04.093Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-17T11:07:04.093Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T11:07:04.313Z] prd-ubuntu20.04-docker-8c-8g-8299 does not seem to be running inside a container [2022-10-17T11:07:04.342Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-314 -v /w/workspace/foundry_device-virtual-go_PR-314:/w/workspace/foundry_device-virtual-go_PR-314:rw,z -v /w/workspace/foundry_device-virtual-go_PR-314@tmp:/w/workspace/foundry_device-virtual-go_PR-314@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-10-17T11:07:07.186Z] $ docker top 0587e5627356477977cdcfe27144be4f1a48b49bb0cb2aa218940e0ce37d465f -eo pid,comm [2022-10-17T11:07:07.246Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-10-17T11:07:07.246Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-17T11:07:07.370Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-17T11:07:07.370Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-17T11:07:07.481Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-17T11:07:07.482Z] $ docker exec 0587e5627356477977cdcfe27144be4f1a48b49bb0cb2aa218940e0ce37d465f ssh-agent [2022-10-17T11:07:07.592Z] SSH_AUTH_SOCK=/tmp/ssh-kqTMbFnNwMhM/agent.32 [2022-10-17T11:07:07.592Z] SSH_AGENT_PID=38 [2022-10-17T11:07:07.599Z] Running ssh-add (command line suppressed) [2022-10-17T11:07:07.694Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-314@tmp/private_key_12491092756329165709.key (/w/workspace/foundry_device-virtual-go_PR-314@tmp/private_key_12491092756329165709.key) [2022-10-17T11:07:07.711Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-17T11:07:08.045Z] + git tag --points-at HEAD [Pipeline] } [2022-10-17T11:07:08.068Z] $ docker exec --env ******** --env ******** 0587e5627356477977cdcfe27144be4f1a48b49bb0cb2aa218940e0ce37d465f ssh-agent -k [2022-10-17T11:07:08.172Z] unset SSH_AUTH_SOCK; [2022-10-17T11:07:08.172Z] unset SSH_AGENT_PID; [2022-10-17T11:07:08.172Z] echo Agent pid 38 killed; [2022-10-17T11:07:08.188Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-17T11:07:08.277Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-17T11:07:08.277Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-17T11:07:08.386Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-17T11:07:08.388Z] $ docker exec 0587e5627356477977cdcfe27144be4f1a48b49bb0cb2aa218940e0ce37d465f ssh-agent [2022-10-17T11:07:08.506Z] SSH_AUTH_SOCK=/tmp/ssh-vF6cvmWXmb8A/agent.70 [2022-10-17T11:07:08.506Z] SSH_AGENT_PID=76 [2022-10-17T11:07:08.512Z] Running ssh-add (command line suppressed) [2022-10-17T11:07:08.617Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-314@tmp/private_key_14277857370105046211.key (/w/workspace/foundry_device-virtual-go_PR-314@tmp/private_key_14277857370105046211.key) [2022-10-17T11:07:08.632Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-17T11:07:08.961Z] + git semver init [2022-10-17T11:07:09.219Z] 2022-10-17 11:07:09,179 [run_init] DEBUG init version:0.0.0 force:False [2022-10-17T11:07:09.219Z] 2022-10-17 11:07:09,180 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-314/.semver [2022-10-17T11:07:09.219Z] 2022-10-17 11:07:09,180 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-314/.semver [2022-10-17T11:07:09.219Z] 2022-10-17 11:07:09,180 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-314/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-314, universal_newlines=False, shell=None, istream=None) [2022-10-17T11:07:10.593Z] 2022-10-17 11:07:10,347 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-314/.git/info/exclude [2022-10-17T11:07:10.593Z] 2022-10-17 11:07:10,348 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-314/.semver/PR-314 with force:False [2022-10-17T11:07:10.593Z] 2022-10-17 11:07:10,348 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-314/.semver/PR-314 [2022-10-17T11:07:10.593Z] 2022-10-17 11:07:10,352 [execute] INFO git cat-file --batch-check [2022-10-17T11:07:10.593Z] 2022-10-17 11:07:10,353 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-314/.semver, universal_newlines=False, shell=None, istream=) [2022-10-17T11:07:10.593Z] 2022-10-17 11:07:10,359 [execute] INFO git cat-file --batch [2022-10-17T11:07:10.593Z] 2022-10-17 11:07:10,359 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-314/.semver, universal_newlines=False, shell=None, istream=) [2022-10-17T11:07:10.593Z] 2022-10-17 11:07:10,367 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-314/.semver/PR-314 [2022-10-17T11:07:10.593Z] 0.0.0 [Pipeline] } [2022-10-17T11:07:10.618Z] $ docker exec --env ******** --env ******** 0587e5627356477977cdcfe27144be4f1a48b49bb0cb2aa218940e0ce37d465f ssh-agent -k [2022-10-17T11:07:10.726Z] unset SSH_AUTH_SOCK; [2022-10-17T11:07:10.726Z] unset SSH_AGENT_PID; [2022-10-17T11:07:10.726Z] echo Agent pid 76 killed; [2022-10-17T11:07:10.738Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-17T11:07:11.145Z] + git semver [Pipeline] } [2022-10-17T11:07:11.424Z] $ docker stop --time=1 0587e5627356477977cdcfe27144be4f1a48b49bb0cb2aa218940e0ce37d465f [2022-10-17T11:07:12.729Z] $ docker rm -f 0587e5627356477977cdcfe27144be4f1a48b49bb0cb2aa218940e0ce37d465f [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-17T11:07:13.126Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-17T11:07:13.391Z] Stashed 1 file(s) [Pipeline] echo [2022-10-17T11:07:13.408Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-17T11:07:13.985Z] provisioning config files... [2022-10-17T11:07:13.995Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-314@tmp/config4859904034891382366tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-17T11:07:14.341Z] ---> docker-login.sh [2022-10-17T11:07:14.342Z] nexus3.edgexfoundry.org:10001 [2022-10-17T11:07:14.342Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T11:07:14.342Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T11:07:14.342Z] Configure a credential helper to remove this warning. See [2022-10-17T11:07:14.342Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T11:07:14.342Z] [2022-10-17T11:07:14.342Z] Login Succeeded [2022-10-17T11:07:14.342Z] nexus3.edgexfoundry.org:10002 [2022-10-17T11:07:14.342Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T11:07:14.342Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T11:07:14.342Z] Configure a credential helper to remove this warning. See [2022-10-17T11:07:14.342Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T11:07:14.342Z] [2022-10-17T11:07:14.342Z] Login Succeeded [2022-10-17T11:07:14.602Z] nexus3.edgexfoundry.org:10003 [2022-10-17T11:07:14.602Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T11:07:14.602Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T11:07:14.602Z] Configure a credential helper to remove this warning. See [2022-10-17T11:07:14.602Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T11:07:14.602Z] [2022-10-17T11:07:14.602Z] Login Succeeded [2022-10-17T11:07:14.602Z] nexus3.edgexfoundry.org:10004 [2022-10-17T11:07:14.602Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T11:07:14.862Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T11:07:14.862Z] Configure a credential helper to remove this warning. See [2022-10-17T11:07:14.862Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T11:07:14.862Z] [2022-10-17T11:07:14.862Z] Login Succeeded [2022-10-17T11:07:14.862Z] docker.io [2022-10-17T11:07:14.862Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T11:07:15.123Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T11:07:15.123Z] Configure a credential helper to remove this warning. See [2022-10-17T11:07:15.123Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T11:07:15.123Z] [2022-10-17T11:07:15.123Z] Login Succeeded [2022-10-17T11:07:15.123Z] ---> docker-login.sh ends [Pipeline] } [2022-10-17T11:07:15.152Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-17T11:07:15.342Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-17T11:07:15.372Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-17T11:07:15.400Z] ========================================================= [2022-10-17T11:07:15.400Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-17T11:07:15.400Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T11:07:15.871Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-17T11:07:15.871Z] Sending build context to Docker daemon 23.2MB [2022-10-17T11:07:15.871Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-17T11:07:15.871Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-17T11:07:16.138Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-17T11:07:16.138Z] 213ec9aee27d: Pulling fs layer [2022-10-17T11:07:16.138Z] 4583459ba037: Pulling fs layer [2022-10-17T11:07:16.138Z] 93c1e223e6f2: Pulling fs layer [2022-10-17T11:07:16.138Z] 53926ce57604: Pulling fs layer [2022-10-17T11:07:16.138Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-17T11:07:16.138Z] 30f14e443154: Pulling fs layer [2022-10-17T11:07:16.138Z] 801331c1e519: Pulling fs layer [2022-10-17T11:07:16.138Z] 99cc6dd402b0: Pulling fs layer [2022-10-17T11:07:16.138Z] 7d9ed39f4882: Pulling fs layer [2022-10-17T11:07:16.138Z] 30f14e443154: Waiting [2022-10-17T11:07:16.138Z] 7d9ed39f4882: Waiting [2022-10-17T11:07:16.138Z] 801331c1e519: Waiting [2022-10-17T11:07:16.138Z] 99cc6dd402b0: Waiting [2022-10-17T11:07:16.138Z] 53926ce57604: Waiting [2022-10-17T11:07:16.138Z] 21b2b0c7a3f4: Waiting [2022-10-17T11:07:16.138Z] 93c1e223e6f2: Verifying Checksum [2022-10-17T11:07:16.138Z] 93c1e223e6f2: Download complete [2022-10-17T11:07:16.138Z] 4583459ba037: Verifying Checksum [2022-10-17T11:07:16.138Z] 4583459ba037: Download complete [2022-10-17T11:07:16.138Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-17T11:07:16.138Z] 21b2b0c7a3f4: Download complete [2022-10-17T11:07:16.138Z] 30f14e443154: Verifying Checksum [2022-10-17T11:07:16.138Z] 30f14e443154: Download complete [2022-10-17T11:07:16.138Z] 213ec9aee27d: Verifying Checksum [2022-10-17T11:07:16.138Z] 213ec9aee27d: Download complete [2022-10-17T11:07:16.138Z] 801331c1e519: Download complete [2022-10-17T11:07:16.138Z] 213ec9aee27d: Pull complete [2022-10-17T11:07:16.400Z] 4583459ba037: Pull complete [2022-10-17T11:07:16.400Z] 93c1e223e6f2: Pull complete [2022-10-17T11:07:16.661Z] 7d9ed39f4882: Verifying Checksum [2022-10-17T11:07:16.661Z] 7d9ed39f4882: Download complete [2022-10-17T11:07:16.661Z] 99cc6dd402b0: Verifying Checksum [2022-10-17T11:07:16.661Z] 99cc6dd402b0: Download complete [2022-10-17T11:07:16.921Z] 53926ce57604: Verifying Checksum [2022-10-17T11:07:16.921Z] 53926ce57604: Download complete [2022-10-17T11:07:21.109Z] 53926ce57604: Pull complete [2022-10-17T11:07:21.109Z] 21b2b0c7a3f4: Pull complete [2022-10-17T11:07:21.109Z] 30f14e443154: Pull complete [2022-10-17T11:07:21.109Z] 801331c1e519: Pull complete [2022-10-17T11:07:23.008Z] 99cc6dd402b0: Pull complete [2022-10-17T11:07:23.953Z] 7d9ed39f4882: Pull complete [2022-10-17T11:07:23.953Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-17T11:07:23.953Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-17T11:07:23.953Z] ---> 1dedd983c030 [2022-10-17T11:07:23.953Z] Step 3/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-17T11:07:28.145Z] ---> Running in 0cd74bfabb66 [2022-10-17T11:07:28.145Z] Removing intermediate container 0cd74bfabb66 [2022-10-17T11:07:28.145Z] ---> 7becee6d037b [2022-10-17T11:07:28.145Z] Step 4/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-17T11:07:28.145Z] ---> Running in 2b171fe51830 [2022-10-17T11:07:28.145Z] Removing intermediate container 2b171fe51830 [2022-10-17T11:07:28.145Z] ---> 869dfd04e5dc [2022-10-17T11:07:28.145Z] Step 5/13 : ARG ADD_BUILD_TAGS="" [2022-10-17T11:07:28.145Z] ---> Running in 439dd13453b7 [2022-10-17T11:07:28.145Z] Removing intermediate container 439dd13453b7 [2022-10-17T11:07:28.145Z] ---> a02b1a7ba221 [2022-10-17T11:07:28.145Z] Step 6/13 : WORKDIR /device-virtual-go [2022-10-17T11:07:28.145Z] ---> Running in ba85687886e2 [2022-10-17T11:07:28.145Z] Removing intermediate container ba85687886e2 [2022-10-17T11:07:28.145Z] ---> d9fbb7f09b51 [2022-10-17T11:07:28.145Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-17T11:07:28.145Z] ---> Running in 64efa5b36d78 [2022-10-17T11:07:28.715Z] Removing intermediate container 64efa5b36d78 [2022-10-17T11:07:28.715Z] ---> 8b526d6a5632 [2022-10-17T11:07:28.715Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-17T11:07:28.715Z] ---> Running in ff21f76702ca [2022-10-17T11:07:28.808Z] Still waiting to schedule task [2022-10-17T11:07:28.808Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-10-17T11:07:28.975Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-17T11:07:29.912Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-17T11:07:30.480Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-17T11:07:30.480Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-17T11:07:30.740Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-17T11:07:31.000Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-17T11:07:31.000Z] Executing busybox-1.35.0-r17.trigger [2022-10-17T11:07:31.000Z] OK: 216 MiB in 55 packages [2022-10-17T11:07:31.571Z] Removing intermediate container ff21f76702ca [2022-10-17T11:07:31.571Z] ---> 3a682dfc47ad [2022-10-17T11:07:31.571Z] Step 9/13 : COPY go.mod vendor* ./ [2022-10-17T11:07:31.571Z] ---> 2cfa83e7ce63 [2022-10-17T11:07:31.571Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-17T11:07:31.571Z] ---> Running in 7f80c6190458 [2022-10-17T11:07:58.138Z] Removing intermediate container 7f80c6190458 [2022-10-17T11:07:58.138Z] ---> 1e5f4b502f69 [2022-10-17T11:07:58.138Z] Step 11/13 : COPY . . [2022-10-17T11:07:58.138Z] ---> 003d81478211 [2022-10-17T11:07:58.138Z] Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-17T11:07:58.138Z] ---> Running in 54c7ce522df8 [2022-10-17T11:07:58.138Z] Removing intermediate container 54c7ce522df8 [2022-10-17T11:07:58.138Z] ---> 1d819e928f96 [2022-10-17T11:07:58.138Z] Step 13/13 : RUN $MAKE [2022-10-17T11:07:58.138Z] ---> Running in 239130a8082d [2022-10-17T11:07:58.138Z] noop [2022-10-17T11:07:58.138Z] Removing intermediate container 239130a8082d [2022-10-17T11:07:58.138Z] ---> 344747be2139 [2022-10-17T11:07:58.138Z] Successfully built 344747be2139 [2022-10-17T11:07:58.138Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T11:07:58.585Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-17T11:07:58.585Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T11:07:58.731Z] prd-ubuntu20.04-docker-8c-8g-8299 does not seem to be running inside a container [2022-10-17T11:07:58.757Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-314 -v /w/workspace/foundry_device-virtual-go_PR-314:/w/workspace/foundry_device-virtual-go_PR-314:rw,z -v /w/workspace/foundry_device-virtual-go_PR-314@tmp:/w/workspace/foundry_device-virtual-go_PR-314@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-10-17T11:07:59.142Z] $ docker top a9a3be8b0a5262e9f99d8ae54927f865ce3e4bdd04a72ccc8a8eb17e871b0534 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-17T11:07:59.539Z] + go version [2022-10-17T11:07:59.539Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-17T11:07:59.568Z] $ docker stop --time=1 a9a3be8b0a5262e9f99d8ae54927f865ce3e4bdd04a72ccc8a8eb17e871b0534 [2022-10-17T11:08:00.886Z] $ docker rm -f a9a3be8b0a5262e9f99d8ae54927f865ce3e4bdd04a72ccc8a8eb17e871b0534 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T11:08:01.596Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-17T11:08:01.596Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T11:08:01.770Z] prd-ubuntu20.04-docker-8c-8g-8299 does not seem to be running inside a container [2022-10-17T11:08:01.802Z] $ 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-314 -v /w/workspace/foundry_device-virtual-go_PR-314:/w/workspace/foundry_device-virtual-go_PR-314:rw,z -v /w/workspace/foundry_device-virtual-go_PR-314@tmp:/w/workspace/foundry_device-virtual-go_PR-314@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-10-17T11:08:02.170Z] $ docker top 117d8de64af75d26ff0e331f96d1f0c71c06d490412d3d6e608af00e48730bf1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-17T11:08:02.572Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-314 [Pipeline] fileExists [Pipeline] sh [2022-10-17T11:08:02.930Z] + make test [2022-10-17T11:08:02.930Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-10-17T11:08:03.188Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-10-17T11:08:13.162Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-10-17T11:08:14.097Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.042s coverage: 65.7% of statements [2022-10-17T11:08:22.213Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-10-17T11:08:22.213Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-17T11:08:24.758Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-17T11:08:24.758Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-17T11:08:24.758Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-17T11:08:25.052Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-17T11:08:25.084Z] $ docker stop --time=1 117d8de64af75d26ff0e331f96d1f0c71c06d490412d3d6e608af00e48730bf1 [2022-10-17T11:08:27.412Z] $ docker rm -f 117d8de64af75d26ff0e331f96d1f0c71c06d490412d3d6e608af00e48730bf1 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-17T11:08:27.915Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-17T11:08:28.018Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-17T11:08:28.835Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-17T11:08:29.162Z] + ls -al . [2022-10-17T11:08:29.162Z] total 200 [2022-10-17T11:08:29.162Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 17 11:08 . [2022-10-17T11:08:29.162Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 11:06 .. [2022-10-17T11:08:29.162Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 11:08 .git [2022-10-17T11:08:29.162Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 11:06 .github [2022-10-17T11:08:29.162Z] -rw-rw-r-- 1 jenkins jenkins 337 Oct 17 11:06 .gitignore [2022-10-17T11:08:29.162Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 17 11:06 .golangci.yml [2022-10-17T11:08:29.162Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 11:07 .semver [2022-10-17T11:08:29.162Z] -rw-rw-r-- 1 jenkins jenkins 8527 Oct 17 11:06 Attribution.txt [2022-10-17T11:08:29.162Z] -rw-rw-r-- 1 jenkins jenkins 9649 Oct 17 11:06 CHANGELOG.md [2022-10-17T11:08:29.162Z] -rw-rw-r-- 1 jenkins jenkins 2034 Oct 17 11:06 Dockerfile [2022-10-17T11:08:29.162Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 17 11:06 GOVERNANCE.md [2022-10-17T11:08:29.162Z] -rw-rw-r-- 1 jenkins jenkins 660 Oct 17 11:06 Jenkinsfile [2022-10-17T11:08:29.162Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 17 11:06 LICENSE [2022-10-17T11:08:29.162Z] -rw-rw-r-- 1 jenkins jenkins 2457 Oct 17 11:06 Makefile [2022-10-17T11:08:29.162Z] -rw-rw-r-- 1 jenkins jenkins 623 Oct 17 11:06 OWNERS.md [2022-10-17T11:08:29.162Z] -rw-rw-r-- 1 jenkins jenkins 3578 Oct 17 11:06 README.md [2022-10-17T11:08:29.162Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 17 11:07 VERSION [2022-10-17T11:08:29.162Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 11:06 bin [2022-10-17T11:08:29.162Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 11:06 cmd [2022-10-17T11:08:29.162Z] -rw-r--r-- 1 jenkins jenkins 44128 Oct 17 11:08 coverage.out [2022-10-17T11:08:29.162Z] -rw-rw-r-- 1 jenkins jenkins 3399 Oct 17 11:06 go.mod [2022-10-17T11:08:29.162Z] -rw-rw-r-- 1 jenkins jenkins 37522 Oct 17 11:06 go.sum [2022-10-17T11:08:29.162Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 11:06 internal [2022-10-17T11:08:29.162Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 11:06 snap [2022-10-17T11:08:29.162Z] -rw-rw-r-- 1 jenkins jenkins 235 Oct 17 11:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T11:08:29.586Z] + 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=22d768529fbb3a99908fcf631ac5c84028b44c46 --label arch=amd64 --label version=0.0.0 . [2022-10-17T11:08:29.586Z] Sending build context to Docker daemon 23.25MB [2022-10-17T11:08:29.586Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-17T11:08:29.586Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-17T11:08:29.586Z] ---> 344747be2139 [2022-10-17T11:08:29.586Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-17T11:08:29.845Z] ---> Running in d73d3fc8008e [2022-10-17T11:08:29.845Z] Removing intermediate container d73d3fc8008e [2022-10-17T11:08:29.845Z] ---> c764b07c4228 [2022-10-17T11:08:29.845Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-17T11:08:30.104Z] ---> Running in 08b9cf9c0a65 [2022-10-17T11:08:30.105Z] Removing intermediate container 08b9cf9c0a65 [2022-10-17T11:08:30.105Z] ---> 7cd0bd41a6c3 [2022-10-17T11:08:30.105Z] Step 5/27 : ARG ADD_BUILD_TAGS="" [2022-10-17T11:08:30.105Z] ---> Running in 8e35a48c4e1c [2022-10-17T11:08:30.105Z] Removing intermediate container 8e35a48c4e1c [2022-10-17T11:08:30.105Z] ---> ece91fe78562 [2022-10-17T11:08:30.105Z] Step 6/27 : WORKDIR /device-virtual-go [2022-10-17T11:08:30.105Z] ---> Running in 7bfc00401426 [2022-10-17T11:08:30.364Z] Removing intermediate container 7bfc00401426 [2022-10-17T11:08:30.364Z] ---> 518d07fd932e [2022-10-17T11:08:30.364Z] Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-17T11:08:30.364Z] ---> Running in a50c39a75e8a [2022-10-17T11:08:30.942Z] Removing intermediate container a50c39a75e8a [2022-10-17T11:08:30.942Z] ---> 7dc84e4617c2 [2022-10-17T11:08:30.942Z] Step 8/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-17T11:08:30.942Z] ---> Running in 7b7e71757c69 [2022-10-17T11:08:31.203Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-17T11:08:31.770Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-17T11:08:32.339Z] OK: 216 MiB in 55 packages [2022-10-17T11:08:32.598Z] Removing intermediate container 7b7e71757c69 [2022-10-17T11:08:32.598Z] ---> ef7f96566725 [2022-10-17T11:08:32.598Z] Step 9/27 : COPY go.mod vendor* ./ [2022-10-17T11:08:32.598Z] ---> e4932626f56a [2022-10-17T11:08:32.598Z] Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-17T11:08:32.598Z] ---> Running in 384a261587fb [2022-10-17T11:08:33.975Z] Removing intermediate container 384a261587fb [2022-10-17T11:08:33.975Z] ---> 44547c6a6b52 [2022-10-17T11:08:33.975Z] Step 11/27 : COPY . . [2022-10-17T11:08:34.234Z] ---> c21de8cfe5ce [2022-10-17T11:08:34.234Z] Step 12/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-17T11:08:34.234Z] ---> Running in e812e1e3443f [2022-10-17T11:08:34.234Z] Removing intermediate container e812e1e3443f [2022-10-17T11:08:34.234Z] ---> baf44b628b14 [2022-10-17T11:08:34.234Z] Step 13/27 : RUN $MAKE [2022-10-17T11:08:34.234Z] ---> Running in 31ee71c7d534 [2022-10-17T11:08:34.493Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd [2022-10-17T11:08:56.345Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8300 in /w/workspace/foundry_device-virtual-go_PR-314 [Pipeline] { [Pipeline] ws [2022-10-17T11:08:56.389Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2022-10-17T11:08:56.468Z] The recommended git tool is: git [2022-10-17T11:09:01.045Z] Removing intermediate container 31ee71c7d534 [2022-10-17T11:09:01.045Z] ---> 5cb0cab914fc [2022-10-17T11:09:01.045Z] Step 14/27 : FROM alpine:3.16 [2022-10-17T11:09:01.045Z] 3.16: Pulling from library/alpine [2022-10-17T11:09:01.045Z] 213ec9aee27d: Already exists [2022-10-17T11:09:01.045Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-17T11:09:01.045Z] Status: Downloaded newer image for alpine:3.16 [2022-10-17T11:09:01.045Z] ---> 9c6f07244728 [2022-10-17T11:09:01.045Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-10-17T11:09:01.045Z] ---> Running in 55fa89d404e8 [2022-10-17T11:09:01.045Z] Removing intermediate container 55fa89d404e8 [2022-10-17T11:09:01.045Z] ---> ddbf0c495a09 [2022-10-17T11:09:01.045Z] Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-17T11:09:01.045Z] ---> Running in fdede16eb919 [2022-10-17T11:09:01.045Z] Removing intermediate container fdede16eb919 [2022-10-17T11:09:01.045Z] ---> 9ef2509cd235 [2022-10-17T11:09:01.045Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-17T11:09:01.045Z] ---> Running in b81ce8161d87 [2022-10-17T11:09:01.045Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-17T11:09:01.045Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-17T11:09:01.045Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-17T11:09:01.045Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-17T11:09:01.045Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-17T11:09:01.045Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-17T11:09:01.046Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-17T11:09:01.046Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-17T11:09:01.046Z] Executing busybox-1.35.0-r17.trigger [2022-10-17T11:09:01.046Z] OK: 8 MiB in 20 packages [2022-10-17T11:09:01.046Z] Removing intermediate container b81ce8161d87 [2022-10-17T11:09:01.046Z] ---> 08dc7a6f698f [2022-10-17T11:09:01.046Z] Step 18/27 : WORKDIR / [2022-10-17T11:09:01.046Z] ---> Running in 09eccbfcc5a8 [2022-10-17T11:09:01.046Z] Removing intermediate container 09eccbfcc5a8 [2022-10-17T11:09:01.046Z] ---> d1c0bf7d140d [2022-10-17T11:09:01.046Z] Step 19/27 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-10-17T11:09:01.306Z] ---> 8b933a10f858 [2022-10-17T11:09:01.306Z] Step 20/27 : COPY --from=builder /device-virtual-go/LICENSE / [2022-10-17T11:09:01.306Z] ---> e32f6549ac78 [2022-10-17T11:09:01.306Z] Step 21/27 : COPY --from=builder /device-virtual-go/cmd / [2022-10-17T11:09:01.780Z] using credential edgex-jenkins-ssh [2022-10-17T11:09:01.798Z] Cloning the remote Git repository [2022-10-17T11:09:02.242Z] ---> 4537ec272bd9 [2022-10-17T11:09:02.242Z] Step 22/27 : EXPOSE 59900 [2022-10-17T11:09:02.242Z] ---> Running in 6387df1ecad0 [2022-10-17T11:09:02.242Z] Removing intermediate container 6387df1ecad0 [2022-10-17T11:09:02.242Z] ---> 8d0144a5f6bf [2022-10-17T11:09:02.242Z] Step 23/27 : ENTRYPOINT ["/device-virtual"] [2022-10-17T11:09:02.242Z] ---> Running in e3d6e7d0d12a [2022-10-17T11:09:02.242Z] Removing intermediate container e3d6e7d0d12a [2022-10-17T11:09:02.242Z] ---> 33ffb87ac78d [2022-10-17T11:09:02.242Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-17T11:09:02.242Z] ---> Running in 11a15c69e79b [2022-10-17T11:09:02.500Z] Removing intermediate container 11a15c69e79b [2022-10-17T11:09:02.500Z] ---> 6fd292653420 [2022-10-17T11:09:02.500Z] Step 25/27 : LABEL arch=amd64 [2022-10-17T11:09:02.500Z] ---> Running in f7f7572cb3cd [2022-10-17T11:09:02.500Z] Removing intermediate container f7f7572cb3cd [2022-10-17T11:09:02.500Z] ---> df887798a790 [2022-10-17T11:09:02.500Z] Step 26/27 : LABEL git_sha=22d768529fbb3a99908fcf631ac5c84028b44c46 [2022-10-17T11:09:02.500Z] ---> Running in 9dd119db60f0 [2022-10-17T11:09:02.759Z] Removing intermediate container 9dd119db60f0 [2022-10-17T11:09:02.759Z] ---> 4a56d65368f3 [2022-10-17T11:09:02.759Z] Step 27/27 : LABEL version=0.0.0 [2022-10-17T11:09:02.759Z] ---> Running in f3ac23a4f136 [2022-10-17T11:09:02.759Z] Removing intermediate container f3ac23a4f136 [2022-10-17T11:09:02.759Z] ---> 9a69e6d59b72 [2022-10-17T11:09:02.759Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-17T11:09:02.759Z] Successfully built 9a69e6d59b72 [2022-10-17T11:09:02.759Z] Successfully tagged device-virtual:latest [2022-10-17T11:09:01.838Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2022-10-17T11:09:01.907Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2022-10-17T11:09:02.024Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-10-17T11:09:02.025Z] > git --version # timeout=10 [2022-10-17T11:09:02.055Z] > git --version # 'git version 2.25.1' [2022-10-17T11:09:02.056Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-17T11:09:02.115Z] Verifying host key using known hosts file [2022-10-17T11:09:02.281Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-17T11:09:02.292Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T11:09:03.608Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-17T11:09:03.608Z] [2022-10-17T11:09:03.608Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T11:09:03.972Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-17T11:09:03.972Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-17T11:09:03.972Z] 5eb5b503b376: Pulling fs layer [2022-10-17T11:09:03.972Z] 5c69ac0246d0: Pulling fs layer [2022-10-17T11:09:03.972Z] ec43610c2a17: Pulling fs layer [2022-10-17T11:09:03.972Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-17T11:09:03.972Z] 33b1e0a273af: Pulling fs layer [2022-10-17T11:09:03.972Z] 5d3b04190fa2: Pulling fs layer [2022-10-17T11:09:03.972Z] 2f39f015ded8: Pulling fs layer [2022-10-17T11:09:03.972Z] 3a2ae6a8a46f: Waiting [2022-10-17T11:09:03.972Z] 33b1e0a273af: Waiting [2022-10-17T11:09:03.972Z] 5d3b04190fa2: Waiting [2022-10-17T11:09:03.972Z] 2f39f015ded8: Waiting [2022-10-17T11:09:03.972Z] 5c69ac0246d0: Verifying Checksum [2022-10-17T11:09:03.972Z] 5c69ac0246d0: Download complete [2022-10-17T11:09:03.972Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-17T11:09:03.972Z] 3a2ae6a8a46f: Download complete [2022-10-17T11:09:03.972Z] 33b1e0a273af: Verifying Checksum [2022-10-17T11:09:03.972Z] 33b1e0a273af: Download complete [2022-10-17T11:09:03.972Z] 5d3b04190fa2: Download complete [2022-10-17T11:09:03.972Z] ec43610c2a17: Verifying Checksum [2022-10-17T11:09:03.972Z] ec43610c2a17: Download complete [2022-10-17T11:09:04.230Z] 5eb5b503b376: Verifying Checksum [2022-10-17T11:09:04.230Z] 5eb5b503b376: Download complete [2022-10-17T11:09:04.801Z] 2f39f015ded8: Download complete [2022-10-17T11:09:05.367Z] 5eb5b503b376: Pull complete [2022-10-17T11:09:04.253Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-10-17T11:09:04.279Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-17T11:09:05.066Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-10-17T11:09:05.114Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-10-17T11:09:05.115Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-17T11:09:05.119Z] Verifying host key using known hosts file [2022-10-17T11:09:05.126Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-17T11:09:05.140Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/314/head:refs/remotes/origin/PR-314 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-17T11:09:05.625Z] 5c69ac0246d0: Pull complete [2022-10-17T11:09:05.707Z] Merging remotes/origin/main commit 2ecf0fc734cc14a642189e470a894444964f864e into PR head commit 22d768529fbb3a99908fcf631ac5c84028b44c46 [2022-10-17T11:09:05.931Z] Merge succeeded, producing 22d768529fbb3a99908fcf631ac5c84028b44c46 [2022-10-17T11:09:05.932Z] Checking out Revision 22d768529fbb3a99908fcf631ac5c84028b44c46 (PR-314) [2022-10-17T11:09:06.191Z] ec43610c2a17: Pull complete [2022-10-17T11:09:06.191Z] 3a2ae6a8a46f: Pull complete [2022-10-17T11:09:06.425Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2022-10-17T11:09:06.449Z] 33b1e0a273af: Pull complete [2022-10-17T11:09:06.449Z] 5d3b04190fa2: Pull complete [2022-10-17T11:09:06.476Z] > git --version # timeout=10 [2022-10-17T11:09:06.489Z] > git --version # 'git version 2.25.1' [2022-10-17T11:09:06.517Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-17T11:09:05.725Z] > git config core.sparsecheckout # timeout=10 [2022-10-17T11:09:05.739Z] > git checkout -f 22d768529fbb3a99908fcf631ac5c84028b44c46 # timeout=10 [2022-10-17T11:09:05.816Z] > git remote # timeout=10 [2022-10-17T11:09:05.850Z] > git config --get remote.origin.url # timeout=10 [2022-10-17T11:09:05.866Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-17T11:09:05.871Z] Verifying host key using known hosts file [2022-10-17T11:09:05.874Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-17T11:09:05.884Z] > git merge 2ecf0fc734cc14a642189e470a894444964f864e # timeout=10 [2022-10-17T11:09:05.909Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-17T11:09:05.939Z] > git config core.sparsecheckout # timeout=10 [2022-10-17T11:09:05.965Z] > git checkout -f 22d768529fbb3a99908fcf631ac5c84028b44c46 # timeout=10 [2022-10-17T11:09:06.983Z] [2022-10-17T11:09:06.983Z] GitHub has been notified of this commit’s build result [2022-10-17T11:09:06.983Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-17T11:09:07.719Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-17T11:09:07.719Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-17T11:09:07.719Z] Dload Upload Total Spent Left Speed [2022-10-17T11:09:07.719Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 82366 0 --:--:-- --:--:-- --:--:-- 82907 [Pipeline] sh [2022-10-17T11:09:08.250Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-17T11:09:08.595Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-17T11:09:08.595Z] + sudo tee /etc/docker/daemon.new [2022-10-17T11:09:08.595Z] { [2022-10-17T11:09:08.595Z] "registry-mirrors": [ [2022-10-17T11:09:08.595Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-17T11:09:08.595Z] ], [2022-10-17T11:09:08.595Z] "bip": "10.250.0.254/24", [2022-10-17T11:09:08.595Z] "hosts": [ [2022-10-17T11:09:08.595Z] "tcp://0.0.0.0:5555", [2022-10-17T11:09:08.595Z] "unix:///var/run/docker.sock" [2022-10-17T11:09:08.595Z] ], [2022-10-17T11:09:08.595Z] "mtu": 1458, [2022-10-17T11:09:08.595Z] "selinux-enabled": true, [2022-10-17T11:09:08.595Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-17T11:09:08.595Z] } [Pipeline] sh [2022-10-17T11:09:08.940Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-17T11:09:09.300Z] + sudo service docker restart [2022-10-17T11:09:11.711Z] 2f39f015ded8: Pull complete [2022-10-17T11:09:11.711Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-17T11:09:11.711Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-17T11:09:11.711Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T11:09:11.936Z] prd-ubuntu20.04-docker-8c-8g-8299 does not seem to be running inside a container [2022-10-17T11:09:11.957Z] $ 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-314 -v /w/workspace/foundry_device-virtual-go_PR-314:/w/workspace/foundry_device-virtual-go_PR-314:rw,z -v /w/workspace/foundry_device-virtual-go_PR-314@tmp:/w/workspace/foundry_device-virtual-go_PR-314@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-10-17T11:09:17.107Z] $ docker top b64168c6d013b397bcee1772504e04025cfad864c6827261335c3e25350b7496 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-17T11:09:17.568Z] ---> job-cost.sh [2022-10-17T11:09:17.568Z] lf-activate-venv: SKIPPING [2022-10-17T11:09:17.568Z] INFO: No Stack... [2022-10-17T11:09:17.828Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-17T11:09:18.087Z] INFO: Archiving Costs [Pipeline] sh [2022-10-17T11:09:18.401Z] + cat /w/workspace/foundry_device-virtual-go_PR-314/archives/cost.csv [2022-10-17T11:09:18.401Z] + cut -d, -f6 [Pipeline] lock [2022-10-17T11:09:18.438Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-314-1-stack-cost] [2022-10-17T11:09:18.443Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-314-1-stack-cost] did not exist. Created. [2022-10-17T11:09:18.443Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-314-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-17T11:09:18.827Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-17T11:09:18.877Z] Stashed 1 file(s) [Pipeline] } [2022-10-17T11:09:18.912Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-314-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-17T11:09:18.998Z] $ docker stop --time=1 b64168c6d013b397bcee1772504e04025cfad864c6827261335c3e25350b7496 [2022-10-17T11:09:20.181Z] $ docker rm -f b64168c6d013b397bcee1772504e04025cfad864c6827261335c3e25350b7496 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-17T11:09:27.631Z] provisioning config files... [2022-10-17T11:09:27.658Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config17814347277516298705tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-17T11:09:28.039Z] ---> docker-login.sh [2022-10-17T11:09:28.039Z] nexus3.edgexfoundry.org:10001 [2022-10-17T11:09:28.318Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T11:09:28.588Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T11:09:28.588Z] Configure a credential helper to remove this warning. See [2022-10-17T11:09:28.588Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T11:09:28.588Z] [2022-10-17T11:09:28.588Z] Login Succeeded [2022-10-17T11:09:28.588Z] nexus3.edgexfoundry.org:10002 [2022-10-17T11:09:28.858Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T11:09:28.858Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T11:09:28.858Z] Configure a credential helper to remove this warning. See [2022-10-17T11:09:28.858Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T11:09:28.858Z] [2022-10-17T11:09:28.858Z] Login Succeeded [2022-10-17T11:09:29.127Z] nexus3.edgexfoundry.org:10003 [2022-10-17T11:09:29.127Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T11:09:29.397Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T11:09:29.397Z] Configure a credential helper to remove this warning. See [2022-10-17T11:09:29.397Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T11:09:29.397Z] [2022-10-17T11:09:29.397Z] Login Succeeded [2022-10-17T11:09:29.397Z] nexus3.edgexfoundry.org:10004 [2022-10-17T11:09:29.668Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T11:09:29.668Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T11:09:29.668Z] Configure a credential helper to remove this warning. See [2022-10-17T11:09:29.668Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T11:09:29.668Z] [2022-10-17T11:09:29.668Z] Login Succeeded [2022-10-17T11:09:29.668Z] docker.io [2022-10-17T11:09:29.937Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T11:09:30.523Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T11:09:30.523Z] Configure a credential helper to remove this warning. See [2022-10-17T11:09:30.523Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T11:09:30.523Z] [2022-10-17T11:09:30.523Z] Login Succeeded [2022-10-17T11:09:30.523Z] ---> docker-login.sh ends [Pipeline] } [2022-10-17T11:09:30.557Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-17T11:09:30.833Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-17T11:09:30.868Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-17T11:09:30.902Z] ========================================================= [2022-10-17T11:09:30.902Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-17T11:09:30.902Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T11:09:31.397Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-17T11:09:31.666Z] Sending build context to Docker daemon 11.74MB [2022-10-17T11:09:31.666Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-17T11:09:31.666Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-17T11:09:31.940Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-17T11:09:31.940Z] 9b18e9b68314: Pulling fs layer [2022-10-17T11:09:31.940Z] d32db5db7311: Pulling fs layer [2022-10-17T11:09:31.940Z] d0c4b47475fc: Pulling fs layer [2022-10-17T11:09:31.940Z] 5831b945b038: Pulling fs layer [2022-10-17T11:09:31.940Z] 86bbec2aaacd: Pulling fs layer [2022-10-17T11:09:31.940Z] e10730c5d714: Pulling fs layer [2022-10-17T11:09:31.940Z] 5dd5c2283517: Pulling fs layer [2022-10-17T11:09:31.940Z] d5ac0230b979: Pulling fs layer [2022-10-17T11:09:31.940Z] 5831b945b038: Waiting [2022-10-17T11:09:31.940Z] 86bbec2aaacd: Waiting [2022-10-17T11:09:31.940Z] e10730c5d714: Waiting [2022-10-17T11:09:31.940Z] 5dd5c2283517: Waiting [2022-10-17T11:09:31.940Z] d5ac0230b979: Waiting [2022-10-17T11:09:31.940Z] d0c4b47475fc: Download complete [2022-10-17T11:09:31.940Z] d32db5db7311: Verifying Checksum [2022-10-17T11:09:31.940Z] d32db5db7311: Download complete [2022-10-17T11:09:31.940Z] 86bbec2aaacd: Verifying Checksum [2022-10-17T11:09:31.940Z] 86bbec2aaacd: Download complete [2022-10-17T11:09:31.940Z] e10730c5d714: Verifying Checksum [2022-10-17T11:09:31.940Z] e10730c5d714: Download complete [2022-10-17T11:09:31.940Z] 9b18e9b68314: Verifying Checksum [2022-10-17T11:09:31.940Z] 9b18e9b68314: Download complete [2022-10-17T11:09:32.924Z] 9b18e9b68314: Pull complete [2022-10-17T11:09:32.924Z] d5ac0230b979: Verifying Checksum [2022-10-17T11:09:32.924Z] d5ac0230b979: Download complete [2022-10-17T11:09:33.529Z] d32db5db7311: Pull complete [2022-10-17T11:09:33.801Z] d0c4b47475fc: Pull complete [2022-10-17T11:09:34.390Z] 5dd5c2283517: Verifying Checksum [2022-10-17T11:09:34.390Z] 5dd5c2283517: Download complete [2022-10-17T11:09:34.978Z] 5831b945b038: Verifying Checksum [2022-10-17T11:09:34.978Z] 5831b945b038: Download complete [2022-10-17T11:09:47.313Z] 5831b945b038: Pull complete [2022-10-17T11:09:47.313Z] 86bbec2aaacd: Pull complete [2022-10-17T11:09:47.313Z] e10730c5d714: Pull complete [2022-10-17T11:09:52.665Z] 5dd5c2283517: Pull complete [2022-10-17T11:09:54.077Z] d5ac0230b979: Pull complete [2022-10-17T11:09:54.349Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-17T11:09:54.349Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-17T11:09:54.349Z] ---> 59b3b1a385d4 [2022-10-17T11:09:54.349Z] Step 3/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-17T11:09:56.381Z] ---> Running in 319f85c7fd7f [2022-10-17T11:09:56.381Z] Removing intermediate container 319f85c7fd7f [2022-10-17T11:09:56.381Z] ---> 41516f6590a2 [2022-10-17T11:09:56.381Z] Step 4/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-17T11:09:56.381Z] ---> Running in 488d3bb5f7d1 [2022-10-17T11:09:56.699Z] Removing intermediate container 488d3bb5f7d1 [2022-10-17T11:09:56.699Z] ---> 02a35c1f5ca8 [2022-10-17T11:09:56.699Z] Step 5/13 : ARG ADD_BUILD_TAGS="" [2022-10-17T11:09:56.989Z] ---> Running in 86360b3b2a20 [2022-10-17T11:09:57.269Z] Removing intermediate container 86360b3b2a20 [2022-10-17T11:09:57.269Z] ---> cf6874a99181 [2022-10-17T11:09:57.269Z] Step 6/13 : WORKDIR /device-virtual-go [2022-10-17T11:09:57.269Z] ---> Running in 96422a0c2630 [2022-10-17T11:09:57.543Z] Removing intermediate container 96422a0c2630 [2022-10-17T11:09:57.543Z] ---> 23ca352f8cf0 [2022-10-17T11:09:57.543Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-17T11:09:57.543Z] ---> Running in 37e87fcbb813 [2022-10-17T11:09:59.498Z] Removing intermediate container 37e87fcbb813 [2022-10-17T11:09:59.498Z] ---> db91eabc3cdc [2022-10-17T11:09:59.498Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-17T11:09:59.498Z] ---> Running in 234fa7859e92 [2022-10-17T11:10:00.465Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-17T11:10:01.430Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-17T11:10:02.016Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-17T11:10:02.287Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-17T11:10:02.287Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-17T11:10:02.560Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-17T11:10:02.560Z] Executing busybox-1.35.0-r17.trigger [2022-10-17T11:10:02.560Z] OK: 226 MiB in 55 packages [2022-10-17T11:10:03.530Z] Removing intermediate container 234fa7859e92 [2022-10-17T11:10:03.530Z] ---> 86f5d087d9ce [2022-10-17T11:10:03.530Z] Step 9/13 : COPY go.mod vendor* ./ [2022-10-17T11:10:04.120Z] ---> 073513408bfc [2022-10-17T11:10:04.120Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-17T11:10:04.120Z] ---> Running in e049772d54c3 [2022-10-17T11:10:51.111Z] Removing intermediate container e049772d54c3 [2022-10-17T11:10:51.111Z] ---> b02e72a5903b [2022-10-17T11:10:51.111Z] Step 11/13 : COPY . . [2022-10-17T11:10:51.699Z] ---> a3a6ca737712 [2022-10-17T11:10:51.699Z] Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-17T11:10:51.699Z] ---> Running in d008bd033957 [2022-10-17T11:10:51.969Z] Removing intermediate container d008bd033957 [2022-10-17T11:10:51.969Z] ---> 2a340955254d [2022-10-17T11:10:51.969Z] Step 13/13 : RUN $MAKE [2022-10-17T11:10:51.969Z] ---> Running in c3df47b8b221 [2022-10-17T11:10:52.932Z] noop [2022-10-17T11:10:53.515Z] Removing intermediate container c3df47b8b221 [2022-10-17T11:10:53.515Z] ---> f76058bf05b9 [2022-10-17T11:10:53.515Z] Successfully built f76058bf05b9 [2022-10-17T11:10:53.782Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T11:10:54.262Z] + docker inspect -f . ci-base-image-arm64 [2022-10-17T11:10:54.262Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T11:10:54.534Z] prd-ubuntu20.04-docker-arm64-4c-16g-8300 does not seem to be running inside a container [2022-10-17T11:10:54.602Z] $ 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 ******** ci-base-image-arm64 cat [2022-10-17T11:10:55.794Z] $ docker top 424e5b78542cb45e63d6191d842243a866d92c5f6b7a9f35d537de3a62cc96ee -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-17T11:10:56.652Z] + go version [2022-10-17T11:10:56.652Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-17T11:10:56.689Z] $ docker stop --time=1 424e5b78542cb45e63d6191d842243a866d92c5f6b7a9f35d537de3a62cc96ee [2022-10-17T11:10:59.730Z] $ docker rm -f 424e5b78542cb45e63d6191d842243a866d92c5f6b7a9f35d537de3a62cc96ee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T11:11:00.509Z] + docker inspect -f . ci-base-image-arm64 [2022-10-17T11:11:00.510Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T11:11:00.723Z] prd-ubuntu20.04-docker-arm64-4c-16g-8300 does not seem to be running inside a container [2022-10-17T11:11:00.787Z] $ 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 ******** ci-base-image-arm64 cat [2022-10-17T11:11:01.911Z] $ docker top c4937b80d2ca8135d75ba18c899e30ecfe38b55b3d7abba6902af58c6fbeba41 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-17T11:11:02.472Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh [2022-10-17T11:11:02.850Z] + make test [2022-10-17T11:11:02.850Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-10-17T11:11:04.796Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-10-17T11:12:26.425Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-10-17T11:12:26.425Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.136s coverage: 65.7% of statements [2022-10-17T11:12:26.425Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-17T11:12:26.425Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-17T11:12:44.628Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-17T11:12:44.628Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-17T11:12:44.628Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-17T11:12:44.668Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-17T11:12:44.698Z] $ docker stop --time=1 c4937b80d2ca8135d75ba18c899e30ecfe38b55b3d7abba6902af58c6fbeba41 [2022-10-17T11:12:47.199Z] $ docker rm -f c4937b80d2ca8135d75ba18c899e30ecfe38b55b3d7abba6902af58c6fbeba41 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-17T11:12:48.151Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-17T11:12:48.187Z] Warning: overwriting stash ‘coverage-report’ [2022-10-17T11:12:48.596Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-17T11:12:49.184Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-17T11:12:49.516Z] + ls -al . [2022-10-17T11:12:49.516Z] total 196 [2022-10-17T11:12:49.516Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 11:11 . [2022-10-17T11:12:49.516Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 11:09 .. [2022-10-17T11:12:49.516Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 11:09 .git [2022-10-17T11:12:49.516Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 11:09 .github [2022-10-17T11:12:49.516Z] -rw-rw-r-- 1 jenkins jenkins 337 Oct 17 11:09 .gitignore [2022-10-17T11:12:49.516Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 17 11:09 .golangci.yml [2022-10-17T11:12:49.516Z] -rw-rw-r-- 1 jenkins jenkins 8527 Oct 17 11:09 Attribution.txt [2022-10-17T11:12:49.516Z] -rw-rw-r-- 1 jenkins jenkins 9649 Oct 17 11:09 CHANGELOG.md [2022-10-17T11:12:49.516Z] -rw-rw-r-- 1 jenkins jenkins 2034 Oct 17 11:09 Dockerfile [2022-10-17T11:12:49.516Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 17 11:09 GOVERNANCE.md [2022-10-17T11:12:49.516Z] -rw-rw-r-- 1 jenkins jenkins 660 Oct 17 11:09 Jenkinsfile [2022-10-17T11:12:49.516Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 17 11:09 LICENSE [2022-10-17T11:12:49.516Z] -rw-rw-r-- 1 jenkins jenkins 2457 Oct 17 11:09 Makefile [2022-10-17T11:12:49.516Z] -rw-rw-r-- 1 jenkins jenkins 623 Oct 17 11:09 OWNERS.md [2022-10-17T11:12:49.516Z] -rw-rw-r-- 1 jenkins jenkins 3578 Oct 17 11:09 README.md [2022-10-17T11:12:49.516Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 17 11:07 VERSION [2022-10-17T11:12:49.516Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 11:09 bin [2022-10-17T11:12:49.516Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 11:09 cmd [2022-10-17T11:12:49.516Z] -rw-r--r-- 1 jenkins jenkins 44128 Oct 17 11:12 coverage.out [2022-10-17T11:12:49.516Z] -rw-rw-r-- 1 jenkins jenkins 3399 Oct 17 11:09 go.mod [2022-10-17T11:12:49.516Z] -rw-rw-r-- 1 jenkins jenkins 37522 Oct 17 11:09 go.sum [2022-10-17T11:12:49.516Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 11:09 internal [2022-10-17T11:12:49.516Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 11:09 snap [2022-10-17T11:12:49.516Z] -rw-rw-r-- 1 jenkins jenkins 235 Oct 17 11:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T11:12:49.928Z] + 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=22d768529fbb3a99908fcf631ac5c84028b44c46 --label arch=arm64 --label version=0.0.0 . [2022-10-17T11:12:50.196Z] Sending build context to Docker daemon 11.79MB [2022-10-17T11:12:50.196Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-17T11:12:50.196Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-17T11:12:50.196Z] ---> f76058bf05b9 [2022-10-17T11:12:50.196Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-17T11:12:50.463Z] ---> Running in 88835acfb6ed [2022-10-17T11:12:50.731Z] Removing intermediate container 88835acfb6ed [2022-10-17T11:12:50.731Z] ---> 4ebc5fb87232 [2022-10-17T11:12:50.731Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-17T11:12:50.731Z] ---> Running in 5c0c96f9212e [2022-10-17T11:12:50.999Z] Removing intermediate container 5c0c96f9212e [2022-10-17T11:12:50.999Z] ---> a492c7be09f0 [2022-10-17T11:12:50.999Z] Step 5/27 : ARG ADD_BUILD_TAGS="" [2022-10-17T11:12:50.999Z] ---> Running in f03893973bc0 [2022-10-17T11:12:51.273Z] Removing intermediate container f03893973bc0 [2022-10-17T11:12:51.273Z] ---> 9a1cbc240fb8 [2022-10-17T11:12:51.273Z] Step 6/27 : WORKDIR /device-virtual-go [2022-10-17T11:12:51.541Z] ---> Running in 4f578011328a [2022-10-17T11:12:51.810Z] Removing intermediate container 4f578011328a [2022-10-17T11:12:51.810Z] ---> e36b726bce01 [2022-10-17T11:12:51.810Z] Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-17T11:12:51.810Z] ---> Running in 498fbcbcd3d8 [2022-10-17T11:12:53.224Z] Removing intermediate container 498fbcbcd3d8 [2022-10-17T11:12:53.224Z] ---> d8412ac6e797 [2022-10-17T11:12:53.224Z] Step 8/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-17T11:12:53.224Z] ---> Running in ba5c6abaa381 [2022-10-17T11:12:54.186Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-17T11:12:55.141Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-17T11:12:56.102Z] OK: 226 MiB in 55 packages [2022-10-17T11:12:57.063Z] Removing intermediate container ba5c6abaa381 [2022-10-17T11:12:57.063Z] ---> 0a508b38add0 [2022-10-17T11:12:57.063Z] Step 9/27 : COPY go.mod vendor* ./ [2022-10-17T11:12:58.018Z] ---> d6982a97bc85 [2022-10-17T11:12:58.018Z] Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-17T11:12:58.018Z] ---> Running in b3290ae6c090 [2022-10-17T11:12:59.963Z] Removing intermediate container b3290ae6c090 [2022-10-17T11:12:59.963Z] ---> fc2bb87143cb [2022-10-17T11:12:59.963Z] Step 11/27 : COPY . . [2022-10-17T11:13:00.927Z] ---> 8f5b11f51a2c [2022-10-17T11:13:00.927Z] Step 12/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-17T11:13:01.194Z] ---> Running in 6782ec3c3bd9 [2022-10-17T11:13:01.462Z] Removing intermediate container 6782ec3c3bd9 [2022-10-17T11:13:01.462Z] ---> 9e7b9bf2f70d [2022-10-17T11:13:01.462Z] Step 13/27 : RUN $MAKE [2022-10-17T11:13:01.462Z] ---> Running in 326ff20d73d4 [2022-10-17T11:13:02.424Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd [2022-10-17T11:15:39.156Z] Removing intermediate container 326ff20d73d4 [2022-10-17T11:15:39.156Z] ---> 935bb40025d1 [2022-10-17T11:15:39.156Z] Step 14/27 : FROM alpine:3.16 [2022-10-17T11:15:39.156Z] 3.16: Pulling from library/alpine [2022-10-17T11:15:39.156Z] 9b18e9b68314: Already exists [2022-10-17T11:15:39.156Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-17T11:15:39.156Z] Status: Downloaded newer image for alpine:3.16 [2022-10-17T11:15:39.156Z] ---> a6215f271958 [2022-10-17T11:15:39.156Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-10-17T11:15:39.156Z] ---> Running in 06ba9980ac3b [2022-10-17T11:15:39.156Z] Removing intermediate container 06ba9980ac3b [2022-10-17T11:15:39.156Z] ---> 114698a0e846 [2022-10-17T11:15:39.156Z] Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-17T11:15:39.156Z] ---> Running in 6afaa8f1426e [2022-10-17T11:15:39.156Z] Removing intermediate container 6afaa8f1426e [2022-10-17T11:15:39.156Z] ---> 310d699f7f30 [2022-10-17T11:15:39.156Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-17T11:15:39.156Z] ---> Running in 5fab00c8c373 [2022-10-17T11:15:39.156Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-17T11:15:39.156Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-17T11:15:39.156Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-17T11:15:39.156Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-17T11:15:39.156Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-17T11:15:39.156Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-17T11:15:39.156Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-17T11:15:39.156Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-17T11:15:39.156Z] Executing busybox-1.35.0-r17.trigger [2022-10-17T11:15:39.156Z] OK: 8 MiB in 20 packages [2022-10-17T11:15:39.156Z] Removing intermediate container 5fab00c8c373 [2022-10-17T11:15:39.156Z] ---> 68b425674948 [2022-10-17T11:15:39.156Z] Step 18/27 : WORKDIR / [2022-10-17T11:15:39.156Z] ---> Running in 6f9aea7a0523 [2022-10-17T11:15:39.156Z] Removing intermediate container 6f9aea7a0523 [2022-10-17T11:15:39.156Z] ---> 37c705108e67 [2022-10-17T11:15:39.156Z] Step 19/27 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-10-17T11:15:39.156Z] ---> f72b8d2e2704 [2022-10-17T11:15:39.156Z] Step 20/27 : COPY --from=builder /device-virtual-go/LICENSE / [2022-10-17T11:15:39.156Z] ---> 5196fd33aab6 [2022-10-17T11:15:39.156Z] Step 21/27 : COPY --from=builder /device-virtual-go/cmd / [2022-10-17T11:15:39.156Z] ---> 401631b2deea [2022-10-17T11:15:39.156Z] Step 22/27 : EXPOSE 59900 [2022-10-17T11:15:39.156Z] ---> Running in b61be697afc6 [2022-10-17T11:15:39.156Z] Removing intermediate container b61be697afc6 [2022-10-17T11:15:39.156Z] ---> 76f35e61e947 [2022-10-17T11:15:39.156Z] Step 23/27 : ENTRYPOINT ["/device-virtual"] [2022-10-17T11:15:39.156Z] ---> Running in 856b9a6b940a [2022-10-17T11:15:39.156Z] Removing intermediate container 856b9a6b940a [2022-10-17T11:15:39.156Z] ---> b3a1bf6d969f [2022-10-17T11:15:39.156Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-17T11:15:39.156Z] ---> Running in 4e79709e7a36 [2022-10-17T11:15:39.156Z] Removing intermediate container 4e79709e7a36 [2022-10-17T11:15:39.156Z] ---> 9a9649649d0a [2022-10-17T11:15:39.156Z] Step 25/27 : LABEL arch=arm64 [2022-10-17T11:15:39.156Z] ---> Running in b6bc17867eed [2022-10-17T11:15:39.156Z] Removing intermediate container b6bc17867eed [2022-10-17T11:15:39.156Z] ---> 335d1ac3b9c2 [2022-10-17T11:15:39.156Z] Step 26/27 : LABEL git_sha=22d768529fbb3a99908fcf631ac5c84028b44c46 [2022-10-17T11:15:39.156Z] ---> Running in d5f360ed602a [2022-10-17T11:15:39.156Z] Removing intermediate container d5f360ed602a [2022-10-17T11:15:39.156Z] ---> dc7cebbc0395 [2022-10-17T11:15:39.156Z] Step 27/27 : LABEL version=0.0.0 [2022-10-17T11:15:39.156Z] ---> Running in d7f4116545f5 [2022-10-17T11:15:39.422Z] Removing intermediate container d7f4116545f5 [2022-10-17T11:15:39.422Z] ---> 0bdf37fd1954 [2022-10-17T11:15:39.422Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-17T11:15:39.422Z] Successfully built 0bdf37fd1954 [2022-10-17T11:15:39.422Z] Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T11:15:40.219Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-17T11:15:40.219Z] [2022-10-17T11:15:40.219Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T11:15:40.621Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-17T11:15:40.621Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-17T11:15:40.621Z] 8998bd30e6a1: Pulling fs layer [2022-10-17T11:15:40.621Z] 04944245beec: Pulling fs layer [2022-10-17T11:15:40.621Z] 699f458cf7ca: Pulling fs layer [2022-10-17T11:15:40.621Z] 765212b225bb: Pulling fs layer [2022-10-17T11:15:40.621Z] f23df028b6ca: Pulling fs layer [2022-10-17T11:15:40.621Z] d65c8cfc05b1: Pulling fs layer [2022-10-17T11:15:40.621Z] 2437ff75d9bd: Pulling fs layer [2022-10-17T11:15:40.621Z] 765212b225bb: Waiting [2022-10-17T11:15:40.621Z] f23df028b6ca: Waiting [2022-10-17T11:15:40.621Z] d65c8cfc05b1: Waiting [2022-10-17T11:15:40.621Z] 2437ff75d9bd: Waiting [2022-10-17T11:15:40.892Z] 04944245beec: Verifying Checksum [2022-10-17T11:15:40.892Z] 04944245beec: Download complete [2022-10-17T11:15:40.892Z] 765212b225bb: Verifying Checksum [2022-10-17T11:15:40.892Z] 765212b225bb: Download complete [2022-10-17T11:15:40.892Z] f23df028b6ca: Verifying Checksum [2022-10-17T11:15:40.892Z] f23df028b6ca: Download complete [2022-10-17T11:15:40.892Z] d65c8cfc05b1: Verifying Checksum [2022-10-17T11:15:40.892Z] d65c8cfc05b1: Download complete [2022-10-17T11:15:40.892Z] 699f458cf7ca: Verifying Checksum [2022-10-17T11:15:40.892Z] 699f458cf7ca: Download complete [2022-10-17T11:15:41.478Z] 8998bd30e6a1: Verifying Checksum [2022-10-17T11:15:41.478Z] 8998bd30e6a1: Download complete [2022-10-17T11:15:44.063Z] 2437ff75d9bd: Verifying Checksum [2022-10-17T11:15:44.063Z] 2437ff75d9bd: Download complete [2022-10-17T11:15:45.474Z] 8998bd30e6a1: Pull complete [2022-10-17T11:15:45.741Z] 04944245beec: Pull complete [2022-10-17T11:15:47.147Z] 699f458cf7ca: Pull complete [2022-10-17T11:15:47.147Z] 765212b225bb: Pull complete [2022-10-17T11:15:47.728Z] f23df028b6ca: Pull complete [2022-10-17T11:15:47.996Z] d65c8cfc05b1: Pull complete [2022-10-17T11:16:02.980Z] 2437ff75d9bd: Pull complete [2022-10-17T11:16:02.980Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-17T11:16:02.980Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-17T11:16:02.980Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T11:16:03.289Z] prd-ubuntu20.04-docker-arm64-4c-16g-8300 does not seem to be running inside a container [2022-10-17T11:16:03.352Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-17T11:16:05.838Z] $ docker top c4585c9830f9d209938066877b272caa3f3bc5ab54d1076fba7fd44d4926486d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-17T11:16:06.397Z] ---> job-cost.sh [2022-10-17T11:16:06.663Z] lf-activate-venv: SKIPPING [2022-10-17T11:16:06.663Z] INFO: No Stack... [2022-10-17T11:16:06.927Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-17T11:16:07.882Z] INFO: Archiving Costs [Pipeline] sh [2022-10-17T11:16:08.218Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2022-10-17T11:16:08.483Z] + cut -d, -f6 [Pipeline] lock [2022-10-17T11:16:08.562Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-314-1-stack-cost] [2022-10-17T11:16:08.567Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-314-1-stack-cost] did not exist. Created. [2022-10-17T11:16:08.567Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-314-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-17T11:16:09.282Z] /w/workspace/device-virtual-go/1@tmp/durable-770d68d8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-17T11:16:09.634Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-17T11:16:09.669Z] Warning: overwriting stash ‘stack-cost’ [2022-10-17T11:16:09.710Z] Stashed 1 file(s) [Pipeline] } [2022-10-17T11:16:09.725Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-314-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-17T11:16:09.801Z] $ docker stop --time=1 c4585c9830f9d209938066877b272caa3f3bc5ab54d1076fba7fd44d4926486d [2022-10-17T11:16:11.262Z] $ docker rm -f c4585c9830f9d209938066877b272caa3f3bc5ab54d1076fba7fd44d4926486d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-10-17T11:16:12.258Z] provisioning config files... [2022-10-17T11:16:12.269Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-314@tmp/config14436279159362413984tmp [Pipeline] { [Pipeline] sh [2022-10-17T11:16:12.606Z] + set +x [2022-10-17T11:16:12.606Z] + curl -s https://codecov.io/bash [2022-10-17T11:16:12.606Z] + bash -s -- [2022-10-17T11:16:12.606Z] [2022-10-17T11:16:12.606Z] _____ _ [2022-10-17T11:16:12.606Z] / ____| | | [2022-10-17T11:16:12.606Z] | | ___ __| | ___ ___ _____ __ [2022-10-17T11:16:12.606Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-17T11:16:12.606Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-17T11:16:12.606Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-17T11:16:12.606Z] Bash-1.0.6 [2022-10-17T11:16:12.606Z] [2022-10-17T11:16:12.606Z] [2022-10-17T11:16:12.606Z] ==> git version 2.25.1 found [2022-10-17T11:16:12.606Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-10-17T11:16:12.606Z] Release-Date: 2020-01-08 [2022-10-17T11:16:12.606Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-10-17T11:16:12.606Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-17T11:16:12.606Z] ==> Jenkins CI detected. [2022-10-17T11:16:12.606Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-314 [2022-10-17T11:16:12.606Z] project root: . [2022-10-17T11:16:12.606Z] --> token set from env [2022-10-17T11:16:12.606Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-17T11:16:12.866Z] ==> Running gcov in . (disable via -X gcov) [2022-10-17T11:16:12.866Z] ==> Python coveragepy not found [2022-10-17T11:16:12.866Z] ==> Searching for coverage reports in: [2022-10-17T11:16:12.866Z] + . [2022-10-17T11:16:12.866Z] -> Found 1 reports [2022-10-17T11:16:12.866Z] ==> Detecting git/mercurial file structure [2022-10-17T11:16:12.866Z] ==> Reading reports [2022-10-17T11:16:12.866Z] + ./coverage.out bytes=44128 [2022-10-17T11:16:12.866Z] ==> Appending adjustments [2022-10-17T11:16:12.866Z] https://docs.codecov.io/docs/fixing-reports [2022-10-17T11:16:12.866Z] + Found adjustments [2022-10-17T11:16:12.866Z] ==> Gzipping contents [2022-10-17T11:16:12.866Z] 8.0K /tmp/codecov.yZkNCp.gz [2022-10-17T11:16:12.866Z] ==> Uploading reports [2022-10-17T11:16:12.866Z] url: https://codecov.io [2022-10-17T11:16:12.866Z] query: branch=PR-314&commit=22d768529fbb3a99908fcf631ac5c84028b44c46&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-314%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=314&job=&cmd_args= [2022-10-17T11:16:12.866Z] -> Pinging Codecov [2022-10-17T11:16:12.866Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-314&commit=22d768529fbb3a99908fcf631ac5c84028b44c46&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-314%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=314&job=&cmd_args= [2022-10-17T11:16:13.437Z] -> Uploading to [2022-10-17T11:16:13.437Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-17/5E52B4B073DB2E39498172D8E973AA87/22d768529fbb3a99908fcf631ac5c84028b44c46/f7595d70-b35e-4b0e-8387-1006878307ca.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221017%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221017T111613Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9e42aef3d692e8757e6c43c654ecaf61234bc33cfd87d34a6ecc50ade61fd35b [2022-10-17T11:16:13.437Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-17T11:16:13.437Z] Dload Upload Total Spent Left Speed [2022-10-17T11:16:13.437Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5486 0 0 100 5486 0 22953 --:--:-- --:--:-- --:--:-- 22953 [2022-10-17T11:16:13.437Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/22d768529fbb3a99908fcf631ac5c84028b44c46 [Pipeline] } [2022-10-17T11:16:13.463Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-10-17T11:16:15.134Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-314/archives ] [2022-10-17T11:16:15.134Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-314/archives [2022-10-17T11:16:15.134Z] total 16 [2022-10-17T11:16:15.134Z] drwxr-xr-x 3 root root 4096 Oct 17 11:09 . [2022-10-17T11:16:15.134Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 17 11:09 .. [2022-10-17T11:16:15.134Z] drwxr-xr-x 2 root root 4096 Oct 17 11:09 cost [2022-10-17T11:16:15.134Z] -rw-r--r-- 1 root root 89 Oct 17 11:09 cost.csv [2022-10-17T11:16:15.134Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-314/archives [2022-10-17T11:16:15.134Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-314/archives [2022-10-17T11:16:15.134Z] total 16 [2022-10-17T11:16:15.134Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 11:09 . [2022-10-17T11:16:15.134Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 17 11:09 .. [2022-10-17T11:16:15.134Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 17 11:09 cost [2022-10-17T11:16:15.134Z] -rw-r--r-- 1 jenkins jenkins 89 Oct 17 11:09 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-17T11:16:15.453Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-17T11:16:16.341Z] ---> package-listing.sh [2022-10-17T11:16:16.341Z] ++ facter osfamily [2022-10-17T11:16:16.341Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-17T11:16:16.600Z] + OS_FAMILY=debian [2022-10-17T11:16:16.600Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-314 [2022-10-17T11:16:16.600Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-17T11:16:16.600Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-17T11:16:16.600Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-17T11:16:16.600Z] + PACKAGES=/tmp/packages_start.txt [2022-10-17T11:16:16.600Z] + '[' /w/workspace/foundry_device-virtual-go_PR-314 ']' [2022-10-17T11:16:16.600Z] + PACKAGES=/tmp/packages_end.txt [2022-10-17T11:16:16.600Z] + case "${OS_FAMILY}" in [2022-10-17T11:16:16.600Z] + dpkg -l [2022-10-17T11:16:16.600Z] + grep '^ii' [2022-10-17T11:16:16.600Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-17T11:16:16.600Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-17T11:16:16.600Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-17T11:16:16.600Z] + '[' /w/workspace/foundry_device-virtual-go_PR-314 ']' [2022-10-17T11:16:16.600Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-314/archives/ [2022-10-17T11:16:16.600Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-314/archives/ [Pipeline] echo [2022-10-17T11:16:16.636Z] 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-314/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-17T11:16:16.931Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T11:16:17.561Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-17T11:16:17.561Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T11:16:17.701Z] prd-ubuntu20.04-docker-8c-8g-8299 does not seem to be running inside a container [2022-10-17T11:16:17.732Z] $ 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-314/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-314 -v /w/workspace/foundry_device-virtual-go_PR-314:/w/workspace/foundry_device-virtual-go_PR-314:rw,z -v /w/workspace/foundry_device-virtual-go_PR-314@tmp:/w/workspace/foundry_device-virtual-go_PR-314@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-10-17T11:16:17.955Z] $ docker top 57079d327aa71cdc54cc8d369ee90b9d8d06038ad6e5f06ba636cb1deab03a36 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-17T11:16:18.353Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-17T11:16:18.662Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-17T11:16:18.971Z] + ls /var/log/sa-host [2022-10-17T11:16:18.971Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-17T11:16:19.175Z] provisioning config files... [2022-10-17T11:16:19.185Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-314@tmp/config15749575983988832617tmp [Pipeline] { [Pipeline] echo [2022-10-17T11:16:19.233Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-17T11:16:19.540Z] ---> create-netrc.sh [Pipeline] } [2022-10-17T11:16:19.567Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-17T11:16:19.961Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-17T11:16:19.994Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-17T11:16:20.310Z] ---> sudo-logs.sh [2022-10-17T11:16:20.310Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-17T11:16:20.395Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-17T11:16:20.707Z] ---> job-cost.sh [2022-10-17T11:16:20.707Z] lf-activate-venv: SKIPPING [2022-10-17T11:16:20.707Z] DEBUG: total: 0.2199999988079071 [2022-10-17T11:16:20.707Z] INFO: Retrieving Stack Cost... [2022-10-17T11:16:21.276Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-17T11:16:21.536Z] INFO: Archiving Costs [Pipeline] echo [2022-10-17T11:16:21.576Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-17T11:16:21.888Z] ---> logs-deploy.sh [2022-10-17T11:16:21.888Z] lf-activate-venv: SKIPPING [2022-10-17T11:16:21.888Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-314/1 [2022-10-17T11:16:21.888Z] INFO: archiving workspace using pattern(s): [2022-10-17T11:16:22.831Z] Archives upload complete. [2022-10-17T11:16:23.091Z] INFO: archiving logs to Nexus