Pull request #325 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-virtual-go Obtained Jenkinsfile from 946ed762a057ea4ec7c2ec6c9e229f9c30f3dbae+dd725dc5af4dc794521be28a3a3263c7b7e9f65e (3d1e9cf1a13a9faa9214ac11a5809336a8a6e5d9) 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-ssh14468607355385359607.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-ssh204602198994664997.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-325/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-325/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18050820915896401042.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-325/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7759424421523399813.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-ssh10815467507707928000.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-325/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-325/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12133510628383231048.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-1608 in /w/workspace/foundry_device-virtual-go_PR-325 [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-325 # 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/325/head:refs/remotes/origin/PR-325 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit dd725dc5af4dc794521be28a3a3263c7b7e9f65e into PR head commit 946ed762a057ea4ec7c2ec6c9e229f9c30f3dbae Merge succeeded, producing 946ed762a057ea4ec7c2ec6c9e229f9c30f3dbae Checking out Revision 946ed762a057ea4ec7c2ec6c9e229f9c30f3dbae (PR-325) > git config core.sparsecheckout # timeout=10 > git checkout -f 946ed762a057ea4ec7c2ec6c9e229f9c30f3dbae # 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 dd725dc5af4dc794521be28a3a3263c7b7e9f65e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 946ed762a057ea4ec7c2ec6c9e229f9c30f3dbae # timeout=10 Commit message: "feat!: Remove ZeroMQ MessageBus capability" 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] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-10T17:30:49.945Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-10T17:30:50.116Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-10T17:30:50.218Z] ========================================================= [2023-01-10T17:30:50.218Z] EdgeX Global Pipelines Version Info [2023-01-10T17:30:50.218Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-10T17:30:50.967Z] ------------------- [2023-01-10T17:30:50.967Z] stable info: [2023-01-10T17:30:50.967Z] ------------------- [2023-01-10T17:30:50.967Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-10T17:30:50.967Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-10T17:30:50.967Z] Message: update stable to v1.0.244 [2023-01-10T17:30:51.535Z] ------------------- [2023-01-10T17:30:51.535Z] experimental info: [2023-01-10T17:30:51.535Z] ------------------- [2023-01-10T17:30:51.535Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-10T17:30:51.535Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-10T17:30:51.535Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-10T17:30:51.801Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2023-01-10T17:30:51.837Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2023-01-10T17:30:51.877Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-10T17:30:51.916Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-10T17:30:51.952Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-10T17:30:51.987Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-10T17:30:52.021Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-10T17:30:52.063Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-10T17:30:52.100Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-10T17:30:52.136Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-10T17:30:52.173Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-10T17:30:52.217Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2023-01-10T17:30:52.247Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-10T17:30:52.276Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-10T17:30:52.305Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-10T17:30:52.340Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-10T17:30:52.375Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-10T17:30:52.417Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-10T17:30:52.451Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-10T17:30:52.490Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-10T17:30:52.533Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-01-10T17:30:52.573Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-01-10T17:30:52.614Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-10T17:30:52.657Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-10T17:30:52.695Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-10T17:30:52.736Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-10T17:30:52.778Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-10T17:30:52.821Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-325 [Pipeline] echo [2023-01-10T17:30:52.862Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-325 [Pipeline] echo [2023-01-10T17:30:52.902Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-325 [Pipeline] echo [2023-01-10T17:30:52.944Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 946ed762a057ea4ec7c2ec6c9e229f9c30f3dbae [Pipeline] echo [2023-01-10T17:30:52.991Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 946ed76 [Pipeline] echo [2023-01-10T17:30:53.031Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-10T17:30:53.137Z] provisioning config files... [2023-01-10T17:30:53.152Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-325@tmp/config13181104643078822574tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T17:30:53.505Z] ---> docker-login.sh [2023-01-10T17:30:53.505Z] nexus3.edgexfoundry.org:10001 [2023-01-10T17:30:53.770Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T17:30:53.770Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T17:30:53.770Z] Configure a credential helper to remove this warning. See [2023-01-10T17:30:53.770Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T17:30:53.770Z] [2023-01-10T17:30:53.770Z] Login Succeeded [2023-01-10T17:30:53.770Z] nexus3.edgexfoundry.org:10002 [2023-01-10T17:30:53.770Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T17:30:54.030Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T17:30:54.030Z] Configure a credential helper to remove this warning. See [2023-01-10T17:30:54.030Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T17:30:54.030Z] [2023-01-10T17:30:54.030Z] Login Succeeded [2023-01-10T17:30:54.030Z] nexus3.edgexfoundry.org:10003 [2023-01-10T17:30:54.030Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T17:30:54.030Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T17:30:54.030Z] Configure a credential helper to remove this warning. See [2023-01-10T17:30:54.030Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T17:30:54.030Z] [2023-01-10T17:30:54.030Z] Login Succeeded [2023-01-10T17:30:54.030Z] nexus3.edgexfoundry.org:10004 [2023-01-10T17:30:54.030Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T17:30:54.290Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T17:30:54.290Z] Configure a credential helper to remove this warning. See [2023-01-10T17:30:54.290Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T17:30:54.290Z] [2023-01-10T17:30:54.290Z] Login Succeeded [2023-01-10T17:30:54.290Z] docker.io [2023-01-10T17:30:54.290Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T17:30:54.551Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T17:30:54.551Z] Configure a credential helper to remove this warning. See [2023-01-10T17:30:54.551Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T17:30:54.551Z] [2023-01-10T17:30:54.551Z] Login Succeeded [2023-01-10T17:30:54.551Z] ---> docker-login.sh ends [Pipeline] } [2023-01-10T17:30:54.581Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-10T17:30:55.179Z] + git rev-list -1 --merges 946ed762a057ea4ec7c2ec6c9e229f9c30f3dbae~1..946ed762a057ea4ec7c2ec6c9e229f9c30f3dbae [Pipeline] echo [2023-01-10T17:30:55.243Z] -----------> git rev-list -1 --merges 946ed762a057ea4ec7c2ec6c9e229f9c30f3dbae~1..946ed762a057ea4ec7c2ec6c9e229f9c30f3dbae 946ed762a057ea4ec7c2ec6c9e229f9c30f3dbae [false] [Pipeline] sh [2023-01-10T17:30:55.560Z] + git log --format=format:%s -1 946ed762a057ea4ec7c2ec6c9e229f9c30f3dbae [Pipeline] echo [2023-01-10T17:30:55.596Z] ========================================================= [2023-01-10T17:30:55.596Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-10T17:30:55.596Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-10T17:30:56.045Z] + git log --format=format:%s -1 946ed762a057ea4ec7c2ec6c9e229f9c30f3dbae [Pipeline] echo [2023-01-10T17:30:56.077Z] [semverPrep] GIT_COMMIT: 946ed762a057ea4ec7c2ec6c9e229f9c30f3dbae, Commit Message: feat!: Remove ZeroMQ MessageBus capability [Pipeline] echo [2023-01-10T17:30:56.107Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-10T17:30:56.472Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-10T17:30:56.472Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-10T17:30:56.472Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-10T17:30:56.472Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-10T17:30:56.472Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-10T17:30:56.472Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-10T17:30:56.472Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T17:30:56.917Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-10T17:30:56.917Z] [2023-01-10T17:30:56.917Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T17:30:57.304Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-10T17:30:57.304Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-10T17:30:57.304Z] b85a868b505f: Pulling fs layer [2023-01-10T17:30:57.304Z] e2be974225ed: Pulling fs layer [2023-01-10T17:30:57.304Z] 339a4e72a1f5: Pulling fs layer [2023-01-10T17:30:57.304Z] 988bab9f4d93: Pulling fs layer [2023-01-10T17:30:57.304Z] 1469e6f7b9e6: Pulling fs layer [2023-01-10T17:30:57.304Z] eaf3925da568: Pulling fs layer [2023-01-10T17:30:57.304Z] bab4dde63d76: Pulling fs layer [2023-01-10T17:30:57.304Z] bde34c3a00c8: Pulling fs layer [2023-01-10T17:30:57.304Z] b352a97aabf1: Pulling fs layer [2023-01-10T17:30:57.304Z] 4872d77fe225: Pulling fs layer [2023-01-10T17:30:57.304Z] 5851b861e8e6: Pulling fs layer [2023-01-10T17:30:57.304Z] bab4dde63d76: Waiting [2023-01-10T17:30:57.304Z] bde34c3a00c8: Waiting [2023-01-10T17:30:57.304Z] b352a97aabf1: Waiting [2023-01-10T17:30:57.304Z] 988bab9f4d93: Waiting [2023-01-10T17:30:57.304Z] 4872d77fe225: Waiting [2023-01-10T17:30:57.304Z] eaf3925da568: Waiting [2023-01-10T17:30:57.304Z] 5851b861e8e6: Waiting [2023-01-10T17:30:57.304Z] e2be974225ed: Verifying Checksum [2023-01-10T17:30:57.304Z] e2be974225ed: Download complete [2023-01-10T17:30:57.304Z] 988bab9f4d93: Verifying Checksum [2023-01-10T17:30:57.304Z] 988bab9f4d93: Download complete [2023-01-10T17:30:57.574Z] 1469e6f7b9e6: Verifying Checksum [2023-01-10T17:30:57.574Z] 1469e6f7b9e6: Download complete [2023-01-10T17:30:57.574Z] 339a4e72a1f5: Verifying Checksum [2023-01-10T17:30:57.574Z] 339a4e72a1f5: Download complete [2023-01-10T17:30:57.574Z] eaf3925da568: Verifying Checksum [2023-01-10T17:30:57.574Z] eaf3925da568: Download complete [2023-01-10T17:30:57.574Z] bde34c3a00c8: Verifying Checksum [2023-01-10T17:30:57.574Z] bde34c3a00c8: Download complete [2023-01-10T17:30:57.574Z] b352a97aabf1: Verifying Checksum [2023-01-10T17:30:57.574Z] b352a97aabf1: Download complete [2023-01-10T17:30:57.574Z] 4872d77fe225: Download complete [2023-01-10T17:30:57.574Z] 5851b861e8e6: Verifying Checksum [2023-01-10T17:30:57.574Z] 5851b861e8e6: Download complete [2023-01-10T17:30:57.574Z] b85a868b505f: Verifying Checksum [2023-01-10T17:30:57.574Z] b85a868b505f: Download complete [2023-01-10T17:30:58.143Z] bab4dde63d76: Verifying Checksum [2023-01-10T17:30:58.143Z] bab4dde63d76: Download complete [2023-01-10T17:30:59.080Z] b85a868b505f: Pull complete [2023-01-10T17:30:59.080Z] e2be974225ed: Pull complete [2023-01-10T17:30:59.648Z] 339a4e72a1f5: Pull complete [2023-01-10T17:30:59.648Z] 988bab9f4d93: Pull complete [2023-01-10T17:31:00.218Z] 1469e6f7b9e6: Pull complete [2023-01-10T17:31:00.218Z] eaf3925da568: Pull complete [2023-01-10T17:31:02.122Z] bab4dde63d76: Pull complete [2023-01-10T17:31:02.122Z] bde34c3a00c8: Pull complete [2023-01-10T17:31:02.382Z] b352a97aabf1: Pull complete [2023-01-10T17:31:02.382Z] 4872d77fe225: Pull complete [2023-01-10T17:31:02.382Z] 5851b861e8e6: Pull complete [2023-01-10T17:31:02.382Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-10T17:31:02.382Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-10T17:31:02.382Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T17:31:02.611Z] prd-ubuntu20.04-docker-8c-8g-1608 does not seem to be running inside a container [2023-01-10T17:31:02.704Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-325 -v /w/workspace/foundry_device-virtual-go_PR-325:/w/workspace/foundry_device-virtual-go_PR-325:rw,z -v /w/workspace/foundry_device-virtual-go_PR-325@tmp:/w/workspace/foundry_device-virtual-go_PR-325@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-10T17:31:03.969Z] $ docker top 56fcf827bc7ccbe2caa487fc5cc62be445d88e93173a54a81cb6a28834236c8a -eo pid,comm [2023-01-10T17:31:04.025Z] 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-01-10T17:31:04.025Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-10T17:31:04.139Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-10T17:31:04.139Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-10T17:31:04.253Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-10T17:31:04.256Z] $ docker exec 56fcf827bc7ccbe2caa487fc5cc62be445d88e93173a54a81cb6a28834236c8a ssh-agent [2023-01-10T17:31:04.376Z] SSH_AUTH_SOCK=/tmp/ssh-8CEXNYVui69o/agent.32 [2023-01-10T17:31:04.376Z] SSH_AGENT_PID=38 [2023-01-10T17:31:04.382Z] Running ssh-add (command line suppressed) [2023-01-10T17:31:04.497Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-325@tmp/private_key_10943429244195684163.key (/w/workspace/foundry_device-virtual-go_PR-325@tmp/private_key_10943429244195684163.key) [2023-01-10T17:31:04.510Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-10T17:31:04.843Z] + git tag --points-at HEAD [Pipeline] } [2023-01-10T17:31:04.877Z] $ docker exec --env ******** --env ******** 56fcf827bc7ccbe2caa487fc5cc62be445d88e93173a54a81cb6a28834236c8a ssh-agent -k [2023-01-10T17:31:04.978Z] unset SSH_AUTH_SOCK; [2023-01-10T17:31:04.978Z] unset SSH_AGENT_PID; [2023-01-10T17:31:04.979Z] echo Agent pid 38 killed; [2023-01-10T17:31:04.987Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-10T17:31:05.083Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-10T17:31:05.083Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-10T17:31:05.192Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-10T17:31:05.195Z] $ docker exec 56fcf827bc7ccbe2caa487fc5cc62be445d88e93173a54a81cb6a28834236c8a ssh-agent [2023-01-10T17:31:05.295Z] SSH_AUTH_SOCK=/tmp/ssh-Jg0al1Qmk5Xq/agent.70 [2023-01-10T17:31:05.295Z] SSH_AGENT_PID=76 [2023-01-10T17:31:05.300Z] Running ssh-add (command line suppressed) [2023-01-10T17:31:05.399Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-325@tmp/private_key_15026409750350574298.key (/w/workspace/foundry_device-virtual-go_PR-325@tmp/private_key_15026409750350574298.key) [2023-01-10T17:31:05.412Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-10T17:31:05.744Z] + git semver init [2023-01-10T17:31:06.003Z] 2023-01-10 17:31:05,928 [run_init] DEBUG init version:0.0.0 force:False [2023-01-10T17:31:06.003Z] 2023-01-10 17:31:05,929 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-325/.semver [2023-01-10T17:31:06.003Z] 2023-01-10 17:31:05,929 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-325/.semver [2023-01-10T17:31:06.003Z] 2023-01-10 17:31:05,929 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-325/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-325, universal_newlines=False, shell=None, istream=None) [2023-01-10T17:31:07.379Z] 2023-01-10 17:31:07,085 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-325/.git/info/exclude [2023-01-10T17:31:07.379Z] 2023-01-10 17:31:07,085 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-325/.semver/PR-325 with force:False [2023-01-10T17:31:07.379Z] 2023-01-10 17:31:07,085 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-325/.semver/PR-325 [2023-01-10T17:31:07.379Z] 2023-01-10 17:31:07,089 [execute] INFO git cat-file --batch-check [2023-01-10T17:31:07.379Z] 2023-01-10 17:31:07,090 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-325/.semver, universal_newlines=False, shell=None, istream=) [2023-01-10T17:31:07.379Z] 2023-01-10 17:31:07,095 [execute] INFO git cat-file --batch [2023-01-10T17:31:07.379Z] 2023-01-10 17:31:07,095 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-325/.semver, universal_newlines=False, shell=None, istream=) [2023-01-10T17:31:07.379Z] 2023-01-10 17:31:07,099 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-325/.semver/PR-325 [2023-01-10T17:31:07.379Z] 0.0.0 [Pipeline] } [2023-01-10T17:31:07.405Z] $ docker exec --env ******** --env ******** 56fcf827bc7ccbe2caa487fc5cc62be445d88e93173a54a81cb6a28834236c8a ssh-agent -k [2023-01-10T17:31:07.506Z] unset SSH_AUTH_SOCK; [2023-01-10T17:31:07.507Z] unset SSH_AGENT_PID; [2023-01-10T17:31:07.507Z] echo Agent pid 76 killed; [2023-01-10T17:31:07.518Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-10T17:31:07.945Z] + git semver [Pipeline] } [2023-01-10T17:31:08.225Z] $ docker stop --time=1 56fcf827bc7ccbe2caa487fc5cc62be445d88e93173a54a81cb6a28834236c8a [2023-01-10T17:31:09.517Z] $ docker rm -f --volumes 56fcf827bc7ccbe2caa487fc5cc62be445d88e93173a54a81cb6a28834236c8a [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-10T17:31:09.915Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-10T17:31:10.254Z] Stashed 1 file(s) [Pipeline] echo [2023-01-10T17:31:10.277Z] [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-01-10T17:31:10.887Z] provisioning config files... [2023-01-10T17:31:10.897Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-325@tmp/config10780302866731144570tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T17:31:11.124Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1607 in /w/workspace/foundry_device-virtual-go_PR-325 [Pipeline] { [Pipeline] ws [2023-01-10T17:31:11.186Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2023-01-10T17:31:11.243Z] ---> docker-login.sh [2023-01-10T17:31:11.243Z] nexus3.edgexfoundry.org:10001 [2023-01-10T17:31:11.243Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T17:31:11.243Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T17:31:11.243Z] Configure a credential helper to remove this warning. See [2023-01-10T17:31:11.243Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T17:31:11.243Z] [2023-01-10T17:31:11.243Z] Login Succeeded [2023-01-10T17:31:11.243Z] nexus3.edgexfoundry.org:10002 [2023-01-10T17:31:11.263Z] The recommended git tool is: git [2023-01-10T17:31:11.499Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T17:31:11.499Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T17:31:11.499Z] Configure a credential helper to remove this warning. See [2023-01-10T17:31:11.499Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T17:31:11.499Z] [2023-01-10T17:31:11.499Z] Login Succeeded [2023-01-10T17:31:11.499Z] nexus3.edgexfoundry.org:10003 [2023-01-10T17:31:11.499Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T17:31:11.499Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T17:31:11.499Z] Configure a credential helper to remove this warning. See [2023-01-10T17:31:11.499Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T17:31:11.499Z] [2023-01-10T17:31:11.499Z] Login Succeeded [2023-01-10T17:31:11.499Z] nexus3.edgexfoundry.org:10004 [2023-01-10T17:31:11.499Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T17:31:11.757Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T17:31:11.757Z] Configure a credential helper to remove this warning. See [2023-01-10T17:31:11.757Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T17:31:11.757Z] [2023-01-10T17:31:11.757Z] Login Succeeded [2023-01-10T17:31:11.757Z] docker.io [2023-01-10T17:31:11.757Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T17:31:12.016Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T17:31:12.016Z] Configure a credential helper to remove this warning. See [2023-01-10T17:31:12.016Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T17:31:12.016Z] [2023-01-10T17:31:12.016Z] Login Succeeded [2023-01-10T17:31:12.016Z] ---> docker-login.sh ends [Pipeline] } [2023-01-10T17:31:12.044Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-10T17:31:12.229Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T17:31:12.268Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T17:31:12.298Z] ========================================================= [2023-01-10T17:31:12.298Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-10T17:31:12.298Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T17:31:12.764Z] + 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-01-10T17:31:12.764Z] Sending build context to Docker daemon 23.33MB [2023-01-10T17:31:12.764Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-10T17:31:12.764Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-10T17:31:13.025Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-10T17:31:13.025Z] 213ec9aee27d: Pulling fs layer [2023-01-10T17:31:13.025Z] 4583459ba037: Pulling fs layer [2023-01-10T17:31:13.025Z] 93c1e223e6f2: Pulling fs layer [2023-01-10T17:31:13.025Z] 53926ce57604: Pulling fs layer [2023-01-10T17:31:13.025Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-10T17:31:13.025Z] 22ff95d597cd: Pulling fs layer [2023-01-10T17:31:13.025Z] 12d6caf4c0d1: Pulling fs layer [2023-01-10T17:31:13.025Z] 96b7cbca73a9: Pulling fs layer [2023-01-10T17:31:13.025Z] a7acece74701: Pulling fs layer [2023-01-10T17:31:13.025Z] 22ff95d597cd: Waiting [2023-01-10T17:31:13.025Z] 12d6caf4c0d1: Waiting [2023-01-10T17:31:13.025Z] 96b7cbca73a9: Waiting [2023-01-10T17:31:13.025Z] a7acece74701: Waiting [2023-01-10T17:31:13.025Z] 21b2b0c7a3f4: Waiting [2023-01-10T17:31:13.025Z] 53926ce57604: Waiting [2023-01-10T17:31:13.025Z] 93c1e223e6f2: Download complete [2023-01-10T17:31:13.025Z] 4583459ba037: Download complete [2023-01-10T17:31:13.025Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-10T17:31:13.025Z] 21b2b0c7a3f4: Download complete [2023-01-10T17:31:13.025Z] 22ff95d597cd: Verifying Checksum [2023-01-10T17:31:13.025Z] 22ff95d597cd: Download complete [2023-01-10T17:31:13.025Z] 213ec9aee27d: Verifying Checksum [2023-01-10T17:31:13.025Z] 213ec9aee27d: Download complete [2023-01-10T17:31:13.025Z] 12d6caf4c0d1: Download complete [2023-01-10T17:31:13.025Z] 213ec9aee27d: Pull complete [2023-01-10T17:31:13.294Z] 4583459ba037: Pull complete [2023-01-10T17:31:13.294Z] 93c1e223e6f2: Pull complete [2023-01-10T17:31:13.894Z] a7acece74701: Verifying Checksum [2023-01-10T17:31:13.895Z] a7acece74701: Download complete [2023-01-10T17:31:13.895Z] 53926ce57604: Verifying Checksum [2023-01-10T17:31:13.895Z] 53926ce57604: Download complete [2023-01-10T17:31:13.895Z] 96b7cbca73a9: Verifying Checksum [2023-01-10T17:31:13.895Z] 96b7cbca73a9: Download complete [2023-01-10T17:31:17.175Z] 53926ce57604: Pull complete [2023-01-10T17:31:17.175Z] 21b2b0c7a3f4: Pull complete [2023-01-10T17:31:17.175Z] 22ff95d597cd: Pull complete [2023-01-10T17:31:17.433Z] 12d6caf4c0d1: Pull complete [2023-01-10T17:31:19.052Z] using credential edgex-jenkins-ssh [2023-01-10T17:31:19.075Z] Cloning the remote Git repository [2023-01-10T17:31:19.336Z] 96b7cbca73a9: Pull complete [2023-01-10T17:31:19.903Z] a7acece74701: Pull complete [2023-01-10T17:31:19.903Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-10T17:31:19.903Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-10T17:31:19.903Z] ---> db6d94c90886 [2023-01-10T17:31:19.903Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-10T17:31:19.152Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2023-01-10T17:31:19.261Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2023-01-10T17:31:19.524Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-01-10T17:31:19.525Z] > git --version # timeout=10 [2023-01-10T17:31:19.557Z] > git --version # 'git version 2.25.1' [2023-01-10T17:31:19.560Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-10T17:31:19.650Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-10T17:31:21.825Z] ---> Running in 2fd78be57dde [2023-01-10T17:31:21.825Z] Removing intermediate container 2fd78be57dde [2023-01-10T17:31:21.825Z] ---> 43b5f5347b96 [2023-01-10T17:31:21.825Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-10T17:31:21.825Z] ---> Running in 559003e2551d [2023-01-10T17:31:21.825Z] Removing intermediate container 559003e2551d [2023-01-10T17:31:21.825Z] ---> a75f892bac19 [2023-01-10T17:31:21.825Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-01-10T17:31:21.825Z] ---> Running in 7e2e230d7733 [2023-01-10T17:31:21.825Z] Removing intermediate container 7e2e230d7733 [2023-01-10T17:31:21.825Z] ---> 75147a66b871 [2023-01-10T17:31:21.825Z] Step 6/12 : WORKDIR /device-virtual-go [2023-01-10T17:31:22.084Z] ---> Running in 5f61847a0b2e [2023-01-10T17:31:22.084Z] Removing intermediate container 5f61847a0b2e [2023-01-10T17:31:22.084Z] ---> 6bd70229125a [2023-01-10T17:31:22.084Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-10T17:31:22.084Z] ---> Running in d93b4d544ce9 [2023-01-10T17:31:22.344Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-10T17:31:22.603Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-10T17:31:22.864Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-10T17:31:22.864Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-10T17:31:22.864Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-10T17:31:22.864Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-10T17:31:22.864Z] Executing busybox-1.35.0-r17.trigger [2023-01-10T17:31:22.864Z] OK: 216 MiB in 55 packages [2023-01-10T17:31:22.163Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-01-10T17:31:22.216Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-10T17:31:23.432Z] Removing intermediate container d93b4d544ce9 [2023-01-10T17:31:23.432Z] ---> 49370792332b [2023-01-10T17:31:23.432Z] Step 8/12 : COPY go.mod vendor* ./ [2023-01-10T17:31:23.432Z] ---> 6f2ce3ce3dc2 [2023-01-10T17:31:23.432Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-10T17:31:23.432Z] ---> Running in baabea86aae9 [2023-01-10T17:31:24.651Z] Merging remotes/origin/main commit dd725dc5af4dc794521be28a3a3263c7b7e9f65e into PR head commit 946ed762a057ea4ec7c2ec6c9e229f9c30f3dbae [2023-01-10T17:31:23.608Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-01-10T17:31:23.674Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-01-10T17:31:23.676Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-10T17:31:23.714Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/325/head:refs/remotes/origin/PR-325 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-10T17:31:24.940Z] Merge succeeded, producing 946ed762a057ea4ec7c2ec6c9e229f9c30f3dbae [2023-01-10T17:31:24.940Z] Checking out Revision 946ed762a057ea4ec7c2ec6c9e229f9c30f3dbae (PR-325) [2023-01-10T17:31:24.678Z] > git config core.sparsecheckout # timeout=10 [2023-01-10T17:31:24.703Z] > git checkout -f 946ed762a057ea4ec7c2ec6c9e229f9c30f3dbae # timeout=10 [2023-01-10T17:31:24.816Z] > git remote # timeout=10 [2023-01-10T17:31:24.840Z] > git config --get remote.origin.url # timeout=10 [2023-01-10T17:31:24.867Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-10T17:31:24.886Z] > git merge dd725dc5af4dc794521be28a3a3263c7b7e9f65e # timeout=10 [2023-01-10T17:31:24.918Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-10T17:31:24.948Z] > git config core.sparsecheckout # timeout=10 [2023-01-10T17:31:24.968Z] > git checkout -f 946ed762a057ea4ec7c2ec6c9e229f9c30f3dbae # timeout=10 [2023-01-10T17:31:28.738Z] Commit message: "feat!: Remove ZeroMQ MessageBus capability" [2023-01-10T17:31:28.812Z] > git --version # timeout=10 [2023-01-10T17:31:28.827Z] > git --version # 'git version 2.25.1' [2023-01-10T17:31:28.844Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-10T17:31:30.048Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-10T17:31:30.048Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-10T17:31:30.048Z] Dload Upload Total Spent Left Speed [2023-01-10T17:31:30.048Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 85006 0 --:--:-- --:--:-- --:--:-- 85006 [Pipeline] sh [2023-01-10T17:31:30.883Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-10T17:31:31.262Z] + sudo tee /etc/docker/daemon.new [2023-01-10T17:31:31.262Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-10T17:31:31.262Z] { [2023-01-10T17:31:31.262Z] "registry-mirrors": [ [2023-01-10T17:31:31.262Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-10T17:31:31.262Z] ], [2023-01-10T17:31:31.262Z] "bip": "10.250.0.254/24", [2023-01-10T17:31:31.262Z] "hosts": [ [2023-01-10T17:31:31.262Z] "tcp://0.0.0.0:5555", [2023-01-10T17:31:31.262Z] "unix:///var/run/docker.sock" [2023-01-10T17:31:31.262Z] ], [2023-01-10T17:31:31.262Z] "mtu": 1458, [2023-01-10T17:31:31.262Z] "selinux-enabled": true, [2023-01-10T17:31:31.262Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-10T17:31:31.262Z] } [Pipeline] sh [2023-01-10T17:31:31.637Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-10T17:31:32.040Z] + sudo service docker restart [2023-01-10T17:31:41.519Z] Removing intermediate container baabea86aae9 [2023-01-10T17:31:41.519Z] ---> f6cca5da1a16 [2023-01-10T17:31:41.519Z] Step 10/12 : COPY . . [2023-01-10T17:31:41.519Z] ---> b31553648d09 [2023-01-10T17:31:41.519Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-10T17:31:41.519Z] ---> Running in 33941d94a853 [2023-01-10T17:31:41.519Z] Removing intermediate container 33941d94a853 [2023-01-10T17:31:41.519Z] ---> 5cbdd38f28c6 [2023-01-10T17:31:41.519Z] Step 12/12 : RUN $MAKE [2023-01-10T17:31:41.519Z] ---> Running in d79086996df3 [2023-01-10T17:31:41.519Z] noop [2023-01-10T17:31:41.778Z] Removing intermediate container d79086996df3 [2023-01-10T17:31:41.778Z] ---> f44dec487414 [2023-01-10T17:31:41.778Z] Successfully built f44dec487414 [2023-01-10T17:31:41.778Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T17:31:42.215Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-10T17:31:42.216Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T17:31:42.368Z] prd-ubuntu20.04-docker-8c-8g-1608 does not seem to be running inside a container [2023-01-10T17:31:42.392Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-325 -v /w/workspace/foundry_device-virtual-go_PR-325:/w/workspace/foundry_device-virtual-go_PR-325:rw,z -v /w/workspace/foundry_device-virtual-go_PR-325@tmp:/w/workspace/foundry_device-virtual-go_PR-325@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-10T17:31:42.720Z] $ docker top 2299591ccb4ce1111b12a9acd74cd1ec3b6c573dcbd8fff4430c2569642f5ee6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T17:31:43.190Z] + go version [2023-01-10T17:31:43.190Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-10T17:31:43.227Z] $ docker stop --time=1 2299591ccb4ce1111b12a9acd74cd1ec3b6c573dcbd8fff4430c2569642f5ee6 [2023-01-10T17:31:44.442Z] $ docker rm -f --volumes 2299591ccb4ce1111b12a9acd74cd1ec3b6c573dcbd8fff4430c2569642f5ee6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T17:31:45.161Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-10T17:31:45.161Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T17:31:45.326Z] prd-ubuntu20.04-docker-8c-8g-1608 does not seem to be running inside a container [2023-01-10T17:31:45.359Z] $ 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-325 -v /w/workspace/foundry_device-virtual-go_PR-325:/w/workspace/foundry_device-virtual-go_PR-325:rw,z -v /w/workspace/foundry_device-virtual-go_PR-325@tmp:/w/workspace/foundry_device-virtual-go_PR-325@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-10T17:31:45.672Z] $ docker top 868c98460ab8e54959536f37885ca07f868a21ca3fe9f721e566c3193e3ddda2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T17:31:46.060Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-325 [Pipeline] fileExists [Pipeline] sh [2023-01-10T17:31:46.421Z] + make test [2023-01-10T17:31:46.421Z] go test ./... -coverprofile=coverage.out [2023-01-10T17:31:46.679Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-10T17:31:50.491Z] provisioning config files... [2023-01-10T17:31:50.533Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config17935163374084732475tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T17:31:50.964Z] ---> docker-login.sh [2023-01-10T17:31:50.964Z] nexus3.edgexfoundry.org:10001 [2023-01-10T17:31:51.563Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T17:31:51.841Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T17:31:51.841Z] Configure a credential helper to remove this warning. See [2023-01-10T17:31:51.841Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T17:31:51.841Z] [2023-01-10T17:31:51.841Z] Login Succeeded [2023-01-10T17:31:51.841Z] nexus3.edgexfoundry.org:10002 [2023-01-10T17:31:52.117Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T17:31:52.117Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T17:31:52.117Z] Configure a credential helper to remove this warning. See [2023-01-10T17:31:52.117Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T17:31:52.117Z] [2023-01-10T17:31:52.117Z] Login Succeeded [2023-01-10T17:31:52.117Z] nexus3.edgexfoundry.org:10003 [2023-01-10T17:31:52.722Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T17:31:52.722Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T17:31:52.722Z] Configure a credential helper to remove this warning. See [2023-01-10T17:31:52.722Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T17:31:52.722Z] [2023-01-10T17:31:52.722Z] Login Succeeded [2023-01-10T17:31:52.722Z] nexus3.edgexfoundry.org:10004 [2023-01-10T17:31:53.004Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T17:31:53.004Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T17:31:53.004Z] Configure a credential helper to remove this warning. See [2023-01-10T17:31:53.004Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T17:31:53.004Z] [2023-01-10T17:31:53.004Z] Login Succeeded [2023-01-10T17:31:53.004Z] docker.io [2023-01-10T17:31:53.603Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T17:31:53.880Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T17:31:53.880Z] Configure a credential helper to remove this warning. See [2023-01-10T17:31:53.880Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T17:31:53.880Z] [2023-01-10T17:31:53.880Z] Login Succeeded [2023-01-10T17:31:53.880Z] ---> docker-login.sh ends [Pipeline] } [2023-01-10T17:31:53.912Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-10T17:31:54.428Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T17:31:54.465Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T17:31:54.499Z] ========================================================= [2023-01-10T17:31:54.499Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-10T17:31:54.499Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T17:31:54.777Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-01-10T17:31:54.777Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.037s coverage: 65.7% of statements [2023-01-10T17:31:55.002Z] + 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-01-10T17:31:55.605Z] Sending build context to Docker daemon 11.82MB [2023-01-10T17:31:55.605Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-10T17:31:55.605Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-10T17:31:55.605Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-10T17:31:55.605Z] 9b18e9b68314: Pulling fs layer [2023-01-10T17:31:55.605Z] 35d82f9e3411: Pulling fs layer [2023-01-10T17:31:55.605Z] e16973657156: Pulling fs layer [2023-01-10T17:31:55.605Z] fc693d55d65f: Pulling fs layer [2023-01-10T17:31:55.605Z] 7e9fc2657dce: Pulling fs layer [2023-01-10T17:31:55.605Z] dda99020689f: Pulling fs layer [2023-01-10T17:31:55.605Z] db1c61fa0a46: Pulling fs layer [2023-01-10T17:31:55.605Z] 891c053d2c06: Pulling fs layer [2023-01-10T17:31:55.605Z] fc693d55d65f: Waiting [2023-01-10T17:31:55.605Z] 7e9fc2657dce: Waiting [2023-01-10T17:31:55.605Z] dda99020689f: Waiting [2023-01-10T17:31:55.605Z] db1c61fa0a46: Waiting [2023-01-10T17:31:55.605Z] 891c053d2c06: Waiting [2023-01-10T17:31:55.880Z] e16973657156: Download complete [2023-01-10T17:31:55.880Z] 35d82f9e3411: Download complete [2023-01-10T17:31:55.880Z] 7e9fc2657dce: Verifying Checksum [2023-01-10T17:31:55.880Z] 7e9fc2657dce: Download complete [2023-01-10T17:31:55.880Z] dda99020689f: Download complete [2023-01-10T17:31:55.880Z] 9b18e9b68314: Verifying Checksum [2023-01-10T17:31:55.880Z] 9b18e9b68314: Download complete [2023-01-10T17:31:56.868Z] 9b18e9b68314: Pull complete [2023-01-10T17:31:57.148Z] 891c053d2c06: Verifying Checksum [2023-01-10T17:31:57.148Z] 891c053d2c06: Download complete [2023-01-10T17:31:57.425Z] 35d82f9e3411: Pull complete [2023-01-10T17:31:58.025Z] e16973657156: Pull complete [2023-01-10T17:31:58.627Z] db1c61fa0a46: Verifying Checksum [2023-01-10T17:31:58.627Z] db1c61fa0a46: Download complete [2023-01-10T17:31:59.225Z] fc693d55d65f: Download complete [2023-01-10T17:32:01.338Z] 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-01-10T17:32:01.339Z] go vet ./... [2023-01-10T17:32:04.622Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-10T17:32:04.622Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-10T17:32:04.622Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-10T17:32:04.663Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-10T17:32:04.690Z] $ docker stop --time=1 868c98460ab8e54959536f37885ca07f868a21ca3fe9f721e566c3193e3ddda2 [2023-01-10T17:32:06.214Z] $ docker rm -f --volumes 868c98460ab8e54959536f37885ca07f868a21ca3fe9f721e566c3193e3ddda2 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-10T17:32:06.690Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-10T17:32:06.761Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-10T17:32:07.331Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-10T17:32:07.637Z] + ls -al . [2023-01-10T17:32:07.637Z] total 204 [2023-01-10T17:32:07.637Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 10 17:31 . [2023-01-10T17:32:07.637Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 17:30 .. [2023-01-10T17:32:07.637Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 17:31 .git [2023-01-10T17:32:07.637Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 17:30 .github [2023-01-10T17:32:07.637Z] -rw-rw-r-- 1 jenkins jenkins 337 Jan 10 17:30 .gitignore [2023-01-10T17:32:07.637Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 10 17:30 .golangci.yml [2023-01-10T17:32:07.638Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 10 17:31 .semver [2023-01-10T17:32:07.638Z] -rw-rw-r-- 1 jenkins jenkins 8423 Jan 10 17:30 Attribution.txt [2023-01-10T17:32:07.638Z] -rw-rw-r-- 1 jenkins jenkins 11367 Jan 10 17:30 CHANGELOG.md [2023-01-10T17:32:07.638Z] -rw-rw-r-- 1 jenkins jenkins 1646 Jan 10 17:30 Dockerfile [2023-01-10T17:32:07.638Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 10 17:30 GOVERNANCE.md [2023-01-10T17:32:07.638Z] -rw-rw-r-- 1 jenkins jenkins 660 Jan 10 17:30 Jenkinsfile [2023-01-10T17:32:07.638Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 10 17:30 LICENSE [2023-01-10T17:32:07.638Z] -rw-rw-r-- 1 jenkins jenkins 1661 Jan 10 17:30 Makefile [2023-01-10T17:32:07.638Z] -rw-rw-r-- 1 jenkins jenkins 623 Jan 10 17:30 OWNERS.md [2023-01-10T17:32:07.638Z] -rw-rw-r-- 1 jenkins jenkins 3578 Jan 10 17:30 README.md [2023-01-10T17:32:07.638Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 10 17:31 VERSION [2023-01-10T17:32:07.638Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 17:30 bin [2023-01-10T17:32:07.638Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 17:30 cmd [2023-01-10T17:32:07.638Z] -rw-r--r-- 1 jenkins jenkins 44128 Jan 10 17:31 coverage.out [2023-01-10T17:32:07.638Z] -rw-rw-r-- 1 jenkins jenkins 3340 Jan 10 17:30 go.mod [2023-01-10T17:32:07.638Z] -rw-rw-r-- 1 jenkins jenkins 44412 Jan 10 17:30 go.sum [2023-01-10T17:32:07.638Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 17:30 internal [2023-01-10T17:32:07.638Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 17:30 snap [2023-01-10T17:32:07.638Z] -rw-rw-r-- 1 jenkins jenkins 235 Jan 10 17:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T17:32:08.035Z] + 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=946ed762a057ea4ec7c2ec6c9e229f9c30f3dbae --label arch=amd64 --label version=0.0.0 . [2023-01-10T17:32:08.035Z] Sending build context to Docker daemon 23.37MB [2023-01-10T17:32:08.035Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-01-10T17:32:08.035Z] Step 2/25 : FROM ${BASE} AS builder [2023-01-10T17:32:08.035Z] ---> f44dec487414 [2023-01-10T17:32:08.035Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-10T17:32:08.035Z] ---> Running in b497a212ef11 [2023-01-10T17:32:08.293Z] Removing intermediate container b497a212ef11 [2023-01-10T17:32:08.293Z] ---> 8692491341d5 [2023-01-10T17:32:08.293Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-01-10T17:32:08.293Z] ---> Running in 0d8b0cad9021 [2023-01-10T17:32:08.293Z] Removing intermediate container 0d8b0cad9021 [2023-01-10T17:32:08.293Z] ---> 2fb5ab508941 [2023-01-10T17:32:08.293Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-01-10T17:32:08.293Z] ---> Running in 0bfbaedc16e3 [2023-01-10T17:32:08.293Z] Removing intermediate container 0bfbaedc16e3 [2023-01-10T17:32:08.293Z] ---> 41dce5df4047 [2023-01-10T17:32:08.293Z] Step 6/25 : WORKDIR /device-virtual-go [2023-01-10T17:32:08.552Z] ---> Running in 49e62e92fcd1 [2023-01-10T17:32:08.552Z] Removing intermediate container 49e62e92fcd1 [2023-01-10T17:32:08.552Z] ---> 6b1df82b0922 [2023-01-10T17:32:08.552Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-10T17:32:08.552Z] ---> Running in dea41ee97763 [2023-01-10T17:32:08.810Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-10T17:32:09.069Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-10T17:32:09.327Z] OK: 216 MiB in 55 packages [2023-01-10T17:32:09.585Z] Removing intermediate container dea41ee97763 [2023-01-10T17:32:09.585Z] ---> 6f360aceabef [2023-01-10T17:32:09.585Z] Step 8/25 : COPY go.mod vendor* ./ [2023-01-10T17:32:09.585Z] ---> 2169ece4fb89 [2023-01-10T17:32:09.585Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-10T17:32:09.585Z] ---> Running in 8c980e3d5495 [2023-01-10T17:32:10.522Z] Removing intermediate container 8c980e3d5495 [2023-01-10T17:32:10.522Z] ---> b377dc12882a [2023-01-10T17:32:10.522Z] Step 10/25 : COPY . . [2023-01-10T17:32:10.779Z] ---> f7efbc452bd3 [2023-01-10T17:32:10.779Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-10T17:32:10.779Z] ---> Running in 9d74cddf7086 [2023-01-10T17:32:10.779Z] Removing intermediate container 9d74cddf7086 [2023-01-10T17:32:10.779Z] ---> 5bced7cb9559 [2023-01-10T17:32:10.779Z] Step 12/25 : RUN $MAKE [2023-01-10T17:32:10.779Z] ---> Running in 5bbd52a059a2 [2023-01-10T17:32:11.037Z] 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-01-10T17:32:14.301Z] fc693d55d65f: Pull complete [2023-01-10T17:32:14.301Z] 7e9fc2657dce: Pull complete [2023-01-10T17:32:14.301Z] dda99020689f: Pull complete [2023-01-10T17:32:21.047Z] db1c61fa0a46: Pull complete [2023-01-10T17:32:23.029Z] 891c053d2c06: Pull complete [2023-01-10T17:32:23.029Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-10T17:32:23.029Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-10T17:32:23.029Z] ---> f96f9c87975a [2023-01-10T17:32:23.029Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-10T17:32:25.672Z] ---> Running in 9da87aacb9ec [2023-01-10T17:32:25.672Z] Removing intermediate container 9da87aacb9ec [2023-01-10T17:32:25.672Z] ---> 6dc7cfa99a05 [2023-01-10T17:32:25.672Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-10T17:32:25.672Z] ---> Running in ce30a4fafef4 [2023-01-10T17:32:26.270Z] Removing intermediate container ce30a4fafef4 [2023-01-10T17:32:26.270Z] ---> 59129c5f65fa [2023-01-10T17:32:26.270Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-01-10T17:32:26.270Z] ---> Running in 59b2800777a0 [2023-01-10T17:32:26.548Z] Removing intermediate container 59b2800777a0 [2023-01-10T17:32:26.548Z] ---> 73d3d8f69c0e [2023-01-10T17:32:26.548Z] Step 6/12 : WORKDIR /device-virtual-go [2023-01-10T17:32:26.548Z] ---> Running in 6ca9f404bffe [2023-01-10T17:32:27.159Z] Removing intermediate container 6ca9f404bffe [2023-01-10T17:32:27.159Z] ---> 1170ce65504b [2023-01-10T17:32:27.159Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-10T17:32:27.159Z] ---> Running in 013da3267f7e [2023-01-10T17:32:28.598Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-10T17:32:28.869Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-10T17:32:29.104Z] Removing intermediate container 5bbd52a059a2 [2023-01-10T17:32:29.104Z] ---> 06ba90d6968f [2023-01-10T17:32:29.104Z] Step 13/25 : FROM alpine:3.16 [2023-01-10T17:32:29.361Z] 3.16: Pulling from library/alpine [2023-01-10T17:32:29.619Z] ca7dd9ec2225: Pulling fs layer [2023-01-10T17:32:29.619Z] ca7dd9ec2225: Verifying Checksum [2023-01-10T17:32:29.619Z] ca7dd9ec2225: Download complete [2023-01-10T17:32:29.878Z] ca7dd9ec2225: Pull complete [2023-01-10T17:32:29.878Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-10T17:32:29.878Z] Status: Downloaded newer image for alpine:3.16 [2023-01-10T17:32:29.878Z] ---> bfe296a52501 [2023-01-10T17:32:29.878Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-01-10T17:32:29.878Z] ---> Running in e9dd5b6781b5 [2023-01-10T17:32:30.137Z] Removing intermediate container e9dd5b6781b5 [2023-01-10T17:32:30.137Z] ---> 4cd0e051d485 [2023-01-10T17:32:30.137Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-01-10T17:32:30.137Z] ---> Running in 1855b0cfa3cb [2023-01-10T17:32:30.303Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-10T17:32:30.303Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-10T17:32:30.303Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-10T17:32:30.303Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-10T17:32:30.303Z] Executing busybox-1.35.0-r17.trigger [2023-01-10T17:32:30.303Z] OK: 226 MiB in 55 packages [2023-01-10T17:32:30.396Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-10T17:32:30.396Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-10T17:32:30.656Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-10T17:32:30.656Z] Executing busybox-1.35.0-r17.trigger [2023-01-10T17:32:30.656Z] OK: 6 MiB in 15 packages [2023-01-10T17:32:31.222Z] Removing intermediate container 1855b0cfa3cb [2023-01-10T17:32:31.222Z] ---> 3d8357fdbc3b [2023-01-10T17:32:31.222Z] Step 16/25 : WORKDIR / [2023-01-10T17:32:31.222Z] ---> Running in 6c54dc446e10 [2023-01-10T17:32:31.222Z] Removing intermediate container 6c54dc446e10 [2023-01-10T17:32:31.222Z] ---> e0289d9f0979 [2023-01-10T17:32:31.222Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-01-10T17:32:31.222Z] ---> f91a5af63ee0 [2023-01-10T17:32:31.222Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-01-10T17:32:31.481Z] ---> 51c714776440 [2023-01-10T17:32:31.481Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-01-10T17:32:31.737Z] Removing intermediate container 013da3267f7e [2023-01-10T17:32:31.737Z] ---> 3b7d4a8a2234 [2023-01-10T17:32:31.737Z] Step 8/12 : COPY go.mod vendor* ./ [2023-01-10T17:32:32.011Z] ---> d51a6cc10732 [2023-01-10T17:32:32.011Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-10T17:32:32.011Z] ---> Running in f3fe154665f1 [2023-01-10T17:32:32.432Z] ---> fcd24deab60c [2023-01-10T17:32:32.432Z] Step 20/25 : EXPOSE 59900 [2023-01-10T17:32:32.432Z] ---> Running in bd6ac98cf0c4 [2023-01-10T17:32:32.432Z] Removing intermediate container bd6ac98cf0c4 [2023-01-10T17:32:32.432Z] ---> 2512ba281f1d [2023-01-10T17:32:32.432Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-01-10T17:32:32.432Z] ---> Running in a28143aebb52 [2023-01-10T17:32:32.432Z] Removing intermediate container a28143aebb52 [2023-01-10T17:32:32.432Z] ---> 570b7013db21 [2023-01-10T17:32:32.432Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-10T17:32:32.432Z] ---> Running in a4b72991905e [2023-01-10T17:32:32.432Z] Removing intermediate container a4b72991905e [2023-01-10T17:32:32.432Z] ---> 95ba0ea90c75 [2023-01-10T17:32:32.432Z] Step 23/25 : LABEL arch=amd64 [2023-01-10T17:32:32.432Z] ---> Running in 4a1e4c7248d2 [2023-01-10T17:32:32.690Z] Removing intermediate container 4a1e4c7248d2 [2023-01-10T17:32:32.690Z] ---> b931b3b5cb8e [2023-01-10T17:32:32.690Z] Step 24/25 : LABEL git_sha=946ed762a057ea4ec7c2ec6c9e229f9c30f3dbae [2023-01-10T17:32:32.690Z] ---> Running in 483e4daa6f19 [2023-01-10T17:32:32.690Z] Removing intermediate container 483e4daa6f19 [2023-01-10T17:32:32.690Z] ---> a8226f491737 [2023-01-10T17:32:32.690Z] Step 25/25 : LABEL version=0.0.0 [2023-01-10T17:32:32.690Z] ---> Running in bc325f3e1cfd [2023-01-10T17:32:32.690Z] Removing intermediate container bc325f3e1cfd [2023-01-10T17:32:32.690Z] ---> 70cc1b9803ac [2023-01-10T17:32:32.690Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-10T17:32:32.690Z] Successfully built 70cc1b9803ac [2023-01-10T17:32:32.690Z] 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-01-10T17:32:33.532Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-10T17:32:33.532Z] [2023-01-10T17:32:33.532Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T17:32:33.907Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-10T17:32:33.907Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-10T17:32:33.907Z] 5eb5b503b376: Pulling fs layer [2023-01-10T17:32:33.907Z] 5c69ac0246d0: Pulling fs layer [2023-01-10T17:32:33.907Z] ec43610c2a17: Pulling fs layer [2023-01-10T17:32:33.907Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-10T17:32:33.907Z] 33b1e0a273af: Pulling fs layer [2023-01-10T17:32:33.907Z] 5d3b04190fa2: Pulling fs layer [2023-01-10T17:32:33.907Z] 2f39f015ded8: Pulling fs layer [2023-01-10T17:32:33.907Z] 33b1e0a273af: Waiting [2023-01-10T17:32:33.907Z] 5d3b04190fa2: Waiting [2023-01-10T17:32:33.907Z] 2f39f015ded8: Waiting [2023-01-10T17:32:33.907Z] 3a2ae6a8a46f: Waiting [2023-01-10T17:32:33.907Z] 5c69ac0246d0: Verifying Checksum [2023-01-10T17:32:33.907Z] 5c69ac0246d0: Download complete [2023-01-10T17:32:33.907Z] 3a2ae6a8a46f: Verifying Checksum [2023-01-10T17:32:33.907Z] 3a2ae6a8a46f: Download complete [2023-01-10T17:32:34.172Z] 33b1e0a273af: Verifying Checksum [2023-01-10T17:32:34.172Z] 33b1e0a273af: Download complete [2023-01-10T17:32:34.172Z] ec43610c2a17: Verifying Checksum [2023-01-10T17:32:34.172Z] ec43610c2a17: Download complete [2023-01-10T17:32:34.172Z] 5d3b04190fa2: Download complete [2023-01-10T17:32:34.172Z] 5eb5b503b376: Verifying Checksum [2023-01-10T17:32:34.172Z] 5eb5b503b376: Download complete [2023-01-10T17:32:34.740Z] 2f39f015ded8: Verifying Checksum [2023-01-10T17:32:34.740Z] 2f39f015ded8: Download complete [2023-01-10T17:32:35.306Z] 5eb5b503b376: Pull complete [2023-01-10T17:32:35.306Z] 5c69ac0246d0: Pull complete [2023-01-10T17:32:35.875Z] ec43610c2a17: Pull complete [2023-01-10T17:32:35.875Z] 3a2ae6a8a46f: Pull complete [2023-01-10T17:32:36.135Z] 33b1e0a273af: Pull complete [2023-01-10T17:32:36.135Z] 5d3b04190fa2: Pull complete [2023-01-10T17:32:40.439Z] 2f39f015ded8: Pull complete [2023-01-10T17:32:40.439Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-10T17:32:40.439Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-10T17:32:40.439Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T17:32:40.668Z] prd-ubuntu20.04-docker-8c-8g-1608 does not seem to be running inside a container [2023-01-10T17:32:40.697Z] $ 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-325 -v /w/workspace/foundry_device-virtual-go_PR-325:/w/workspace/foundry_device-virtual-go_PR-325:rw,z -v /w/workspace/foundry_device-virtual-go_PR-325@tmp:/w/workspace/foundry_device-virtual-go_PR-325@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-10T17:32:45.719Z] $ docker top 9cffcae8cdefef0844f031e11b7c8f66c87856d561e591eb85c6466fbc8b7eea -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T17:32:46.163Z] ---> job-cost.sh [2023-01-10T17:32:46.163Z] lf-activate-venv: SKIPPING [2023-01-10T17:32:46.163Z] INFO: No Stack... [2023-01-10T17:32:46.422Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-10T17:32:46.680Z] INFO: Archiving Costs [Pipeline] sh [2023-01-10T17:32:46.999Z] + cat /w/workspace/foundry_device-virtual-go_PR-325/archives/cost.csv [2023-01-10T17:32:46.999Z] + cut -d, -f6 [Pipeline] lock [2023-01-10T17:32:47.040Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-325-1-stack-cost] [2023-01-10T17:32:47.045Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-325-1-stack-cost] did not exist. Created. [2023-01-10T17:32:47.045Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-325-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-10T17:32:47.446Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-10T17:32:47.494Z] Stashed 1 file(s) [Pipeline] } [2023-01-10T17:32:47.523Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-325-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-10T17:32:47.596Z] $ docker stop --time=1 9cffcae8cdefef0844f031e11b7c8f66c87856d561e591eb85c6466fbc8b7eea [2023-01-10T17:32:48.749Z] $ docker rm -f --volumes 9cffcae8cdefef0844f031e11b7c8f66c87856d561e591eb85c6466fbc8b7eea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-10T17:33:40.277Z] Removing intermediate container f3fe154665f1 [2023-01-10T17:33:40.277Z] ---> a6e33525869e [2023-01-10T17:33:40.277Z] Step 10/12 : COPY . . [2023-01-10T17:33:40.277Z] ---> f7b6dd159605 [2023-01-10T17:33:40.277Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-10T17:33:40.277Z] ---> Running in 627e50c725a8 [2023-01-10T17:33:40.277Z] Removing intermediate container 627e50c725a8 [2023-01-10T17:33:40.277Z] ---> 6c289092eb9a [2023-01-10T17:33:40.277Z] Step 12/12 : RUN $MAKE [2023-01-10T17:33:40.277Z] ---> Running in 08507f770939 [2023-01-10T17:33:40.277Z] noop [2023-01-10T17:33:40.277Z] Removing intermediate container 08507f770939 [2023-01-10T17:33:40.277Z] ---> 35f430689088 [2023-01-10T17:33:40.277Z] Successfully built 35f430689088 [2023-01-10T17:33:40.277Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T17:33:40.782Z] + docker inspect -f . ci-base-image-arm64 [2023-01-10T17:33:40.783Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T17:33:41.098Z] prd-ubuntu20.04-docker-arm64-4c-16g-1607 does not seem to be running inside a container [2023-01-10T17:33:41.199Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-10T17:33:42.600Z] $ docker top fb1946f3e98a09cbe5dca010cd30f75afb9bdc79b27846630654b374f6002a7e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T17:33:43.545Z] + go version [2023-01-10T17:33:43.545Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-10T17:33:43.580Z] $ docker stop --time=1 fb1946f3e98a09cbe5dca010cd30f75afb9bdc79b27846630654b374f6002a7e [2023-01-10T17:33:45.288Z] $ docker rm -f --volumes fb1946f3e98a09cbe5dca010cd30f75afb9bdc79b27846630654b374f6002a7e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T17:33:46.189Z] + docker inspect -f . ci-base-image-arm64 [2023-01-10T17:33:46.189Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T17:33:46.476Z] prd-ubuntu20.04-docker-arm64-4c-16g-1607 does not seem to be running inside a container [2023-01-10T17:33:46.561Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-10T17:33:48.020Z] $ docker top 14f2d8516acd3600e2c9cca755486452f6baea5db64d826e91f61f1b0fd3e9bc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T17:33:48.983Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh [2023-01-10T17:33:49.708Z] + make test [2023-01-10T17:33:49.708Z] go test ./... -coverprofile=coverage.out [2023-01-10T17:33:51.690Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-01-10T17:35:28.475Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-01-10T17:35:28.475Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.127s coverage: 65.7% of statements [2023-01-10T17:35:28.475Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-10T17:35:28.475Z] go vet ./... [2023-01-10T17:35:55.175Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-10T17:35:55.175Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-10T17:35:55.175Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-10T17:35:55.214Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-10T17:35:55.244Z] $ docker stop --time=1 14f2d8516acd3600e2c9cca755486452f6baea5db64d826e91f61f1b0fd3e9bc [2023-01-10T17:35:57.090Z] $ docker rm -f --volumes 14f2d8516acd3600e2c9cca755486452f6baea5db64d826e91f61f1b0fd3e9bc [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-10T17:35:58.072Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-10T17:35:58.109Z] Warning: overwriting stash ‘coverage-report’ [2023-01-10T17:35:58.584Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-10T17:35:59.168Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-10T17:35:59.520Z] + ls -al . [2023-01-10T17:35:59.520Z] total 200 [2023-01-10T17:35:59.520Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 17:33 . [2023-01-10T17:35:59.520Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 17:31 .. [2023-01-10T17:35:59.520Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 17:31 .git [2023-01-10T17:35:59.520Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 17:31 .github [2023-01-10T17:35:59.520Z] -rw-rw-r-- 1 jenkins jenkins 337 Jan 10 17:31 .gitignore [2023-01-10T17:35:59.520Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 10 17:31 .golangci.yml [2023-01-10T17:35:59.520Z] -rw-rw-r-- 1 jenkins jenkins 8423 Jan 10 17:31 Attribution.txt [2023-01-10T17:35:59.520Z] -rw-rw-r-- 1 jenkins jenkins 11367 Jan 10 17:31 CHANGELOG.md [2023-01-10T17:35:59.520Z] -rw-rw-r-- 1 jenkins jenkins 1646 Jan 10 17:31 Dockerfile [2023-01-10T17:35:59.520Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 10 17:31 GOVERNANCE.md [2023-01-10T17:35:59.520Z] -rw-rw-r-- 1 jenkins jenkins 660 Jan 10 17:31 Jenkinsfile [2023-01-10T17:35:59.520Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 10 17:31 LICENSE [2023-01-10T17:35:59.520Z] -rw-rw-r-- 1 jenkins jenkins 1661 Jan 10 17:31 Makefile [2023-01-10T17:35:59.520Z] -rw-rw-r-- 1 jenkins jenkins 623 Jan 10 17:31 OWNERS.md [2023-01-10T17:35:59.520Z] -rw-rw-r-- 1 jenkins jenkins 3578 Jan 10 17:31 README.md [2023-01-10T17:35:59.520Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 10 17:31 VERSION [2023-01-10T17:35:59.520Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 17:31 bin [2023-01-10T17:35:59.520Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 17:31 cmd [2023-01-10T17:35:59.520Z] -rw-r--r-- 1 jenkins jenkins 44128 Jan 10 17:35 coverage.out [2023-01-10T17:35:59.520Z] -rw-rw-r-- 1 jenkins jenkins 3340 Jan 10 17:31 go.mod [2023-01-10T17:35:59.520Z] -rw-rw-r-- 1 jenkins jenkins 44412 Jan 10 17:31 go.sum [2023-01-10T17:35:59.520Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 17:31 internal [2023-01-10T17:35:59.520Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 17:31 snap [2023-01-10T17:35:59.520Z] -rw-rw-r-- 1 jenkins jenkins 235 Jan 10 17:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T17:35:59.952Z] + 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=946ed762a057ea4ec7c2ec6c9e229f9c30f3dbae --label arch=arm64 --label version=0.0.0 . [2023-01-10T17:36:00.918Z] Sending build context to Docker daemon 11.87MB [2023-01-10T17:36:00.918Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-01-10T17:36:00.918Z] Step 2/25 : FROM ${BASE} AS builder [2023-01-10T17:36:00.918Z] ---> 35f430689088 [2023-01-10T17:36:00.918Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-10T17:36:00.918Z] ---> Running in 6aad1f64bd10 [2023-01-10T17:36:01.506Z] Removing intermediate container 6aad1f64bd10 [2023-01-10T17:36:01.506Z] ---> 59e2ed7395a7 [2023-01-10T17:36:01.506Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-01-10T17:36:01.506Z] ---> Running in 22e2d37b53ef [2023-01-10T17:36:01.772Z] Removing intermediate container 22e2d37b53ef [2023-01-10T17:36:01.772Z] ---> d9a65208e80e [2023-01-10T17:36:01.772Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-01-10T17:36:01.772Z] ---> Running in c49a6b2393b5 [2023-01-10T17:36:02.356Z] Removing intermediate container c49a6b2393b5 [2023-01-10T17:36:02.356Z] ---> 379a2367c356 [2023-01-10T17:36:02.356Z] Step 6/25 : WORKDIR /device-virtual-go [2023-01-10T17:36:02.356Z] ---> Running in c6da1de1744b [2023-01-10T17:36:02.624Z] Removing intermediate container c6da1de1744b [2023-01-10T17:36:02.624Z] ---> f8f23087dd6a [2023-01-10T17:36:02.624Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-10T17:36:02.624Z] ---> Running in bc32a02c900f [2023-01-10T17:36:03.583Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-10T17:36:03.848Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-10T17:36:05.253Z] OK: 226 MiB in 55 packages [2023-01-10T17:36:05.843Z] Removing intermediate container bc32a02c900f [2023-01-10T17:36:05.843Z] ---> 30825d713eba [2023-01-10T17:36:05.843Z] Step 8/25 : COPY go.mod vendor* ./ [2023-01-10T17:36:06.439Z] ---> 24f2d998fc9d [2023-01-10T17:36:06.439Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-10T17:36:06.439Z] ---> Running in 13e983955f1e [2023-01-10T17:36:08.382Z] Removing intermediate container 13e983955f1e [2023-01-10T17:36:08.382Z] ---> f09fd18675c8 [2023-01-10T17:36:08.382Z] Step 10/25 : COPY . . [2023-01-10T17:36:09.351Z] ---> fcc293627bda [2023-01-10T17:36:09.351Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-10T17:36:09.618Z] ---> Running in 773b3fcdfec8 [2023-01-10T17:36:09.886Z] Removing intermediate container 773b3fcdfec8 [2023-01-10T17:36:09.886Z] ---> 4e8af4d5d752 [2023-01-10T17:36:09.886Z] Step 12/25 : RUN $MAKE [2023-01-10T17:36:09.886Z] ---> Running in 881a6cfde7af [2023-01-10T17:36:10.847Z] 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-01-10T17:38:17.836Z] Removing intermediate container 881a6cfde7af [2023-01-10T17:38:17.836Z] ---> 8a5c53d110aa [2023-01-10T17:38:17.836Z] Step 13/25 : FROM alpine:3.16 [2023-01-10T17:38:17.836Z] 3.16: Pulling from library/alpine [2023-01-10T17:38:17.836Z] 6875df1f5354: Pulling fs layer [2023-01-10T17:38:17.836Z] 6875df1f5354: Verifying Checksum [2023-01-10T17:38:17.836Z] 6875df1f5354: Download complete [2023-01-10T17:38:17.836Z] 6875df1f5354: Pull complete [2023-01-10T17:38:17.836Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-10T17:38:17.836Z] Status: Downloaded newer image for alpine:3.16 [2023-01-10T17:38:17.836Z] ---> 2b4661558fb8 [2023-01-10T17:38:17.836Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-01-10T17:38:17.836Z] ---> Running in d057831f036c [2023-01-10T17:38:17.836Z] Removing intermediate container d057831f036c [2023-01-10T17:38:17.836Z] ---> 48797b1b0473 [2023-01-10T17:38:17.836Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-01-10T17:38:17.836Z] ---> Running in c161fd8a08b5 [2023-01-10T17:38:17.836Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-10T17:38:17.836Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-10T17:38:17.836Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-10T17:38:17.836Z] Executing busybox-1.35.0-r17.trigger [2023-01-10T17:38:17.836Z] OK: 5 MiB in 15 packages [2023-01-10T17:38:17.836Z] Removing intermediate container c161fd8a08b5 [2023-01-10T17:38:17.836Z] ---> 295fdf4442b2 [2023-01-10T17:38:17.836Z] Step 16/25 : WORKDIR / [2023-01-10T17:38:17.836Z] ---> Running in 4ffc9df7b7c3 [2023-01-10T17:38:17.836Z] Removing intermediate container 4ffc9df7b7c3 [2023-01-10T17:38:17.836Z] ---> 0ff73a72861d [2023-01-10T17:38:17.836Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-01-10T17:38:17.836Z] ---> 6581e73bbb85 [2023-01-10T17:38:17.836Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-01-10T17:38:17.836Z] ---> c2c618564c23 [2023-01-10T17:38:17.836Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-01-10T17:38:17.836Z] ---> c1a6afe6d3dd [2023-01-10T17:38:17.836Z] Step 20/25 : EXPOSE 59900 [2023-01-10T17:38:17.836Z] ---> Running in 8bf66c047d5b [2023-01-10T17:38:17.836Z] Removing intermediate container 8bf66c047d5b [2023-01-10T17:38:17.836Z] ---> 100c2a73ece1 [2023-01-10T17:38:17.836Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-01-10T17:38:17.836Z] ---> Running in ebfd62d4ab93 [2023-01-10T17:38:17.836Z] Removing intermediate container ebfd62d4ab93 [2023-01-10T17:38:17.836Z] ---> d19914d6052e [2023-01-10T17:38:17.836Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-10T17:38:17.836Z] ---> Running in 3969f0648804 [2023-01-10T17:38:17.836Z] Removing intermediate container 3969f0648804 [2023-01-10T17:38:17.836Z] ---> 6d7878c446d3 [2023-01-10T17:38:17.836Z] Step 23/25 : LABEL arch=arm64 [2023-01-10T17:38:17.836Z] ---> Running in 01503412a457 [2023-01-10T17:38:18.106Z] Removing intermediate container 01503412a457 [2023-01-10T17:38:18.106Z] ---> 9ac2f8c1db4d [2023-01-10T17:38:18.106Z] Step 24/25 : LABEL git_sha=946ed762a057ea4ec7c2ec6c9e229f9c30f3dbae [2023-01-10T17:38:18.106Z] ---> Running in 598a97e66723 [2023-01-10T17:38:18.381Z] Removing intermediate container 598a97e66723 [2023-01-10T17:38:18.381Z] ---> a6ce0847784f [2023-01-10T17:38:18.381Z] Step 25/25 : LABEL version=0.0.0 [2023-01-10T17:38:18.381Z] ---> Running in 83134d88a34a [2023-01-10T17:38:18.964Z] Removing intermediate container 83134d88a34a [2023-01-10T17:38:18.964Z] ---> 43fdaf9cde7e [2023-01-10T17:38:18.964Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-10T17:38:18.964Z] Successfully built 43fdaf9cde7e [2023-01-10T17:38:18.964Z] 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-01-10T17:38:19.741Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-10T17:38:19.741Z] [2023-01-10T17:38:19.741Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T17:38:20.146Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-10T17:38:20.146Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-10T17:38:20.146Z] 8998bd30e6a1: Pulling fs layer [2023-01-10T17:38:20.146Z] 04944245beec: Pulling fs layer [2023-01-10T17:38:20.146Z] 699f458cf7ca: Pulling fs layer [2023-01-10T17:38:20.146Z] 765212b225bb: Pulling fs layer [2023-01-10T17:38:20.146Z] f23df028b6ca: Pulling fs layer [2023-01-10T17:38:20.146Z] d65c8cfc05b1: Pulling fs layer [2023-01-10T17:38:20.146Z] 2437ff75d9bd: Pulling fs layer [2023-01-10T17:38:20.146Z] 765212b225bb: Waiting [2023-01-10T17:38:20.146Z] d65c8cfc05b1: Waiting [2023-01-10T17:38:20.146Z] 2437ff75d9bd: Waiting [2023-01-10T17:38:20.146Z] f23df028b6ca: Waiting [2023-01-10T17:38:20.417Z] 04944245beec: Verifying Checksum [2023-01-10T17:38:20.417Z] 04944245beec: Download complete [2023-01-10T17:38:20.417Z] 765212b225bb: Verifying Checksum [2023-01-10T17:38:20.417Z] 765212b225bb: Download complete [2023-01-10T17:38:20.417Z] d65c8cfc05b1: Verifying Checksum [2023-01-10T17:38:20.417Z] d65c8cfc05b1: Download complete [2023-01-10T17:38:20.693Z] 699f458cf7ca: Verifying Checksum [2023-01-10T17:38:20.693Z] 699f458cf7ca: Download complete [2023-01-10T17:38:20.963Z] 8998bd30e6a1: Verifying Checksum [2023-01-10T17:38:20.963Z] 8998bd30e6a1: Download complete [2023-01-10T17:38:23.567Z] 2437ff75d9bd: Verifying Checksum [2023-01-10T17:38:23.567Z] 2437ff75d9bd: Download complete [2023-01-10T17:38:24.991Z] 8998bd30e6a1: Pull complete [2023-01-10T17:38:25.260Z] 04944245beec: Pull complete [2023-01-10T17:38:26.672Z] 699f458cf7ca: Pull complete [2023-01-10T17:38:26.940Z] 765212b225bb: Pull complete [2023-01-10T17:38:27.528Z] f23df028b6ca: Pull complete [2023-01-10T17:38:27.796Z] d65c8cfc05b1: Pull complete [2023-01-10T17:38:42.786Z] 2437ff75d9bd: Pull complete [2023-01-10T17:38:42.786Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-10T17:38:42.786Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-10T17:38:42.786Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T17:38:43.128Z] prd-ubuntu20.04-docker-arm64-4c-16g-1607 does not seem to be running inside a container [2023-01-10T17:38:43.180Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-01-10T17:38:45.902Z] $ docker top efdd9299db5701f52d412d43aca121037ba67fcff313d4e90a1fdb67c5c9b288 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T17:38:46.839Z] ---> job-cost.sh [2023-01-10T17:38:46.839Z] lf-activate-venv: SKIPPING [2023-01-10T17:38:46.839Z] INFO: No Stack... [2023-01-10T17:38:47.422Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-10T17:38:48.005Z] INFO: Archiving Costs [Pipeline] sh [2023-01-10T17:38:48.345Z] + + cutcat -d, /w/workspace/device-virtual-go/1/archives/cost.csv [2023-01-10T17:38:48.346Z] -f6 [Pipeline] lock [2023-01-10T17:38:48.699Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-325-1-stack-cost] [2023-01-10T17:38:48.704Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-325-1-stack-cost] did not exist. Created. [2023-01-10T17:38:48.705Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-325-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-10T17:38:49.444Z] /w/workspace/device-virtual-go/1@tmp/durable-2170f227/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-10T17:38:49.802Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-10T17:38:49.841Z] Warning: overwriting stash ‘stack-cost’ [2023-01-10T17:38:49.886Z] Stashed 1 file(s) [Pipeline] } [2023-01-10T17:38:49.901Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-325-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-10T17:38:49.986Z] $ docker stop --time=1 efdd9299db5701f52d412d43aca121037ba67fcff313d4e90a1fdb67c5c9b288 [2023-01-10T17:38:51.489Z] $ docker rm -f --volumes efdd9299db5701f52d412d43aca121037ba67fcff313d4e90a1fdb67c5c9b288 [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-01-10T17:38:52.503Z] provisioning config files... [2023-01-10T17:38:52.511Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-325@tmp/config18320514261815133909tmp [Pipeline] { [Pipeline] sh [2023-01-10T17:38:52.849Z] + set +x [2023-01-10T17:38:52.849Z] + curl -s https://codecov.io/bash [2023-01-10T17:38:52.849Z] + bash -s -- [2023-01-10T17:38:52.849Z] [2023-01-10T17:38:52.849Z] _____ _ [2023-01-10T17:38:52.849Z] / ____| | | [2023-01-10T17:38:52.849Z] | | ___ __| | ___ ___ _____ __ [2023-01-10T17:38:52.849Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-10T17:38:52.849Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-10T17:38:52.849Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-10T17:38:52.849Z] Bash-1.0.6 [2023-01-10T17:38:52.849Z] [2023-01-10T17:38:52.849Z] [2023-01-10T17:38:52.849Z] ==> git version 2.25.1 found [2023-01-10T17:38:52.849Z] ==> 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-01-10T17:38:52.849Z] Release-Date: 2020-01-08 [2023-01-10T17:38:52.849Z] 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-01-10T17:38:52.849Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-10T17:38:52.849Z] ==> Jenkins CI detected. [2023-01-10T17:38:52.849Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-325 [2023-01-10T17:38:52.849Z] project root: . [2023-01-10T17:38:52.849Z] --> token set from env [2023-01-10T17:38:52.849Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-10T17:38:52.849Z] ==> Running gcov in . (disable via -X gcov) [2023-01-10T17:38:52.849Z] ==> Python coveragepy not found [2023-01-10T17:38:52.849Z] ==> Searching for coverage reports in: [2023-01-10T17:38:52.849Z] + . [2023-01-10T17:38:52.849Z] -> Found 1 reports [2023-01-10T17:38:52.849Z] ==> Detecting git/mercurial file structure [2023-01-10T17:38:53.109Z] ==> Reading reports [2023-01-10T17:38:53.109Z] + ./coverage.out bytes=44128 [2023-01-10T17:38:53.109Z] ==> Appending adjustments [2023-01-10T17:38:53.109Z] https://docs.codecov.io/docs/fixing-reports [2023-01-10T17:38:53.109Z] + Found adjustments [2023-01-10T17:38:53.109Z] ==> Gzipping contents [2023-01-10T17:38:53.109Z] 8.0K /tmp/codecov.O5M3cs.gz [2023-01-10T17:38:53.109Z] ==> Uploading reports [2023-01-10T17:38:53.109Z] url: https://codecov.io [2023-01-10T17:38:53.109Z] query: branch=PR-325&commit=946ed762a057ea4ec7c2ec6c9e229f9c30f3dbae&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-325%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=325&job=&cmd_args= [2023-01-10T17:38:53.109Z] -> Pinging Codecov [2023-01-10T17:38:53.109Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-325&commit=946ed762a057ea4ec7c2ec6c9e229f9c30f3dbae&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-325%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=325&job=&cmd_args= [2023-01-10T17:38:53.679Z] -> Uploading to [2023-01-10T17:38:53.679Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-10/5E52B4B073DB2E39498172D8E973AA87/946ed762a057ea4ec7c2ec6c9e229f9c30f3dbae/0c79d55f-199d-476b-936d-ddae7489a5a0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230110%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230110T173853Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c846d45539a4063cbc3f0a71872ee3648a54345156c7f679c07f109f2b71f402 [2023-01-10T17:38:53.679Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-10T17:38:53.679Z] Dload Upload Total Spent Left Speed [2023-01-10T17:38:53.938Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5465 0 0 100 5465 0 24728 --:--:-- --:--:-- --:--:-- 24617 100 5465 0 0 100 5465 0 21947 --:--:-- --:--:-- --:--:-- 21860 [2023-01-10T17:38:53.938Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/946ed762a057ea4ec7c2ec6c9e229f9c30f3dbae [Pipeline] } [2023-01-10T17:38:53.966Z] 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-01-10T17:38:55.857Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-325/archives ] [2023-01-10T17:38:55.857Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-325/archives [2023-01-10T17:38:55.857Z] total 16 [2023-01-10T17:38:55.857Z] drwxr-xr-x 3 root root 4096 Jan 10 17:32 . [2023-01-10T17:38:55.857Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 10 17:32 .. [2023-01-10T17:38:55.857Z] drwxr-xr-x 2 root root 4096 Jan 10 17:32 cost [2023-01-10T17:38:55.857Z] -rw-r--r-- 1 root root 89 Jan 10 17:32 cost.csv [2023-01-10T17:38:55.857Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-325/archives [2023-01-10T17:38:55.857Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-325/archives [2023-01-10T17:38:55.857Z] total 16 [2023-01-10T17:38:55.857Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 10 17:32 . [2023-01-10T17:38:55.857Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 10 17:32 .. [2023-01-10T17:38:55.857Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 10 17:32 cost [2023-01-10T17:38:55.857Z] -rw-r--r-- 1 jenkins jenkins 89 Jan 10 17:32 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-10T17:38:56.193Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T17:38:57.091Z] ---> package-listing.sh [2023-01-10T17:38:57.091Z] ++ facter osfamily [2023-01-10T17:38:57.091Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-10T17:38:57.355Z] + OS_FAMILY=debian [2023-01-10T17:38:57.355Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-325 [2023-01-10T17:38:57.355Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-10T17:38:57.355Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-10T17:38:57.355Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-10T17:38:57.355Z] + PACKAGES=/tmp/packages_start.txt [2023-01-10T17:38:57.355Z] + '[' /w/workspace/foundry_device-virtual-go_PR-325 ']' [2023-01-10T17:38:57.355Z] + PACKAGES=/tmp/packages_end.txt [2023-01-10T17:38:57.355Z] + case "${OS_FAMILY}" in [2023-01-10T17:38:57.355Z] + dpkg -l [2023-01-10T17:38:57.355Z] + grep '^ii' [2023-01-10T17:38:57.355Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-10T17:38:57.355Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-10T17:38:57.355Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-10T17:38:57.355Z] + '[' /w/workspace/foundry_device-virtual-go_PR-325 ']' [2023-01-10T17:38:57.355Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-325/archives/ [2023-01-10T17:38:57.355Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-325/archives/ [Pipeline] echo [2023-01-10T17:38:57.387Z] 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-325/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-10T17:38:57.678Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T17:38:58.306Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-10T17:38:58.307Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T17:38:58.443Z] prd-ubuntu20.04-docker-8c-8g-1608 does not seem to be running inside a container [2023-01-10T17:38:58.469Z] $ 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-325/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-325 -v /w/workspace/foundry_device-virtual-go_PR-325:/w/workspace/foundry_device-virtual-go_PR-325:rw,z -v /w/workspace/foundry_device-virtual-go_PR-325@tmp:/w/workspace/foundry_device-virtual-go_PR-325@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-10T17:38:58.659Z] $ docker top ecf13e000b8b63077b343ddb0924394dfe26e1ddd3941033e9b83bc0fc6dc150 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T17:38:59.066Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-10T17:38:59.379Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-10T17:38:59.694Z] + ls /var/log/sa-host [2023-01-10T17:38:59.694Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-10T17:38:59.831Z] provisioning config files... [2023-01-10T17:38:59.840Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-325@tmp/config538134883282399707tmp [Pipeline] { [Pipeline] echo [2023-01-10T17:38:59.894Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T17:39:00.204Z] ---> create-netrc.sh [Pipeline] } [2023-01-10T17:39:00.230Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-10T17:39:00.649Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-10T17:39:00.689Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T17:39:00.998Z] ---> sudo-logs.sh [2023-01-10T17:39:00.998Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-10T17:39:01.081Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T17:39:01.388Z] ---> job-cost.sh [2023-01-10T17:39:01.388Z] lf-activate-venv: SKIPPING [2023-01-10T17:39:01.388Z] DEBUG: total: 0.2199999988079071 [2023-01-10T17:39:01.388Z] INFO: Retrieving Stack Cost... [2023-01-10T17:39:01.955Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-10T17:39:02.218Z] INFO: Archiving Costs [Pipeline] echo [2023-01-10T17:39:02.255Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T17:39:02.566Z] ---> logs-deploy.sh [2023-01-10T17:39:02.567Z] lf-activate-venv: SKIPPING [2023-01-10T17:39:02.567Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-325/1 [2023-01-10T17:39:02.567Z] INFO: archiving workspace using pattern(s): [2023-01-10T17:39:03.502Z] Archives upload complete. [2023-01-10T17:39:03.502Z] INFO: archiving logs to Nexus