Pull request #357 updated 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 534be7e9947ab3d2b528f5dbda3d9981fc79b4ba+3f1e673898a8ef42faca444c63d377d06123e36f (3a6e25e49e7fd4cbcd39fdfcc294658ab3a0b554) 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-ssh6268582570103428902.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh5211151776462588997.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 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-357/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-357/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6965790936400243297.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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 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-ssh13941022765970816192.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-357/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-357/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11030473209611620815.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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.20 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 ‘prd-ubuntu20.04-docker-8c-8g-284’ is offline Running on prd-ubuntu20.04-docker-8c-8g-287 in /w/workspace/foundry_device-virtual-go_PR-357 [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-357 # 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/357/head:refs/remotes/origin/PR-357 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 3f1e673898a8ef42faca444c63d377d06123e36f into PR head commit 534be7e9947ab3d2b528f5dbda3d9981fc79b4ba Merge succeeded, producing 534be7e9947ab3d2b528f5dbda3d9981fc79b4ba Checking out Revision 534be7e9947ab3d2b528f5dbda3d9981fc79b4ba (PR-357) > git config core.sparsecheckout # timeout=10 > git checkout -f 534be7e9947ab3d2b528f5dbda3d9981fc79b4ba # 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 3f1e673898a8ef42faca444c63d377d06123e36f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 534be7e9947ab3d2b528f5dbda3d9981fc79b4ba # timeout=10 Commit message: "build: Update to Go 1.20, Alpine 3.17 and linter v1.51.2" First time build. Skipping changelog. > git rev-list --no-walk 9efc7b2b7bd1d0993a61348fb13ab7dcdc975e33 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-14T23:53:21.833Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-14T23:53:21.892Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-14T23:53:21.915Z] ========================================================= [2023-03-14T23:53:21.915Z] EdgeX Global Pipelines Version Info [2023-03-14T23:53:21.915Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-14T23:53:22.635Z] ------------------- [2023-03-14T23:53:22.635Z] stable info: [2023-03-14T23:53:22.635Z] ------------------- [2023-03-14T23:53:22.635Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-14T23:53:22.635Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-14T23:53:22.635Z] Message: update stable to v1.0.245 [2023-03-14T23:53:23.206Z] ------------------- [2023-03-14T23:53:23.206Z] experimental info: [2023-03-14T23:53:23.206Z] ------------------- [2023-03-14T23:53:23.206Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-14T23:53:23.206Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-14T23:53:23.206Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-14T23:53:23.371Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2023-03-14T23:53:23.384Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2023-03-14T23:53:23.401Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-14T23:53:23.418Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-14T23:53:23.435Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-14T23:53:23.444Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-14T23:53:23.458Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-14T23:53:23.470Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-14T23:53:23.488Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-14T23:53:23.502Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-14T23:53:23.514Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-14T23:53:23.528Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2023-03-14T23:53:23.538Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-14T23:53:23.550Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-14T23:53:23.563Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-14T23:53:23.574Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-14T23:53:23.586Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-14T23:53:23.601Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-14T23:53:23.613Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-14T23:53:23.623Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-14T23:53:23.631Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-14T23:53:23.640Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-14T23:53:23.649Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-14T23:53:23.658Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-14T23:53:23.667Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-14T23:53:23.676Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-14T23:53:23.684Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-14T23:53:23.693Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-357 [Pipeline] echo [2023-03-14T23:53:23.701Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-357 [Pipeline] echo [2023-03-14T23:53:23.710Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-357 [Pipeline] echo [2023-03-14T23:53:23.718Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 534be7e9947ab3d2b528f5dbda3d9981fc79b4ba [Pipeline] echo [2023-03-14T23:53:23.726Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 534be7e [Pipeline] echo [2023-03-14T23:53:23.735Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-14T23:53:23.777Z] provisioning config files... [2023-03-14T23:53:23.793Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-357@tmp/config16267144349565369426tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T23:53:24.093Z] ---> docker-login.sh [2023-03-14T23:53:24.093Z] nexus3.edgexfoundry.org:10001 [2023-03-14T23:53:24.354Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T23:53:24.354Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T23:53:24.354Z] Configure a credential helper to remove this warning. See [2023-03-14T23:53:24.354Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T23:53:24.354Z] [2023-03-14T23:53:24.354Z] Login Succeeded [2023-03-14T23:53:24.354Z] nexus3.edgexfoundry.org:10002 [2023-03-14T23:53:24.354Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T23:53:24.354Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T23:53:24.354Z] Configure a credential helper to remove this warning. See [2023-03-14T23:53:24.354Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T23:53:24.354Z] [2023-03-14T23:53:24.354Z] Login Succeeded [2023-03-14T23:53:24.354Z] nexus3.edgexfoundry.org:10003 [2023-03-14T23:53:24.614Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T23:53:24.614Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T23:53:24.614Z] Configure a credential helper to remove this warning. See [2023-03-14T23:53:24.614Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T23:53:24.614Z] [2023-03-14T23:53:24.614Z] Login Succeeded [2023-03-14T23:53:24.614Z] nexus3.edgexfoundry.org:10004 [2023-03-14T23:53:24.614Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T23:53:24.614Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T23:53:24.614Z] Configure a credential helper to remove this warning. See [2023-03-14T23:53:24.614Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T23:53:24.614Z] [2023-03-14T23:53:24.614Z] Login Succeeded [2023-03-14T23:53:24.614Z] docker.io [2023-03-14T23:53:24.874Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T23:53:24.874Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T23:53:24.874Z] Configure a credential helper to remove this warning. See [2023-03-14T23:53:24.874Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T23:53:24.874Z] [2023-03-14T23:53:24.874Z] Login Succeeded [2023-03-14T23:53:24.874Z] ---> docker-login.sh ends [Pipeline] } [2023-03-14T23:53:24.882Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-14T23:53:25.231Z] + git rev-list -1 --merges 534be7e9947ab3d2b528f5dbda3d9981fc79b4ba~1..534be7e9947ab3d2b528f5dbda3d9981fc79b4ba [Pipeline] echo [2023-03-14T23:53:25.282Z] -----------> git rev-list -1 --merges 534be7e9947ab3d2b528f5dbda3d9981fc79b4ba~1..534be7e9947ab3d2b528f5dbda3d9981fc79b4ba 534be7e9947ab3d2b528f5dbda3d9981fc79b4ba [false] [Pipeline] sh [2023-03-14T23:53:25.570Z] + git log --format=format:%s -1 534be7e9947ab3d2b528f5dbda3d9981fc79b4ba [Pipeline] echo [2023-03-14T23:53:25.584Z] ========================================================= [2023-03-14T23:53:25.584Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-14T23:53:25.584Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-14T23:53:25.895Z] + git log --format=format:%s -1 534be7e9947ab3d2b528f5dbda3d9981fc79b4ba [Pipeline] echo [2023-03-14T23:53:25.904Z] [semverPrep] GIT_COMMIT: 534be7e9947ab3d2b528f5dbda3d9981fc79b4ba, Commit Message: build: Update to Go 1.20, Alpine 3.17 and linter v1.51.2 [Pipeline] echo [2023-03-14T23:53:25.912Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-14T23:53:26.253Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-14T23:53:26.253Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-14T23:53:26.253Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-14T23:53:26.253Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-14T23:53:26.253Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-14T23:53:26.253Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-14T23:53:26.253Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T23:53:26.603Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-14T23:53:26.603Z] [2023-03-14T23:53:26.603Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T23:53:26.904Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-14T23:53:26.904Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-14T23:53:26.904Z] b85a868b505f: Pulling fs layer [2023-03-14T23:53:26.904Z] e2be974225ed: Pulling fs layer [2023-03-14T23:53:26.904Z] 339a4e72a1f5: Pulling fs layer [2023-03-14T23:53:26.904Z] 988bab9f4d93: Pulling fs layer [2023-03-14T23:53:26.904Z] 1469e6f7b9e6: Pulling fs layer [2023-03-14T23:53:26.904Z] eaf3925da568: Pulling fs layer [2023-03-14T23:53:26.904Z] bab4dde63d76: Pulling fs layer [2023-03-14T23:53:26.904Z] bde34c3a00c8: Pulling fs layer [2023-03-14T23:53:26.904Z] b352a97aabf1: Pulling fs layer [2023-03-14T23:53:26.904Z] 4872d77fe225: Pulling fs layer [2023-03-14T23:53:26.904Z] 5851b861e8e6: Pulling fs layer [2023-03-14T23:53:26.904Z] bde34c3a00c8: Waiting [2023-03-14T23:53:26.904Z] 988bab9f4d93: Waiting [2023-03-14T23:53:26.904Z] eaf3925da568: Waiting [2023-03-14T23:53:26.904Z] 1469e6f7b9e6: Waiting [2023-03-14T23:53:26.904Z] b352a97aabf1: Waiting [2023-03-14T23:53:26.904Z] 4872d77fe225: Waiting [2023-03-14T23:53:26.904Z] e2be974225ed: Download complete [2023-03-14T23:53:26.904Z] 988bab9f4d93: Verifying Checksum [2023-03-14T23:53:26.904Z] 988bab9f4d93: Download complete [2023-03-14T23:53:27.163Z] 1469e6f7b9e6: Verifying Checksum [2023-03-14T23:53:27.163Z] 1469e6f7b9e6: Download complete [2023-03-14T23:53:27.163Z] eaf3925da568: Verifying Checksum [2023-03-14T23:53:27.163Z] eaf3925da568: Download complete [2023-03-14T23:53:27.163Z] 339a4e72a1f5: Verifying Checksum [2023-03-14T23:53:27.163Z] 339a4e72a1f5: Download complete [2023-03-14T23:53:27.163Z] bde34c3a00c8: Verifying Checksum [2023-03-14T23:53:27.163Z] bde34c3a00c8: Download complete [2023-03-14T23:53:27.163Z] b352a97aabf1: Verifying Checksum [2023-03-14T23:53:27.163Z] b352a97aabf1: Download complete [2023-03-14T23:53:27.163Z] 4872d77fe225: Download complete [2023-03-14T23:53:27.163Z] 5851b861e8e6: Verifying Checksum [2023-03-14T23:53:27.163Z] 5851b861e8e6: Download complete [2023-03-14T23:53:27.163Z] b85a868b505f: Verifying Checksum [2023-03-14T23:53:27.163Z] b85a868b505f: Download complete [2023-03-14T23:53:27.423Z] bab4dde63d76: Verifying Checksum [2023-03-14T23:53:27.423Z] bab4dde63d76: Download complete [2023-03-14T23:53:28.363Z] b85a868b505f: Pull complete [2023-03-14T23:53:28.622Z] e2be974225ed: Pull complete [2023-03-14T23:53:29.192Z] 339a4e72a1f5: Pull complete [2023-03-14T23:53:29.192Z] 988bab9f4d93: Pull complete [2023-03-14T23:53:29.454Z] 1469e6f7b9e6: Pull complete [2023-03-14T23:53:29.715Z] eaf3925da568: Pull complete [2023-03-14T23:53:31.634Z] bab4dde63d76: Pull complete [2023-03-14T23:53:31.634Z] bde34c3a00c8: Pull complete [2023-03-14T23:53:31.634Z] b352a97aabf1: Pull complete [2023-03-14T23:53:31.895Z] 4872d77fe225: Pull complete [2023-03-14T23:53:31.895Z] 5851b861e8e6: Pull complete [2023-03-14T23:53:31.895Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-14T23:53:31.895Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-14T23:53:31.895Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T23:53:31.988Z] prd-ubuntu20.04-docker-8c-8g-287 does not seem to be running inside a container [2023-03-14T23:53:32.007Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-357 -v /w/workspace/foundry_device-virtual-go_PR-357:/w/workspace/foundry_device-virtual-go_PR-357:rw,z -v /w/workspace/foundry_device-virtual-go_PR-357@tmp:/w/workspace/foundry_device-virtual-go_PR-357@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-devops/py-git-semver:0.1.4 cat [2023-03-14T23:53:33.577Z] $ docker top 8a4d480e82b9e1d3dcef9394957843058e2881d8132969ae6d06fb0ed0c382f1 -eo pid,comm [2023-03-14T23:53:33.651Z] 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-03-14T23:53:33.651Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-14T23:53:33.694Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-14T23:53:33.694Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-14T23:53:33.809Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-14T23:53:33.800Z] $ docker exec 8a4d480e82b9e1d3dcef9394957843058e2881d8132969ae6d06fb0ed0c382f1 ssh-agent [2023-03-14T23:53:33.922Z] SSH_AUTH_SOCK=/tmp/ssh-Ebk6959ssXqa/agent.32 [2023-03-14T23:53:33.922Z] SSH_AGENT_PID=38 [2023-03-14T23:53:33.928Z] Running ssh-add (command line suppressed) [2023-03-14T23:53:34.018Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-357@tmp/private_key_13361034779841561415.key (/w/workspace/foundry_device-virtual-go_PR-357@tmp/private_key_13361034779841561415.key) [2023-03-14T23:53:34.044Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-14T23:53:34.397Z] + git tag --points-at HEAD [Pipeline] } [2023-03-14T23:53:34.400Z] $ docker exec --env ******** --env ******** 8a4d480e82b9e1d3dcef9394957843058e2881d8132969ae6d06fb0ed0c382f1 ssh-agent -k [2023-03-14T23:53:34.501Z] unset SSH_AUTH_SOCK; [2023-03-14T23:53:34.502Z] unset SSH_AGENT_PID; [2023-03-14T23:53:34.502Z] echo Agent pid 38 killed; [2023-03-14T23:53:34.523Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-14T23:53:34.544Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-14T23:53:34.545Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-14T23:53:34.667Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-14T23:53:34.658Z] $ docker exec 8a4d480e82b9e1d3dcef9394957843058e2881d8132969ae6d06fb0ed0c382f1 ssh-agent [2023-03-14T23:53:34.779Z] SSH_AUTH_SOCK=/tmp/ssh-sMI9Abcqt9iu/agent.71 [2023-03-14T23:53:34.779Z] SSH_AGENT_PID=77 [2023-03-14T23:53:34.783Z] Running ssh-add (command line suppressed) [2023-03-14T23:53:34.877Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-357@tmp/private_key_5102493580580263131.key (/w/workspace/foundry_device-virtual-go_PR-357@tmp/private_key_5102493580580263131.key) [2023-03-14T23:53:34.905Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-14T23:53:35.193Z] + git semver init [2023-03-14T23:53:35.453Z] 2023-03-14 23:53:35,374 [run_init] DEBUG init version:0.0.0 force:False [2023-03-14T23:53:35.453Z] 2023-03-14 23:53:35,375 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-357/.semver [2023-03-14T23:53:35.453Z] 2023-03-14 23:53:35,375 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-357/.semver [2023-03-14T23:53:35.453Z] 2023-03-14 23:53:35,376 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-357/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-357, universal_newlines=False, shell=None, istream=None) [2023-03-14T23:53:36.831Z] 2023-03-14 23:53:36,397 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-357/.git/info/exclude [2023-03-14T23:53:36.831Z] 2023-03-14 23:53:36,398 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-357/.semver/PR-357 with force:False [2023-03-14T23:53:36.831Z] 2023-03-14 23:53:36,398 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-357/.semver/PR-357 [2023-03-14T23:53:36.831Z] 2023-03-14 23:53:36,402 [execute] INFO git cat-file --batch-check [2023-03-14T23:53:36.831Z] 2023-03-14 23:53:36,403 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-357/.semver, universal_newlines=False, shell=None, istream=) [2023-03-14T23:53:36.831Z] 2023-03-14 23:53:36,409 [execute] INFO git cat-file --batch [2023-03-14T23:53:36.831Z] 2023-03-14 23:53:36,410 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-357/.semver, universal_newlines=False, shell=None, istream=) [2023-03-14T23:53:36.831Z] 2023-03-14 23:53:36,415 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-357/.semver/PR-357 [2023-03-14T23:53:36.831Z] 0.0.0 [Pipeline] } [2023-03-14T23:53:36.832Z] $ docker exec --env ******** --env ******** 8a4d480e82b9e1d3dcef9394957843058e2881d8132969ae6d06fb0ed0c382f1 ssh-agent -k [2023-03-14T23:53:36.935Z] unset SSH_AUTH_SOCK; [2023-03-14T23:53:36.936Z] unset SSH_AGENT_PID; [2023-03-14T23:53:36.936Z] echo Agent pid 77 killed; [2023-03-14T23:53:36.957Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-14T23:53:37.262Z] + git semver [Pipeline] } [2023-03-14T23:53:37.524Z] $ docker stop --time=1 8a4d480e82b9e1d3dcef9394957843058e2881d8132969ae6d06fb0ed0c382f1 [2023-03-14T23:53:38.864Z] $ docker rm -f --volumes 8a4d480e82b9e1d3dcef9394957843058e2881d8132969ae6d06fb0ed0c382f1 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-14T23:53:39.212Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-14T23:53:39.419Z] Stashed 1 file(s) [Pipeline] echo [2023-03-14T23:53:39.422Z] [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-03-14T23:53:39.511Z] provisioning config files... [2023-03-14T23:53:39.521Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-357@tmp/config308600665053614528tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T23:53:39.815Z] ---> docker-login.sh [2023-03-14T23:53:39.815Z] nexus3.edgexfoundry.org:10001 [2023-03-14T23:53:39.815Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T23:53:39.815Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T23:53:39.815Z] Configure a credential helper to remove this warning. See [2023-03-14T23:53:39.815Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T23:53:39.815Z] [2023-03-14T23:53:39.815Z] Login Succeeded [2023-03-14T23:53:39.815Z] nexus3.edgexfoundry.org:10002 [2023-03-14T23:53:39.815Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T23:53:39.815Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T23:53:39.815Z] Configure a credential helper to remove this warning. See [2023-03-14T23:53:39.815Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T23:53:39.815Z] [2023-03-14T23:53:39.815Z] Login Succeeded [2023-03-14T23:53:40.074Z] nexus3.edgexfoundry.org:10003 [2023-03-14T23:53:40.074Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T23:53:40.074Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T23:53:40.074Z] Configure a credential helper to remove this warning. See [2023-03-14T23:53:40.074Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T23:53:40.074Z] [2023-03-14T23:53:40.074Z] Login Succeeded [2023-03-14T23:53:40.074Z] nexus3.edgexfoundry.org:10004 [2023-03-14T23:53:40.074Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T23:53:40.074Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T23:53:40.074Z] Configure a credential helper to remove this warning. See [2023-03-14T23:53:40.074Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T23:53:40.074Z] [2023-03-14T23:53:40.074Z] Login Succeeded [2023-03-14T23:53:40.074Z] docker.io [2023-03-14T23:53:40.335Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T23:53:40.335Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T23:53:40.335Z] Configure a credential helper to remove this warning. See [2023-03-14T23:53:40.335Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T23:53:40.335Z] [2023-03-14T23:53:40.335Z] Login Succeeded [2023-03-14T23:53:40.335Z] ---> docker-login.sh ends [Pipeline] } [2023-03-14T23:53:40.342Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-14T23:53:40.395Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-14T23:53:40.405Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-14T23:53:40.411Z] ========================================================= [2023-03-14T23:53:40.411Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-14T23:53:40.411Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T23:53:40.728Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-14T23:53:40.728Z] Sending build context to Docker daemon 23.46MB [2023-03-14T23:53:40.728Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-14T23:53:40.728Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-14T23:53:40.987Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-14T23:53:40.987Z] 63b65145d645: Pulling fs layer [2023-03-14T23:53:40.987Z] a2d21d5440eb: Pulling fs layer [2023-03-14T23:53:40.987Z] 935e6c44a52c: Pulling fs layer [2023-03-14T23:53:40.987Z] 94cc34f8dd06: Pulling fs layer [2023-03-14T23:53:40.987Z] 30dea6a524f1: Pulling fs layer [2023-03-14T23:53:40.987Z] a2aff8979fd8: Pulling fs layer [2023-03-14T23:53:40.987Z] 6808be2612f2: Pulling fs layer [2023-03-14T23:53:40.987Z] f25807f1079a: Pulling fs layer [2023-03-14T23:53:40.987Z] 30dea6a524f1: Waiting [2023-03-14T23:53:40.987Z] 94cc34f8dd06: Waiting [2023-03-14T23:53:40.987Z] f25807f1079a: Waiting [2023-03-14T23:53:40.987Z] a2aff8979fd8: Waiting [2023-03-14T23:53:40.987Z] 6808be2612f2: Waiting [2023-03-14T23:53:40.987Z] a2d21d5440eb: Verifying Checksum [2023-03-14T23:53:40.987Z] a2d21d5440eb: Download complete [2023-03-14T23:53:40.987Z] 94cc34f8dd06: Download complete [2023-03-14T23:53:40.987Z] 30dea6a524f1: Download complete [2023-03-14T23:53:40.987Z] 63b65145d645: Download complete [2023-03-14T23:53:40.987Z] a2aff8979fd8: Verifying Checksum [2023-03-14T23:53:40.987Z] a2aff8979fd8: Download complete [2023-03-14T23:53:41.248Z] 63b65145d645: Pull complete [2023-03-14T23:53:41.248Z] a2d21d5440eb: Pull complete [2023-03-14T23:53:41.511Z] f25807f1079a: Verifying Checksum [2023-03-14T23:53:41.511Z] f25807f1079a: Download complete [2023-03-14T23:53:41.770Z] 935e6c44a52c: Verifying Checksum [2023-03-14T23:53:41.770Z] 935e6c44a52c: Download complete [2023-03-14T23:53:41.770Z] 6808be2612f2: Verifying Checksum [2023-03-14T23:53:41.770Z] 6808be2612f2: Download complete [2023-03-14T23:53:45.059Z] 935e6c44a52c: Pull complete [2023-03-14T23:53:45.059Z] 94cc34f8dd06: Pull complete [2023-03-14T23:53:45.317Z] 30dea6a524f1: Pull complete [2023-03-14T23:53:45.317Z] a2aff8979fd8: Pull complete [2023-03-14T23:53:47.846Z] 6808be2612f2: Pull complete [2023-03-14T23:53:48.785Z] f25807f1079a: Pull complete [2023-03-14T23:53:48.785Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-14T23:53:48.785Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-14T23:53:48.785Z] ---> 3b553350e43f [2023-03-14T23:53:48.785Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-14T23:53:50.689Z] ---> Running in 396ddc1818e1 [2023-03-14T23:53:50.689Z] Removing intermediate container 396ddc1818e1 [2023-03-14T23:53:50.689Z] ---> c1c923987370 [2023-03-14T23:53:50.690Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-14T23:53:50.690Z] ---> Running in 6bd376409dce [2023-03-14T23:53:50.948Z] Removing intermediate container 6bd376409dce [2023-03-14T23:53:50.948Z] ---> 58b6f4dd5ac4 [2023-03-14T23:53:50.948Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-03-14T23:53:50.948Z] ---> Running in 9cd53dbaf68c [2023-03-14T23:53:50.948Z] Removing intermediate container 9cd53dbaf68c [2023-03-14T23:53:50.948Z] ---> 83f090fd33e4 [2023-03-14T23:53:50.948Z] Step 6/12 : WORKDIR /device-virtual-go [2023-03-14T23:53:50.948Z] ---> Running in 1f155bfe58ce [2023-03-14T23:53:51.206Z] Removing intermediate container 1f155bfe58ce [2023-03-14T23:53:51.206Z] ---> 6798fbb27d34 [2023-03-14T23:53:51.206Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-14T23:53:51.206Z] ---> Running in e9662e9aa25e [2023-03-14T23:53:51.464Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-14T23:53:51.721Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-14T23:53:51.721Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-14T23:53:51.721Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-14T23:53:51.721Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-14T23:53:51.721Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-14T23:53:51.980Z] Executing busybox-1.35.0-r29.trigger [2023-03-14T23:53:51.980Z] OK: 269 MiB in 57 packages [2023-03-14T23:53:52.548Z] Removing intermediate container e9662e9aa25e [2023-03-14T23:53:52.548Z] ---> 45ac650c9f67 [2023-03-14T23:53:52.548Z] Step 8/12 : COPY go.mod vendor* ./ [2023-03-14T23:53:52.548Z] ---> b706b794e246 [2023-03-14T23:53:52.548Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-14T23:53:52.548Z] ---> Running in 4c1483a49a91 [2023-03-14T23:53:54.487Z] Still waiting to schedule task [2023-03-14T23:53:54.487Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-285’ is offline [2023-03-14T23:54:19.109Z] Removing intermediate container 4c1483a49a91 [2023-03-14T23:54:19.109Z] ---> 20d4c4028c41 [2023-03-14T23:54:19.109Z] Step 10/12 : COPY . . [2023-03-14T23:54:19.109Z] ---> f0b9fc30444e [2023-03-14T23:54:19.109Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-14T23:54:19.109Z] ---> Running in b10017a22594 [2023-03-14T23:54:19.109Z] Removing intermediate container b10017a22594 [2023-03-14T23:54:19.109Z] ---> fe52edd621c2 [2023-03-14T23:54:19.109Z] Step 12/12 : RUN $MAKE [2023-03-14T23:54:19.109Z] ---> Running in 84e01617b65a [2023-03-14T23:54:19.109Z] noop [2023-03-14T23:54:19.109Z] Removing intermediate container 84e01617b65a [2023-03-14T23:54:19.109Z] ---> 1c1d788571f5 [2023-03-14T23:54:19.109Z] Successfully built 1c1d788571f5 [2023-03-14T23:54:19.109Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T23:54:19.425Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-14T23:54:19.425Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T23:54:19.492Z] prd-ubuntu20.04-docker-8c-8g-287 does not seem to be running inside a container [2023-03-14T23:54:19.529Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-357 -v /w/workspace/foundry_device-virtual-go_PR-357:/w/workspace/foundry_device-virtual-go_PR-357:rw,z -v /w/workspace/foundry_device-virtual-go_PR-357@tmp:/w/workspace/foundry_device-virtual-go_PR-357@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-14T23:54:20.127Z] $ docker top 63444ec9cb4ac5978aca0b9601f19f6d03788fd77a40ae2628b05e87efb9a59b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T23:54:20.468Z] + go version [2023-03-14T23:54:20.468Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-14T23:54:20.488Z] $ docker stop --time=1 63444ec9cb4ac5978aca0b9601f19f6d03788fd77a40ae2628b05e87efb9a59b [2023-03-14T23:54:21.801Z] $ docker rm -f --volumes 63444ec9cb4ac5978aca0b9601f19f6d03788fd77a40ae2628b05e87efb9a59b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T23:54:22.188Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-14T23:54:22.188Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T23:54:22.271Z] prd-ubuntu20.04-docker-8c-8g-287 does not seem to be running inside a container [2023-03-14T23:54:22.308Z] $ 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-357 -v /w/workspace/foundry_device-virtual-go_PR-357:/w/workspace/foundry_device-virtual-go_PR-357:rw,z -v /w/workspace/foundry_device-virtual-go_PR-357@tmp:/w/workspace/foundry_device-virtual-go_PR-357@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-14T23:54:22.705Z] $ docker top 84c064b0bc5c776d7338f29a06c02ce6e2d8eaad00b1e536fe2ab803b1653da1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T23:54:23.041Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-357 [Pipeline] fileExists [Pipeline] sh [2023-03-14T23:54:23.335Z] + make test [2023-03-14T23:54:23.335Z] go test ./... -coverprofile=coverage.out [2023-03-14T23:54:28.600Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-03-14T23:54:38.566Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-03-14T23:54:38.824Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.034s coverage: 65.7% of statements [2023-03-14T23:54:46.949Z] go vet ./... [2023-03-14T23:54:49.484Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-14T23:54:49.484Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-14T23:54:49.484Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-14T23:54:49.754Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-14T23:54:49.774Z] $ docker stop --time=1 84c064b0bc5c776d7338f29a06c02ce6e2d8eaad00b1e536fe2ab803b1653da1 [2023-03-14T23:54:51.831Z] $ docker rm -f --volumes 84c064b0bc5c776d7338f29a06c02ce6e2d8eaad00b1e536fe2ab803b1653da1 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-14T23:54:52.276Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-14T23:54:52.349Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-14T23:54:52.758Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-14T23:54:53.046Z] + ls -al . [2023-03-14T23:54:53.047Z] total 192 [2023-03-14T23:54:53.047Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 14 23:54 . [2023-03-14T23:54:53.047Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 23:53 .. [2023-03-14T23:54:53.047Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 14 23:53 .git [2023-03-14T23:54:53.047Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 23:53 .github [2023-03-14T23:54:53.047Z] -rw-rw-r-- 1 jenkins jenkins 337 Mar 14 23:53 .gitignore [2023-03-14T23:54:53.047Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 14 23:53 .golangci.yml [2023-03-14T23:54:53.047Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 14 23:53 .semver [2023-03-14T23:54:53.047Z] -rw-rw-r-- 1 jenkins jenkins 8641 Mar 14 23:53 Attribution.txt [2023-03-14T23:54:53.047Z] -rw-rw-r-- 1 jenkins jenkins 11367 Mar 14 23:53 CHANGELOG.md [2023-03-14T23:54:53.047Z] -rw-rw-r-- 1 jenkins jenkins 1646 Mar 14 23:53 Dockerfile [2023-03-14T23:54:53.047Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 14 23:53 GOVERNANCE.md [2023-03-14T23:54:53.047Z] -rw-rw-r-- 1 jenkins jenkins 660 Mar 14 23:53 Jenkinsfile [2023-03-14T23:54:53.047Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 14 23:53 LICENSE [2023-03-14T23:54:53.047Z] -rw-rw-r-- 1 jenkins jenkins 1696 Mar 14 23:53 Makefile [2023-03-14T23:54:53.047Z] -rw-rw-r-- 1 jenkins jenkins 623 Mar 14 23:53 OWNERS.md [2023-03-14T23:54:53.047Z] -rw-rw-r-- 1 jenkins jenkins 3578 Mar 14 23:53 README.md [2023-03-14T23:54:53.047Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 14 23:53 VERSION [2023-03-14T23:54:53.047Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 23:53 bin [2023-03-14T23:54:53.047Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 23:53 cmd [2023-03-14T23:54:53.047Z] -rw-r--r-- 1 jenkins jenkins 44311 Mar 14 23:54 coverage.out [2023-03-14T23:54:53.047Z] -rw-rw-r-- 1 jenkins jenkins 3253 Mar 14 23:53 go.mod [2023-03-14T23:54:53.047Z] -rw-rw-r-- 1 jenkins jenkins 30608 Mar 14 23:53 go.sum [2023-03-14T23:54:53.047Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 23:53 internal [2023-03-14T23:54:53.047Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 23:53 snap [2023-03-14T23:54:53.047Z] -rw-rw-r-- 1 jenkins jenkins 235 Mar 14 23:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T23:54:53.376Z] + 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=534be7e9947ab3d2b528f5dbda3d9981fc79b4ba --label arch=amd64 --label version=0.0.0 . [2023-03-14T23:54:53.376Z] Sending build context to Docker daemon 23.51MB [2023-03-14T23:54:53.376Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-03-14T23:54:53.376Z] Step 2/25 : FROM ${BASE} AS builder [2023-03-14T23:54:53.376Z] ---> 1c1d788571f5 [2023-03-14T23:54:53.376Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-14T23:54:53.634Z] ---> Running in dbcbba9a62d3 [2023-03-14T23:54:53.634Z] Removing intermediate container dbcbba9a62d3 [2023-03-14T23:54:53.634Z] ---> f84e4155ad38 [2023-03-14T23:54:53.634Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-03-14T23:54:53.634Z] ---> Running in e98170ec8461 [2023-03-14T23:54:53.892Z] Removing intermediate container e98170ec8461 [2023-03-14T23:54:53.892Z] ---> e6716d3cde89 [2023-03-14T23:54:53.892Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-03-14T23:54:53.892Z] ---> Running in 6e556766d8f8 [2023-03-14T23:54:53.892Z] Removing intermediate container 6e556766d8f8 [2023-03-14T23:54:53.892Z] ---> caef41998b27 [2023-03-14T23:54:53.892Z] Step 6/25 : WORKDIR /device-virtual-go [2023-03-14T23:54:53.892Z] ---> Running in de719f375b49 [2023-03-14T23:54:54.151Z] Removing intermediate container de719f375b49 [2023-03-14T23:54:54.151Z] ---> a8999652d8f8 [2023-03-14T23:54:54.151Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-14T23:54:54.151Z] ---> Running in f78c225972b4 [2023-03-14T23:54:54.412Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-14T23:54:54.673Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-14T23:54:54.932Z] OK: 269 MiB in 57 packages [2023-03-14T23:54:55.192Z] Removing intermediate container f78c225972b4 [2023-03-14T23:54:55.192Z] ---> 7a2fd863a88e [2023-03-14T23:54:55.192Z] Step 8/25 : COPY go.mod vendor* ./ [2023-03-14T23:54:55.452Z] ---> ac41e1d59ed9 [2023-03-14T23:54:55.452Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-14T23:54:55.452Z] ---> Running in d9968ff21151 [2023-03-14T23:54:56.388Z] Removing intermediate container d9968ff21151 [2023-03-14T23:54:56.388Z] ---> 6dac300ef769 [2023-03-14T23:54:56.388Z] Step 10/25 : COPY . . [2023-03-14T23:54:56.960Z] ---> f53cbc9d3098 [2023-03-14T23:54:56.960Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-14T23:54:56.960Z] ---> Running in 35e281f0af7d [2023-03-14T23:54:56.960Z] Removing intermediate container 35e281f0af7d [2023-03-14T23:54:56.960Z] ---> a6c5dc4b2538 [2023-03-14T23:54:56.960Z] Step 12/25 : RUN $MAKE [2023-03-14T23:54:56.960Z] ---> Running in 6acf06352082 [2023-03-14T23:54:57.527Z] 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-03-14T23:55:15.608Z] Removing intermediate container 6acf06352082 [2023-03-14T23:55:15.608Z] ---> ebb494cf74b2 [2023-03-14T23:55:15.608Z] Step 13/25 : FROM alpine:3.17 [2023-03-14T23:55:15.608Z] 3.17: Pulling from library/alpine [2023-03-14T23:55:15.608Z] 63b65145d645: Already exists [2023-03-14T23:55:15.608Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-14T23:55:15.608Z] Status: Downloaded newer image for alpine:3.17 [2023-03-14T23:55:15.609Z] ---> b2aa39c304c2 [2023-03-14T23:55:15.609Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-03-14T23:55:15.609Z] ---> Running in bfe43a2aedb6 [2023-03-14T23:55:15.609Z] Removing intermediate container bfe43a2aedb6 [2023-03-14T23:55:15.609Z] ---> d480f8e1fa1e [2023-03-14T23:55:15.609Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-03-14T23:55:15.609Z] ---> Running in 6f6f88867781 [2023-03-14T23:55:15.868Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-14T23:55:16.127Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-14T23:55:16.386Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-14T23:55:16.386Z] Executing busybox-1.35.0-r29.trigger [2023-03-14T23:55:16.387Z] OK: 7 MiB in 16 packages [2023-03-14T23:55:16.666Z] Removing intermediate container 6f6f88867781 [2023-03-14T23:55:16.666Z] ---> e13400db35c9 [2023-03-14T23:55:16.666Z] Step 16/25 : WORKDIR / [2023-03-14T23:55:16.925Z] ---> Running in d70d20f14310 [2023-03-14T23:55:16.925Z] Removing intermediate container d70d20f14310 [2023-03-14T23:55:16.925Z] ---> 249ffbb33f0f [2023-03-14T23:55:16.925Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-03-14T23:55:17.183Z] ---> ae084e5b0381 [2023-03-14T23:55:17.183Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-03-14T23:55:17.183Z] ---> 1a3dfba8c0f3 [2023-03-14T23:55:17.183Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-03-14T23:55:17.754Z] ---> 1b2c08a9fdde [2023-03-14T23:55:17.754Z] Step 20/25 : EXPOSE 59900 [2023-03-14T23:55:18.019Z] ---> Running in 0518ef743618 [2023-03-14T23:55:18.019Z] Removing intermediate container 0518ef743618 [2023-03-14T23:55:18.019Z] ---> 1822321ce9f9 [2023-03-14T23:55:18.019Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-03-14T23:55:18.019Z] ---> Running in 5ae1a10c3c94 [2023-03-14T23:55:18.279Z] Removing intermediate container 5ae1a10c3c94 [2023-03-14T23:55:18.279Z] ---> ceabefec9811 [2023-03-14T23:55:18.279Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-14T23:55:18.279Z] ---> Running in 1356865c19d1 [2023-03-14T23:55:18.279Z] Removing intermediate container 1356865c19d1 [2023-03-14T23:55:18.279Z] ---> 3ccf864b0cfe [2023-03-14T23:55:18.279Z] Step 23/25 : LABEL arch=amd64 [2023-03-14T23:55:18.279Z] ---> Running in 771d6265ae04 [2023-03-14T23:55:18.543Z] Removing intermediate container 771d6265ae04 [2023-03-14T23:55:18.543Z] ---> 9b47e3f50d93 [2023-03-14T23:55:18.543Z] Step 24/25 : LABEL git_sha=534be7e9947ab3d2b528f5dbda3d9981fc79b4ba [2023-03-14T23:55:18.543Z] ---> Running in 0998cfc83160 [2023-03-14T23:55:18.543Z] Removing intermediate container 0998cfc83160 [2023-03-14T23:55:18.543Z] ---> 6d2feff987aa [2023-03-14T23:55:18.543Z] Step 25/25 : LABEL version=0.0.0 [2023-03-14T23:55:18.543Z] ---> Running in 7cddf87e428a [2023-03-14T23:55:18.543Z] Removing intermediate container 7cddf87e428a [2023-03-14T23:55:18.543Z] ---> d016f9196ee1 [2023-03-14T23:55:18.543Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-14T23:55:18.803Z] Successfully built d016f9196ee1 [2023-03-14T23:55:18.803Z] 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-03-14T23:55:19.246Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-14T23:55:19.246Z] [2023-03-14T23:55:19.246Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T23:55:19.539Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-14T23:55:19.539Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-14T23:55:19.539Z] 5eb5b503b376: Pulling fs layer [2023-03-14T23:55:19.539Z] 5c69ac0246d0: Pulling fs layer [2023-03-14T23:55:19.539Z] ec43610c2a17: Pulling fs layer [2023-03-14T23:55:19.539Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-14T23:55:19.539Z] 33b1e0a273af: Pulling fs layer [2023-03-14T23:55:19.539Z] 5d3b04190fa2: Pulling fs layer [2023-03-14T23:55:19.539Z] 2f39f015ded8: Pulling fs layer [2023-03-14T23:55:19.539Z] 3a2ae6a8a46f: Waiting [2023-03-14T23:55:19.539Z] 33b1e0a273af: Waiting [2023-03-14T23:55:19.539Z] 2f39f015ded8: Waiting [2023-03-14T23:55:19.539Z] 5d3b04190fa2: Waiting [2023-03-14T23:55:19.539Z] 5c69ac0246d0: Download complete [2023-03-14T23:55:19.797Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-14T23:55:19.797Z] 3a2ae6a8a46f: Download complete [2023-03-14T23:55:19.797Z] 33b1e0a273af: Verifying Checksum [2023-03-14T23:55:19.797Z] 33b1e0a273af: Download complete [2023-03-14T23:55:19.797Z] 5d3b04190fa2: Verifying Checksum [2023-03-14T23:55:19.797Z] 5d3b04190fa2: Download complete [2023-03-14T23:55:19.797Z] ec43610c2a17: Verifying Checksum [2023-03-14T23:55:19.797Z] ec43610c2a17: Download complete [2023-03-14T23:55:19.797Z] 5eb5b503b376: Verifying Checksum [2023-03-14T23:55:19.797Z] 5eb5b503b376: Download complete [2023-03-14T23:55:20.734Z] 2f39f015ded8: Download complete [2023-03-14T23:55:21.303Z] 5eb5b503b376: Pull complete [2023-03-14T23:55:21.303Z] 5c69ac0246d0: Pull complete [2023-03-14T23:55:21.869Z] ec43610c2a17: Pull complete [2023-03-14T23:55:21.869Z] 3a2ae6a8a46f: Pull complete [2023-03-14T23:55:22.128Z] 33b1e0a273af: Pull complete [2023-03-14T23:55:22.128Z] 5d3b04190fa2: Pull complete [2023-03-14T23:55:26.315Z] 2f39f015ded8: Pull complete [2023-03-14T23:55:26.315Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-14T23:55:26.315Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-14T23:55:26.315Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T23:55:26.392Z] prd-ubuntu20.04-docker-8c-8g-287 does not seem to be running inside a container [2023-03-14T23:55:26.437Z] $ 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-357 -v /w/workspace/foundry_device-virtual-go_PR-357:/w/workspace/foundry_device-virtual-go_PR-357:rw,z -v /w/workspace/foundry_device-virtual-go_PR-357@tmp:/w/workspace/foundry_device-virtual-go_PR-357@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-14T23:55:28.333Z] $ docker top 2f35bb8e8406c294b7fdedcaea5f4440d6a3706cd5ac68b156dfee772febdfd5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T23:55:28.702Z] ---> job-cost.sh [2023-03-14T23:55:28.703Z] lf-activate-venv: SKIPPING [2023-03-14T23:55:28.703Z] INFO: No Stack... [2023-03-14T23:55:28.961Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-14T23:55:29.222Z] INFO: Archiving Costs [Pipeline] sh [2023-03-14T23:55:29.510Z] + cat /w/workspace/foundry_device-virtual-go_PR-357/archives/cost.csv [2023-03-14T23:55:29.511Z] + cut -d, -f6 [Pipeline] lock [2023-03-14T23:55:29.525Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-357-2-stack-cost] [2023-03-14T23:55:29.534Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-357-2-stack-cost] did not exist. Created. [2023-03-14T23:55:29.534Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-357-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-14T23:55:29.828Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-14T23:55:29.852Z] Stashed 1 file(s) [Pipeline] } [2023-03-14T23:55:29.858Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-357-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-14T23:55:29.881Z] $ docker stop --time=1 2f35bb8e8406c294b7fdedcaea5f4440d6a3706cd5ac68b156dfee772febdfd5 [2023-03-14T23:55:31.052Z] $ docker rm -f --volumes 2f35bb8e8406c294b7fdedcaea5f4440d6a3706cd5ac68b156dfee772febdfd5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-14T23:55:40.984Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-288 in /w/workspace/foundry_device-virtual-go_PR-357 [Pipeline] { [Pipeline] ws [2023-03-14T23:55:40.996Z] Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout [2023-03-14T23:55:41.059Z] The recommended git tool is: git [2023-03-14T23:55:51.386Z] using credential edgex-jenkins-ssh [2023-03-14T23:55:51.401Z] Cloning the remote Git repository [2023-03-14T23:55:51.512Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2023-03-14T23:55:51.635Z] > git init /w/workspace/device-virtual-go/2 # timeout=10 [2023-03-14T23:55:51.857Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-03-14T23:55:51.859Z] > git --version # timeout=10 [2023-03-14T23:55:51.887Z] > git --version # 'git version 2.25.1' [2023-03-14T23:55:51.890Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-14T23:55:52.085Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-14T23:55:54.223Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-03-14T23:55:54.257Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-14T23:55:55.833Z] Merging remotes/origin/main commit 3f1e673898a8ef42faca444c63d377d06123e36f into PR head commit 534be7e9947ab3d2b528f5dbda3d9981fc79b4ba [2023-03-14T23:55:56.110Z] Merge succeeded, producing 534be7e9947ab3d2b528f5dbda3d9981fc79b4ba [2023-03-14T23:55:56.111Z] Checking out Revision 534be7e9947ab3d2b528f5dbda3d9981fc79b4ba (PR-357) [2023-03-14T23:55:55.161Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-03-14T23:55:55.202Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-03-14T23:55:55.202Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-14T23:55:55.221Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/357/head:refs/remotes/origin/PR-357 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-14T23:55:55.850Z] > git config core.sparsecheckout # timeout=10 [2023-03-14T23:55:55.934Z] > git checkout -f 534be7e9947ab3d2b528f5dbda3d9981fc79b4ba # timeout=10 [2023-03-14T23:55:56.022Z] > git remote # timeout=10 [2023-03-14T23:55:56.043Z] > git config --get remote.origin.url # timeout=10 [2023-03-14T23:55:56.059Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-14T23:55:56.071Z] > git merge 3f1e673898a8ef42faca444c63d377d06123e36f # timeout=10 [2023-03-14T23:55:56.092Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-14T23:55:56.116Z] > git config core.sparsecheckout # timeout=10 [2023-03-14T23:55:56.131Z] > git checkout -f 534be7e9947ab3d2b528f5dbda3d9981fc79b4ba # timeout=10 [2023-03-14T23:55:59.587Z] Commit message: "build: Update to Go 1.20, Alpine 3.17 and linter v1.51.2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-14T23:56:00.790Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-14T23:56:00.790Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-14T23:56:00.790Z] Dload Upload Total Spent Left Speed [2023-03-14T23:56:00.790Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 95156 0 --:--:-- --:--:-- --:--:-- 95156 [Pipeline] sh [2023-03-14T23:56:01.434Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-14T23:56:01.760Z] + sudo tee /etc/docker/daemon.new [2023-03-14T23:56:01.761Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-14T23:56:01.761Z] { [2023-03-14T23:56:01.761Z] "registry-mirrors": [ [2023-03-14T23:56:01.761Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-14T23:56:01.761Z] ], [2023-03-14T23:56:01.761Z] "bip": "10.250.0.254/24", [2023-03-14T23:56:01.761Z] "hosts": [ [2023-03-14T23:56:01.761Z] "tcp://0.0.0.0:5555", [2023-03-14T23:56:01.761Z] "unix:///var/run/docker.sock" [2023-03-14T23:56:01.761Z] ], [2023-03-14T23:56:01.761Z] "mtu": 1458, [2023-03-14T23:56:01.761Z] "selinux-enabled": true, [2023-03-14T23:56:01.761Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-14T23:56:01.761Z] } [Pipeline] sh [2023-03-14T23:56:02.089Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-14T23:56:02.421Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-14T23:56:20.689Z] provisioning config files... [2023-03-14T23:56:20.715Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config6205680435503734607tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T23:56:21.069Z] ---> docker-login.sh [2023-03-14T23:56:21.070Z] nexus3.edgexfoundry.org:10001 [2023-03-14T23:56:21.339Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T23:56:21.611Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T23:56:21.611Z] Configure a credential helper to remove this warning. See [2023-03-14T23:56:21.611Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T23:56:21.611Z] [2023-03-14T23:56:21.611Z] Login Succeeded [2023-03-14T23:56:21.611Z] nexus3.edgexfoundry.org:10002 [2023-03-14T23:56:21.880Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T23:56:22.149Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T23:56:22.149Z] Configure a credential helper to remove this warning. See [2023-03-14T23:56:22.149Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T23:56:22.149Z] [2023-03-14T23:56:22.149Z] Login Succeeded [2023-03-14T23:56:22.149Z] nexus3.edgexfoundry.org:10003 [2023-03-14T23:56:22.420Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T23:56:22.420Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T23:56:22.420Z] Configure a credential helper to remove this warning. See [2023-03-14T23:56:22.420Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T23:56:22.420Z] [2023-03-14T23:56:22.420Z] Login Succeeded [2023-03-14T23:56:22.420Z] nexus3.edgexfoundry.org:10004 [2023-03-14T23:56:22.690Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T23:56:22.690Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T23:56:22.690Z] Configure a credential helper to remove this warning. See [2023-03-14T23:56:22.690Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T23:56:22.690Z] [2023-03-14T23:56:22.690Z] Login Succeeded [2023-03-14T23:56:22.690Z] docker.io [2023-03-14T23:56:22.959Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T23:56:23.227Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T23:56:23.227Z] Configure a credential helper to remove this warning. See [2023-03-14T23:56:23.227Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T23:56:23.227Z] [2023-03-14T23:56:23.227Z] Login Succeeded [2023-03-14T23:56:23.227Z] ---> docker-login.sh ends [Pipeline] } [2023-03-14T23:56:23.240Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-14T23:56:23.465Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-14T23:56:23.483Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-14T23:56:23.496Z] ========================================================= [2023-03-14T23:56:23.496Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-14T23:56:23.496Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T23:56:23.828Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-14T23:56:24.094Z] Sending build context to Docker daemon 11.9MB [2023-03-14T23:56:24.094Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-14T23:56:24.094Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-14T23:56:24.373Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-14T23:56:24.373Z] af6eaf76a39c: Pulling fs layer [2023-03-14T23:56:24.373Z] 55522c791124: Pulling fs layer [2023-03-14T23:56:24.373Z] ce5c4a1c91eb: Pulling fs layer [2023-03-14T23:56:24.373Z] 169dfbe0d373: Pulling fs layer [2023-03-14T23:56:24.373Z] e1ff8fa3b103: Pulling fs layer [2023-03-14T23:56:24.373Z] 52ebb69f0ebf: Pulling fs layer [2023-03-14T23:56:24.373Z] 5abe8eddf0d5: Pulling fs layer [2023-03-14T23:56:24.373Z] e1ff8fa3b103: Waiting [2023-03-14T23:56:24.373Z] 52ebb69f0ebf: Waiting [2023-03-14T23:56:24.373Z] 5abe8eddf0d5: Waiting [2023-03-14T23:56:24.373Z] 169dfbe0d373: Waiting [2023-03-14T23:56:24.373Z] 55522c791124: Verifying Checksum [2023-03-14T23:56:24.373Z] 55522c791124: Download complete [2023-03-14T23:56:24.373Z] 169dfbe0d373: Verifying Checksum [2023-03-14T23:56:24.373Z] 169dfbe0d373: Download complete [2023-03-14T23:56:24.373Z] e1ff8fa3b103: Verifying Checksum [2023-03-14T23:56:24.373Z] e1ff8fa3b103: Download complete [2023-03-14T23:56:24.373Z] af6eaf76a39c: Verifying Checksum [2023-03-14T23:56:24.373Z] af6eaf76a39c: Download complete [2023-03-14T23:56:25.801Z] 5abe8eddf0d5: Verifying Checksum [2023-03-14T23:56:25.801Z] 5abe8eddf0d5: Download complete [2023-03-14T23:56:25.801Z] af6eaf76a39c: Pull complete [2023-03-14T23:56:26.069Z] 55522c791124: Pull complete [2023-03-14T23:56:27.035Z] ce5c4a1c91eb: Verifying Checksum [2023-03-14T23:56:27.035Z] ce5c4a1c91eb: Download complete [2023-03-14T23:56:27.035Z] 52ebb69f0ebf: Verifying Checksum [2023-03-14T23:56:27.035Z] 52ebb69f0ebf: Download complete [2023-03-14T23:56:39.361Z] ce5c4a1c91eb: Pull complete [2023-03-14T23:56:39.361Z] 169dfbe0d373: Pull complete [2023-03-14T23:56:39.361Z] e1ff8fa3b103: Pull complete [2023-03-14T23:56:44.711Z] 52ebb69f0ebf: Pull complete [2023-03-14T23:56:47.301Z] 5abe8eddf0d5: Pull complete [2023-03-14T23:56:47.301Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-14T23:56:47.301Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-14T23:56:47.301Z] ---> 6cb57ee374ae [2023-03-14T23:56:47.301Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-14T23:56:48.720Z] ---> Running in adcc4b0d9cc2 [2023-03-14T23:56:48.988Z] Removing intermediate container adcc4b0d9cc2 [2023-03-14T23:56:48.988Z] ---> dd2804ff8bb4 [2023-03-14T23:56:48.988Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-14T23:56:48.988Z] ---> Running in dafec7439874 [2023-03-14T23:56:49.256Z] Removing intermediate container dafec7439874 [2023-03-14T23:56:49.256Z] ---> 63afdf552485 [2023-03-14T23:56:49.256Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-03-14T23:56:49.256Z] ---> Running in 3fb3f711a494 [2023-03-14T23:56:49.524Z] Removing intermediate container 3fb3f711a494 [2023-03-14T23:56:49.525Z] ---> dd03586d12ab [2023-03-14T23:56:49.525Z] Step 6/12 : WORKDIR /device-virtual-go [2023-03-14T23:56:49.792Z] ---> Running in 1f4af562a5f9 [2023-03-14T23:56:50.058Z] Removing intermediate container 1f4af562a5f9 [2023-03-14T23:56:50.058Z] ---> e24732fee801 [2023-03-14T23:56:50.058Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-14T23:56:50.058Z] ---> Running in 6f7b34f68d8f [2023-03-14T23:56:51.023Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-14T23:56:51.606Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-14T23:56:52.566Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-14T23:56:52.566Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-14T23:56:52.566Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-14T23:56:52.834Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-14T23:56:52.834Z] Executing busybox-1.35.0-r29.trigger [2023-03-14T23:56:52.834Z] OK: 268 MiB in 57 packages [2023-03-14T23:56:53.797Z] Removing intermediate container 6f7b34f68d8f [2023-03-14T23:56:53.797Z] ---> cb5596a5f9df [2023-03-14T23:56:53.797Z] Step 8/12 : COPY go.mod vendor* ./ [2023-03-14T23:56:56.377Z] ---> 11df541bda15 [2023-03-14T23:56:56.377Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-14T23:56:56.377Z] ---> Running in f0e00bbc5447 [2023-03-14T23:58:04.405Z] Removing intermediate container f0e00bbc5447 [2023-03-14T23:58:04.405Z] ---> 04dd6fbcc139 [2023-03-14T23:58:04.405Z] Step 10/12 : COPY . . [2023-03-14T23:58:04.672Z] ---> 723f5d7dbaa0 [2023-03-14T23:58:04.672Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-14T23:58:04.945Z] ---> Running in 3e29e192e266 [2023-03-14T23:58:05.215Z] Removing intermediate container 3e29e192e266 [2023-03-14T23:58:05.215Z] ---> efa21c62001a [2023-03-14T23:58:05.215Z] Step 12/12 : RUN $MAKE [2023-03-14T23:58:05.215Z] ---> Running in 8be3ac1c674d [2023-03-14T23:58:06.175Z] noop [2023-03-14T23:58:06.760Z] Removing intermediate container 8be3ac1c674d [2023-03-14T23:58:06.760Z] ---> f2e11b69ec2c [2023-03-14T23:58:06.760Z] Successfully built f2e11b69ec2c [2023-03-14T23:58:06.760Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T23:58:07.113Z] + docker inspect -f . ci-base-image-arm64 [2023-03-14T23:58:07.113Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T23:58:07.307Z] prd-ubuntu20.04-docker-arm64-4c-16g-288 does not seem to be running inside a container [2023-03-14T23:58:07.377Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-14T23:58:08.504Z] $ docker top 3007f5b81a206d1db4626781d0025c9a325912012d9ff5527e945b9d6ec961b5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T23:58:09.301Z] + go version [2023-03-14T23:58:09.301Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-14T23:58:09.348Z] $ docker stop --time=1 3007f5b81a206d1db4626781d0025c9a325912012d9ff5527e945b9d6ec961b5 [2023-03-14T23:58:10.974Z] $ docker rm -f --volumes 3007f5b81a206d1db4626781d0025c9a325912012d9ff5527e945b9d6ec961b5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T23:58:11.522Z] + docker inspect -f . ci-base-image-arm64 [2023-03-14T23:58:11.522Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T23:58:11.687Z] prd-ubuntu20.04-docker-arm64-4c-16g-288 does not seem to be running inside a container [2023-03-14T23:58:11.748Z] $ 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/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-14T23:58:12.903Z] $ docker top e7b32fe95b916e58a028b4708d8d44929759dc07df46813099dcc3adb6d843c3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T23:58:13.713Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/2 [Pipeline] fileExists [Pipeline] sh [2023-03-14T23:58:14.045Z] + make test [2023-03-14T23:58:14.045Z] go test ./... -coverprofile=coverage.out [2023-03-14T23:58:46.278Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-03-15T00:00:22.925Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-03-15T00:00:22.925Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.126s coverage: 65.7% of statements [2023-03-15T00:00:23.191Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-15T00:00:23.191Z] go vet ./... [2023-03-15T00:00:49.876Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-15T00:00:49.876Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-15T00:00:49.876Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-15T00:00:49.894Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-15T00:00:49.910Z] $ docker stop --time=1 e7b32fe95b916e58a028b4708d8d44929759dc07df46813099dcc3adb6d843c3 [2023-03-15T00:00:51.660Z] $ docker rm -f --volumes e7b32fe95b916e58a028b4708d8d44929759dc07df46813099dcc3adb6d843c3 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-15T00:00:52.723Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-15T00:00:52.748Z] Warning: overwriting stash ‘coverage-report’ [2023-03-15T00:00:53.241Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-15T00:00:53.624Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-15T00:00:53.941Z] + ls -al . [2023-03-15T00:00:53.941Z] total 188 [2023-03-15T00:00:53.941Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 14 23:58 . [2023-03-15T00:00:53.941Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 23:55 .. [2023-03-15T00:00:53.941Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 14 23:55 .git [2023-03-15T00:00:53.941Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 23:55 .github [2023-03-15T00:00:53.941Z] -rw-rw-r-- 1 jenkins jenkins 337 Mar 14 23:55 .gitignore [2023-03-15T00:00:53.941Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 14 23:55 .golangci.yml [2023-03-15T00:00:53.941Z] -rw-rw-r-- 1 jenkins jenkins 8641 Mar 14 23:55 Attribution.txt [2023-03-15T00:00:53.941Z] -rw-rw-r-- 1 jenkins jenkins 11367 Mar 14 23:55 CHANGELOG.md [2023-03-15T00:00:53.941Z] -rw-rw-r-- 1 jenkins jenkins 1646 Mar 14 23:55 Dockerfile [2023-03-15T00:00:53.941Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 14 23:55 GOVERNANCE.md [2023-03-15T00:00:53.941Z] -rw-rw-r-- 1 jenkins jenkins 660 Mar 14 23:55 Jenkinsfile [2023-03-15T00:00:53.941Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 14 23:55 LICENSE [2023-03-15T00:00:53.941Z] -rw-rw-r-- 1 jenkins jenkins 1696 Mar 14 23:55 Makefile [2023-03-15T00:00:53.941Z] -rw-rw-r-- 1 jenkins jenkins 623 Mar 14 23:55 OWNERS.md [2023-03-15T00:00:53.941Z] -rw-rw-r-- 1 jenkins jenkins 3578 Mar 14 23:55 README.md [2023-03-15T00:00:53.941Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 14 23:53 VERSION [2023-03-15T00:00:53.941Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 23:55 bin [2023-03-15T00:00:53.941Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 23:55 cmd [2023-03-15T00:00:53.941Z] -rw-r--r-- 1 jenkins jenkins 44311 Mar 15 00:00 coverage.out [2023-03-15T00:00:53.941Z] -rw-rw-r-- 1 jenkins jenkins 3253 Mar 14 23:55 go.mod [2023-03-15T00:00:53.941Z] -rw-rw-r-- 1 jenkins jenkins 30608 Mar 14 23:55 go.sum [2023-03-15T00:00:53.941Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 23:55 internal [2023-03-15T00:00:53.942Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 23:55 snap [2023-03-15T00:00:53.942Z] -rw-rw-r-- 1 jenkins jenkins 235 Mar 14 23:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T00:00:54.270Z] + 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=534be7e9947ab3d2b528f5dbda3d9981fc79b4ba --label arch=arm64 --label version=0.0.0 . [2023-03-15T00:00:54.538Z] Sending build context to Docker daemon 11.95MB [2023-03-15T00:00:54.538Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T00:00:54.538Z] Step 2/25 : FROM ${BASE} AS builder [2023-03-15T00:00:54.538Z] ---> f2e11b69ec2c [2023-03-15T00:00:54.538Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-15T00:00:54.806Z] ---> Running in debb7d755f2e [2023-03-15T00:00:55.072Z] Removing intermediate container debb7d755f2e [2023-03-15T00:00:55.072Z] ---> 6621199f26cd [2023-03-15T00:00:55.072Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-03-15T00:00:55.072Z] ---> Running in 77a322c31c24 [2023-03-15T00:00:55.350Z] Removing intermediate container 77a322c31c24 [2023-03-15T00:00:55.350Z] ---> 1dee259a1779 [2023-03-15T00:00:55.350Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-03-15T00:00:55.350Z] ---> Running in a6c83bcc2a94 [2023-03-15T00:00:55.933Z] Removing intermediate container a6c83bcc2a94 [2023-03-15T00:00:55.933Z] ---> c4d47f56f3cf [2023-03-15T00:00:55.933Z] Step 6/25 : WORKDIR /device-virtual-go [2023-03-15T00:00:55.933Z] ---> Running in f3b5e3544633 [2023-03-15T00:00:56.201Z] Removing intermediate container f3b5e3544633 [2023-03-15T00:00:56.201Z] ---> 6dda1372f0fd [2023-03-15T00:00:56.201Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-15T00:00:56.201Z] ---> Running in 43770f203a89 [2023-03-15T00:00:57.167Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-15T00:00:58.127Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-15T00:00:59.083Z] OK: 268 MiB in 57 packages [2023-03-15T00:00:59.665Z] Removing intermediate container 43770f203a89 [2023-03-15T00:00:59.665Z] ---> efb0f8de8b1a [2023-03-15T00:00:59.665Z] Step 8/25 : COPY go.mod vendor* ./ [2023-03-15T00:01:00.248Z] ---> 4df9955b88cb [2023-03-15T00:01:00.248Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T00:01:00.248Z] ---> Running in 16ed46895a99 [2023-03-15T00:01:02.822Z] Removing intermediate container 16ed46895a99 [2023-03-15T00:01:02.822Z] ---> d451b78b1854 [2023-03-15T00:01:02.822Z] Step 10/25 : COPY . . [2023-03-15T00:01:03.789Z] ---> fecc3704d567 [2023-03-15T00:01:03.789Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-15T00:01:03.789Z] ---> Running in c49e73d330b5 [2023-03-15T00:01:04.054Z] Removing intermediate container c49e73d330b5 [2023-03-15T00:01:04.054Z] ---> 4872b9027971 [2023-03-15T00:01:04.054Z] Step 12/25 : RUN $MAKE [2023-03-15T00:01:04.324Z] ---> Running in db1471cf8c15 [2023-03-15T00:01:05.292Z] 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-03-15T00:03:11.949Z] Removing intermediate container db1471cf8c15 [2023-03-15T00:03:11.949Z] ---> 237f72956b8f [2023-03-15T00:03:11.949Z] Step 13/25 : FROM alpine:3.17 [2023-03-15T00:03:11.949Z] 3.17: Pulling from library/alpine [2023-03-15T00:03:11.949Z] af6eaf76a39c: Already exists [2023-03-15T00:03:11.949Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-15T00:03:11.949Z] Status: Downloaded newer image for alpine:3.17 [2023-03-15T00:03:11.949Z] ---> d74e625d9115 [2023-03-15T00:03:11.949Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-03-15T00:03:11.949Z] ---> Running in cebb214d3eb7 [2023-03-15T00:03:11.949Z] Removing intermediate container cebb214d3eb7 [2023-03-15T00:03:11.949Z] ---> 7069b14deaa0 [2023-03-15T00:03:11.949Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-03-15T00:03:11.949Z] ---> Running in 44d71dc7b326 [2023-03-15T00:03:11.949Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-15T00:03:11.949Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-15T00:03:11.949Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-15T00:03:11.949Z] Executing busybox-1.35.0-r29.trigger [2023-03-15T00:03:11.949Z] OK: 8 MiB in 16 packages [2023-03-15T00:03:11.949Z] Removing intermediate container 44d71dc7b326 [2023-03-15T00:03:11.949Z] ---> 84a041cf2705 [2023-03-15T00:03:11.949Z] Step 16/25 : WORKDIR / [2023-03-15T00:03:11.949Z] ---> Running in 2ddb0240f3cc [2023-03-15T00:03:11.949Z] Removing intermediate container 2ddb0240f3cc [2023-03-15T00:03:11.949Z] ---> 1458edab8611 [2023-03-15T00:03:11.949Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-03-15T00:03:11.949Z] ---> 2b556ffb1d5f [2023-03-15T00:03:11.949Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-03-15T00:03:11.949Z] ---> d1edcc2e9aab [2023-03-15T00:03:11.949Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-03-15T00:03:11.949Z] ---> e9704ccc8a7e [2023-03-15T00:03:11.949Z] Step 20/25 : EXPOSE 59900 [2023-03-15T00:03:11.949Z] ---> Running in 287061d6ff97 [2023-03-15T00:03:11.949Z] Removing intermediate container 287061d6ff97 [2023-03-15T00:03:11.949Z] ---> b10838288ad8 [2023-03-15T00:03:11.949Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-03-15T00:03:11.949Z] ---> Running in 85848de283fb [2023-03-15T00:03:12.215Z] Removing intermediate container 85848de283fb [2023-03-15T00:03:12.215Z] ---> 9adf6df60ab2 [2023-03-15T00:03:12.215Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-15T00:03:12.215Z] ---> Running in 0ce0aef71f5e [2023-03-15T00:03:12.482Z] Removing intermediate container 0ce0aef71f5e [2023-03-15T00:03:12.482Z] ---> 036b7b986198 [2023-03-15T00:03:12.482Z] Step 23/25 : LABEL arch=arm64 [2023-03-15T00:03:12.482Z] ---> Running in 444053c410fc [2023-03-15T00:03:12.749Z] Removing intermediate container 444053c410fc [2023-03-15T00:03:12.749Z] ---> 36629e411a1b [2023-03-15T00:03:12.749Z] Step 24/25 : LABEL git_sha=534be7e9947ab3d2b528f5dbda3d9981fc79b4ba [2023-03-15T00:03:13.020Z] ---> Running in 3ac5ce7e22b4 [2023-03-15T00:03:13.286Z] Removing intermediate container 3ac5ce7e22b4 [2023-03-15T00:03:13.286Z] ---> 901c2dab6eb0 [2023-03-15T00:03:13.286Z] Step 25/25 : LABEL version=0.0.0 [2023-03-15T00:03:13.286Z] ---> Running in 389d079610b1 [2023-03-15T00:03:13.553Z] Removing intermediate container 389d079610b1 [2023-03-15T00:03:13.553Z] ---> 69c549eb06bc [2023-03-15T00:03:13.553Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-15T00:03:13.553Z] Successfully built 69c549eb06bc [2023-03-15T00:03:13.553Z] 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-03-15T00:03:14.219Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T00:03:14.219Z] [2023-03-15T00:03:14.219Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T00:03:14.552Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T00:03:14.552Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-15T00:03:14.552Z] 8998bd30e6a1: Pulling fs layer [2023-03-15T00:03:14.552Z] 04944245beec: Pulling fs layer [2023-03-15T00:03:14.552Z] 699f458cf7ca: Pulling fs layer [2023-03-15T00:03:14.552Z] 765212b225bb: Pulling fs layer [2023-03-15T00:03:14.552Z] f23df028b6ca: Pulling fs layer [2023-03-15T00:03:14.552Z] d65c8cfc05b1: Pulling fs layer [2023-03-15T00:03:14.552Z] 2437ff75d9bd: Pulling fs layer [2023-03-15T00:03:14.552Z] f23df028b6ca: Waiting [2023-03-15T00:03:14.552Z] d65c8cfc05b1: Waiting [2023-03-15T00:03:14.552Z] 2437ff75d9bd: Waiting [2023-03-15T00:03:14.552Z] 765212b225bb: Waiting [2023-03-15T00:03:14.822Z] 04944245beec: Verifying Checksum [2023-03-15T00:03:14.822Z] 04944245beec: Download complete [2023-03-15T00:03:14.822Z] 765212b225bb: Verifying Checksum [2023-03-15T00:03:14.822Z] 765212b225bb: Download complete [2023-03-15T00:03:14.822Z] f23df028b6ca: Download complete [2023-03-15T00:03:14.822Z] d65c8cfc05b1: Download complete [2023-03-15T00:03:14.822Z] 699f458cf7ca: Verifying Checksum [2023-03-15T00:03:14.822Z] 699f458cf7ca: Download complete [2023-03-15T00:03:15.409Z] 8998bd30e6a1: Download complete [2023-03-15T00:03:17.355Z] 2437ff75d9bd: Verifying Checksum [2023-03-15T00:03:17.355Z] 2437ff75d9bd: Download complete [2023-03-15T00:03:19.945Z] 8998bd30e6a1: Pull complete [2023-03-15T00:03:19.945Z] 04944245beec: Pull complete [2023-03-15T00:03:21.354Z] 699f458cf7ca: Pull complete [2023-03-15T00:03:21.620Z] 765212b225bb: Pull complete [2023-03-15T00:03:22.202Z] f23df028b6ca: Pull complete [2023-03-15T00:03:22.469Z] d65c8cfc05b1: Pull complete [2023-03-15T00:03:37.466Z] 2437ff75d9bd: Pull complete [2023-03-15T00:03:37.466Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-15T00:03:37.466Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T00:03:37.466Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T00:03:37.661Z] prd-ubuntu20.04-docker-arm64-4c-16g-288 does not seem to be running inside a container [2023-03-15T00:03:37.737Z] $ 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/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-15T00:03:40.539Z] $ docker top 43e06574b298ea834d646e0c3cd85bd066bd3751797f74860b78e8c8a06d5a1a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T00:03:41.378Z] ---> job-cost.sh [2023-03-15T00:03:41.378Z] lf-activate-venv: SKIPPING [2023-03-15T00:03:41.378Z] INFO: No Stack... [2023-03-15T00:03:41.646Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-15T00:03:42.619Z] INFO: Archiving Costs [Pipeline] sh [2023-03-15T00:03:43.266Z] + cut -d, -f6 [2023-03-15T00:03:43.266Z] + cat /w/workspace/device-virtual-go/2/archives/cost.csv [Pipeline] lock [2023-03-15T00:03:43.336Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-357-2-stack-cost] [2023-03-15T00:03:43.349Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-357-2-stack-cost] did not exist. Created. [2023-03-15T00:03:43.349Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-357-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-15T00:03:43.699Z] /w/workspace/device-virtual-go/2@tmp/durable-c8a41afd/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-15T00:03:44.362Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-15T00:03:44.385Z] Warning: overwriting stash ‘stack-cost’ [2023-03-15T00:03:44.444Z] Stashed 1 file(s) [Pipeline] } [2023-03-15T00:03:44.451Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-357-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-15T00:03:44.472Z] $ docker stop --time=1 43e06574b298ea834d646e0c3cd85bd066bd3751797f74860b78e8c8a06d5a1a [2023-03-15T00:03:45.999Z] $ docker rm -f --volumes 43e06574b298ea834d646e0c3cd85bd066bd3751797f74860b78e8c8a06d5a1a [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-03-15T00:03:46.376Z] provisioning config files... [2023-03-15T00:03:46.383Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-357@tmp/config15657487940421058082tmp [Pipeline] { [Pipeline] sh [2023-03-15T00:03:46.672Z] + set +x [2023-03-15T00:03:46.672Z] + bash -s -- [2023-03-15T00:03:46.672Z] + curl -s https://codecov.io/bash [2023-03-15T00:03:46.672Z] [2023-03-15T00:03:46.672Z] _____ _ [2023-03-15T00:03:46.672Z] / ____| | | [2023-03-15T00:03:46.672Z] | | ___ __| | ___ ___ _____ __ [2023-03-15T00:03:46.672Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-15T00:03:46.672Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-15T00:03:46.672Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-15T00:03:46.672Z] Bash-1.0.6 [2023-03-15T00:03:46.672Z] [2023-03-15T00:03:46.672Z] [2023-03-15T00:03:46.672Z] ==> git version 2.25.1 found [2023-03-15T00:03:46.672Z] ==> 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-03-15T00:03:46.672Z] Release-Date: 2020-01-08 [2023-03-15T00:03:46.672Z] 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-03-15T00:03:46.672Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-15T00:03:46.672Z] ==> Jenkins CI detected. [2023-03-15T00:03:46.672Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-357 [2023-03-15T00:03:46.672Z] project root: . [2023-03-15T00:03:46.672Z] --> token set from env [2023-03-15T00:03:46.672Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-15T00:03:46.672Z] ==> Running gcov in . (disable via -X gcov) [2023-03-15T00:03:46.672Z] ==> Python coveragepy not found [2023-03-15T00:03:46.672Z] ==> Searching for coverage reports in: [2023-03-15T00:03:46.672Z] + . [2023-03-15T00:03:46.672Z] -> Found 1 reports [2023-03-15T00:03:46.672Z] ==> Detecting git/mercurial file structure [2023-03-15T00:03:46.672Z] ==> Reading reports [2023-03-15T00:03:46.672Z] + ./coverage.out bytes=44311 [2023-03-15T00:03:46.672Z] ==> Appending adjustments [2023-03-15T00:03:46.672Z] https://docs.codecov.io/docs/fixing-reports [2023-03-15T00:03:46.931Z] + Found adjustments [2023-03-15T00:03:46.931Z] ==> Gzipping contents [2023-03-15T00:03:46.931Z] 8.0K /tmp/codecov.PVoq9m.gz [2023-03-15T00:03:46.931Z] ==> Uploading reports [2023-03-15T00:03:46.931Z] url: https://codecov.io [2023-03-15T00:03:46.931Z] query: branch=PR-357&commit=534be7e9947ab3d2b528f5dbda3d9981fc79b4ba&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-357%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=357&job=&cmd_args= [2023-03-15T00:03:46.931Z] -> Pinging Codecov [2023-03-15T00:03:46.931Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-357&commit=534be7e9947ab3d2b528f5dbda3d9981fc79b4ba&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-357%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=357&job=&cmd_args= [2023-03-15T00:03:46.931Z] -> Uploading to [2023-03-15T00:03:46.931Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-15/5E52B4B073DB2E39498172D8E973AA87/534be7e9947ab3d2b528f5dbda3d9981fc79b4ba/a9598eb7-0ea2-4d65-b5dd-6e18aabb4a72.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230315%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230315T000346Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=37b7a69d63bd957a83d8f41e4d7985e96d194f47997a8babf8b82633161d0971 [2023-03-15T00:03:47.189Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-15T00:03:47.189Z] Dload Upload Total Spent Left Speed [2023-03-15T00:03:47.449Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5428 0 0 100 5428 0 21625 --:--:-- --:--:-- --:--:-- 21712 [2023-03-15T00:03:47.449Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/534be7e9947ab3d2b528f5dbda3d9981fc79b4ba [Pipeline] } [2023-03-15T00:03:47.458Z] 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-03-15T00:03:48.137Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-357/archives ] [2023-03-15T00:03:48.137Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-357/archives [2023-03-15T00:03:48.137Z] total 16 [2023-03-15T00:03:48.137Z] drwxr-xr-x 3 root root 4096 Mar 14 23:55 . [2023-03-15T00:03:48.137Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 14 23:55 .. [2023-03-15T00:03:48.137Z] drwxr-xr-x 2 root root 4096 Mar 14 23:55 cost [2023-03-15T00:03:48.137Z] -rw-r--r-- 1 root root 89 Mar 14 23:55 cost.csv [2023-03-15T00:03:48.137Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-357/archives [2023-03-15T00:03:48.137Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-357/archives [2023-03-15T00:03:48.137Z] total 16 [2023-03-15T00:03:48.137Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 14 23:55 . [2023-03-15T00:03:48.137Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 14 23:55 .. [2023-03-15T00:03:48.137Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 14 23:55 cost [2023-03-15T00:03:48.137Z] -rw-r--r-- 1 jenkins jenkins 89 Mar 14 23:55 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-15T00:03:48.427Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T00:03:49.286Z] ---> package-listing.sh [2023-03-15T00:03:49.287Z] ++ facter osfamily [2023-03-15T00:03:49.287Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-15T00:03:49.545Z] + OS_FAMILY=debian [2023-03-15T00:03:49.545Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-357 [2023-03-15T00:03:49.545Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-15T00:03:49.545Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-15T00:03:49.545Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-15T00:03:49.545Z] + PACKAGES=/tmp/packages_start.txt [2023-03-15T00:03:49.545Z] + '[' /w/workspace/foundry_device-virtual-go_PR-357 ']' [2023-03-15T00:03:49.545Z] + PACKAGES=/tmp/packages_end.txt [2023-03-15T00:03:49.545Z] + case "${OS_FAMILY}" in [2023-03-15T00:03:49.545Z] + dpkg -l [2023-03-15T00:03:49.545Z] + grep '^ii' [2023-03-15T00:03:49.545Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-15T00:03:49.545Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-15T00:03:49.545Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-15T00:03:49.545Z] + '[' /w/workspace/foundry_device-virtual-go_PR-357 ']' [2023-03-15T00:03:49.545Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-357/archives/ [2023-03-15T00:03:49.545Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-357/archives/ [Pipeline] echo [2023-03-15T00:03:49.592Z] 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-357/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-15T00:03:49.869Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T00:03:50.424Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T00:03:50.424Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T00:03:50.493Z] prd-ubuntu20.04-docker-8c-8g-287 does not seem to be running inside a container [2023-03-15T00:03:50.542Z] $ 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-357/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-357 -v /w/workspace/foundry_device-virtual-go_PR-357:/w/workspace/foundry_device-virtual-go_PR-357:rw,z -v /w/workspace/foundry_device-virtual-go_PR-357@tmp:/w/workspace/foundry_device-virtual-go_PR-357@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-15T00:03:50.741Z] $ docker top 862f6241b88c869b3b7c79a6185f0e1832d8a8bac06aef81cf4b56cb10f96df9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T00:03:51.075Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-15T00:03:51.370Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-15T00:03:51.661Z] + ls /var/log/sa-host [2023-03-15T00:03:51.661Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T00:03:51.737Z] provisioning config files... [2023-03-15T00:03:51.746Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-357@tmp/config9776837985504979459tmp [Pipeline] { [Pipeline] echo [2023-03-15T00:03:51.759Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T00:03:52.043Z] ---> create-netrc.sh [Pipeline] } [2023-03-15T00:03:52.051Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-15T00:03:52.375Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-15T00:03:52.384Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T00:03:52.672Z] ---> sudo-logs.sh [2023-03-15T00:03:52.672Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-15T00:03:52.706Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T00:03:52.995Z] ---> job-cost.sh [2023-03-15T00:03:52.995Z] lf-activate-venv: SKIPPING [2023-03-15T00:03:52.995Z] DEBUG: total: 0.2199999988079071 [2023-03-15T00:03:52.995Z] INFO: Retrieving Stack Cost... [2023-03-15T00:03:53.564Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-15T00:03:53.823Z] INFO: Archiving Costs [Pipeline] echo [2023-03-15T00:03:53.834Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T00:03:54.121Z] ---> logs-deploy.sh [2023-03-15T00:03:54.121Z] lf-activate-venv: SKIPPING [2023-03-15T00:03:54.121Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-357/2 [2023-03-15T00:03:54.121Z] INFO: archiving workspace using pattern(s): [2023-03-15T00:03:55.059Z] Archives upload complete. [2023-03-15T00:03:55.318Z] INFO: archiving logs to Nexus [2023-03-15T00:03:55.884Z] ---> uname -a: [2023-03-15T00:03:55.884Z] Linux prd-ubuntu20-04-docker-8c-8g-287 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2023-03-15T00:03:55.884Z] [2023-03-15T00:03:55.884Z] [2023-03-15T00:03:55.884Z] ---> lscpu: [2023-03-15T00:03:55.884Z] Architecture: x86_64 [2023-03-15T00:03:55.884Z] CPU op-mode(s): 32-bit, 64-bit [2023-03-15T00:03:55.884Z] Byte Order: Little Endian [2023-03-15T00:03:55.884Z] Address sizes: 40 bits physical, 48 bits virtual [2023-03-15T00:03:55.884Z] CPU(s): 8 [2023-03-15T00:03:55.884Z] On-line CPU(s) list: 0-7 [2023-03-15T00:03:55.884Z] Thread(s) per core: 1 [2023-03-15T00:03:55.884Z] Core(s) per socket: 1 [2023-03-15T00:03:55.884Z] Socket(s): 8 [2023-03-15T00:03:55.884Z] NUMA node(s): 1 [2023-03-15T00:03:55.884Z] Vendor ID: AuthenticAMD [2023-03-15T00:03:55.884Z] CPU family: 23 [2023-03-15T00:03:55.884Z] Model: 49 [2023-03-15T00:03:55.884Z] Model name: AMD EPYC-Rome Processor [2023-03-15T00:03:55.884Z] Stepping: 0 [2023-03-15T00:03:55.884Z] CPU MHz: 2799.998 [2023-03-15T00:03:55.884Z] BogoMIPS: 5599.99 [2023-03-15T00:03:55.884Z] Virtualization: AMD-V [2023-03-15T00:03:55.884Z] Hypervisor vendor: KVM [2023-03-15T00:03:55.884Z] Virtualization type: full [2023-03-15T00:03:55.884Z] L1d cache: 256 KiB [2023-03-15T00:03:55.884Z] L1i cache: 256 KiB [2023-03-15T00:03:55.884Z] L2 cache: 4 MiB [2023-03-15T00:03:55.884Z] L3 cache: 128 MiB [2023-03-15T00:03:55.884Z] NUMA node0 CPU(s): 0-7 [2023-03-15T00:03:55.884Z] Vulnerability Itlb multihit: Not affected [2023-03-15T00:03:55.884Z] Vulnerability L1tf: Not affected [2023-03-15T00:03:55.884Z] Vulnerability Mds: Not affected [2023-03-15T00:03:55.884Z] Vulnerability Meltdown: Not affected [2023-03-15T00:03:55.884Z] Vulnerability Mmio stale data: Not affected [2023-03-15T00:03:55.884Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2023-03-15T00:03:55.884Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2023-03-15T00:03:55.884Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2023-03-15T00:03:55.884Z] Vulnerability Srbds: Not affected [2023-03-15T00:03:55.884Z] Vulnerability Tsx async abort: Not affected [2023-03-15T00:03:55.884Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2023-03-15T00:03:55.884Z] [2023-03-15T00:03:55.884Z]