Pull request #341 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ede0a242e964d6c64dd923c4b9be36f7f5f4a3b3+1522ab26941e845286473a63852d2df7c1cc35f3 (4fd95782a54d3954b217c22cff6d3d82ccb3f3c3) 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-ssh6068121150177112827.key > 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-ssh6242962162401171896.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 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-341/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-341/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12071720085149641420.key > 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-341/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1541256416249290321.key > 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-ssh13550742049189620180.key > 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-341/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-341/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5295676759858494246.key > 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 Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-6355 in /w/workspace/foundry_device-virtual-go_PR-341 [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-341 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/341/head:refs/remotes/origin/PR-341 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 1522ab26941e845286473a63852d2df7c1cc35f3 into PR head commit ede0a242e964d6c64dd923c4b9be36f7f5f4a3b3 Merge succeeded, producing ede0a242e964d6c64dd923c4b9be36f7f5f4a3b3 Checking out Revision ede0a242e964d6c64dd923c4b9be36f7f5f4a3b3 (PR-341) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f ede0a242e964d6c64dd923c4b9be36f7f5f4a3b3 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 1522ab26941e845286473a63852d2df7c1cc35f3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ede0a242e964d6c64dd923c4b9be36f7f5f4a3b3 # timeout=10 [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-17T02:48:29.108Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-17T02:48:29.280Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-17T02:48:29.369Z] ========================================================= [2023-02-17T02:48:29.369Z] EdgeX Global Pipelines Version Info [2023-02-17T02:48:29.369Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-17T02:48:30.108Z] ------------------- [2023-02-17T02:48:30.108Z] stable info: [2023-02-17T02:48:30.108Z] ------------------- [2023-02-17T02:48:30.108Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-17T02:48:30.108Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-17T02:48:30.108Z] Message: update stable to v1.0.244 [2023-02-17T02:48:30.680Z] ------------------- [2023-02-17T02:48:30.680Z] experimental info: [2023-02-17T02:48:30.680Z] ------------------- [2023-02-17T02:48:30.680Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-17T02:48:30.680Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-17T02:48:30.680Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-17T02:48:30.932Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2023-02-17T02:48:30.979Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2023-02-17T02:48:31.016Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-17T02:48:31.055Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-17T02:48:31.091Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-17T02:48:31.125Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-17T02:48:31.161Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-17T02:48:31.198Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-17T02:48:31.239Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-17T02:48:31.274Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-17T02:48:31.320Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-17T02:48:31.354Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2023-02-17T02:48:31.390Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-17T02:48:31.428Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-17T02:48:31.466Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-17T02:48:31.503Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-17T02:48:31.546Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-17T02:48:31.588Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-17T02:48:31.629Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-17T02:48:31.691Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-17T02:48:31.733Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-02-17T02:48:31.772Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-02-17T02:48:31.814Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-17T02:48:31.862Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-17T02:48:32.011Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-17T02:48:32.051Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-17T02:48:32.090Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-17T02:48:32.129Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-341 [Pipeline] echo [2023-02-17T02:48:32.167Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-341 [Pipeline] echo [2023-02-17T02:48:32.211Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-341 [Pipeline] echo [2023-02-17T02:48:32.249Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ede0a242e964d6c64dd923c4b9be36f7f5f4a3b3 [Pipeline] echo [2023-02-17T02:48:32.296Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ede0a24 [Pipeline] echo [2023-02-17T02:48:32.335Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-17T02:48:32.446Z] provisioning config files... [2023-02-17T02:48:32.465Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-341@tmp/config6394350196855634081tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-17T02:48:32.801Z] ---> docker-login.sh [2023-02-17T02:48:32.801Z] nexus3.edgexfoundry.org:10001 [2023-02-17T02:48:33.062Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T02:48:33.324Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T02:48:33.324Z] Configure a credential helper to remove this warning. See [2023-02-17T02:48:33.324Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T02:48:33.324Z] [2023-02-17T02:48:33.324Z] Login Succeeded [2023-02-17T02:48:33.324Z] nexus3.edgexfoundry.org:10002 [2023-02-17T02:48:33.324Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T02:48:33.324Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T02:48:33.324Z] Configure a credential helper to remove this warning. See [2023-02-17T02:48:33.324Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T02:48:33.324Z] [2023-02-17T02:48:33.324Z] Login Succeeded [2023-02-17T02:48:33.324Z] nexus3.edgexfoundry.org:10003 [2023-02-17T02:48:33.324Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T02:48:33.584Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T02:48:33.584Z] Configure a credential helper to remove this warning. See [2023-02-17T02:48:33.584Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T02:48:33.584Z] [2023-02-17T02:48:33.584Z] Login Succeeded [2023-02-17T02:48:33.584Z] nexus3.edgexfoundry.org:10004 [2023-02-17T02:48:33.584Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T02:48:33.584Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T02:48:33.584Z] Configure a credential helper to remove this warning. See [2023-02-17T02:48:33.584Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T02:48:33.584Z] [2023-02-17T02:48:33.584Z] Login Succeeded [2023-02-17T02:48:33.584Z] docker.io [2023-02-17T02:48:33.584Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T02:48:33.846Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T02:48:33.846Z] Configure a credential helper to remove this warning. See [2023-02-17T02:48:33.846Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T02:48:33.846Z] [2023-02-17T02:48:33.846Z] Login Succeeded [2023-02-17T02:48:33.846Z] ---> docker-login.sh ends [Pipeline] } [2023-02-17T02:48:33.874Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-17T02:48:34.475Z] + git rev-list -1 --merges ede0a242e964d6c64dd923c4b9be36f7f5f4a3b3~1..ede0a242e964d6c64dd923c4b9be36f7f5f4a3b3 [Pipeline] echo [2023-02-17T02:48:34.546Z] -----------> git rev-list -1 --merges ede0a242e964d6c64dd923c4b9be36f7f5f4a3b3~1..ede0a242e964d6c64dd923c4b9be36f7f5f4a3b3 ede0a242e964d6c64dd923c4b9be36f7f5f4a3b3 [false] [Pipeline] sh [2023-02-17T02:48:34.855Z] + git log --format=format:%s -1 ede0a242e964d6c64dd923c4b9be36f7f5f4a3b3 [Pipeline] echo [2023-02-17T02:48:34.889Z] ========================================================= [2023-02-17T02:48:34.889Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-17T02:48:34.889Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-17T02:48:35.322Z] + git log --format=format:%s -1 ede0a242e964d6c64dd923c4b9be36f7f5f4a3b3 [Pipeline] echo [2023-02-17T02:48:35.355Z] [semverPrep] GIT_COMMIT: ede0a242e964d6c64dd923c4b9be36f7f5f4a3b3, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-02-17T02:48:35.384Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-17T02:48:35.778Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-17T02:48:35.779Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-17T02:48:35.779Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-17T02:48:35.779Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-17T02:48:35.779Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-17T02:48:35.779Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-17T02:48:35.779Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T02:48:36.277Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-17T02:48:36.277Z] [2023-02-17T02:48:36.277Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T02:48:36.655Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-17T02:48:36.655Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-17T02:48:36.655Z] b85a868b505f: Pulling fs layer [2023-02-17T02:48:36.655Z] e2be974225ed: Pulling fs layer [2023-02-17T02:48:36.655Z] 339a4e72a1f5: Pulling fs layer [2023-02-17T02:48:36.655Z] 988bab9f4d93: Pulling fs layer [2023-02-17T02:48:36.655Z] 1469e6f7b9e6: Pulling fs layer [2023-02-17T02:48:36.655Z] eaf3925da568: Pulling fs layer [2023-02-17T02:48:36.655Z] bab4dde63d76: Pulling fs layer [2023-02-17T02:48:36.655Z] bde34c3a00c8: Pulling fs layer [2023-02-17T02:48:36.655Z] b352a97aabf1: Pulling fs layer [2023-02-17T02:48:36.655Z] 4872d77fe225: Pulling fs layer [2023-02-17T02:48:36.655Z] 5851b861e8e6: Pulling fs layer [2023-02-17T02:48:36.655Z] 988bab9f4d93: Waiting [2023-02-17T02:48:36.655Z] 1469e6f7b9e6: Waiting [2023-02-17T02:48:36.655Z] eaf3925da568: Waiting [2023-02-17T02:48:36.655Z] b352a97aabf1: Waiting [2023-02-17T02:48:36.655Z] 4872d77fe225: Waiting [2023-02-17T02:48:36.655Z] bab4dde63d76: Waiting [2023-02-17T02:48:36.655Z] bde34c3a00c8: Waiting [2023-02-17T02:48:36.655Z] 5851b861e8e6: Waiting [2023-02-17T02:48:36.655Z] e2be974225ed: Verifying Checksum [2023-02-17T02:48:36.655Z] e2be974225ed: Download complete [2023-02-17T02:48:36.655Z] 988bab9f4d93: Verifying Checksum [2023-02-17T02:48:36.655Z] 988bab9f4d93: Download complete [2023-02-17T02:48:36.918Z] 1469e6f7b9e6: Verifying Checksum [2023-02-17T02:48:36.918Z] 1469e6f7b9e6: Download complete [2023-02-17T02:48:36.918Z] eaf3925da568: Download complete [2023-02-17T02:48:36.918Z] 339a4e72a1f5: Verifying Checksum [2023-02-17T02:48:36.918Z] 339a4e72a1f5: Download complete [2023-02-17T02:48:36.918Z] bde34c3a00c8: Verifying Checksum [2023-02-17T02:48:36.918Z] bde34c3a00c8: Download complete [2023-02-17T02:48:37.177Z] b352a97aabf1: Download complete [2023-02-17T02:48:37.177Z] 4872d77fe225: Download complete [2023-02-17T02:48:37.177Z] 5851b861e8e6: Download complete [2023-02-17T02:48:37.177Z] b85a868b505f: Download complete [2023-02-17T02:48:37.436Z] bab4dde63d76: Verifying Checksum [2023-02-17T02:48:37.436Z] bab4dde63d76: Download complete [2023-02-17T02:48:38.374Z] b85a868b505f: Pull complete [2023-02-17T02:48:38.633Z] e2be974225ed: Pull complete [2023-02-17T02:48:38.894Z] 339a4e72a1f5: Pull complete [2023-02-17T02:48:39.154Z] 988bab9f4d93: Pull complete [2023-02-17T02:48:39.413Z] 1469e6f7b9e6: Pull complete [2023-02-17T02:48:39.413Z] eaf3925da568: Pull complete [2023-02-17T02:48:41.317Z] bab4dde63d76: Pull complete [2023-02-17T02:48:41.317Z] bde34c3a00c8: Pull complete [2023-02-17T02:48:41.317Z] b352a97aabf1: Pull complete [2023-02-17T02:48:41.577Z] 4872d77fe225: Pull complete [2023-02-17T02:48:41.577Z] 5851b861e8e6: Pull complete [2023-02-17T02:48:41.577Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-17T02:48:41.577Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-17T02:48:41.577Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T02:48:41.881Z] prd-ubuntu20.04-docker-8c-8g-6355 does not seem to be running inside a container [2023-02-17T02:48:41.894Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-341 -v /w/workspace/foundry_device-virtual-go_PR-341:/w/workspace/foundry_device-virtual-go_PR-341:rw,z -v /w/workspace/foundry_device-virtual-go_PR-341@tmp:/w/workspace/foundry_device-virtual-go_PR-341@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 [2023-02-17T02:48:43.621Z] $ docker top d2497cacfb3e0c349c8808d7bbfa9fe744c0632dce33d78a835a53e27ab1f46f -eo pid,comm [2023-02-17T02:48:43.697Z] 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). [2023-02-17T02:48:43.697Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-17T02:48:43.916Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-17T02:48:43.916Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-17T02:48:44.030Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-17T02:48:44.018Z] $ docker exec d2497cacfb3e0c349c8808d7bbfa9fe744c0632dce33d78a835a53e27ab1f46f ssh-agent [2023-02-17T02:48:44.141Z] SSH_AUTH_SOCK=/tmp/ssh-E6tGk8ypEqlb/agent.32 [2023-02-17T02:48:44.141Z] SSH_AGENT_PID=38 [2023-02-17T02:48:44.148Z] Running ssh-add (command line suppressed) [2023-02-17T02:48:44.248Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-341@tmp/private_key_8716012674281845779.key (/w/workspace/foundry_device-virtual-go_PR-341@tmp/private_key_8716012674281845779.key) [2023-02-17T02:48:44.278Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-17T02:48:44.615Z] + git tag --points-at HEAD [Pipeline] } [2023-02-17T02:48:44.626Z] $ docker exec --env ******** --env ******** d2497cacfb3e0c349c8808d7bbfa9fe744c0632dce33d78a835a53e27ab1f46f ssh-agent -k [2023-02-17T02:48:44.726Z] unset SSH_AUTH_SOCK; [2023-02-17T02:48:44.727Z] unset SSH_AGENT_PID; [2023-02-17T02:48:44.727Z] echo Agent pid 38 killed; [2023-02-17T02:48:44.751Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-17T02:48:44.839Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-17T02:48:44.839Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-17T02:48:44.944Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-17T02:48:44.932Z] $ docker exec d2497cacfb3e0c349c8808d7bbfa9fe744c0632dce33d78a835a53e27ab1f46f ssh-agent [2023-02-17T02:48:45.077Z] SSH_AUTH_SOCK=/tmp/ssh-q9eHZkv1x30J/agent.70 [2023-02-17T02:48:45.077Z] SSH_AGENT_PID=76 [2023-02-17T02:48:45.081Z] Running ssh-add (command line suppressed) [2023-02-17T02:48:45.171Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-341@tmp/private_key_14234833385519787460.key (/w/workspace/foundry_device-virtual-go_PR-341@tmp/private_key_14234833385519787460.key) [2023-02-17T02:48:45.199Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-17T02:48:45.522Z] + git semver init [2023-02-17T02:48:45.781Z] 2023-02-17 02:48:45,696 [run_init] DEBUG init version:0.0.0 force:False [2023-02-17T02:48:45.781Z] 2023-02-17 02:48:45,696 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-341/.semver [2023-02-17T02:48:45.781Z] 2023-02-17 02:48:45,697 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-341/.semver [2023-02-17T02:48:45.781Z] 2023-02-17 02:48:45,697 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-341/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-341, universal_newlines=False, shell=None, istream=None) [2023-02-17T02:48:47.160Z] 2023-02-17 02:48:46,881 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-341/.git/info/exclude [2023-02-17T02:48:47.160Z] 2023-02-17 02:48:46,881 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-341/.semver/PR-341 with force:False [2023-02-17T02:48:47.160Z] 2023-02-17 02:48:46,881 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-341/.semver/PR-341 [2023-02-17T02:48:47.160Z] 2023-02-17 02:48:46,885 [execute] INFO git cat-file --batch-check [2023-02-17T02:48:47.160Z] 2023-02-17 02:48:46,885 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-341/.semver, universal_newlines=False, shell=None, istream=) [2023-02-17T02:48:47.160Z] 2023-02-17 02:48:46,891 [execute] INFO git cat-file --batch [2023-02-17T02:48:47.160Z] 2023-02-17 02:48:46,892 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-341/.semver, universal_newlines=False, shell=None, istream=) [2023-02-17T02:48:47.160Z] 2023-02-17 02:48:46,898 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-341/.semver/PR-341 [2023-02-17T02:48:47.160Z] 0.0.0 [Pipeline] } [2023-02-17T02:48:47.172Z] $ docker exec --env ******** --env ******** d2497cacfb3e0c349c8808d7bbfa9fe744c0632dce33d78a835a53e27ab1f46f ssh-agent -k [2023-02-17T02:48:47.278Z] unset SSH_AUTH_SOCK; [2023-02-17T02:48:47.279Z] unset SSH_AGENT_PID; [2023-02-17T02:48:47.279Z] echo Agent pid 76 killed; [2023-02-17T02:48:47.301Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-17T02:48:47.729Z] + git semver [Pipeline] } [2023-02-17T02:48:47.998Z] $ docker stop --time=1 d2497cacfb3e0c349c8808d7bbfa9fe744c0632dce33d78a835a53e27ab1f46f [2023-02-17T02:48:49.354Z] $ docker rm -f --volumes d2497cacfb3e0c349c8808d7bbfa9fe744c0632dce33d78a835a53e27ab1f46f [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-17T02:48:49.766Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-17T02:48:50.029Z] Stashed 1 file(s) [Pipeline] echo [2023-02-17T02:48:50.048Z] [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 [2023-02-17T02:48:50.670Z] provisioning config files... [2023-02-17T02:48:50.679Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-341@tmp/config7562137726231170360tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-17T02:48:51.036Z] ---> docker-login.sh [2023-02-17T02:48:51.036Z] nexus3.edgexfoundry.org:10001 [2023-02-17T02:48:51.036Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T02:48:51.036Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T02:48:51.036Z] Configure a credential helper to remove this warning. See [2023-02-17T02:48:51.036Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T02:48:51.036Z] [2023-02-17T02:48:51.036Z] Login Succeeded [2023-02-17T02:48:51.036Z] nexus3.edgexfoundry.org:10002 [2023-02-17T02:48:51.036Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T02:48:51.036Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T02:48:51.036Z] Configure a credential helper to remove this warning. See [2023-02-17T02:48:51.036Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T02:48:51.036Z] [2023-02-17T02:48:51.036Z] Login Succeeded [2023-02-17T02:48:51.036Z] nexus3.edgexfoundry.org:10003 [2023-02-17T02:48:51.295Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T02:48:51.295Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T02:48:51.295Z] Configure a credential helper to remove this warning. See [2023-02-17T02:48:51.295Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T02:48:51.295Z] [2023-02-17T02:48:51.295Z] Login Succeeded [2023-02-17T02:48:51.295Z] nexus3.edgexfoundry.org:10004 [2023-02-17T02:48:51.295Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T02:48:51.295Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T02:48:51.295Z] Configure a credential helper to remove this warning. See [2023-02-17T02:48:51.295Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T02:48:51.295Z] [2023-02-17T02:48:51.295Z] Login Succeeded [2023-02-17T02:48:51.295Z] docker.io [2023-02-17T02:48:51.554Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T02:48:51.813Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T02:48:51.813Z] Configure a credential helper to remove this warning. See [2023-02-17T02:48:51.813Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T02:48:51.813Z] [2023-02-17T02:48:51.813Z] Login Succeeded [2023-02-17T02:48:51.813Z] ---> docker-login.sh ends [Pipeline] } [2023-02-17T02:48:51.846Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-17T02:48:52.228Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-17T02:48:52.267Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-17T02:48:52.301Z] ========================================================= [2023-02-17T02:48:52.301Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-17T02:48:52.301Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T02:48:52.785Z] + 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 . [2023-02-17T02:48:52.785Z] Sending build context to Docker daemon 23.38MB [2023-02-17T02:48:52.785Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-17T02:48:52.785Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-17T02:48:53.049Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-17T02:48:53.049Z] 213ec9aee27d: Pulling fs layer [2023-02-17T02:48:53.049Z] 4583459ba037: Pulling fs layer [2023-02-17T02:48:53.049Z] 93c1e223e6f2: Pulling fs layer [2023-02-17T02:48:53.049Z] 53926ce57604: Pulling fs layer [2023-02-17T02:48:53.049Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-17T02:48:53.049Z] 22ff95d597cd: Pulling fs layer [2023-02-17T02:48:53.049Z] 12d6caf4c0d1: Pulling fs layer [2023-02-17T02:48:53.049Z] 96b7cbca73a9: Pulling fs layer [2023-02-17T02:48:53.049Z] a7acece74701: Pulling fs layer [2023-02-17T02:48:53.049Z] 53926ce57604: Waiting [2023-02-17T02:48:53.049Z] 96b7cbca73a9: Waiting [2023-02-17T02:48:53.049Z] a7acece74701: Waiting [2023-02-17T02:48:53.049Z] 21b2b0c7a3f4: Waiting [2023-02-17T02:48:53.049Z] 12d6caf4c0d1: Waiting [2023-02-17T02:48:53.049Z] 93c1e223e6f2: Verifying Checksum [2023-02-17T02:48:53.049Z] 93c1e223e6f2: Download complete [2023-02-17T02:48:53.049Z] 4583459ba037: Verifying Checksum [2023-02-17T02:48:53.049Z] 4583459ba037: Download complete [2023-02-17T02:48:53.049Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-17T02:48:53.049Z] 21b2b0c7a3f4: Download complete [2023-02-17T02:48:53.049Z] 22ff95d597cd: Verifying Checksum [2023-02-17T02:48:53.049Z] 22ff95d597cd: Download complete [2023-02-17T02:48:53.049Z] 213ec9aee27d: Verifying Checksum [2023-02-17T02:48:53.049Z] 213ec9aee27d: Download complete [2023-02-17T02:48:53.049Z] 12d6caf4c0d1: Verifying Checksum [2023-02-17T02:48:53.049Z] 12d6caf4c0d1: Download complete [2023-02-17T02:48:53.322Z] 213ec9aee27d: Pull complete [2023-02-17T02:48:53.322Z] 4583459ba037: Pull complete [2023-02-17T02:48:53.604Z] 93c1e223e6f2: Pull complete [2023-02-17T02:48:54.209Z] 96b7cbca73a9: Download complete [2023-02-17T02:48:54.470Z] a7acece74701: Verifying Checksum [2023-02-17T02:48:54.470Z] a7acece74701: Download complete [2023-02-17T02:48:54.470Z] 53926ce57604: Verifying Checksum [2023-02-17T02:48:54.470Z] 53926ce57604: Download complete [2023-02-17T02:48:58.674Z] 53926ce57604: Pull complete [2023-02-17T02:48:58.674Z] 21b2b0c7a3f4: Pull complete [2023-02-17T02:48:58.674Z] 22ff95d597cd: Pull complete [2023-02-17T02:48:58.674Z] 12d6caf4c0d1: Pull complete [2023-02-17T02:49:01.205Z] 96b7cbca73a9: Pull complete [2023-02-17T02:49:01.774Z] a7acece74701: Pull complete [2023-02-17T02:49:01.774Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-17T02:49:01.774Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-17T02:49:01.774Z] ---> db6d94c90886 [2023-02-17T02:49:01.774Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-17T02:49:03.684Z] ---> Running in 219e00b01459 [2023-02-17T02:49:03.943Z] Removing intermediate container 219e00b01459 [2023-02-17T02:49:03.943Z] ---> 47acd3a08d36 [2023-02-17T02:49:03.943Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-17T02:49:03.943Z] ---> Running in 0cf811aea55e [2023-02-17T02:49:03.943Z] Removing intermediate container 0cf811aea55e [2023-02-17T02:49:03.943Z] ---> 558f66ad78cd [2023-02-17T02:49:03.943Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-02-17T02:49:04.202Z] ---> Running in b3046e5271a2 [2023-02-17T02:49:04.202Z] Removing intermediate container b3046e5271a2 [2023-02-17T02:49:04.202Z] ---> 45b4f0ff0208 [2023-02-17T02:49:04.202Z] Step 6/12 : WORKDIR /device-virtual-go [2023-02-17T02:49:04.202Z] ---> Running in 17d829faceb2 [2023-02-17T02:49:04.462Z] Removing intermediate container 17d829faceb2 [2023-02-17T02:49:04.462Z] ---> 07d1347b82d3 [2023-02-17T02:49:04.462Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-17T02:49:04.462Z] ---> Running in 015e3f75605f [2023-02-17T02:49:04.722Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-17T02:49:04.982Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-17T02:49:05.243Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-17T02:49:05.243Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-17T02:49:05.243Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-17T02:49:05.243Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-17T02:49:05.243Z] Executing busybox-1.35.0-r17.trigger [2023-02-17T02:49:05.243Z] OK: 216 MiB in 55 packages [2023-02-17T02:49:05.487Z] Still waiting to schedule task [2023-02-17T02:49:05.488Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-02-17T02:49:05.811Z] Removing intermediate container 015e3f75605f [2023-02-17T02:49:05.811Z] ---> 5210d1f53b07 [2023-02-17T02:49:05.811Z] Step 8/12 : COPY go.mod vendor* ./ [2023-02-17T02:49:05.811Z] ---> 9c3e734a676b [2023-02-17T02:49:05.811Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-17T02:49:05.811Z] ---> Running in f78e763bdc70 [2023-02-17T02:49:44.585Z] Removing intermediate container f78e763bdc70 [2023-02-17T02:49:44.585Z] ---> 4e4893268be9 [2023-02-17T02:49:44.585Z] Step 10/12 : COPY . . [2023-02-17T02:49:44.585Z] ---> b589e685581d [2023-02-17T02:49:44.585Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-17T02:49:44.585Z] ---> Running in f8673a747835 [2023-02-17T02:49:44.585Z] Removing intermediate container f8673a747835 [2023-02-17T02:49:44.585Z] ---> e6c3fd83812c [2023-02-17T02:49:44.585Z] Step 12/12 : RUN $MAKE [2023-02-17T02:49:44.585Z] ---> Running in 3d7ab193f6b9 [2023-02-17T02:49:44.585Z] noop [2023-02-17T02:49:44.585Z] Removing intermediate container 3d7ab193f6b9 [2023-02-17T02:49:44.585Z] ---> 3f1b876d3ce6 [2023-02-17T02:49:44.585Z] Successfully built 3f1b876d3ce6 [2023-02-17T02:49:44.585Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T02:49:45.009Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-17T02:49:45.009Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T02:49:45.154Z] prd-ubuntu20.04-docker-8c-8g-6355 does not seem to be running inside a container [2023-02-17T02:49:45.194Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-341 -v /w/workspace/foundry_device-virtual-go_PR-341:/w/workspace/foundry_device-virtual-go_PR-341:rw,z -v /w/workspace/foundry_device-virtual-go_PR-341@tmp:/w/workspace/foundry_device-virtual-go_PR-341@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 [2023-02-17T02:49:45.691Z] $ docker top f95199fdc0cf75c559d43a1b7e64c7b6db1b047a20fcf0cda669a2d94982351a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-17T02:49:46.082Z] + go version [2023-02-17T02:49:46.082Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-17T02:49:46.120Z] $ docker stop --time=1 f95199fdc0cf75c559d43a1b7e64c7b6db1b047a20fcf0cda669a2d94982351a [2023-02-17T02:49:47.410Z] $ docker rm -f --volumes f95199fdc0cf75c559d43a1b7e64c7b6db1b047a20fcf0cda669a2d94982351a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T02:49:48.158Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-17T02:49:48.158Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T02:49:48.304Z] prd-ubuntu20.04-docker-8c-8g-6355 does not seem to be running inside a container [2023-02-17T02:49:48.341Z] $ 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-341 -v /w/workspace/foundry_device-virtual-go_PR-341:/w/workspace/foundry_device-virtual-go_PR-341:rw,z -v /w/workspace/foundry_device-virtual-go_PR-341@tmp:/w/workspace/foundry_device-virtual-go_PR-341@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 [2023-02-17T02:49:48.709Z] $ docker top 0f6b98dca39b2267def34d7ea9e076e42f43ffebefb65395256ba54bc4bf4638 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-17T02:49:49.099Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-341 [Pipeline] fileExists [Pipeline] sh [2023-02-17T02:49:49.454Z] + make test [2023-02-17T02:49:49.454Z] go test ./... -coverprofile=coverage.out [2023-02-17T02:49:49.713Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-02-17T02:49:59.678Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-02-17T02:49:59.678Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.038s coverage: 65.7% of statements [2023-02-17T02:50:06.245Z] 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." [2023-02-17T02:50:06.245Z] go vet ./... [2023-02-17T02:50:09.525Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-17T02:50:09.525Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-17T02:50:09.525Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-17T02:50:09.812Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-17T02:50:09.846Z] $ docker stop --time=1 0f6b98dca39b2267def34d7ea9e076e42f43ffebefb65395256ba54bc4bf4638 [2023-02-17T02:50:11.762Z] $ docker rm -f --volumes 0f6b98dca39b2267def34d7ea9e076e42f43ffebefb65395256ba54bc4bf4638 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-17T02:50:12.260Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-17T02:50:12.330Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-17T02:50:13.082Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-17T02:50:13.389Z] + ls -al . [2023-02-17T02:50:13.389Z] total 192 [2023-02-17T02:50:13.389Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 17 02:49 . [2023-02-17T02:50:13.389Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 02:48 .. [2023-02-17T02:50:13.389Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 17 02:50 .git [2023-02-17T02:50:13.389Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 17 02:48 .github [2023-02-17T02:50:13.389Z] -rw-rw-r-- 1 jenkins jenkins 337 Feb 17 02:48 .gitignore [2023-02-17T02:50:13.389Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 17 02:48 .golangci.yml [2023-02-17T02:50:13.389Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 17 02:48 .semver [2023-02-17T02:50:13.389Z] -rw-rw-r-- 1 jenkins jenkins 8641 Feb 17 02:48 Attribution.txt [2023-02-17T02:50:13.389Z] -rw-rw-r-- 1 jenkins jenkins 11367 Feb 17 02:48 CHANGELOG.md [2023-02-17T02:50:13.389Z] -rw-rw-r-- 1 jenkins jenkins 1646 Feb 17 02:48 Dockerfile [2023-02-17T02:50:13.389Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 17 02:48 GOVERNANCE.md [2023-02-17T02:50:13.389Z] -rw-rw-r-- 1 jenkins jenkins 660 Feb 17 02:48 Jenkinsfile [2023-02-17T02:50:13.389Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 17 02:48 LICENSE [2023-02-17T02:50:13.389Z] -rw-rw-r-- 1 jenkins jenkins 1661 Feb 17 02:48 Makefile [2023-02-17T02:50:13.389Z] -rw-rw-r-- 1 jenkins jenkins 623 Feb 17 02:48 OWNERS.md [2023-02-17T02:50:13.389Z] -rw-rw-r-- 1 jenkins jenkins 3578 Feb 17 02:48 README.md [2023-02-17T02:50:13.389Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 17 02:48 VERSION [2023-02-17T02:50:13.389Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 17 02:48 bin [2023-02-17T02:50:13.389Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 17 02:48 cmd [2023-02-17T02:50:13.389Z] -rw-r--r-- 1 jenkins jenkins 44128 Feb 17 02:49 coverage.out [2023-02-17T02:50:13.389Z] -rw-rw-r-- 1 jenkins jenkins 3252 Feb 17 02:48 go.mod [2023-02-17T02:50:13.389Z] -rw-rw-r-- 1 jenkins jenkins 32588 Feb 17 02:48 go.sum [2023-02-17T02:50:13.389Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 17 02:48 internal [2023-02-17T02:50:13.389Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 02:48 snap [2023-02-17T02:50:13.389Z] -rw-rw-r-- 1 jenkins jenkins 235 Feb 17 02:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T02:50:13.834Z] + 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=ede0a242e964d6c64dd923c4b9be36f7f5f4a3b3 --label arch=amd64 --label version=0.0.0 . [2023-02-17T02:50:13.834Z] Sending build context to Docker daemon 23.43MB [2023-02-17T02:50:13.834Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-02-17T02:50:13.834Z] Step 2/25 : FROM ${BASE} AS builder [2023-02-17T02:50:13.834Z] ---> 3f1b876d3ce6 [2023-02-17T02:50:13.834Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-17T02:50:14.141Z] ---> Running in e1537df995d5 [2023-02-17T02:50:14.141Z] Removing intermediate container e1537df995d5 [2023-02-17T02:50:14.141Z] ---> c0d1faeaee72 [2023-02-17T02:50:14.141Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-02-17T02:50:14.141Z] ---> Running in 5ccb2ff6a5be [2023-02-17T02:50:14.430Z] Removing intermediate container 5ccb2ff6a5be [2023-02-17T02:50:14.430Z] ---> 71251f7126a1 [2023-02-17T02:50:14.430Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-02-17T02:50:14.430Z] ---> Running in c3c27007bb4a [2023-02-17T02:50:14.430Z] Removing intermediate container c3c27007bb4a [2023-02-17T02:50:14.430Z] ---> bc366c4be775 [2023-02-17T02:50:14.430Z] Step 6/25 : WORKDIR /device-virtual-go [2023-02-17T02:50:14.430Z] ---> Running in 282baf1801e7 [2023-02-17T02:50:14.692Z] Removing intermediate container 282baf1801e7 [2023-02-17T02:50:14.692Z] ---> 2eb278750779 [2023-02-17T02:50:14.692Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-17T02:50:14.692Z] ---> Running in 3183251904b9 [2023-02-17T02:50:14.975Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-17T02:50:14.975Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-17T02:50:15.237Z] OK: 216 MiB in 55 packages [2023-02-17T02:50:15.804Z] Removing intermediate container 3183251904b9 [2023-02-17T02:50:15.804Z] ---> 90ea6437242b [2023-02-17T02:50:15.804Z] Step 8/25 : COPY go.mod vendor* ./ [2023-02-17T02:50:15.804Z] ---> 4b38c73bbeee [2023-02-17T02:50:15.804Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-17T02:50:15.804Z] ---> Running in b459d20386c5 [2023-02-17T02:50:16.742Z] Removing intermediate container b459d20386c5 [2023-02-17T02:50:16.742Z] ---> 6deea2986165 [2023-02-17T02:50:16.742Z] Step 10/25 : COPY . . [2023-02-17T02:50:17.310Z] ---> 5afab16fa71a [2023-02-17T02:50:17.310Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-17T02:50:17.310Z] ---> Running in e664c1e1c2da [2023-02-17T02:50:17.569Z] Removing intermediate container e664c1e1c2da [2023-02-17T02:50:17.569Z] ---> 4b148f0cb541 [2023-02-17T02:50:17.569Z] Step 12/25 : RUN $MAKE [2023-02-17T02:50:17.569Z] ---> Running in e308fbb0f221 [2023-02-17T02:50:17.827Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-02-17T02:50:39.759Z] Removing intermediate container e308fbb0f221 [2023-02-17T02:50:39.759Z] ---> 19b131a84831 [2023-02-17T02:50:39.759Z] Step 13/25 : FROM alpine:3.16 [2023-02-17T02:50:39.759Z] 3.16: Pulling from library/alpine [2023-02-17T02:50:39.759Z] ef5531b6e74e: Pulling fs layer [2023-02-17T02:50:39.759Z] ef5531b6e74e: Verifying Checksum [2023-02-17T02:50:39.759Z] ef5531b6e74e: Download complete [2023-02-17T02:50:39.759Z] ef5531b6e74e: Pull complete [2023-02-17T02:50:39.759Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-17T02:50:39.759Z] Status: Downloaded newer image for alpine:3.16 [2023-02-17T02:50:39.759Z] ---> dfd21b5a31f5 [2023-02-17T02:50:39.759Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-02-17T02:50:39.759Z] ---> Running in 42007661cb93 [2023-02-17T02:50:39.759Z] Removing intermediate container 42007661cb93 [2023-02-17T02:50:39.759Z] ---> 8f9d01e2798e [2023-02-17T02:50:39.759Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-02-17T02:50:39.759Z] ---> Running in f712788b94e5 [2023-02-17T02:50:39.759Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-17T02:50:39.759Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-17T02:50:39.759Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-17T02:50:39.759Z] Executing busybox-1.35.0-r17.trigger [2023-02-17T02:50:39.759Z] OK: 6 MiB in 15 packages [2023-02-17T02:50:40.017Z] Removing intermediate container f712788b94e5 [2023-02-17T02:50:40.017Z] ---> 047da753d623 [2023-02-17T02:50:40.017Z] Step 16/25 : WORKDIR / [2023-02-17T02:50:40.017Z] ---> Running in 132008e6022d [2023-02-17T02:50:40.017Z] Removing intermediate container 132008e6022d [2023-02-17T02:50:40.017Z] ---> 23737367ed54 [2023-02-17T02:50:40.017Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-02-17T02:50:40.277Z] ---> 30c7f376fcf7 [2023-02-17T02:50:40.277Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-02-17T02:50:40.538Z] ---> 7af9132ce6f7 [2023-02-17T02:50:40.538Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-02-17T02:50:41.161Z] ---> 9f285d321acb [2023-02-17T02:50:41.161Z] Step 20/25 : EXPOSE 59900 [2023-02-17T02:50:41.161Z] ---> Running in 58af11269143 [2023-02-17T02:50:41.161Z] Removing intermediate container 58af11269143 [2023-02-17T02:50:41.161Z] ---> a3c12a66ef00 [2023-02-17T02:50:41.161Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-02-17T02:50:41.161Z] ---> Running in 1854e31db85b [2023-02-17T02:50:41.420Z] Removing intermediate container 1854e31db85b [2023-02-17T02:50:41.420Z] ---> 747355aa60f3 [2023-02-17T02:50:41.420Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-17T02:50:41.420Z] ---> Running in 8deff05456b5 [2023-02-17T02:50:41.420Z] Removing intermediate container 8deff05456b5 [2023-02-17T02:50:41.420Z] ---> 54815ab3a3ba [2023-02-17T02:50:41.420Z] Step 23/25 : LABEL arch=amd64 [2023-02-17T02:50:41.420Z] ---> Running in b5b48fae2a3a [2023-02-17T02:50:41.678Z] Removing intermediate container b5b48fae2a3a [2023-02-17T02:50:41.678Z] ---> aa1453091ac7 [2023-02-17T02:50:41.678Z] Step 24/25 : LABEL git_sha=ede0a242e964d6c64dd923c4b9be36f7f5f4a3b3 [2023-02-17T02:50:41.678Z] ---> Running in 58f60520c86d [2023-02-17T02:50:41.678Z] Removing intermediate container 58f60520c86d [2023-02-17T02:50:41.678Z] ---> c05e4025e2f2 [2023-02-17T02:50:41.678Z] Step 25/25 : LABEL version=0.0.0 [2023-02-17T02:50:41.678Z] ---> Running in 0dd7567c062f [2023-02-17T02:50:41.937Z] Removing intermediate container 0dd7567c062f [2023-02-17T02:50:41.937Z] ---> 702cb59485ca [2023-02-17T02:50:41.937Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-17T02:50:41.937Z] Successfully built 702cb59485ca [2023-02-17T02:50:41.937Z] 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 [2023-02-17T02:50:42.738Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-17T02:50:42.738Z] [2023-02-17T02:50:42.738Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T02:50:43.120Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-17T02:50:43.121Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-17T02:50:43.121Z] 5eb5b503b376: Pulling fs layer [2023-02-17T02:50:43.121Z] 5c69ac0246d0: Pulling fs layer [2023-02-17T02:50:43.121Z] ec43610c2a17: Pulling fs layer [2023-02-17T02:50:43.121Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-17T02:50:43.121Z] 3a2ae6a8a46f: Waiting [2023-02-17T02:50:43.121Z] 33b1e0a273af: Pulling fs layer [2023-02-17T02:50:43.121Z] 5d3b04190fa2: Pulling fs layer [2023-02-17T02:50:43.121Z] 2f39f015ded8: Pulling fs layer [2023-02-17T02:50:43.121Z] 33b1e0a273af: Waiting [2023-02-17T02:50:43.121Z] 5d3b04190fa2: Waiting [2023-02-17T02:50:43.121Z] 5c69ac0246d0: Verifying Checksum [2023-02-17T02:50:43.121Z] 5c69ac0246d0: Download complete [2023-02-17T02:50:43.121Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-17T02:50:43.121Z] 3a2ae6a8a46f: Download complete [2023-02-17T02:50:43.383Z] 33b1e0a273af: Verifying Checksum [2023-02-17T02:50:43.383Z] 33b1e0a273af: Download complete [2023-02-17T02:50:43.383Z] 5d3b04190fa2: Verifying Checksum [2023-02-17T02:50:43.383Z] 5d3b04190fa2: Download complete [2023-02-17T02:50:43.383Z] ec43610c2a17: Verifying Checksum [2023-02-17T02:50:43.383Z] ec43610c2a17: Download complete [2023-02-17T02:50:43.642Z] 5eb5b503b376: Verifying Checksum [2023-02-17T02:50:43.642Z] 5eb5b503b376: Download complete [2023-02-17T02:50:44.211Z] 2f39f015ded8: Verifying Checksum [2023-02-17T02:50:44.211Z] 2f39f015ded8: Download complete [2023-02-17T02:50:44.777Z] 5eb5b503b376: Pull complete [2023-02-17T02:50:44.777Z] 5c69ac0246d0: Pull complete [2023-02-17T02:50:45.342Z] ec43610c2a17: Pull complete [2023-02-17T02:50:45.342Z] 3a2ae6a8a46f: Pull complete [2023-02-17T02:50:45.599Z] 33b1e0a273af: Pull complete [2023-02-17T02:50:45.599Z] 5d3b04190fa2: Pull complete [2023-02-17T02:50:49.787Z] 2f39f015ded8: Pull complete [2023-02-17T02:50:49.787Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-17T02:50:49.787Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-17T02:50:49.787Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T02:50:50.017Z] prd-ubuntu20.04-docker-8c-8g-6355 does not seem to be running inside a container [2023-02-17T02:50:50.048Z] $ 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-341 -v /w/workspace/foundry_device-virtual-go_PR-341:/w/workspace/foundry_device-virtual-go_PR-341:rw,z -v /w/workspace/foundry_device-virtual-go_PR-341@tmp:/w/workspace/foundry_device-virtual-go_PR-341@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 [2023-02-17T02:50:52.598Z] $ docker top d217374f6c26f46e03f2a8aa0fb18689e02bd5afb87a5eac3e0bfcbdaf2cdfb0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-17T02:50:53.039Z] ---> job-cost.sh [2023-02-17T02:50:53.040Z] lf-activate-venv: SKIPPING [2023-02-17T02:50:53.040Z] INFO: No Stack... [2023-02-17T02:50:53.606Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-17T02:50:53.865Z] INFO: Archiving Costs [Pipeline] sh [2023-02-17T02:50:54.173Z] + cat /w/workspace/foundry_device-virtual-go_PR-341/archives/cost.csv [2023-02-17T02:50:54.173Z] + cut -d, -f6 [Pipeline] lock [2023-02-17T02:50:54.220Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-341-1-stack-cost] [2023-02-17T02:50:54.225Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-341-1-stack-cost] did not exist. Created. [2023-02-17T02:50:54.225Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-341-1-stack-cost] [Pipeline] { [2023-02-17T02:50:54.250Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6356 in /w/workspace/foundry_device-virtual-go_PR-341 [Pipeline] unstash [Pipeline] { [Pipeline] sh [Pipeline] ws [2023-02-17T02:50:54.422Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2023-02-17T02:50:54.505Z] The recommended git tool is: git [2023-02-17T02:50:54.637Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-17T02:50:54.690Z] Stashed 1 file(s) [Pipeline] } [2023-02-17T02:50:54.722Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-341-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-17T02:50:54.812Z] $ docker stop --time=1 d217374f6c26f46e03f2a8aa0fb18689e02bd5afb87a5eac3e0bfcbdaf2cdfb0 [2023-02-17T02:50:56.014Z] $ docker rm -f --volumes d217374f6c26f46e03f2a8aa0fb18689e02bd5afb87a5eac3e0bfcbdaf2cdfb0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-17T02:50:59.604Z] using credential edgex-jenkins-ssh [2023-02-17T02:50:59.625Z] Cloning the remote Git repository [2023-02-17T02:50:59.669Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2023-02-17T02:50:59.739Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2023-02-17T02:50:59.905Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-02-17T02:50:59.907Z] > git --version # timeout=10 [2023-02-17T02:50:59.930Z] > git --version # 'git version 2.25.1' [2023-02-17T02:50:59.933Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-17T02:50:59.996Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-17T02:51:03.087Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-02-17T02:51:03.114Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-17T02:51:04.665Z] Merging remotes/origin/main commit 1522ab26941e845286473a63852d2df7c1cc35f3 into PR head commit ede0a242e964d6c64dd923c4b9be36f7f5f4a3b3 [2023-02-17T02:51:04.006Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-02-17T02:51:04.053Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-02-17T02:51:04.054Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-17T02:51:04.069Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/341/head:refs/remotes/origin/PR-341 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-17T02:51:04.685Z] > git config core.sparsecheckout # timeout=10 [2023-02-17T02:51:04.705Z] > git checkout -f ede0a242e964d6c64dd923c4b9be36f7f5f4a3b3 # timeout=10 [2023-02-17T02:51:04.787Z] > git remote # timeout=10 [2023-02-17T02:51:04.806Z] > git config --get remote.origin.url # timeout=10 [2023-02-17T02:51:04.830Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-17T02:51:04.844Z] > git merge 1522ab26941e845286473a63852d2df7c1cc35f3 # timeout=10 [2023-02-17T02:51:04.891Z] Merge succeeded, producing ede0a242e964d6c64dd923c4b9be36f7f5f4a3b3 [2023-02-17T02:51:04.892Z] Checking out Revision ede0a242e964d6c64dd923c4b9be36f7f5f4a3b3 (PR-341) [2023-02-17T02:51:05.385Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-02-17T02:51:05.433Z] > git --version # timeout=10 [2023-02-17T02:51:05.447Z] > git --version # 'git version 2.25.1' [2023-02-17T02:51:05.473Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-17T02:51:04.873Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-17T02:51:04.899Z] > git config core.sparsecheckout # timeout=10 [2023-02-17T02:51:04.926Z] > git checkout -f ede0a242e964d6c64dd923c4b9be36f7f5f4a3b3 # timeout=10 [2023-02-17T02:51:06.654Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-17T02:51:06.654Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-17T02:51:06.654Z] Dload Upload Total Spent Left Speed [2023-02-17T02:51:06.654Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 95872 0 --:--:-- --:--:-- --:--:-- 95872 [Pipeline] sh [2023-02-17T02:51:07.343Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-17T02:51:07.766Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-17T02:51:07.766Z] + sudo tee /etc/docker/daemon.new [2023-02-17T02:51:07.766Z] { [2023-02-17T02:51:07.766Z] "registry-mirrors": [ [2023-02-17T02:51:07.766Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-17T02:51:07.766Z] ], [2023-02-17T02:51:07.766Z] "bip": "10.250.0.254/24", [2023-02-17T02:51:07.766Z] "hosts": [ [2023-02-17T02:51:07.766Z] "tcp://0.0.0.0:5555", [2023-02-17T02:51:07.767Z] "unix:///var/run/docker.sock" [2023-02-17T02:51:07.767Z] ], [2023-02-17T02:51:07.767Z] "mtu": 1458, [2023-02-17T02:51:07.767Z] "selinux-enabled": true, [2023-02-17T02:51:07.767Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-17T02:51:07.767Z] } [Pipeline] sh [2023-02-17T02:51:08.120Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-17T02:51:08.552Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-17T02:51:26.920Z] provisioning config files... [2023-02-17T02:51:26.948Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config13426192076415119468tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-17T02:51:27.396Z] ---> docker-login.sh [2023-02-17T02:51:27.397Z] nexus3.edgexfoundry.org:10001 [2023-02-17T02:51:27.986Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T02:51:27.986Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T02:51:27.986Z] Configure a credential helper to remove this warning. See [2023-02-17T02:51:27.986Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T02:51:27.986Z] [2023-02-17T02:51:27.986Z] Login Succeeded [2023-02-17T02:51:27.986Z] nexus3.edgexfoundry.org:10002 [2023-02-17T02:51:28.259Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T02:51:28.530Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T02:51:28.530Z] Configure a credential helper to remove this warning. See [2023-02-17T02:51:28.530Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T02:51:28.530Z] [2023-02-17T02:51:28.530Z] Login Succeeded [2023-02-17T02:51:28.530Z] nexus3.edgexfoundry.org:10003 [2023-02-17T02:51:28.803Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T02:51:28.803Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T02:51:28.803Z] Configure a credential helper to remove this warning. See [2023-02-17T02:51:28.803Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T02:51:28.803Z] [2023-02-17T02:51:28.803Z] Login Succeeded [2023-02-17T02:51:28.803Z] nexus3.edgexfoundry.org:10004 [2023-02-17T02:51:29.074Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T02:51:29.074Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T02:51:29.074Z] Configure a credential helper to remove this warning. See [2023-02-17T02:51:29.074Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T02:51:29.074Z] [2023-02-17T02:51:29.074Z] Login Succeeded [2023-02-17T02:51:29.074Z] docker.io [2023-02-17T02:51:29.341Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T02:51:29.608Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T02:51:29.608Z] Configure a credential helper to remove this warning. See [2023-02-17T02:51:29.608Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T02:51:29.608Z] [2023-02-17T02:51:29.608Z] Login Succeeded [2023-02-17T02:51:29.608Z] ---> docker-login.sh ends [Pipeline] } [2023-02-17T02:51:29.637Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-17T02:51:30.019Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-17T02:51:30.051Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-17T02:51:30.078Z] ========================================================= [2023-02-17T02:51:30.078Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-17T02:51:30.078Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T02:51:30.577Z] + 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 . [2023-02-17T02:51:30.849Z] Sending build context to Docker daemon 11.84MB [2023-02-17T02:51:30.849Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-17T02:51:30.849Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-17T02:51:31.122Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-17T02:51:31.122Z] 9b18e9b68314: Pulling fs layer [2023-02-17T02:51:31.122Z] 35d82f9e3411: Pulling fs layer [2023-02-17T02:51:31.122Z] e16973657156: Pulling fs layer [2023-02-17T02:51:31.122Z] fc693d55d65f: Pulling fs layer [2023-02-17T02:51:31.122Z] 7e9fc2657dce: Pulling fs layer [2023-02-17T02:51:31.122Z] dda99020689f: Pulling fs layer [2023-02-17T02:51:31.122Z] db1c61fa0a46: Pulling fs layer [2023-02-17T02:51:31.122Z] 891c053d2c06: Pulling fs layer [2023-02-17T02:51:31.122Z] 891c053d2c06: Waiting [2023-02-17T02:51:31.122Z] dda99020689f: Waiting [2023-02-17T02:51:31.122Z] db1c61fa0a46: Waiting [2023-02-17T02:51:31.122Z] 7e9fc2657dce: Waiting [2023-02-17T02:51:31.122Z] fc693d55d65f: Waiting [2023-02-17T02:51:31.122Z] e16973657156: Verifying Checksum [2023-02-17T02:51:31.122Z] e16973657156: Download complete [2023-02-17T02:51:31.122Z] 35d82f9e3411: Download complete [2023-02-17T02:51:31.122Z] 7e9fc2657dce: Verifying Checksum [2023-02-17T02:51:31.122Z] 7e9fc2657dce: Download complete [2023-02-17T02:51:31.399Z] dda99020689f: Verifying Checksum [2023-02-17T02:51:31.399Z] dda99020689f: Download complete [2023-02-17T02:51:31.399Z] 9b18e9b68314: Verifying Checksum [2023-02-17T02:51:31.399Z] 9b18e9b68314: Download complete [2023-02-17T02:51:32.404Z] 9b18e9b68314: Pull complete [2023-02-17T02:51:32.404Z] 891c053d2c06: Verifying Checksum [2023-02-17T02:51:32.404Z] 891c053d2c06: Download complete [2023-02-17T02:51:33.000Z] 35d82f9e3411: Pull complete [2023-02-17T02:51:33.277Z] e16973657156: Pull complete [2023-02-17T02:51:33.557Z] db1c61fa0a46: Verifying Checksum [2023-02-17T02:51:34.147Z] fc693d55d65f: Verifying Checksum [2023-02-17T02:51:34.147Z] fc693d55d65f: Download complete [2023-02-17T02:51:46.482Z] fc693d55d65f: Pull complete [2023-02-17T02:51:46.482Z] 7e9fc2657dce: Pull complete [2023-02-17T02:51:46.482Z] dda99020689f: Pull complete [2023-02-17T02:51:53.149Z] db1c61fa0a46: Pull complete [2023-02-17T02:51:54.570Z] 891c053d2c06: Pull complete [2023-02-17T02:51:54.570Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-17T02:51:54.570Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-17T02:51:54.570Z] ---> f96f9c87975a [2023-02-17T02:51:54.570Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-17T02:51:56.514Z] ---> Running in 1fa224bd12ba [2023-02-17T02:51:56.514Z] Removing intermediate container 1fa224bd12ba [2023-02-17T02:51:56.514Z] ---> d3732711bcbf [2023-02-17T02:51:56.514Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-17T02:51:56.514Z] ---> Running in 2cf50a4a6d57 [2023-02-17T02:51:56.788Z] Removing intermediate container 2cf50a4a6d57 [2023-02-17T02:51:56.788Z] ---> d3fb3ba20cf3 [2023-02-17T02:51:56.788Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-02-17T02:51:57.057Z] ---> Running in ecc728654987 [2023-02-17T02:51:57.326Z] Removing intermediate container ecc728654987 [2023-02-17T02:51:57.326Z] ---> b9a03c0e0cc9 [2023-02-17T02:51:57.326Z] Step 6/12 : WORKDIR /device-virtual-go [2023-02-17T02:51:57.326Z] ---> Running in f96d155bf13d [2023-02-17T02:51:57.596Z] Removing intermediate container f96d155bf13d [2023-02-17T02:51:57.596Z] ---> d8908722a6f2 [2023-02-17T02:51:57.596Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-17T02:51:57.863Z] ---> Running in 22741c6461e0 [2023-02-17T02:51:58.824Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-17T02:51:59.090Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-17T02:52:00.050Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-17T02:52:00.050Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-17T02:52:00.050Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-17T02:52:00.050Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-17T02:52:00.319Z] Executing busybox-1.35.0-r17.trigger [2023-02-17T02:52:00.319Z] OK: 226 MiB in 55 packages [2023-02-17T02:52:01.282Z] Removing intermediate container 22741c6461e0 [2023-02-17T02:52:01.282Z] ---> c9bee6800fc6 [2023-02-17T02:52:01.282Z] Step 8/12 : COPY go.mod vendor* ./ [2023-02-17T02:52:01.550Z] ---> b1c6d89b558c [2023-02-17T02:52:01.550Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-17T02:52:01.818Z] ---> Running in 806e3fff149c [2023-02-17T02:53:09.716Z] Removing intermediate container 806e3fff149c [2023-02-17T02:53:09.716Z] ---> 59e86d7636ea [2023-02-17T02:53:09.716Z] Step 10/12 : COPY . . [2023-02-17T02:53:10.683Z] ---> 4cb616326bc2 [2023-02-17T02:53:10.683Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-17T02:53:10.683Z] ---> Running in 0c5d33cca224 [2023-02-17T02:53:10.953Z] Removing intermediate container 0c5d33cca224 [2023-02-17T02:53:10.953Z] ---> 8b61372e7d0b [2023-02-17T02:53:10.953Z] Step 12/12 : RUN $MAKE [2023-02-17T02:53:11.222Z] ---> Running in 97f8a471652a [2023-02-17T02:53:12.191Z] noop [2023-02-17T02:53:13.152Z] Removing intermediate container 97f8a471652a [2023-02-17T02:53:13.152Z] ---> de7e83fc327f [2023-02-17T02:53:13.152Z] Successfully built de7e83fc327f [2023-02-17T02:53:13.152Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T02:53:13.620Z] + docker inspect -f . ci-base-image-arm64 [2023-02-17T02:53:13.620Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T02:53:13.870Z] prd-ubuntu20.04-docker-arm64-4c-16g-6356 does not seem to be running inside a container [2023-02-17T02:53:13.935Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-17T02:53:15.071Z] $ docker top 5dd9c5a8eb01ebb03c994f7d49966bc46a1e1a6a2b3898f2c6fee8a799a46e91 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-17T02:53:15.944Z] + go version [2023-02-17T02:53:15.944Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-17T02:53:15.979Z] $ docker stop --time=1 5dd9c5a8eb01ebb03c994f7d49966bc46a1e1a6a2b3898f2c6fee8a799a46e91 [2023-02-17T02:53:17.592Z] $ docker rm -f --volumes 5dd9c5a8eb01ebb03c994f7d49966bc46a1e1a6a2b3898f2c6fee8a799a46e91 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T02:53:18.701Z] + docker inspect -f . ci-base-image-arm64 [2023-02-17T02:53:18.701Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T02:53:18.967Z] prd-ubuntu20.04-docker-arm64-4c-16g-6356 does not seem to be running inside a container [2023-02-17T02:53:19.028Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-17T02:53:20.216Z] $ docker top d8f3921c8468a196f98fbb73dd92b0c5e705eb026cc347c1086d89f7b3e914d5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-17T02:53:21.097Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh [2023-02-17T02:53:21.485Z] + make test [2023-02-17T02:53:21.486Z] go test ./... -coverprofile=coverage.out [2023-02-17T02:53:23.436Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-02-17T02:54:45.130Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-02-17T02:54:45.130Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.124s coverage: 65.7% of statements [2023-02-17T02:54:45.130Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-17T02:54:45.130Z] go vet ./... [2023-02-17T02:55:03.360Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-17T02:55:03.360Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-17T02:55:03.360Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-17T02:55:03.403Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-17T02:55:03.437Z] $ docker stop --time=1 d8f3921c8468a196f98fbb73dd92b0c5e705eb026cc347c1086d89f7b3e914d5 [2023-02-17T02:55:05.933Z] $ docker rm -f --volumes d8f3921c8468a196f98fbb73dd92b0c5e705eb026cc347c1086d89f7b3e914d5 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-17T02:55:07.011Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-17T02:55:07.049Z] Warning: overwriting stash ‘coverage-report’ [2023-02-17T02:55:07.496Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-17T02:55:08.089Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-17T02:55:08.423Z] + ls -al . [2023-02-17T02:55:08.423Z] total 188 [2023-02-17T02:55:08.423Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 17 02:53 . [2023-02-17T02:55:08.423Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 02:50 .. [2023-02-17T02:55:08.423Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 17 02:51 .git [2023-02-17T02:55:08.423Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 17 02:51 .github [2023-02-17T02:55:08.423Z] -rw-rw-r-- 1 jenkins jenkins 337 Feb 17 02:51 .gitignore [2023-02-17T02:55:08.423Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 17 02:51 .golangci.yml [2023-02-17T02:55:08.423Z] -rw-rw-r-- 1 jenkins jenkins 8641 Feb 17 02:51 Attribution.txt [2023-02-17T02:55:08.423Z] -rw-rw-r-- 1 jenkins jenkins 11367 Feb 17 02:51 CHANGELOG.md [2023-02-17T02:55:08.423Z] -rw-rw-r-- 1 jenkins jenkins 1646 Feb 17 02:51 Dockerfile [2023-02-17T02:55:08.423Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 17 02:51 GOVERNANCE.md [2023-02-17T02:55:08.423Z] -rw-rw-r-- 1 jenkins jenkins 660 Feb 17 02:51 Jenkinsfile [2023-02-17T02:55:08.423Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 17 02:51 LICENSE [2023-02-17T02:55:08.423Z] -rw-rw-r-- 1 jenkins jenkins 1661 Feb 17 02:51 Makefile [2023-02-17T02:55:08.423Z] -rw-rw-r-- 1 jenkins jenkins 623 Feb 17 02:51 OWNERS.md [2023-02-17T02:55:08.423Z] -rw-rw-r-- 1 jenkins jenkins 3578 Feb 17 02:51 README.md [2023-02-17T02:55:08.423Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 17 02:48 VERSION [2023-02-17T02:55:08.423Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 17 02:51 bin [2023-02-17T02:55:08.423Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 17 02:51 cmd [2023-02-17T02:55:08.423Z] -rw-r--r-- 1 jenkins jenkins 44128 Feb 17 02:54 coverage.out [2023-02-17T02:55:08.423Z] -rw-rw-r-- 1 jenkins jenkins 3252 Feb 17 02:51 go.mod [2023-02-17T02:55:08.423Z] -rw-rw-r-- 1 jenkins jenkins 32588 Feb 17 02:51 go.sum [2023-02-17T02:55:08.423Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 17 02:51 internal [2023-02-17T02:55:08.423Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 02:51 snap [2023-02-17T02:55:08.423Z] -rw-rw-r-- 1 jenkins jenkins 235 Feb 17 02:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T02:55:08.848Z] + 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=ede0a242e964d6c64dd923c4b9be36f7f5f4a3b3 --label arch=arm64 --label version=0.0.0 . [2023-02-17T02:55:09.118Z] Sending build context to Docker daemon 11.89MB [2023-02-17T02:55:09.118Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-02-17T02:55:09.118Z] Step 2/25 : FROM ${BASE} AS builder [2023-02-17T02:55:09.118Z] ---> de7e83fc327f [2023-02-17T02:55:09.118Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-17T02:55:09.386Z] ---> Running in 9fb31f6b527c [2023-02-17T02:55:09.651Z] Removing intermediate container 9fb31f6b527c [2023-02-17T02:55:09.651Z] ---> db130fe1bd6a [2023-02-17T02:55:09.651Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-02-17T02:55:09.651Z] ---> Running in ad1b885ca37a [2023-02-17T02:55:09.918Z] Removing intermediate container ad1b885ca37a [2023-02-17T02:55:09.918Z] ---> 514fd7dacc74 [2023-02-17T02:55:09.918Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-02-17T02:55:09.918Z] ---> Running in c5fd54fce91b [2023-02-17T02:55:10.190Z] Removing intermediate container c5fd54fce91b [2023-02-17T02:55:10.190Z] ---> 9b8c81bdb264 [2023-02-17T02:55:10.190Z] Step 6/25 : WORKDIR /device-virtual-go [2023-02-17T02:55:10.456Z] ---> Running in 8038965806a8 [2023-02-17T02:55:10.723Z] Removing intermediate container 8038965806a8 [2023-02-17T02:55:10.723Z] ---> 5ec530cac1c7 [2023-02-17T02:55:10.723Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-17T02:55:10.723Z] ---> Running in 506599bb5aff [2023-02-17T02:55:11.681Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-17T02:55:11.947Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-17T02:55:12.907Z] OK: 226 MiB in 55 packages [2023-02-17T02:55:13.871Z] Removing intermediate container 506599bb5aff [2023-02-17T02:55:13.871Z] ---> 9dc5211f69cd [2023-02-17T02:55:13.871Z] Step 8/25 : COPY go.mod vendor* ./ [2023-02-17T02:55:14.140Z] ---> 6a6b2d15caaf [2023-02-17T02:55:14.140Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-17T02:55:14.140Z] ---> Running in 586cfa3eab26 [2023-02-17T02:55:16.722Z] Removing intermediate container 586cfa3eab26 [2023-02-17T02:55:16.722Z] ---> 1488c543f8f3 [2023-02-17T02:55:16.722Z] Step 10/25 : COPY . . [2023-02-17T02:55:19.338Z] ---> 52a35020c640 [2023-02-17T02:55:19.338Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-17T02:55:19.608Z] ---> Running in 51c345e9369f [2023-02-17T02:55:19.876Z] Removing intermediate container 51c345e9369f [2023-02-17T02:55:19.876Z] ---> 4dafd7d25ac3 [2023-02-17T02:55:19.876Z] Step 12/25 : RUN $MAKE [2023-02-17T02:55:19.876Z] ---> Running in f7a3b3d49b0f [2023-02-17T02:55:20.834Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-02-17T02:57:27.533Z] Removing intermediate container f7a3b3d49b0f [2023-02-17T02:57:27.533Z] ---> d894a39d918f [2023-02-17T02:57:27.533Z] Step 13/25 : FROM alpine:3.16 [2023-02-17T02:57:27.533Z] 3.16: Pulling from library/alpine [2023-02-17T02:57:27.533Z] 3760b48202b3: Pulling fs layer [2023-02-17T02:57:27.533Z] 3760b48202b3: Verifying Checksum [2023-02-17T02:57:27.533Z] 3760b48202b3: Download complete [2023-02-17T02:57:27.533Z] 3760b48202b3: Pull complete [2023-02-17T02:57:27.533Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-17T02:57:27.533Z] Status: Downloaded newer image for alpine:3.16 [2023-02-17T02:57:27.533Z] ---> 4c81e5bf8899 [2023-02-17T02:57:27.533Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-02-17T02:57:27.533Z] ---> Running in 597077d55740 [2023-02-17T02:57:27.533Z] Removing intermediate container 597077d55740 [2023-02-17T02:57:27.533Z] ---> 6fa6f27478b1 [2023-02-17T02:57:27.533Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-02-17T02:57:27.533Z] ---> Running in e538f8495ef0 [2023-02-17T02:57:27.533Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-17T02:57:27.533Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-17T02:57:27.533Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-17T02:57:27.533Z] Executing busybox-1.35.0-r17.trigger [2023-02-17T02:57:27.533Z] OK: 5 MiB in 15 packages [2023-02-17T02:57:27.533Z] Removing intermediate container e538f8495ef0 [2023-02-17T02:57:27.533Z] ---> c33f7a267fd2 [2023-02-17T02:57:27.533Z] Step 16/25 : WORKDIR / [2023-02-17T02:57:27.533Z] ---> Running in 239b88108c6e [2023-02-17T02:57:27.533Z] Removing intermediate container 239b88108c6e [2023-02-17T02:57:27.533Z] ---> 30c279a5e6d9 [2023-02-17T02:57:27.533Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-02-17T02:57:27.533Z] ---> f1de44af807d [2023-02-17T02:57:27.533Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-02-17T02:57:27.533Z] ---> 2651f53c1e21 [2023-02-17T02:57:27.533Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-02-17T02:57:27.533Z] ---> a93d6840d289 [2023-02-17T02:57:27.533Z] Step 20/25 : EXPOSE 59900 [2023-02-17T02:57:27.533Z] ---> Running in 8609f54bf323 [2023-02-17T02:57:27.534Z] Removing intermediate container 8609f54bf323 [2023-02-17T02:57:27.534Z] ---> f4114d653841 [2023-02-17T02:57:27.534Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-02-17T02:57:27.534Z] ---> Running in 4809c46cd811 [2023-02-17T02:57:27.534Z] Removing intermediate container 4809c46cd811 [2023-02-17T02:57:27.534Z] ---> 30d1ef11219b [2023-02-17T02:57:27.534Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-17T02:57:27.534Z] ---> Running in 2124cca8f1d2 [2023-02-17T02:57:27.534Z] Removing intermediate container 2124cca8f1d2 [2023-02-17T02:57:27.534Z] ---> 2f431cc4e952 [2023-02-17T02:57:27.534Z] Step 23/25 : LABEL arch=arm64 [2023-02-17T02:57:27.534Z] ---> Running in 44c05d5f7298 [2023-02-17T02:57:27.534Z] Removing intermediate container 44c05d5f7298 [2023-02-17T02:57:27.534Z] ---> 46c0e3d51558 [2023-02-17T02:57:27.534Z] Step 24/25 : LABEL git_sha=ede0a242e964d6c64dd923c4b9be36f7f5f4a3b3 [2023-02-17T02:57:27.534Z] ---> Running in 5dbbbb7426df [2023-02-17T02:57:27.534Z] Removing intermediate container 5dbbbb7426df [2023-02-17T02:57:27.534Z] ---> 4494b7c64f9c [2023-02-17T02:57:27.534Z] Step 25/25 : LABEL version=0.0.0 [2023-02-17T02:57:27.534Z] ---> Running in bb7d3cfd3f57 [2023-02-17T02:57:27.534Z] Removing intermediate container bb7d3cfd3f57 [2023-02-17T02:57:27.534Z] ---> d132fbc128b9 [2023-02-17T02:57:27.534Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-17T02:57:27.534Z] Successfully built d132fbc128b9 [2023-02-17T02:57:27.534Z] 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 [2023-02-17T02:57:28.399Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-17T02:57:28.399Z] [2023-02-17T02:57:28.399Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T02:57:28.808Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-17T02:57:28.808Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-17T02:57:28.808Z] 8998bd30e6a1: Pulling fs layer [2023-02-17T02:57:28.808Z] 04944245beec: Pulling fs layer [2023-02-17T02:57:28.808Z] 699f458cf7ca: Pulling fs layer [2023-02-17T02:57:28.808Z] 765212b225bb: Pulling fs layer [2023-02-17T02:57:28.808Z] f23df028b6ca: Pulling fs layer [2023-02-17T02:57:28.808Z] d65c8cfc05b1: Pulling fs layer [2023-02-17T02:57:28.808Z] 2437ff75d9bd: Pulling fs layer [2023-02-17T02:57:28.808Z] f23df028b6ca: Waiting [2023-02-17T02:57:28.808Z] d65c8cfc05b1: Waiting [2023-02-17T02:57:28.808Z] 2437ff75d9bd: Waiting [2023-02-17T02:57:28.808Z] 765212b225bb: Waiting [2023-02-17T02:57:29.099Z] 04944245beec: Verifying Checksum [2023-02-17T02:57:29.099Z] 04944245beec: Download complete [2023-02-17T02:57:29.099Z] 765212b225bb: Verifying Checksum [2023-02-17T02:57:29.099Z] 765212b225bb: Download complete [2023-02-17T02:57:29.099Z] f23df028b6ca: Download complete [2023-02-17T02:57:29.099Z] d65c8cfc05b1: Verifying Checksum [2023-02-17T02:57:29.099Z] d65c8cfc05b1: Download complete [2023-02-17T02:57:29.372Z] 699f458cf7ca: Verifying Checksum [2023-02-17T02:57:29.372Z] 699f458cf7ca: Download complete [2023-02-17T02:57:29.649Z] 8998bd30e6a1: Verifying Checksum [2023-02-17T02:57:29.649Z] 8998bd30e6a1: Download complete [2023-02-17T02:57:32.317Z] 2437ff75d9bd: Verifying Checksum [2023-02-17T02:57:32.317Z] 2437ff75d9bd: Download complete [2023-02-17T02:57:33.728Z] 8998bd30e6a1: Pull complete [2023-02-17T02:57:34.324Z] 04944245beec: Pull complete [2023-02-17T02:57:35.733Z] 699f458cf7ca: Pull complete [2023-02-17T02:57:35.733Z] 765212b225bb: Pull complete [2023-02-17T02:57:36.314Z] f23df028b6ca: Pull complete [2023-02-17T02:57:36.582Z] d65c8cfc05b1: Pull complete [2023-02-17T02:57:51.619Z] 2437ff75d9bd: Pull complete [2023-02-17T02:57:51.619Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-17T02:57:51.619Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-17T02:57:51.619Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T02:57:51.953Z] prd-ubuntu20.04-docker-arm64-4c-16g-6356 does not seem to be running inside a container [2023-02-17T02:57:52.019Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-17T02:57:54.554Z] $ docker top e9ed54764c8844e55dc8d075310f597af523b045d5da1f125b3239f7836396e9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-17T02:57:55.150Z] ---> job-cost.sh [2023-02-17T02:57:55.418Z] lf-activate-venv: SKIPPING [2023-02-17T02:57:55.418Z] INFO: No Stack... [2023-02-17T02:57:55.687Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-17T02:57:56.645Z] INFO: Archiving Costs [Pipeline] sh [2023-02-17T02:57:57.299Z] + + catcut /w/workspace/device-virtual-go/1/archives/cost.csv -d, [2023-02-17T02:57:57.299Z] -f6 [Pipeline] lock [2023-02-17T02:57:57.381Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-341-1-stack-cost] [2023-02-17T02:57:57.388Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-341-1-stack-cost] did not exist. Created. [2023-02-17T02:57:57.388Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-341-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-17T02:57:57.795Z] /w/workspace/device-virtual-go/1@tmp/durable-b68f178f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-17T02:57:58.416Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-17T02:57:58.453Z] Warning: overwriting stash ‘stack-cost’ [2023-02-17T02:57:58.496Z] Stashed 1 file(s) [Pipeline] } [2023-02-17T02:57:58.510Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-341-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-17T02:57:58.587Z] $ docker stop --time=1 e9ed54764c8844e55dc8d075310f597af523b045d5da1f125b3239f7836396e9 [2023-02-17T02:58:00.105Z] $ docker rm -f --volumes e9ed54764c8844e55dc8d075310f597af523b045d5da1f125b3239f7836396e9 [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 [2023-02-17T02:58:01.118Z] provisioning config files... [2023-02-17T02:58:01.125Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-341@tmp/config4922688002927651182tmp [Pipeline] { [Pipeline] sh [2023-02-17T02:58:01.460Z] + set +x [2023-02-17T02:58:01.460Z] + curl -s https://codecov.io/bash [2023-02-17T02:58:01.460Z] + bash -s -- [2023-02-17T02:58:01.460Z] [2023-02-17T02:58:01.460Z] _____ _ [2023-02-17T02:58:01.460Z] / ____| | | [2023-02-17T02:58:01.460Z] | | ___ __| | ___ ___ _____ __ [2023-02-17T02:58:01.460Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-17T02:58:01.460Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-17T02:58:01.460Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-17T02:58:01.460Z] Bash-1.0.6 [2023-02-17T02:58:01.460Z] [2023-02-17T02:58:01.460Z] [2023-02-17T02:58:01.460Z] ==> git version 2.25.1 found [2023-02-17T02:58:01.461Z] ==> 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 [2023-02-17T02:58:01.461Z] Release-Date: 2020-01-08 [2023-02-17T02:58:01.461Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-02-17T02:58:01.461Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-17T02:58:01.461Z] ==> Jenkins CI detected. [2023-02-17T02:58:01.461Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-341 [2023-02-17T02:58:01.461Z] project root: . [2023-02-17T02:58:01.461Z] --> token set from env [2023-02-17T02:58:01.461Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-17T02:58:01.461Z] ==> Running gcov in . (disable via -X gcov) [2023-02-17T02:58:01.461Z] ==> Python coveragepy not found [2023-02-17T02:58:01.461Z] ==> Searching for coverage reports in: [2023-02-17T02:58:01.461Z] + . [2023-02-17T02:58:01.461Z] -> Found 1 reports [2023-02-17T02:58:01.461Z] ==> Detecting git/mercurial file structure [2023-02-17T02:58:01.461Z] ==> Reading reports [2023-02-17T02:58:01.461Z] + ./coverage.out bytes=44128 [2023-02-17T02:58:01.461Z] ==> Appending adjustments [2023-02-17T02:58:01.461Z] https://docs.codecov.io/docs/fixing-reports [2023-02-17T02:58:01.720Z] + Found adjustments [2023-02-17T02:58:01.720Z] ==> Gzipping contents [2023-02-17T02:58:01.720Z] 8.0K /tmp/codecov.9Qqqws.gz [2023-02-17T02:58:01.720Z] ==> Uploading reports [2023-02-17T02:58:01.720Z] url: https://codecov.io [2023-02-17T02:58:01.720Z] query: branch=PR-341&commit=ede0a242e964d6c64dd923c4b9be36f7f5f4a3b3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-341%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=341&job=&cmd_args= [2023-02-17T02:58:01.720Z] -> Pinging Codecov [2023-02-17T02:58:01.720Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-341&commit=ede0a242e964d6c64dd923c4b9be36f7f5f4a3b3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-341%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=341&job=&cmd_args= [2023-02-17T02:58:01.720Z] -> Uploading to [2023-02-17T02:58:01.720Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-17/5E52B4B073DB2E39498172D8E973AA87/ede0a242e964d6c64dd923c4b9be36f7f5f4a3b3/ec397241-265e-425e-9a27-572537208881.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230217%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230217T025801Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cb31bcd0a9560ffa63b0f28b7e0acc14a059a5cccd70f6d2b1ec6977fa3cde4b [2023-02-17T02:58:01.979Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-17T02:58:01.979Z] Dload Upload Total Spent Left Speed [2023-02-17T02:58:02.240Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5475 0 0 100 5475 0 17325 --:--:-- --:--:-- --:--:-- 17325 [2023-02-17T02:58:02.240Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/ede0a242e964d6c64dd923c4b9be36f7f5f4a3b3 [Pipeline] } [2023-02-17T02:58:02.266Z] 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 [2023-02-17T02:58:03.992Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-341/archives ] [2023-02-17T02:58:03.992Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-341/archives [2023-02-17T02:58:03.992Z] total 16 [2023-02-17T02:58:03.992Z] drwxr-xr-x 3 root root 4096 Feb 17 02:50 . [2023-02-17T02:58:03.992Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 17 02:50 .. [2023-02-17T02:58:03.992Z] drwxr-xr-x 2 root root 4096 Feb 17 02:50 cost [2023-02-17T02:58:03.992Z] -rw-r--r-- 1 root root 89 Feb 17 02:50 cost.csv [2023-02-17T02:58:03.992Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-341/archives [2023-02-17T02:58:03.992Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-341/archives [2023-02-17T02:58:03.992Z] total 16 [2023-02-17T02:58:03.992Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 17 02:50 . [2023-02-17T02:58:03.992Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 17 02:50 .. [2023-02-17T02:58:03.992Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 17 02:50 cost [2023-02-17T02:58:03.992Z] -rw-r--r-- 1 jenkins jenkins 89 Feb 17 02:50 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-17T02:58:04.319Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T02:58:05.205Z] ---> package-listing.sh [2023-02-17T02:58:05.205Z] ++ facter osfamily [2023-02-17T02:58:05.205Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-17T02:58:05.464Z] + OS_FAMILY=debian [2023-02-17T02:58:05.464Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-341 [2023-02-17T02:58:05.464Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-17T02:58:05.464Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-17T02:58:05.464Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-17T02:58:05.464Z] + PACKAGES=/tmp/packages_start.txt [2023-02-17T02:58:05.464Z] + '[' /w/workspace/foundry_device-virtual-go_PR-341 ']' [2023-02-17T02:58:05.464Z] + PACKAGES=/tmp/packages_end.txt [2023-02-17T02:58:05.464Z] + case "${OS_FAMILY}" in [2023-02-17T02:58:05.464Z] + dpkg -l [2023-02-17T02:58:05.464Z] + grep '^ii' [2023-02-17T02:58:05.464Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-17T02:58:05.464Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-17T02:58:05.464Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-17T02:58:05.464Z] + '[' /w/workspace/foundry_device-virtual-go_PR-341 ']' [2023-02-17T02:58:05.464Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-341/archives/ [2023-02-17T02:58:05.464Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-341/archives/ [Pipeline] echo [2023-02-17T02:58:05.499Z] 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-341/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-17T02:58:05.797Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T02:58:06.423Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-17T02:58:06.423Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T02:58:06.570Z] prd-ubuntu20.04-docker-8c-8g-6355 does not seem to be running inside a container [2023-02-17T02:58:06.608Z] $ 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-341/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-341 -v /w/workspace/foundry_device-virtual-go_PR-341:/w/workspace/foundry_device-virtual-go_PR-341:rw,z -v /w/workspace/foundry_device-virtual-go_PR-341@tmp:/w/workspace/foundry_device-virtual-go_PR-341@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 [2023-02-17T02:58:06.833Z] $ docker top 3c043da716e01cf235baf30df1a6cf7aba29cbea0dce9b56bbd71f3414c44670 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-17T02:58:07.212Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-17T02:58:07.520Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-17T02:58:07.831Z] + ls /var/log/sa-host [2023-02-17T02:58:07.831Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-17T02:58:08.056Z] provisioning config files... [2023-02-17T02:58:08.064Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-341@tmp/config15007294745595683431tmp [Pipeline] { [Pipeline] echo [2023-02-17T02:58:08.115Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T02:58:08.431Z] ---> create-netrc.sh [Pipeline] } [2023-02-17T02:58:08.459Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-17T02:58:08.862Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-17T02:58:08.896Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T02:58:09.212Z] ---> sudo-logs.sh [2023-02-17T02:58:09.212Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-17T02:58:09.296Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T02:58:09.616Z] ---> job-cost.sh [2023-02-17T02:58:09.616Z] lf-activate-venv: SKIPPING [2023-02-17T02:58:09.616Z] DEBUG: total: 0.2199999988079071 [2023-02-17T02:58:09.616Z] INFO: Retrieving Stack Cost... [2023-02-17T02:58:09.874Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-17T02:58:10.440Z] INFO: Archiving Costs [Pipeline] echo [2023-02-17T02:58:10.474Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T02:58:10.794Z] ---> logs-deploy.sh [2023-02-17T02:58:10.794Z] lf-activate-venv: SKIPPING [2023-02-17T02:58:10.794Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-341/1 [2023-02-17T02:58:10.794Z] INFO: archiving workspace using pattern(s): [2023-02-17T02:58:11.732Z] Archives upload complete. [2023-02-17T02:58:11.733Z] INFO: archiving logs to Nexus