Pull request #319 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2cd6a7410439459670337fad3168dbb7fe548874+bcd4d59cdc4959d1a0f5bb8dc06b88fb66ef40d9 (1a8816e9d8d9b132b4c133899b16fac3294daf9f) 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-ssh16639300418707195973.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh14133033254928230548.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-319/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-319/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15813540260731079293.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-319/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9470744962121804380.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh2548196185921119341.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-319/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-319/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13032584176394750126.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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 Running on prd-ubuntu20.04-docker-8c-8g-118403 in /w/workspace/foundry_device-virtual-go_PR-319 [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-319 # 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/319/head:refs/remotes/origin/PR-319 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit bcd4d59cdc4959d1a0f5bb8dc06b88fb66ef40d9 into PR head commit 2cd6a7410439459670337fad3168dbb7fe548874 Merge succeeded, producing 2cd6a7410439459670337fad3168dbb7fe548874 Checking out Revision 2cd6a7410439459670337fad3168dbb7fe548874 (PR-319) 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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } > git config core.sparsecheckout # timeout=10 > git checkout -f 2cd6a7410439459670337fad3168dbb7fe548874 # 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 bcd4d59cdc4959d1a0f5bb8dc06b88fb66ef40d9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2cd6a7410439459670337fad3168dbb7fe548874 # timeout=10 [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-11-07T11:01:46.036Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-11-07T11:01:46.321Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-11-07T11:01:46.413Z] ========================================================= [2022-11-07T11:01:46.413Z] EdgeX Global Pipelines Version Info [2022-11-07T11:01:46.414Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-11-07T11:01:47.182Z] ------------------- [2022-11-07T11:01:47.183Z] stable info: [2022-11-07T11:01:47.183Z] ------------------- [2022-11-07T11:01:47.183Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-11-07T11:01:47.183Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-07T11:01:47.183Z] Message: update stable to v1.0.244 [2022-11-07T11:01:47.758Z] ------------------- [2022-11-07T11:01:47.758Z] experimental info: [2022-11-07T11:01:47.758Z] ------------------- [2022-11-07T11:01:47.759Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-11-07T11:01:47.759Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-07T11:01:47.759Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-11-07T11:01:48.057Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2022-11-07T11:01:48.102Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2022-11-07T11:01:48.146Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-11-07T11:01:48.197Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-11-07T11:01:48.245Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-11-07T11:01:48.288Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-11-07T11:01:48.334Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-11-07T11:01:48.386Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-11-07T11:01:48.431Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-11-07T11:01:48.474Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-11-07T11:01:48.516Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-11-07T11:01:48.563Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2022-11-07T11:01:48.611Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-11-07T11:01:48.654Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-11-07T11:01:48.697Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-11-07T11:01:48.741Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-11-07T11:01:48.788Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-11-07T11:01:48.831Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-11-07T11:01:48.871Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-11-07T11:01:48.919Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-11-07T11:01:48.966Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-11-07T11:01:49.009Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-11-07T11:01:49.054Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-11-07T11:01:49.102Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-11-07T11:01:49.139Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-11-07T11:01:49.180Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-11-07T11:01:49.218Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-11-07T11:01:49.256Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-319 [Pipeline] echo [2022-11-07T11:01:49.296Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-319 [Pipeline] echo [2022-11-07T11:01:49.335Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-319 [Pipeline] echo [2022-11-07T11:01:49.372Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2cd6a7410439459670337fad3168dbb7fe548874 [Pipeline] echo [2022-11-07T11:01:49.420Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2cd6a74 [Pipeline] echo [2022-11-07T11:01:49.462Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-07T11:01:49.596Z] provisioning config files... [2022-11-07T11:01:49.623Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-319@tmp/config13014845995872476117tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T11:01:49.968Z] ---> docker-login.sh [2022-11-07T11:01:49.968Z] nexus3.edgexfoundry.org:10001 [2022-11-07T11:01:50.230Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T11:01:50.493Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T11:01:50.493Z] Configure a credential helper to remove this warning. See [2022-11-07T11:01:50.493Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T11:01:50.493Z] [2022-11-07T11:01:50.493Z] Login Succeeded [2022-11-07T11:01:50.493Z] nexus3.edgexfoundry.org:10002 [2022-11-07T11:01:50.493Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T11:01:50.493Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T11:01:50.493Z] Configure a credential helper to remove this warning. See [2022-11-07T11:01:50.493Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T11:01:50.493Z] [2022-11-07T11:01:50.493Z] Login Succeeded [2022-11-07T11:01:50.493Z] nexus3.edgexfoundry.org:10003 [2022-11-07T11:01:50.493Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T11:01:50.493Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T11:01:50.493Z] Configure a credential helper to remove this warning. See [2022-11-07T11:01:50.493Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T11:01:50.493Z] [2022-11-07T11:01:50.493Z] Login Succeeded [2022-11-07T11:01:50.493Z] nexus3.edgexfoundry.org:10004 [2022-11-07T11:01:50.754Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T11:01:50.754Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T11:01:50.754Z] Configure a credential helper to remove this warning. See [2022-11-07T11:01:50.754Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T11:01:50.754Z] [2022-11-07T11:01:50.754Z] Login Succeeded [2022-11-07T11:01:50.754Z] docker.io [2022-11-07T11:01:50.754Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T11:01:51.336Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T11:01:51.336Z] Configure a credential helper to remove this warning. See [2022-11-07T11:01:51.336Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T11:01:51.336Z] [2022-11-07T11:01:51.336Z] Login Succeeded [2022-11-07T11:01:51.336Z] ---> docker-login.sh ends [Pipeline] } [2022-11-07T11:01:51.367Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-11-07T11:01:52.013Z] + git rev-list -1 --merges 2cd6a7410439459670337fad3168dbb7fe548874~1..2cd6a7410439459670337fad3168dbb7fe548874 [Pipeline] echo [2022-11-07T11:01:52.047Z] -----------> git rev-list -1 --merges 2cd6a7410439459670337fad3168dbb7fe548874~1..2cd6a7410439459670337fad3168dbb7fe548874 2cd6a7410439459670337fad3168dbb7fe548874 [false] [Pipeline] sh [2022-11-07T11:01:52.357Z] + git log --format=format:%s -1 2cd6a7410439459670337fad3168dbb7fe548874 [Pipeline] echo [2022-11-07T11:01:52.393Z] ========================================================= [2022-11-07T11:01:52.394Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-11-07T11:01:52.394Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-07T11:01:52.828Z] + git log --format=format:%s -1 2cd6a7410439459670337fad3168dbb7fe548874 [Pipeline] echo [2022-11-07T11:01:52.856Z] [semverPrep] GIT_COMMIT: 2cd6a7410439459670337fad3168dbb7fe548874, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-11-07T11:01:52.880Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-11-07T11:01:53.273Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-07T11:01:53.274Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-11-07T11:01:53.274Z] + [ -e /tmp/ssh_known_hosts ] [2022-11-07T11:01:53.274Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-11-07T11:01:53.274Z] + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee [2022-11-07T11:01:53.274Z] -a /etc/ssh/ssh_known_hosts [2022-11-07T11:01:53.274Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T11:01:53.690Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-07T11:01:53.690Z] [2022-11-07T11:01:53.690Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T11:01:54.066Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-07T11:01:54.066Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-11-07T11:01:54.066Z] b85a868b505f: Pulling fs layer [2022-11-07T11:01:54.066Z] e2be974225ed: Pulling fs layer [2022-11-07T11:01:54.066Z] 339a4e72a1f5: Pulling fs layer [2022-11-07T11:01:54.066Z] 988bab9f4d93: Pulling fs layer [2022-11-07T11:01:54.066Z] 1469e6f7b9e6: Pulling fs layer [2022-11-07T11:01:54.066Z] eaf3925da568: Pulling fs layer [2022-11-07T11:01:54.066Z] bab4dde63d76: Pulling fs layer [2022-11-07T11:01:54.066Z] bde34c3a00c8: Pulling fs layer [2022-11-07T11:01:54.066Z] b352a97aabf1: Pulling fs layer [2022-11-07T11:01:54.066Z] 4872d77fe225: Pulling fs layer [2022-11-07T11:01:54.066Z] 5851b861e8e6: Pulling fs layer [2022-11-07T11:01:54.066Z] bab4dde63d76: Waiting [2022-11-07T11:01:54.066Z] bde34c3a00c8: Waiting [2022-11-07T11:01:54.066Z] b352a97aabf1: Waiting [2022-11-07T11:01:54.066Z] 4872d77fe225: Waiting [2022-11-07T11:01:54.066Z] 5851b861e8e6: Waiting [2022-11-07T11:01:54.066Z] 988bab9f4d93: Waiting [2022-11-07T11:01:54.066Z] 1469e6f7b9e6: Waiting [2022-11-07T11:01:54.066Z] eaf3925da568: Waiting [2022-11-07T11:01:54.066Z] e2be974225ed: Verifying Checksum [2022-11-07T11:01:54.066Z] e2be974225ed: Download complete [2022-11-07T11:01:54.066Z] 988bab9f4d93: Verifying Checksum [2022-11-07T11:01:54.066Z] 988bab9f4d93: Download complete [2022-11-07T11:01:54.328Z] 1469e6f7b9e6: Verifying Checksum [2022-11-07T11:01:54.328Z] 1469e6f7b9e6: Download complete [2022-11-07T11:01:54.328Z] 339a4e72a1f5: Verifying Checksum [2022-11-07T11:01:54.328Z] 339a4e72a1f5: Download complete [2022-11-07T11:01:54.328Z] eaf3925da568: Verifying Checksum [2022-11-07T11:01:54.328Z] eaf3925da568: Download complete [2022-11-07T11:01:54.328Z] bde34c3a00c8: Verifying Checksum [2022-11-07T11:01:54.328Z] bde34c3a00c8: Download complete [2022-11-07T11:01:54.328Z] b352a97aabf1: Download complete [2022-11-07T11:01:54.328Z] 4872d77fe225: Verifying Checksum [2022-11-07T11:01:54.328Z] 4872d77fe225: Download complete [2022-11-07T11:01:54.328Z] 5851b861e8e6: Verifying Checksum [2022-11-07T11:01:54.328Z] 5851b861e8e6: Download complete [2022-11-07T11:01:54.328Z] b85a868b505f: Verifying Checksum [2022-11-07T11:01:54.328Z] b85a868b505f: Download complete [2022-11-07T11:01:54.587Z] bab4dde63d76: Verifying Checksum [2022-11-07T11:01:54.587Z] bab4dde63d76: Download complete [2022-11-07T11:01:55.524Z] b85a868b505f: Pull complete [2022-11-07T11:01:55.782Z] e2be974225ed: Pull complete [2022-11-07T11:01:56.042Z] 339a4e72a1f5: Pull complete [2022-11-07T11:01:56.301Z] 988bab9f4d93: Pull complete [2022-11-07T11:01:56.561Z] 1469e6f7b9e6: Pull complete [2022-11-07T11:01:56.561Z] eaf3925da568: Pull complete [2022-11-07T11:01:58.469Z] bab4dde63d76: Pull complete [2022-11-07T11:01:58.469Z] bde34c3a00c8: Pull complete [2022-11-07T11:01:58.469Z] b352a97aabf1: Pull complete [2022-11-07T11:01:58.469Z] 4872d77fe225: Pull complete [2022-11-07T11:01:58.728Z] 5851b861e8e6: Pull complete [2022-11-07T11:01:58.728Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-11-07T11:01:58.728Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-07T11:01:58.728Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T11:01:58.953Z] prd-ubuntu20.04-docker-8c-8g-118403 does not seem to be running inside a container [2022-11-07T11:01:58.979Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-319 -v /w/workspace/foundry_device-virtual-go_PR-319:/w/workspace/foundry_device-virtual-go_PR-319:rw,z -v /w/workspace/foundry_device-virtual-go_PR-319@tmp:/w/workspace/foundry_device-virtual-go_PR-319@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-11-07T11:02:00.520Z] $ docker top cd5106879378685775202f851cebd195789be6d07c4b6df82b9812e695abcd0d -eo pid,comm [2022-11-07T11:02:00.578Z] 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-11-07T11:02:00.578Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-11-07T11:02:00.717Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-07T11:02:00.717Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-07T11:02:00.844Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-07T11:02:00.842Z] $ docker exec cd5106879378685775202f851cebd195789be6d07c4b6df82b9812e695abcd0d ssh-agent [2022-11-07T11:02:00.953Z] SSH_AUTH_SOCK=/tmp/ssh-WKhwkO2ygjYc/agent.33 [2022-11-07T11:02:00.953Z] SSH_AGENT_PID=39 [2022-11-07T11:02:00.959Z] Running ssh-add (command line suppressed) [2022-11-07T11:02:01.054Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-319@tmp/private_key_5766270045261951251.key (/w/workspace/foundry_device-virtual-go_PR-319@tmp/private_key_5766270045261951251.key) [2022-11-07T11:02:01.075Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-07T11:02:01.409Z] + git tag --points-at HEAD [Pipeline] } [2022-11-07T11:02:01.432Z] $ docker exec --env ******** --env ******** cd5106879378685775202f851cebd195789be6d07c4b6df82b9812e695abcd0d ssh-agent -k [2022-11-07T11:02:01.546Z] unset SSH_AUTH_SOCK; [2022-11-07T11:02:01.547Z] unset SSH_AGENT_PID; [2022-11-07T11:02:01.547Z] echo Agent pid 39 killed; [2022-11-07T11:02:01.559Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-11-07T11:02:01.648Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-07T11:02:01.648Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-07T11:02:01.763Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-07T11:02:01.761Z] $ docker exec cd5106879378685775202f851cebd195789be6d07c4b6df82b9812e695abcd0d ssh-agent [2022-11-07T11:02:01.884Z] SSH_AUTH_SOCK=/tmp/ssh-a3UCcWmbOsDC/agent.72 [2022-11-07T11:02:01.884Z] SSH_AGENT_PID=78 [2022-11-07T11:02:01.888Z] Running ssh-add (command line suppressed) [2022-11-07T11:02:01.985Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-319@tmp/private_key_11354620866449997989.key (/w/workspace/foundry_device-virtual-go_PR-319@tmp/private_key_11354620866449997989.key) [2022-11-07T11:02:02.004Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-07T11:02:02.334Z] + git semver init [2022-11-07T11:02:02.597Z] 2022-11-07 11:02:02,507 [run_init] DEBUG init version:0.0.0 force:False [2022-11-07T11:02:02.597Z] 2022-11-07 11:02:02,508 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-319/.semver [2022-11-07T11:02:02.597Z] 2022-11-07 11:02:02,508 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-319/.semver [2022-11-07T11:02:02.597Z] 2022-11-07 11:02:02,508 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-319/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-319, universal_newlines=False, shell=None, istream=None) [2022-11-07T11:02:03.979Z] 2022-11-07 11:02:03,739 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-319/.git/info/exclude [2022-11-07T11:02:03.979Z] 2022-11-07 11:02:03,740 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-319/.semver/PR-319 with force:False [2022-11-07T11:02:03.979Z] 2022-11-07 11:02:03,740 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-319/.semver/PR-319 [2022-11-07T11:02:03.979Z] 2022-11-07 11:02:03,745 [execute] INFO git cat-file --batch-check [2022-11-07T11:02:03.979Z] 2022-11-07 11:02:03,746 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-319/.semver, universal_newlines=False, shell=None, istream=) [2022-11-07T11:02:03.979Z] 2022-11-07 11:02:03,753 [execute] INFO git cat-file --batch [2022-11-07T11:02:03.979Z] 2022-11-07 11:02:03,754 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-319/.semver, universal_newlines=False, shell=None, istream=) [2022-11-07T11:02:03.979Z] 2022-11-07 11:02:03,760 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-319/.semver/PR-319 [2022-11-07T11:02:03.979Z] 0.0.0 [Pipeline] } [2022-11-07T11:02:04.001Z] $ docker exec --env ******** --env ******** cd5106879378685775202f851cebd195789be6d07c4b6df82b9812e695abcd0d ssh-agent -k [2022-11-07T11:02:04.105Z] unset SSH_AUTH_SOCK; [2022-11-07T11:02:04.106Z] unset SSH_AGENT_PID; [2022-11-07T11:02:04.106Z] echo Agent pid 78 killed; [2022-11-07T11:02:04.120Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-07T11:02:04.697Z] + git semver [Pipeline] } [2022-11-07T11:02:04.976Z] $ docker stop --time=1 cd5106879378685775202f851cebd195789be6d07c4b6df82b9812e695abcd0d [2022-11-07T11:02:06.287Z] $ docker rm -f cd5106879378685775202f851cebd195789be6d07c4b6df82b9812e695abcd0d [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-07T11:02:06.695Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-11-07T11:02:06.922Z] Stashed 1 file(s) [Pipeline] echo [2022-11-07T11:02:06.942Z] [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-11-07T11:02:07.642Z] provisioning config files... [2022-11-07T11:02:07.651Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-319@tmp/config1578755387323772066tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T11:02:08.000Z] ---> docker-login.sh [2022-11-07T11:02:08.000Z] nexus3.edgexfoundry.org:10001 [2022-11-07T11:02:08.000Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T11:02:08.000Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T11:02:08.000Z] Configure a credential helper to remove this warning. See [2022-11-07T11:02:08.000Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T11:02:08.000Z] [2022-11-07T11:02:08.000Z] Login Succeeded [2022-11-07T11:02:08.000Z] nexus3.edgexfoundry.org:10002 [2022-11-07T11:02:08.000Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T11:02:08.000Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T11:02:08.000Z] Configure a credential helper to remove this warning. See [2022-11-07T11:02:08.000Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T11:02:08.000Z] [2022-11-07T11:02:08.000Z] Login Succeeded [2022-11-07T11:02:08.000Z] nexus3.edgexfoundry.org:10003 [2022-11-07T11:02:08.258Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T11:02:08.258Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T11:02:08.258Z] Configure a credential helper to remove this warning. See [2022-11-07T11:02:08.258Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T11:02:08.258Z] [2022-11-07T11:02:08.258Z] Login Succeeded [2022-11-07T11:02:08.258Z] nexus3.edgexfoundry.org:10004 [2022-11-07T11:02:08.258Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T11:02:08.258Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T11:02:08.258Z] Configure a credential helper to remove this warning. See [2022-11-07T11:02:08.258Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T11:02:08.258Z] [2022-11-07T11:02:08.258Z] Login Succeeded [2022-11-07T11:02:08.258Z] docker.io [2022-11-07T11:02:08.517Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T11:02:08.776Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T11:02:08.776Z] Configure a credential helper to remove this warning. See [2022-11-07T11:02:08.776Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T11:02:08.776Z] [2022-11-07T11:02:08.776Z] Login Succeeded [2022-11-07T11:02:08.776Z] ---> docker-login.sh ends [Pipeline] } [2022-11-07T11:02:08.804Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-07T11:02:09.114Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-07T11:02:09.152Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-07T11:02:09.188Z] ========================================================= [2022-11-07T11:02:09.188Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-11-07T11:02:09.189Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T11:02:09.660Z] + 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-11-07T11:02:09.660Z] Sending build context to Docker daemon 23.26MB [2022-11-07T11:02:09.660Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-11-07T11:02:09.660Z] Step 2/12 : FROM ${BASE} AS builder [2022-11-07T11:02:09.924Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-11-07T11:02:09.924Z] 213ec9aee27d: Pulling fs layer [2022-11-07T11:02:09.924Z] 4583459ba037: Pulling fs layer [2022-11-07T11:02:09.924Z] 93c1e223e6f2: Pulling fs layer [2022-11-07T11:02:09.924Z] 53926ce57604: Pulling fs layer [2022-11-07T11:02:09.924Z] 21b2b0c7a3f4: Pulling fs layer [2022-11-07T11:02:09.924Z] 22ff95d597cd: Pulling fs layer [2022-11-07T11:02:09.924Z] 12d6caf4c0d1: Pulling fs layer [2022-11-07T11:02:09.924Z] 96b7cbca73a9: Pulling fs layer [2022-11-07T11:02:09.924Z] a7acece74701: Pulling fs layer [2022-11-07T11:02:09.924Z] 22ff95d597cd: Waiting [2022-11-07T11:02:09.924Z] 12d6caf4c0d1: Waiting [2022-11-07T11:02:09.924Z] 21b2b0c7a3f4: Waiting [2022-11-07T11:02:09.924Z] 53926ce57604: Waiting [2022-11-07T11:02:09.924Z] a7acece74701: Waiting [2022-11-07T11:02:09.924Z] 96b7cbca73a9: Waiting [2022-11-07T11:02:09.924Z] 93c1e223e6f2: Verifying Checksum [2022-11-07T11:02:09.924Z] 93c1e223e6f2: Download complete [2022-11-07T11:02:09.924Z] 4583459ba037: Download complete [2022-11-07T11:02:09.924Z] 21b2b0c7a3f4: Download complete [2022-11-07T11:02:09.924Z] 22ff95d597cd: Verifying Checksum [2022-11-07T11:02:09.924Z] 22ff95d597cd: Download complete [2022-11-07T11:02:09.924Z] 213ec9aee27d: Verifying Checksum [2022-11-07T11:02:09.924Z] 213ec9aee27d: Download complete [2022-11-07T11:02:09.924Z] 12d6caf4c0d1: Verifying Checksum [2022-11-07T11:02:09.924Z] 12d6caf4c0d1: Download complete [2022-11-07T11:02:09.924Z] 213ec9aee27d: Pull complete [2022-11-07T11:02:10.186Z] 4583459ba037: Pull complete [2022-11-07T11:02:10.186Z] 93c1e223e6f2: Pull complete [2022-11-07T11:02:10.446Z] a7acece74701: Verifying Checksum [2022-11-07T11:02:10.446Z] a7acece74701: Download complete [2022-11-07T11:02:10.705Z] 96b7cbca73a9: Verifying Checksum [2022-11-07T11:02:10.705Z] 96b7cbca73a9: Download complete [2022-11-07T11:02:10.705Z] 53926ce57604: Verifying Checksum [2022-11-07T11:02:10.705Z] 53926ce57604: Download complete [2022-11-07T11:02:13.987Z] 53926ce57604: Pull complete [2022-11-07T11:02:13.987Z] 21b2b0c7a3f4: Pull complete [2022-11-07T11:02:13.987Z] 22ff95d597cd: Pull complete [2022-11-07T11:02:13.987Z] 12d6caf4c0d1: Pull complete [2022-11-07T11:02:15.889Z] 96b7cbca73a9: Pull complete [2022-11-07T11:02:16.822Z] a7acece74701: Pull complete [2022-11-07T11:02:16.822Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2022-11-07T11:02:16.822Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-11-07T11:02:16.822Z] ---> db6d94c90886 [2022-11-07T11:02:16.822Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-07T11:02:18.761Z] ---> Running in b5c88ebf1798 [2022-11-07T11:02:18.761Z] Removing intermediate container b5c88ebf1798 [2022-11-07T11:02:18.761Z] ---> e060b0e1e1e1 [2022-11-07T11:02:18.761Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-11-07T11:02:18.761Z] ---> Running in 624a4f24c612 [2022-11-07T11:02:18.761Z] Removing intermediate container 624a4f24c612 [2022-11-07T11:02:18.761Z] ---> 1aa170c5ebc1 [2022-11-07T11:02:18.761Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2022-11-07T11:02:18.761Z] ---> Running in 377b6f6f33fe [2022-11-07T11:02:18.761Z] Removing intermediate container 377b6f6f33fe [2022-11-07T11:02:18.761Z] ---> a728a03a7d58 [2022-11-07T11:02:18.761Z] Step 6/12 : WORKDIR /device-virtual-go [2022-11-07T11:02:18.761Z] ---> Running in 5a64ce60c0c4 [2022-11-07T11:02:19.021Z] Removing intermediate container 5a64ce60c0c4 [2022-11-07T11:02:19.021Z] ---> 91d9580fce86 [2022-11-07T11:02:19.021Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-07T11:02:19.021Z] ---> Running in 563d451f2a9a [2022-11-07T11:02:19.282Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-07T11:02:19.282Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-07T11:02:19.855Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-11-07T11:02:19.855Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-11-07T11:02:19.855Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-11-07T11:02:19.855Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-11-07T11:02:19.855Z] Executing busybox-1.35.0-r17.trigger [2022-11-07T11:02:19.855Z] OK: 216 MiB in 55 packages [2022-11-07T11:02:20.120Z] Removing intermediate container 563d451f2a9a [2022-11-07T11:02:20.120Z] ---> b6404f3ed740 [2022-11-07T11:02:20.120Z] Step 8/12 : COPY go.mod vendor* ./ [2022-11-07T11:02:20.380Z] ---> 5d679f3886a7 [2022-11-07T11:02:20.380Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-07T11:02:20.380Z] ---> Running in 7dca0a045d20 [2022-11-07T11:02:22.461Z] Still waiting to schedule task [2022-11-07T11:02:22.462Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-11-07T11:02:38.473Z] Removing intermediate container 7dca0a045d20 [2022-11-07T11:02:38.473Z] ---> 0e0957d8c986 [2022-11-07T11:02:38.473Z] Step 10/12 : COPY . . [2022-11-07T11:02:38.473Z] ---> 9b4ddc81f79c [2022-11-07T11:02:38.473Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-07T11:02:38.473Z] ---> Running in d6a079a500bc [2022-11-07T11:02:38.473Z] Removing intermediate container d6a079a500bc [2022-11-07T11:02:38.473Z] ---> 5e68827f3f4b [2022-11-07T11:02:38.473Z] Step 12/12 : RUN $MAKE [2022-11-07T11:02:38.473Z] ---> Running in ff5743d4468c [2022-11-07T11:02:38.473Z] noop [2022-11-07T11:02:38.473Z] Removing intermediate container ff5743d4468c [2022-11-07T11:02:38.473Z] ---> 0ee40c463b03 [2022-11-07T11:02:38.473Z] Successfully built 0ee40c463b03 [2022-11-07T11:02:38.473Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T11:02:38.925Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-07T11:02:38.925Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T11:02:39.074Z] prd-ubuntu20.04-docker-8c-8g-118403 does not seem to be running inside a container [2022-11-07T11:02:39.105Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-319 -v /w/workspace/foundry_device-virtual-go_PR-319:/w/workspace/foundry_device-virtual-go_PR-319:rw,z -v /w/workspace/foundry_device-virtual-go_PR-319@tmp:/w/workspace/foundry_device-virtual-go_PR-319@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-x86_64 cat [2022-11-07T11:02:39.489Z] $ docker top 73001fadc5d1973a2cba96d0f87f5623aeadfc5d346f2d761ca02fdc97032d59 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-07T11:02:39.883Z] + go version [2022-11-07T11:02:39.883Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-11-07T11:02:39.911Z] $ docker stop --time=1 73001fadc5d1973a2cba96d0f87f5623aeadfc5d346f2d761ca02fdc97032d59 [2022-11-07T11:02:41.233Z] $ docker rm -f 73001fadc5d1973a2cba96d0f87f5623aeadfc5d346f2d761ca02fdc97032d59 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T11:02:41.973Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-07T11:02:41.973Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T11:02:42.202Z] prd-ubuntu20.04-docker-8c-8g-118403 does not seem to be running inside a container [2022-11-07T11:02:42.248Z] $ 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-319 -v /w/workspace/foundry_device-virtual-go_PR-319:/w/workspace/foundry_device-virtual-go_PR-319:rw,z -v /w/workspace/foundry_device-virtual-go_PR-319@tmp:/w/workspace/foundry_device-virtual-go_PR-319@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-x86_64 cat [2022-11-07T11:02:42.602Z] $ docker top 5fe541392768f91de5dffbcd94f8e28a686788a244bf6f8952657190704d1932 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-07T11:02:43.009Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-319 [Pipeline] fileExists [Pipeline] sh [2022-11-07T11:02:43.376Z] + make test [2022-11-07T11:02:43.376Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-11-07T11:02:43.635Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-11-07T11:02:53.608Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-11-07T11:02:53.608Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.042s coverage: 65.7% of statements [2022-11-07T11:02:58.870Z] 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-11-07T11:02:58.870Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-07T11:03:02.162Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-07T11:03:02.162Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-07T11:03:02.162Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-07T11:03:02.198Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-07T11:03:02.221Z] $ docker stop --time=1 5fe541392768f91de5dffbcd94f8e28a686788a244bf6f8952657190704d1932 [2022-11-07T11:03:03.963Z] $ docker rm -f 5fe541392768f91de5dffbcd94f8e28a686788a244bf6f8952657190704d1932 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-07T11:03:04.455Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-07T11:03:04.521Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-11-07T11:03:05.142Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-07T11:03:05.501Z] + ls -al . [2022-11-07T11:03:05.501Z] total 204 [2022-11-07T11:03:05.501Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 7 11:02 . [2022-11-07T11:03:05.501Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 11:01 .. [2022-11-07T11:03:05.501Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 11:02 .git [2022-11-07T11:03:05.501Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 11:01 .github [2022-11-07T11:03:05.501Z] -rw-rw-r-- 1 jenkins jenkins 337 Nov 7 11:01 .gitignore [2022-11-07T11:03:05.501Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 7 11:01 .golangci.yml [2022-11-07T11:03:05.502Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 11:02 .semver [2022-11-07T11:03:05.502Z] -rw-rw-r-- 1 jenkins jenkins 8527 Nov 7 11:01 Attribution.txt [2022-11-07T11:03:05.502Z] -rw-rw-r-- 1 jenkins jenkins 11367 Nov 7 11:01 CHANGELOG.md [2022-11-07T11:03:05.502Z] -rw-rw-r-- 1 jenkins jenkins 1709 Nov 7 11:01 Dockerfile [2022-11-07T11:03:05.502Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 11:01 GOVERNANCE.md [2022-11-07T11:03:05.502Z] -rw-rw-r-- 1 jenkins jenkins 660 Nov 7 11:01 Jenkinsfile [2022-11-07T11:03:05.502Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 7 11:01 LICENSE [2022-11-07T11:03:05.502Z] -rw-rw-r-- 1 jenkins jenkins 2457 Nov 7 11:01 Makefile [2022-11-07T11:03:05.502Z] -rw-rw-r-- 1 jenkins jenkins 623 Nov 7 11:01 OWNERS.md [2022-11-07T11:03:05.502Z] -rw-rw-r-- 1 jenkins jenkins 3578 Nov 7 11:01 README.md [2022-11-07T11:03:05.502Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 11:02 VERSION [2022-11-07T11:03:05.502Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 11:01 bin [2022-11-07T11:03:05.502Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 11:01 cmd [2022-11-07T11:03:05.502Z] -rw-r--r-- 1 jenkins jenkins 44128 Nov 7 11:02 coverage.out [2022-11-07T11:03:05.502Z] -rw-rw-r-- 1 jenkins jenkins 3346 Nov 7 11:01 go.mod [2022-11-07T11:03:05.502Z] -rw-rw-r-- 1 jenkins jenkins 44459 Nov 7 11:01 go.sum [2022-11-07T11:03:05.502Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 11:01 internal [2022-11-07T11:03:05.502Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 11:01 snap [2022-11-07T11:03:05.502Z] -rw-rw-r-- 1 jenkins jenkins 235 Nov 7 11:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T11:03:05.887Z] + 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=2cd6a7410439459670337fad3168dbb7fe548874 --label arch=amd64 --label version=0.0.0 . [2022-11-07T11:03:05.887Z] Sending build context to Docker daemon 23.31MB [2022-11-07T11:03:05.887Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-11-07T11:03:05.887Z] Step 2/25 : FROM ${BASE} AS builder [2022-11-07T11:03:05.887Z] ---> 0ee40c463b03 [2022-11-07T11:03:05.887Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-07T11:03:06.147Z] ---> Running in 6e47f631c78b [2022-11-07T11:03:06.147Z] Removing intermediate container 6e47f631c78b [2022-11-07T11:03:06.147Z] ---> 22f2f16a4fc8 [2022-11-07T11:03:06.147Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2022-11-07T11:03:06.147Z] ---> Running in 6f890e9018ce [2022-11-07T11:03:06.147Z] Removing intermediate container 6f890e9018ce [2022-11-07T11:03:06.147Z] ---> 1b987c296360 [2022-11-07T11:03:06.147Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2022-11-07T11:03:06.407Z] ---> Running in 6c3457ee8e9a [2022-11-07T11:03:06.407Z] Removing intermediate container 6c3457ee8e9a [2022-11-07T11:03:06.407Z] ---> 14b41193735c [2022-11-07T11:03:06.407Z] Step 6/25 : WORKDIR /device-virtual-go [2022-11-07T11:03:06.407Z] ---> Running in c030f416ba0f [2022-11-07T11:03:06.666Z] Removing intermediate container c030f416ba0f [2022-11-07T11:03:06.666Z] ---> 3077372a0058 [2022-11-07T11:03:06.666Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-07T11:03:06.666Z] ---> Running in c8a6d3ced6e7 [2022-11-07T11:03:06.925Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-07T11:03:06.925Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-07T11:03:07.494Z] OK: 216 MiB in 55 packages [2022-11-07T11:03:07.755Z] Removing intermediate container c8a6d3ced6e7 [2022-11-07T11:03:07.755Z] ---> 4835a1826dcc [2022-11-07T11:03:07.755Z] Step 8/25 : COPY go.mod vendor* ./ [2022-11-07T11:03:07.755Z] ---> e29c175801b1 [2022-11-07T11:03:07.755Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-07T11:03:07.755Z] ---> Running in f90a28adb60f [2022-11-07T11:03:08.697Z] Removing intermediate container f90a28adb60f [2022-11-07T11:03:08.697Z] ---> 0742c508ac35 [2022-11-07T11:03:08.697Z] Step 10/25 : COPY . . [2022-11-07T11:03:08.956Z] ---> fbec7e95f3a4 [2022-11-07T11:03:08.956Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-07T11:03:08.956Z] ---> Running in 392dd9877f51 [2022-11-07T11:03:09.214Z] Removing intermediate container 392dd9877f51 [2022-11-07T11:03:09.214Z] ---> 8769816837e9 [2022-11-07T11:03:09.214Z] Step 12/25 : RUN $MAKE [2022-11-07T11:03:09.214Z] ---> Running in bfca7e204072 [2022-11-07T11:03:09.471Z] 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-11-07T11:03:31.400Z] Removing intermediate container bfca7e204072 [2022-11-07T11:03:31.400Z] ---> 148be3372d12 [2022-11-07T11:03:31.400Z] Step 13/25 : FROM alpine:3.16 [2022-11-07T11:03:31.400Z] 3.16: Pulling from library/alpine [2022-11-07T11:03:31.400Z] 213ec9aee27d: Already exists [2022-11-07T11:03:31.400Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-07T11:03:31.400Z] Status: Downloaded newer image for alpine:3.16 [2022-11-07T11:03:31.400Z] ---> 9c6f07244728 [2022-11-07T11:03:31.400Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-11-07T11:03:31.400Z] ---> Running in 0262924f8f70 [2022-11-07T11:03:31.400Z] Removing intermediate container 0262924f8f70 [2022-11-07T11:03:31.400Z] ---> ce5400de0299 [2022-11-07T11:03:31.400Z] Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-11-07T11:03:31.400Z] ---> Running in b94edfd7ea3e [2022-11-07T11:03:31.400Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-07T11:03:31.400Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-07T11:03:31.400Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-11-07T11:03:31.400Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-11-07T11:03:31.400Z] (3/6) Installing libsodium (1.0.18-r0) [2022-11-07T11:03:31.400Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-07T11:03:31.400Z] (5/6) Installing libzmq (4.3.4-r0) [2022-11-07T11:03:31.400Z] (6/6) Installing zeromq (4.3.4-r0) [2022-11-07T11:03:31.400Z] Executing busybox-1.35.0-r17.trigger [2022-11-07T11:03:31.400Z] OK: 8 MiB in 20 packages [2022-11-07T11:03:31.400Z] Removing intermediate container b94edfd7ea3e [2022-11-07T11:03:31.400Z] ---> 32783af2dcb2 [2022-11-07T11:03:31.400Z] Step 16/25 : WORKDIR / [2022-11-07T11:03:31.400Z] ---> Running in 02e3d17a7369 [2022-11-07T11:03:31.400Z] Removing intermediate container 02e3d17a7369 [2022-11-07T11:03:31.400Z] ---> 73e28c5f2ed8 [2022-11-07T11:03:31.400Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-11-07T11:03:31.400Z] ---> 5626fb4bcb9d [2022-11-07T11:03:31.400Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2022-11-07T11:03:31.400Z] ---> a497861825d8 [2022-11-07T11:03:31.400Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2022-11-07T11:03:31.400Z] ---> 06ebd3d18859 [2022-11-07T11:03:31.400Z] Step 20/25 : EXPOSE 59900 [2022-11-07T11:03:31.400Z] ---> Running in ef75c9b37608 [2022-11-07T11:03:31.400Z] Removing intermediate container ef75c9b37608 [2022-11-07T11:03:31.400Z] ---> 46c0554dbb49 [2022-11-07T11:03:31.400Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2022-11-07T11:03:31.400Z] ---> Running in 8b3b8dc7b7c0 [2022-11-07T11:03:31.400Z] Removing intermediate container 8b3b8dc7b7c0 [2022-11-07T11:03:31.400Z] ---> 54cf34cab6b0 [2022-11-07T11:03:31.400Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-07T11:03:31.400Z] ---> Running in 6fa4ee5dc583 [2022-11-07T11:03:31.400Z] Removing intermediate container 6fa4ee5dc583 [2022-11-07T11:03:31.400Z] ---> 1bb45f88d9af [2022-11-07T11:03:31.400Z] Step 23/25 : LABEL arch=amd64 [2022-11-07T11:03:31.400Z] ---> Running in fd661deb700d [2022-11-07T11:03:31.400Z] Removing intermediate container fd661deb700d [2022-11-07T11:03:31.400Z] ---> 9e0de3b2ac6d [2022-11-07T11:03:31.400Z] Step 24/25 : LABEL git_sha=2cd6a7410439459670337fad3168dbb7fe548874 [2022-11-07T11:03:31.400Z] ---> Running in d2f54dca9538 [2022-11-07T11:03:31.400Z] Removing intermediate container d2f54dca9538 [2022-11-07T11:03:31.400Z] ---> de3e69178ef5 [2022-11-07T11:03:31.400Z] Step 25/25 : LABEL version=0.0.0 [2022-11-07T11:03:31.400Z] ---> Running in c7cc11f9e346 [2022-11-07T11:03:31.400Z] Removing intermediate container c7cc11f9e346 [2022-11-07T11:03:31.400Z] ---> c61267935891 [2022-11-07T11:03:31.400Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-07T11:03:31.400Z] Successfully built c61267935891 [2022-11-07T11:03:31.400Z] Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T11:03:32.224Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-07T11:03:32.224Z] [2022-11-07T11:03:32.224Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T11:03:32.593Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-07T11:03:32.593Z] latest: Pulling from edgex-lftools-log-publisher [2022-11-07T11:03:32.593Z] 5eb5b503b376: Pulling fs layer [2022-11-07T11:03:32.593Z] 5c69ac0246d0: Pulling fs layer [2022-11-07T11:03:32.593Z] ec43610c2a17: Pulling fs layer [2022-11-07T11:03:32.593Z] 3a2ae6a8a46f: Pulling fs layer [2022-11-07T11:03:32.593Z] 33b1e0a273af: Pulling fs layer [2022-11-07T11:03:32.593Z] 5d3b04190fa2: Pulling fs layer [2022-11-07T11:03:32.593Z] 3a2ae6a8a46f: Waiting [2022-11-07T11:03:32.593Z] 33b1e0a273af: Waiting [2022-11-07T11:03:32.593Z] 2f39f015ded8: Pulling fs layer [2022-11-07T11:03:32.593Z] 5d3b04190fa2: Waiting [2022-11-07T11:03:32.593Z] 2f39f015ded8: Waiting [2022-11-07T11:03:32.593Z] 5c69ac0246d0: Verifying Checksum [2022-11-07T11:03:32.593Z] 3a2ae6a8a46f: Verifying Checksum [2022-11-07T11:03:32.593Z] 3a2ae6a8a46f: Download complete [2022-11-07T11:03:32.593Z] 33b1e0a273af: Verifying Checksum [2022-11-07T11:03:32.593Z] 33b1e0a273af: Download complete [2022-11-07T11:03:32.861Z] ec43610c2a17: Verifying Checksum [2022-11-07T11:03:32.861Z] ec43610c2a17: Download complete [2022-11-07T11:03:32.861Z] 5d3b04190fa2: Verifying Checksum [2022-11-07T11:03:32.861Z] 5d3b04190fa2: Download complete [2022-11-07T11:03:32.861Z] 5eb5b503b376: Verifying Checksum [2022-11-07T11:03:32.861Z] 5eb5b503b376: Download complete [2022-11-07T11:03:33.429Z] 2f39f015ded8: Download complete [2022-11-07T11:03:33.997Z] 5eb5b503b376: Pull complete [2022-11-07T11:03:33.997Z] 5c69ac0246d0: Pull complete [2022-11-07T11:03:34.568Z] ec43610c2a17: Pull complete [2022-11-07T11:03:34.568Z] 3a2ae6a8a46f: Pull complete [2022-11-07T11:03:34.568Z] 33b1e0a273af: Pull complete [2022-11-07T11:03:34.827Z] 5d3b04190fa2: Pull complete [2022-11-07T11:03:38.111Z] 2f39f015ded8: Pull complete [2022-11-07T11:03:38.111Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-11-07T11:03:38.111Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-07T11:03:38.371Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T11:03:38.667Z] prd-ubuntu20.04-docker-8c-8g-118403 does not seem to be running inside a container [2022-11-07T11:03:38.702Z] $ 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-319 -v /w/workspace/foundry_device-virtual-go_PR-319:/w/workspace/foundry_device-virtual-go_PR-319:rw,z -v /w/workspace/foundry_device-virtual-go_PR-319@tmp:/w/workspace/foundry_device-virtual-go_PR-319@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-11-07T11:03:40.594Z] $ docker top d605730bbce1cb09c3a93ca5695c9e134ca5aba6e8731969bdd7fe1ae29789f9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T11:03:41.068Z] ---> job-cost.sh [2022-11-07T11:03:41.068Z] lf-activate-venv: SKIPPING [2022-11-07T11:03:41.068Z] INFO: No Stack... [2022-11-07T11:03:41.326Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-07T11:03:41.897Z] INFO: Archiving Costs [Pipeline] sh [2022-11-07T11:03:42.210Z] + cat /w/workspace/foundry_device-virtual-go_PR-319/archives/cost.csv [2022-11-07T11:03:42.210Z] + cut -d, -f6 [Pipeline] lock [2022-11-07T11:03:42.251Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-319-1-stack-cost] [2022-11-07T11:03:42.257Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-319-1-stack-cost] did not exist. Created. [2022-11-07T11:03:42.257Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-319-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-07T11:03:42.635Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-11-07T11:03:42.678Z] Stashed 1 file(s) [Pipeline] } [2022-11-07T11:03:42.704Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-319-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-07T11:03:42.774Z] $ docker stop --time=1 d605730bbce1cb09c3a93ca5695c9e134ca5aba6e8731969bdd7fe1ae29789f9 [2022-11-07T11:03:43.954Z] $ docker rm -f d605730bbce1cb09c3a93ca5695c9e134ca5aba6e8731969bdd7fe1ae29789f9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-11-07T11:03:53.813Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-118406 in /w/workspace/foundry_device-virtual-go_PR-319 [Pipeline] { [Pipeline] ws [2022-11-07T11:03:53.849Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2022-11-07T11:03:53.922Z] The recommended git tool is: git [2022-11-07T11:03:58.954Z] using credential edgex-jenkins-ssh [2022-11-07T11:03:58.970Z] Cloning the remote Git repository [2022-11-07T11:03:59.005Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2022-11-07T11:03:59.084Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2022-11-07T11:03:59.228Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-11-07T11:03:59.229Z] > git --version # timeout=10 [2022-11-07T11:03:59.251Z] > git --version # 'git version 2.25.1' [2022-11-07T11:03:59.253Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-07T11:03:59.308Z] Verifying host key using known hosts file [2022-11-07T11:03:59.524Z] 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-11-07T11:03:59.541Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-07T11:04:01.791Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-11-07T11:04:01.814Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-07T11:04:03.284Z] Merging remotes/origin/main commit bcd4d59cdc4959d1a0f5bb8dc06b88fb66ef40d9 into PR head commit 2cd6a7410439459670337fad3168dbb7fe548874 [2022-11-07T11:04:03.519Z] Merge succeeded, producing 2cd6a7410439459670337fad3168dbb7fe548874 [2022-11-07T11:04:03.520Z] Checking out Revision 2cd6a7410439459670337fad3168dbb7fe548874 (PR-319) [2022-11-07T11:04:03.990Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2022-11-07T11:04:02.631Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-11-07T11:04:02.675Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-11-07T11:04:02.676Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-07T11:04:02.681Z] Verifying host key using known hosts file [2022-11-07T11:04:02.688Z] 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-11-07T11:04:02.704Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/319/head:refs/remotes/origin/PR-319 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-11-07T11:04:03.297Z] > git config core.sparsecheckout # timeout=10 [2022-11-07T11:04:03.318Z] > git checkout -f 2cd6a7410439459670337fad3168dbb7fe548874 # timeout=10 [2022-11-07T11:04:03.406Z] > git remote # timeout=10 [2022-11-07T11:04:03.428Z] > git config --get remote.origin.url # timeout=10 [2022-11-07T11:04:03.451Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-07T11:04:03.456Z] Verifying host key using known hosts file [2022-11-07T11:04:03.460Z] 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-11-07T11:04:03.470Z] > git merge bcd4d59cdc4959d1a0f5bb8dc06b88fb66ef40d9 # timeout=10 [2022-11-07T11:04:03.493Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-11-07T11:04:03.520Z] > git config core.sparsecheckout # timeout=10 [2022-11-07T11:04:03.533Z] > git checkout -f 2cd6a7410439459670337fad3168dbb7fe548874 # timeout=10 [2022-11-07T11:04:04.030Z] > git --version # timeout=10 [2022-11-07T11:04:04.043Z] > git --version # 'git version 2.25.1' [2022-11-07T11:04:04.059Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-07T11:04:05.390Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-11-07T11:04:05.390Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-07T11:04:05.390Z] Dload Upload Total Spent Left Speed [2022-11-07T11:04:05.390Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 92661 0 --:--:-- --:--:-- --:--:-- 93348 [Pipeline] sh [2022-11-07T11:04:05.964Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-11-07T11:04:06.311Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-11-07T11:04:06.311Z] + sudo tee /etc/docker/daemon.new [2022-11-07T11:04:06.311Z] { [2022-11-07T11:04:06.311Z] "registry-mirrors": [ [2022-11-07T11:04:06.311Z] "https://nexus3.edgexfoundry.org:10001" [2022-11-07T11:04:06.311Z] ], [2022-11-07T11:04:06.311Z] "bip": "10.250.0.254/24", [2022-11-07T11:04:06.311Z] "hosts": [ [2022-11-07T11:04:06.311Z] "tcp://0.0.0.0:5555", [2022-11-07T11:04:06.311Z] "unix:///var/run/docker.sock" [2022-11-07T11:04:06.311Z] ], [2022-11-07T11:04:06.311Z] "mtu": 1458, [2022-11-07T11:04:06.311Z] "selinux-enabled": true, [2022-11-07T11:04:06.311Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-11-07T11:04:06.311Z] } [Pipeline] sh [2022-11-07T11:04:06.660Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-11-07T11:04:07.011Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-07T11:04:25.331Z] provisioning config files... [2022-11-07T11:04:25.359Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config3069669853287027659tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T11:04:25.750Z] ---> docker-login.sh [2022-11-07T11:04:25.750Z] nexus3.edgexfoundry.org:10001 [2022-11-07T11:04:26.342Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T11:04:26.342Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T11:04:26.342Z] Configure a credential helper to remove this warning. See [2022-11-07T11:04:26.342Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T11:04:26.342Z] [2022-11-07T11:04:26.342Z] Login Succeeded [2022-11-07T11:04:26.342Z] nexus3.edgexfoundry.org:10002 [2022-11-07T11:04:26.613Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T11:04:26.883Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T11:04:26.883Z] Configure a credential helper to remove this warning. See [2022-11-07T11:04:26.883Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T11:04:26.883Z] [2022-11-07T11:04:26.883Z] Login Succeeded [2022-11-07T11:04:26.883Z] nexus3.edgexfoundry.org:10003 [2022-11-07T11:04:26.883Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T11:04:27.156Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T11:04:27.156Z] Configure a credential helper to remove this warning. See [2022-11-07T11:04:27.157Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T11:04:27.157Z] [2022-11-07T11:04:27.157Z] Login Succeeded [2022-11-07T11:04:27.157Z] nexus3.edgexfoundry.org:10004 [2022-11-07T11:04:27.430Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T11:04:27.430Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T11:04:27.430Z] Configure a credential helper to remove this warning. See [2022-11-07T11:04:27.430Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T11:04:27.430Z] [2022-11-07T11:04:27.430Z] Login Succeeded [2022-11-07T11:04:27.430Z] docker.io [2022-11-07T11:04:27.698Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T11:04:28.283Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T11:04:28.283Z] Configure a credential helper to remove this warning. See [2022-11-07T11:04:28.283Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T11:04:28.283Z] [2022-11-07T11:04:28.283Z] Login Succeeded [2022-11-07T11:04:28.283Z] ---> docker-login.sh ends [Pipeline] } [2022-11-07T11:04:28.312Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-07T11:04:28.585Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-07T11:04:28.623Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-07T11:04:28.656Z] ========================================================= [2022-11-07T11:04:28.656Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-11-07T11:04:28.656Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T11:04:29.153Z] + 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-11-07T11:04:29.427Z] Sending build context to Docker daemon 11.78MB [2022-11-07T11:04:29.427Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-11-07T11:04:29.427Z] Step 2/12 : FROM ${BASE} AS builder [2022-11-07T11:04:29.700Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-11-07T11:04:29.700Z] 9b18e9b68314: Pulling fs layer [2022-11-07T11:04:29.700Z] 35d82f9e3411: Pulling fs layer [2022-11-07T11:04:29.700Z] e16973657156: Pulling fs layer [2022-11-07T11:04:29.700Z] fc693d55d65f: Pulling fs layer [2022-11-07T11:04:29.700Z] 7e9fc2657dce: Pulling fs layer [2022-11-07T11:04:29.700Z] dda99020689f: Pulling fs layer [2022-11-07T11:04:29.700Z] db1c61fa0a46: Pulling fs layer [2022-11-07T11:04:29.700Z] 891c053d2c06: Pulling fs layer [2022-11-07T11:04:29.700Z] dda99020689f: Waiting [2022-11-07T11:04:29.700Z] db1c61fa0a46: Waiting [2022-11-07T11:04:29.700Z] 891c053d2c06: Waiting [2022-11-07T11:04:29.700Z] fc693d55d65f: Waiting [2022-11-07T11:04:29.700Z] e16973657156: Download complete [2022-11-07T11:04:29.700Z] 35d82f9e3411: Download complete [2022-11-07T11:04:29.700Z] 7e9fc2657dce: Verifying Checksum [2022-11-07T11:04:29.700Z] 7e9fc2657dce: Download complete [2022-11-07T11:04:29.700Z] dda99020689f: Download complete [2022-11-07T11:04:29.982Z] 9b18e9b68314: Verifying Checksum [2022-11-07T11:04:29.982Z] 9b18e9b68314: Download complete [2022-11-07T11:04:30.571Z] 9b18e9b68314: Pull complete [2022-11-07T11:04:30.841Z] 891c053d2c06: Verifying Checksum [2022-11-07T11:04:30.841Z] 891c053d2c06: Download complete [2022-11-07T11:04:31.436Z] 35d82f9e3411: Pull complete [2022-11-07T11:04:31.705Z] e16973657156: Pull complete [2022-11-07T11:04:32.291Z] db1c61fa0a46: Verifying Checksum [2022-11-07T11:04:32.878Z] fc693d55d65f: Verifying Checksum [2022-11-07T11:04:32.878Z] fc693d55d65f: Download complete [2022-11-07T11:04:45.218Z] fc693d55d65f: Pull complete [2022-11-07T11:04:45.218Z] 7e9fc2657dce: Pull complete [2022-11-07T11:04:45.218Z] dda99020689f: Pull complete [2022-11-07T11:04:51.996Z] db1c61fa0a46: Pull complete [2022-11-07T11:04:52.975Z] 891c053d2c06: Pull complete [2022-11-07T11:04:52.975Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2022-11-07T11:04:52.975Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-11-07T11:04:53.244Z] ---> f96f9c87975a [2022-11-07T11:04:53.244Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-07T11:04:54.212Z] ---> Running in 082ba68e925c [2022-11-07T11:04:54.482Z] Removing intermediate container 082ba68e925c [2022-11-07T11:04:54.482Z] ---> 63b6f6a26a9d [2022-11-07T11:04:54.482Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-11-07T11:04:54.751Z] ---> Running in c59956862186 [2022-11-07T11:04:55.018Z] Removing intermediate container c59956862186 [2022-11-07T11:04:55.018Z] ---> 1a9802714495 [2022-11-07T11:04:55.018Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2022-11-07T11:04:55.018Z] ---> Running in 2ee81f52df7b [2022-11-07T11:04:55.288Z] Removing intermediate container 2ee81f52df7b [2022-11-07T11:04:55.288Z] ---> 94488b8a8463 [2022-11-07T11:04:55.288Z] Step 6/12 : WORKDIR /device-virtual-go [2022-11-07T11:04:55.288Z] ---> Running in 7a9c499a9c15 [2022-11-07T11:04:55.556Z] Removing intermediate container 7a9c499a9c15 [2022-11-07T11:04:55.556Z] ---> addbe4ba28d0 [2022-11-07T11:04:55.556Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-07T11:04:55.823Z] ---> Running in 29d54513686e [2022-11-07T11:04:56.787Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-07T11:04:57.054Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-07T11:04:58.016Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-11-07T11:04:58.016Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-11-07T11:04:58.016Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-11-07T11:04:58.285Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-11-07T11:04:58.285Z] Executing busybox-1.35.0-r17.trigger [2022-11-07T11:04:58.285Z] OK: 226 MiB in 55 packages [2022-11-07T11:04:59.258Z] Removing intermediate container 29d54513686e [2022-11-07T11:04:59.258Z] ---> 5913e77a87e4 [2022-11-07T11:04:59.258Z] Step 8/12 : COPY go.mod vendor* ./ [2022-11-07T11:04:59.845Z] ---> 76334a33bf41 [2022-11-07T11:04:59.845Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-07T11:04:59.845Z] ---> Running in 0512f7f2139a [2022-11-07T11:05:56.272Z] Removing intermediate container 0512f7f2139a [2022-11-07T11:05:56.272Z] ---> df01219f2372 [2022-11-07T11:05:56.272Z] Step 10/12 : COPY . . [2022-11-07T11:05:56.272Z] ---> ec9a49688fb0 [2022-11-07T11:05:56.272Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-07T11:05:56.272Z] ---> Running in 84fe022b91ec [2022-11-07T11:05:56.272Z] Removing intermediate container 84fe022b91ec [2022-11-07T11:05:56.272Z] ---> b4c92a40a0b0 [2022-11-07T11:05:56.272Z] Step 12/12 : RUN $MAKE [2022-11-07T11:05:56.273Z] ---> Running in 71c414cc144e [2022-11-07T11:05:56.273Z] noop [2022-11-07T11:05:56.273Z] Removing intermediate container 71c414cc144e [2022-11-07T11:05:56.273Z] ---> d269981c42b2 [2022-11-07T11:05:56.273Z] Successfully built d269981c42b2 [2022-11-07T11:05:56.273Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T11:05:56.747Z] + docker inspect -f . ci-base-image-arm64 [2022-11-07T11:05:56.747Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T11:05:57.005Z] prd-ubuntu20.04-docker-arm64-4c-16g-118406 does not seem to be running inside a container [2022-11-07T11:05:57.072Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-11-07T11:05:58.272Z] $ docker top a0479dcfe1317e8cc924c638173b5d561c2cde9f9eca0dd0ebffb7c83960ebf3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-07T11:05:59.163Z] + go version [2022-11-07T11:05:59.163Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-11-07T11:05:59.203Z] $ docker stop --time=1 a0479dcfe1317e8cc924c638173b5d561c2cde9f9eca0dd0ebffb7c83960ebf3 [2022-11-07T11:06:00.818Z] $ docker rm -f a0479dcfe1317e8cc924c638173b5d561c2cde9f9eca0dd0ebffb7c83960ebf3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T11:06:01.677Z] + docker inspect -f . ci-base-image-arm64 [2022-11-07T11:06:01.677Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T11:06:01.923Z] prd-ubuntu20.04-docker-arm64-4c-16g-118406 does not seem to be running inside a container [2022-11-07T11:06:01.991Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-11-07T11:06:03.104Z] $ docker top 892d7f9002d0c0732769a747835f8dd97b74dc1e8bcef7102a281a075a2aa981 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-07T11:06:03.972Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh [2022-11-07T11:06:04.670Z] + make test [2022-11-07T11:06:04.670Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-11-07T11:06:06.091Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-11-07T11:07:27.705Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-11-07T11:07:27.705Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.134s coverage: 65.7% of statements [2022-11-07T11:07:27.705Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-11-07T11:07:27.705Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-07T11:07:45.919Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-07T11:07:45.919Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-07T11:07:45.919Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-07T11:07:45.956Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-07T11:07:45.992Z] $ docker stop --time=1 892d7f9002d0c0732769a747835f8dd97b74dc1e8bcef7102a281a075a2aa981 [2022-11-07T11:07:47.687Z] $ docker rm -f 892d7f9002d0c0732769a747835f8dd97b74dc1e8bcef7102a281a075a2aa981 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-07T11:07:48.582Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-07T11:07:48.618Z] Warning: overwriting stash ‘coverage-report’ [2022-11-07T11:07:48.986Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-07T11:07:49.560Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-07T11:07:49.897Z] + ls -al . [2022-11-07T11:07:49.897Z] total 200 [2022-11-07T11:07:49.897Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 11:06 . [2022-11-07T11:07:49.897Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 11:03 .. [2022-11-07T11:07:49.897Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 11:04 .git [2022-11-07T11:07:49.897Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 11:04 .github [2022-11-07T11:07:49.897Z] -rw-rw-r-- 1 jenkins jenkins 337 Nov 7 11:04 .gitignore [2022-11-07T11:07:49.897Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 7 11:04 .golangci.yml [2022-11-07T11:07:49.897Z] -rw-rw-r-- 1 jenkins jenkins 8527 Nov 7 11:04 Attribution.txt [2022-11-07T11:07:49.897Z] -rw-rw-r-- 1 jenkins jenkins 11367 Nov 7 11:04 CHANGELOG.md [2022-11-07T11:07:49.897Z] -rw-rw-r-- 1 jenkins jenkins 1709 Nov 7 11:04 Dockerfile [2022-11-07T11:07:49.897Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 11:04 GOVERNANCE.md [2022-11-07T11:07:49.897Z] -rw-rw-r-- 1 jenkins jenkins 660 Nov 7 11:04 Jenkinsfile [2022-11-07T11:07:49.897Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 7 11:04 LICENSE [2022-11-07T11:07:49.897Z] -rw-rw-r-- 1 jenkins jenkins 2457 Nov 7 11:04 Makefile [2022-11-07T11:07:49.897Z] -rw-rw-r-- 1 jenkins jenkins 623 Nov 7 11:04 OWNERS.md [2022-11-07T11:07:49.897Z] -rw-rw-r-- 1 jenkins jenkins 3578 Nov 7 11:04 README.md [2022-11-07T11:07:49.897Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 11:02 VERSION [2022-11-07T11:07:49.897Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 11:04 bin [2022-11-07T11:07:49.897Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 11:04 cmd [2022-11-07T11:07:49.897Z] -rw-r--r-- 1 jenkins jenkins 44128 Nov 7 11:07 coverage.out [2022-11-07T11:07:49.897Z] -rw-rw-r-- 1 jenkins jenkins 3346 Nov 7 11:04 go.mod [2022-11-07T11:07:49.897Z] -rw-rw-r-- 1 jenkins jenkins 44459 Nov 7 11:04 go.sum [2022-11-07T11:07:49.897Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 11:04 internal [2022-11-07T11:07:49.897Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 11:04 snap [2022-11-07T11:07:49.897Z] -rw-rw-r-- 1 jenkins jenkins 235 Nov 7 11:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T11:07:50.309Z] + 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=2cd6a7410439459670337fad3168dbb7fe548874 --label arch=arm64 --label version=0.0.0 . [2022-11-07T11:07:50.580Z] Sending build context to Docker daemon 11.83MB [2022-11-07T11:07:50.580Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-11-07T11:07:50.580Z] Step 2/25 : FROM ${BASE} AS builder [2022-11-07T11:07:50.580Z] ---> d269981c42b2 [2022-11-07T11:07:50.580Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-07T11:07:50.845Z] ---> Running in 78489f5491d3 [2022-11-07T11:07:51.111Z] Removing intermediate container 78489f5491d3 [2022-11-07T11:07:51.111Z] ---> e93610310102 [2022-11-07T11:07:51.111Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2022-11-07T11:07:51.111Z] ---> Running in 7ba9e276da1e [2022-11-07T11:07:51.377Z] Removing intermediate container 7ba9e276da1e [2022-11-07T11:07:51.377Z] ---> d4a7109099ae [2022-11-07T11:07:51.377Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2022-11-07T11:07:51.377Z] ---> Running in 38780ded5fac [2022-11-07T11:07:51.645Z] Removing intermediate container 38780ded5fac [2022-11-07T11:07:51.645Z] ---> 73874a829755 [2022-11-07T11:07:51.645Z] Step 6/25 : WORKDIR /device-virtual-go [2022-11-07T11:07:51.645Z] ---> Running in 1cba00b7dcbf [2022-11-07T11:07:51.917Z] Removing intermediate container 1cba00b7dcbf [2022-11-07T11:07:51.917Z] ---> 09c3b474ce7a [2022-11-07T11:07:51.917Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-07T11:07:52.185Z] ---> Running in 5443508594ee [2022-11-07T11:07:53.147Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-07T11:07:53.415Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-07T11:07:54.377Z] OK: 226 MiB in 55 packages [2022-11-07T11:07:54.964Z] Removing intermediate container 5443508594ee [2022-11-07T11:07:54.964Z] ---> 941e4ea10d0b [2022-11-07T11:07:54.964Z] Step 8/25 : COPY go.mod vendor* ./ [2022-11-07T11:07:55.549Z] ---> cab64f794246 [2022-11-07T11:07:55.549Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-07T11:07:55.549Z] ---> Running in 83d76fa0a71d [2022-11-07T11:07:57.500Z] Removing intermediate container 83d76fa0a71d [2022-11-07T11:07:57.500Z] ---> 47ff9ebe9e9a [2022-11-07T11:07:57.500Z] Step 10/25 : COPY . . [2022-11-07T11:07:58.457Z] ---> c1fc9bb8c33d [2022-11-07T11:07:58.457Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-07T11:07:58.457Z] ---> Running in d15139e72565 [2022-11-07T11:07:58.724Z] Removing intermediate container d15139e72565 [2022-11-07T11:07:58.724Z] ---> 210eadc0a1c4 [2022-11-07T11:07:58.724Z] Step 12/25 : RUN $MAKE [2022-11-07T11:07:58.992Z] ---> Running in 7d0f232bb93f [2022-11-07T11:07:59.954Z] 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-11-07T11:10:36.665Z] Removing intermediate container 7d0f232bb93f [2022-11-07T11:10:36.665Z] ---> af0b5c8e8771 [2022-11-07T11:10:36.665Z] Step 13/25 : FROM alpine:3.16 [2022-11-07T11:10:36.665Z] 3.16: Pulling from library/alpine [2022-11-07T11:10:36.665Z] 9b18e9b68314: Already exists [2022-11-07T11:10:36.665Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-07T11:10:36.665Z] Status: Downloaded newer image for alpine:3.16 [2022-11-07T11:10:36.665Z] ---> a6215f271958 [2022-11-07T11:10:36.665Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-11-07T11:10:36.665Z] ---> Running in 350a4803290d [2022-11-07T11:10:36.665Z] Removing intermediate container 350a4803290d [2022-11-07T11:10:36.665Z] ---> a37fae4c06ba [2022-11-07T11:10:36.665Z] Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-11-07T11:10:36.665Z] ---> Running in bfcf20c92f4e [2022-11-07T11:10:36.665Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-07T11:10:36.665Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-07T11:10:36.665Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-11-07T11:10:36.665Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-11-07T11:10:36.665Z] (3/6) Installing libsodium (1.0.18-r0) [2022-11-07T11:10:36.665Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-07T11:10:36.665Z] (5/6) Installing libzmq (4.3.4-r0) [2022-11-07T11:10:36.665Z] (6/6) Installing zeromq (4.3.4-r0) [2022-11-07T11:10:36.665Z] Executing busybox-1.35.0-r17.trigger [2022-11-07T11:10:36.665Z] OK: 8 MiB in 20 packages [2022-11-07T11:10:36.665Z] Removing intermediate container bfcf20c92f4e [2022-11-07T11:10:36.665Z] ---> 6009ec28debf [2022-11-07T11:10:36.665Z] Step 16/25 : WORKDIR / [2022-11-07T11:10:36.665Z] ---> Running in 9bb0a4972c59 [2022-11-07T11:10:36.665Z] Removing intermediate container 9bb0a4972c59 [2022-11-07T11:10:36.665Z] ---> b8f1963fb4df [2022-11-07T11:10:36.665Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-11-07T11:10:36.665Z] ---> 0eba4aea1006 [2022-11-07T11:10:36.665Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2022-11-07T11:10:36.665Z] ---> 12933e4e53bf [2022-11-07T11:10:36.665Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2022-11-07T11:10:36.665Z] ---> 2d84d375d381 [2022-11-07T11:10:36.665Z] Step 20/25 : EXPOSE 59900 [2022-11-07T11:10:36.665Z] ---> Running in af235c21243d [2022-11-07T11:10:36.665Z] Removing intermediate container af235c21243d [2022-11-07T11:10:36.665Z] ---> fd63af09eccf [2022-11-07T11:10:36.665Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2022-11-07T11:10:36.665Z] ---> Running in 567097ac0518 [2022-11-07T11:10:36.665Z] Removing intermediate container 567097ac0518 [2022-11-07T11:10:36.665Z] ---> adcac7a10262 [2022-11-07T11:10:36.665Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-07T11:10:36.665Z] ---> Running in 3390d089413c [2022-11-07T11:10:36.665Z] Removing intermediate container 3390d089413c [2022-11-07T11:10:36.665Z] ---> e16e6bc62cf0 [2022-11-07T11:10:36.665Z] Step 23/25 : LABEL arch=arm64 [2022-11-07T11:10:36.665Z] ---> Running in c0f30d1a7d1c [2022-11-07T11:10:36.665Z] Removing intermediate container c0f30d1a7d1c [2022-11-07T11:10:36.665Z] ---> 1081fb32c219 [2022-11-07T11:10:36.665Z] Step 24/25 : LABEL git_sha=2cd6a7410439459670337fad3168dbb7fe548874 [2022-11-07T11:10:36.665Z] ---> Running in 4cb682d9dcce [2022-11-07T11:10:36.665Z] Removing intermediate container 4cb682d9dcce [2022-11-07T11:10:36.665Z] ---> 56cf9a5b3123 [2022-11-07T11:10:36.665Z] Step 25/25 : LABEL version=0.0.0 [2022-11-07T11:10:36.665Z] ---> Running in 751840a8c495 [2022-11-07T11:10:36.665Z] Removing intermediate container 751840a8c495 [2022-11-07T11:10:36.665Z] ---> 34cf0ca3dc05 [2022-11-07T11:10:36.665Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-07T11:10:36.665Z] Successfully built 34cf0ca3dc05 [2022-11-07T11:10:36.665Z] 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-11-07T11:10:37.468Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-07T11:10:37.468Z] [2022-11-07T11:10:37.468Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T11:10:37.864Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-07T11:10:37.864Z] arm64: Pulling from edgex-lftools-log-publisher [2022-11-07T11:10:37.864Z] 8998bd30e6a1: Pulling fs layer [2022-11-07T11:10:37.864Z] 04944245beec: Pulling fs layer [2022-11-07T11:10:37.864Z] 699f458cf7ca: Pulling fs layer [2022-11-07T11:10:37.864Z] 765212b225bb: Pulling fs layer [2022-11-07T11:10:37.864Z] f23df028b6ca: Pulling fs layer [2022-11-07T11:10:37.864Z] d65c8cfc05b1: Pulling fs layer [2022-11-07T11:10:37.864Z] 2437ff75d9bd: Pulling fs layer [2022-11-07T11:10:37.864Z] f23df028b6ca: Waiting [2022-11-07T11:10:37.864Z] 765212b225bb: Waiting [2022-11-07T11:10:37.864Z] d65c8cfc05b1: Waiting [2022-11-07T11:10:37.864Z] 2437ff75d9bd: Waiting [2022-11-07T11:10:38.136Z] 04944245beec: Verifying Checksum [2022-11-07T11:10:38.136Z] 04944245beec: Download complete [2022-11-07T11:10:38.136Z] 765212b225bb: Verifying Checksum [2022-11-07T11:10:38.136Z] 765212b225bb: Download complete [2022-11-07T11:10:38.136Z] f23df028b6ca: Verifying Checksum [2022-11-07T11:10:38.136Z] f23df028b6ca: Download complete [2022-11-07T11:10:38.136Z] d65c8cfc05b1: Verifying Checksum [2022-11-07T11:10:38.136Z] d65c8cfc05b1: Download complete [2022-11-07T11:10:38.403Z] 699f458cf7ca: Verifying Checksum [2022-11-07T11:10:38.403Z] 699f458cf7ca: Download complete [2022-11-07T11:10:38.670Z] 8998bd30e6a1: Verifying Checksum [2022-11-07T11:10:38.670Z] 8998bd30e6a1: Download complete [2022-11-07T11:10:41.275Z] 2437ff75d9bd: Verifying Checksum [2022-11-07T11:10:41.275Z] 2437ff75d9bd: Download complete [2022-11-07T11:10:42.688Z] 8998bd30e6a1: Pull complete [2022-11-07T11:10:42.959Z] 04944245beec: Pull complete [2022-11-07T11:10:44.366Z] 699f458cf7ca: Pull complete [2022-11-07T11:10:44.366Z] 765212b225bb: Pull complete [2022-11-07T11:10:44.949Z] f23df028b6ca: Pull complete [2022-11-07T11:10:45.217Z] d65c8cfc05b1: Pull complete [2022-11-07T11:11:00.208Z] 2437ff75d9bd: Pull complete [2022-11-07T11:11:00.208Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-11-07T11:11:00.208Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-07T11:11:00.208Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T11:11:00.510Z] prd-ubuntu20.04-docker-arm64-4c-16g-118406 does not seem to be running inside a container [2022-11-07T11:11:00.584Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-11-07T11:11:03.141Z] $ docker top f09d6cc63a0d68f74229d6f260bda492de5ade40b5bee7ecf5d8a93e403a41a4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T11:11:03.729Z] ---> job-cost.sh [2022-11-07T11:11:03.996Z] lf-activate-venv: SKIPPING [2022-11-07T11:11:03.996Z] INFO: No Stack... [2022-11-07T11:11:04.262Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-11-07T11:11:05.220Z] INFO: Archiving Costs [Pipeline] sh [2022-11-07T11:11:05.886Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2022-11-07T11:11:05.886Z] + cut -d, -f6 [Pipeline] lock [2022-11-07T11:11:05.965Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-319-1-stack-cost] [2022-11-07T11:11:05.970Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-319-1-stack-cost] did not exist. Created. [2022-11-07T11:11:05.970Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-319-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-07T11:11:06.495Z] /w/workspace/device-virtual-go/1@tmp/durable-8447ee3f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-11-07T11:11:07.214Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-11-07T11:11:07.248Z] Warning: overwriting stash ‘stack-cost’ [2022-11-07T11:11:07.305Z] Stashed 1 file(s) [Pipeline] } [2022-11-07T11:11:07.322Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-319-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-07T11:11:07.414Z] $ docker stop --time=1 f09d6cc63a0d68f74229d6f260bda492de5ade40b5bee7ecf5d8a93e403a41a4 [2022-11-07T11:11:08.919Z] $ docker rm -f f09d6cc63a0d68f74229d6f260bda492de5ade40b5bee7ecf5d8a93e403a41a4 [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-11-07T11:11:09.936Z] provisioning config files... [2022-11-07T11:11:09.944Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-319@tmp/config1321381889694460262tmp [Pipeline] { [Pipeline] sh [2022-11-07T11:11:10.272Z] + set +x [2022-11-07T11:11:10.272Z] + curl -s https://codecov.io/bash+ [2022-11-07T11:11:10.272Z] bash -s -- [2022-11-07T11:11:10.272Z] [2022-11-07T11:11:10.272Z] _____ _ [2022-11-07T11:11:10.272Z] / ____| | | [2022-11-07T11:11:10.272Z] | | ___ __| | ___ ___ _____ __ [2022-11-07T11:11:10.272Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-11-07T11:11:10.272Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-11-07T11:11:10.272Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-11-07T11:11:10.272Z] Bash-1.0.6 [2022-11-07T11:11:10.272Z] [2022-11-07T11:11:10.272Z] [2022-11-07T11:11:10.272Z] ==> git version 2.25.1 found [2022-11-07T11:11:10.272Z] ==> 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-11-07T11:11:10.272Z] Release-Date: 2020-01-08 [2022-11-07T11:11:10.272Z] 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-11-07T11:11:10.272Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-11-07T11:11:10.272Z] ==> Jenkins CI detected. [2022-11-07T11:11:10.272Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-319 [2022-11-07T11:11:10.272Z] project root: . [2022-11-07T11:11:10.272Z] --> token set from env [2022-11-07T11:11:10.272Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-11-07T11:11:10.272Z] ==> Running gcov in . (disable via -X gcov) [2022-11-07T11:11:10.272Z] ==> Python coveragepy not found [2022-11-07T11:11:10.272Z] ==> Searching for coverage reports in: [2022-11-07T11:11:10.272Z] + . [2022-11-07T11:11:10.272Z] -> Found 1 reports [2022-11-07T11:11:10.272Z] ==> Detecting git/mercurial file structure [2022-11-07T11:11:10.272Z] ==> Reading reports [2022-11-07T11:11:10.272Z] + ./coverage.out bytes=44128 [2022-11-07T11:11:10.272Z] ==> Appending adjustments [2022-11-07T11:11:10.272Z] https://docs.codecov.io/docs/fixing-reports [2022-11-07T11:11:10.531Z] + Found adjustments [2022-11-07T11:11:10.531Z] ==> Gzipping contents [2022-11-07T11:11:10.531Z] 8.0K /tmp/codecov.FWRCEN.gz [2022-11-07T11:11:10.531Z] ==> Uploading reports [2022-11-07T11:11:10.531Z] url: https://codecov.io [2022-11-07T11:11:10.531Z] query: branch=PR-319&commit=2cd6a7410439459670337fad3168dbb7fe548874&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-319%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=319&job=&cmd_args= [2022-11-07T11:11:10.531Z] -> Pinging Codecov [2022-11-07T11:11:10.531Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-319&commit=2cd6a7410439459670337fad3168dbb7fe548874&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-319%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=319&job=&cmd_args= [2022-11-07T11:11:10.789Z] -> Uploading to [2022-11-07T11:11:10.789Z] https://storage.googleapis.com/codecov/v4/raw/2022-11-07/5E52B4B073DB2E39498172D8E973AA87/2cd6a7410439459670337fad3168dbb7fe548874/4484e6bc-d63c-4da5-a945-0a35ddc25603.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221107%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221107T111110Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0704c314e76091f873485f2749df69bfea1a4830d3c63277340339c7cacae26c [2022-11-07T11:11:10.789Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-07T11:11:10.789Z] Dload Upload Total Spent Left Speed [2022-11-07T11:11:11.048Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5466 0 0 100 5466 0 22586 --:--:-- --:--:-- --:--:-- 22586 [2022-11-07T11:11:11.048Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/2cd6a7410439459670337fad3168dbb7fe548874 [Pipeline] } [2022-11-07T11:11:11.077Z] 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-11-07T11:11:12.844Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-319/archives ] [2022-11-07T11:11:12.844Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-319/archives [2022-11-07T11:11:12.844Z] total 16 [2022-11-07T11:11:12.844Z] drwxr-xr-x 3 root root 4096 Nov 7 11:03 . [2022-11-07T11:11:12.844Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 7 11:03 .. [2022-11-07T11:11:12.844Z] drwxr-xr-x 2 root root 4096 Nov 7 11:03 cost [2022-11-07T11:11:12.844Z] -rw-r--r-- 1 root root 90 Nov 7 11:03 cost.csv [2022-11-07T11:11:12.844Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-319/archives [2022-11-07T11:11:12.844Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-319/archives [2022-11-07T11:11:12.844Z] total 16 [2022-11-07T11:11:12.844Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 11:03 . [2022-11-07T11:11:12.844Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 7 11:03 .. [2022-11-07T11:11:12.844Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 7 11:03 cost [2022-11-07T11:11:12.844Z] -rw-r--r-- 1 jenkins jenkins 90 Nov 7 11:03 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-11-07T11:11:13.171Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T11:11:14.076Z] ---> package-listing.sh [2022-11-07T11:11:14.076Z] ++ facter osfamily [2022-11-07T11:11:14.076Z] ++ tr '[:upper:]' '[:lower:]' [2022-11-07T11:11:14.336Z] + OS_FAMILY=debian [2022-11-07T11:11:14.336Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-319 [2022-11-07T11:11:14.336Z] + START_PACKAGES=/tmp/packages_start.txt [2022-11-07T11:11:14.336Z] + END_PACKAGES=/tmp/packages_end.txt [2022-11-07T11:11:14.336Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-11-07T11:11:14.336Z] + PACKAGES=/tmp/packages_start.txt [2022-11-07T11:11:14.336Z] + '[' /w/workspace/foundry_device-virtual-go_PR-319 ']' [2022-11-07T11:11:14.336Z] + PACKAGES=/tmp/packages_end.txt [2022-11-07T11:11:14.336Z] + case "${OS_FAMILY}" in [2022-11-07T11:11:14.336Z] + dpkg -l [2022-11-07T11:11:14.336Z] + grep '^ii' [2022-11-07T11:11:14.336Z] + '[' -f /tmp/packages_start.txt ']' [2022-11-07T11:11:14.336Z] + '[' -f /tmp/packages_end.txt ']' [2022-11-07T11:11:14.336Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-11-07T11:11:14.336Z] + '[' /w/workspace/foundry_device-virtual-go_PR-319 ']' [2022-11-07T11:11:14.336Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-319/archives/ [2022-11-07T11:11:14.336Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-319/archives/ [Pipeline] echo [2022-11-07T11:11:14.370Z] 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-319/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-11-07T11:11:14.666Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T11:11:15.304Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-07T11:11:15.304Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T11:11:15.456Z] prd-ubuntu20.04-docker-8c-8g-118403 does not seem to be running inside a container [2022-11-07T11:11:15.499Z] $ 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-319/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-319 -v /w/workspace/foundry_device-virtual-go_PR-319:/w/workspace/foundry_device-virtual-go_PR-319:rw,z -v /w/workspace/foundry_device-virtual-go_PR-319@tmp:/w/workspace/foundry_device-virtual-go_PR-319@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-07T11:11:15.719Z] $ docker top e0dd819e6f86d28dde1b41ef0454d5cd9390eb08037f89c85949a1b102cd42d9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-07T11:11:16.121Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-11-07T11:11:16.440Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-11-07T11:11:16.756Z] + ls /var/log/sa-host [2022-11-07T11:11:16.756Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-07T11:11:16.982Z] provisioning config files... [2022-11-07T11:11:16.991Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-319@tmp/config2550931889424594909tmp [Pipeline] { [Pipeline] echo [2022-11-07T11:11:17.036Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T11:11:17.346Z] ---> create-netrc.sh [Pipeline] } [2022-11-07T11:11:17.373Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-11-07T11:11:17.773Z] ---> python-tools-install.sh [Pipeline] echo [2022-11-07T11:11:17.804Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T11:11:18.112Z] ---> sudo-logs.sh [2022-11-07T11:11:18.113Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-11-07T11:11:18.196Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T11:11:18.511Z] ---> job-cost.sh [2022-11-07T11:11:18.511Z] lf-activate-venv: SKIPPING [2022-11-07T11:11:18.511Z] DEBUG: total: 0.2199999988079071 [2022-11-07T11:11:18.511Z] INFO: Retrieving Stack Cost... [2022-11-07T11:11:18.771Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-07T11:11:19.339Z] INFO: Archiving Costs [Pipeline] echo [2022-11-07T11:11:19.377Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T11:11:19.683Z] ---> logs-deploy.sh [2022-11-07T11:11:19.684Z] lf-activate-venv: SKIPPING [2022-11-07T11:11:19.684Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-319/1 [2022-11-07T11:11:19.684Z] INFO: archiving workspace using pattern(s): [2022-11-07T11:11:20.619Z] Archives upload complete. [2022-11-07T11:11:20.889Z] INFO: archiving logs to Nexus