Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 315bad0b0d18aa17ac7ad7fb49af3adfa535c22a+9393cb199918d0b51a604a638f19df0ef5e84a0a (6e7d392fb384106799c773955e2a87735347e2f0) 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-ssh2165474103413131263.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-ssh609630700251433488.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-377/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-377/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13428480352926949048.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-ssh12800155591408488227.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-377/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-377/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11735488272113635148.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7284 in /w/workspace/foundry_device-virtual-go_PR-377 [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-377 # 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 Merging remotes/origin/main commit 9393cb199918d0b51a604a638f19df0ef5e84a0a into PR head commit 315bad0b0d18aa17ac7ad7fb49af3adfa535c22a Merge succeeded, producing 1132502bc92c5f940f152febc56e8f8ee79a0a86 Checking out Revision 1132502bc92c5f940f152febc56e8f8ee79a0a86 (PR-377) > 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/377/head:refs/remotes/origin/PR-377 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 315bad0b0d18aa17ac7ad7fb49af3adfa535c22a # 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 9393cb199918d0b51a604a638f19df0ef5e84a0a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1132502bc92c5f940f152febc56e8f8ee79a0a86 # timeout=10 Commit message: "Merge commit '9393cb199918d0b51a604a638f19df0ef5e84a0a' into HEAD" > git rev-list --no-walk 315bad0b0d18aa17ac7ad7fb49af3adfa535c22a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-10T08:14:08.529Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-10T08:14:08.635Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-10T08:14:08.652Z] ========================================================= [2023-04-10T08:14:08.652Z] EdgeX Global Pipelines Version Info [2023-04-10T08:14:08.652Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-10T08:14:09.360Z] ------------------- [2023-04-10T08:14:09.360Z] stable info: [2023-04-10T08:14:09.360Z] ------------------- [2023-04-10T08:14:09.360Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-04-10T08:14:09.360Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-04-10T08:14:09.360Z] Message: update stable to v1.0.245 [2023-04-10T08:14:09.926Z] ------------------- [2023-04-10T08:14:09.926Z] experimental info: [2023-04-10T08:14:09.926Z] ------------------- [2023-04-10T08:14:09.926Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-10T08:14:09.926Z] Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 [2023-04-10T08:14:09.926Z] Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-10T08:14:10.141Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2023-04-10T08:14:10.158Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2023-04-10T08:14:10.175Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-10T08:14:10.185Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-10T08:14:10.197Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-10T08:14:10.208Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-10T08:14:10.220Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-10T08:14:10.231Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-04-10T08:14:10.245Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-10T08:14:10.256Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-10T08:14:10.269Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-10T08:14:10.280Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2023-04-10T08:14:10.288Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-10T08:14:10.297Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-10T08:14:10.306Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-10T08:14:10.314Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-04-10T08:14:10.323Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-10T08:14:10.332Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-10T08:14:10.340Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-10T08:14:10.358Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-10T08:14:10.370Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-04-10T08:14:10.385Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-04-10T08:14:10.396Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-10T08:14:10.408Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-10T08:14:10.418Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-10T08:14:10.437Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-10T08:14:10.456Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-10T08:14:10.473Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-377 [Pipeline] echo [2023-04-10T08:14:10.487Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-377 [Pipeline] echo [2023-04-10T08:14:10.497Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-377 [Pipeline] echo [2023-04-10T08:14:10.508Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1132502bc92c5f940f152febc56e8f8ee79a0a86 [Pipeline] echo [2023-04-10T08:14:10.519Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1132502 [Pipeline] echo [2023-04-10T08:14:10.533Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-10T08:14:10.573Z] provisioning config files... [2023-04-10T08:14:10.586Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-377@tmp/config17940427952050329560tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-10T08:14:10.887Z] ---> docker-login.sh [2023-04-10T08:14:10.887Z] nexus3.edgexfoundry.org:10001 [2023-04-10T08:14:11.146Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-10T08:14:11.146Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-10T08:14:11.146Z] Configure a credential helper to remove this warning. See [2023-04-10T08:14:11.146Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-10T08:14:11.146Z] [2023-04-10T08:14:11.146Z] Login Succeeded [2023-04-10T08:14:11.146Z] nexus3.edgexfoundry.org:10002 [2023-04-10T08:14:11.146Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-10T08:14:11.146Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-10T08:14:11.146Z] Configure a credential helper to remove this warning. See [2023-04-10T08:14:11.146Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-10T08:14:11.146Z] [2023-04-10T08:14:11.146Z] Login Succeeded [2023-04-10T08:14:11.146Z] nexus3.edgexfoundry.org:10003 [2023-04-10T08:14:11.404Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-10T08:14:11.404Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-10T08:14:11.404Z] Configure a credential helper to remove this warning. See [2023-04-10T08:14:11.404Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-10T08:14:11.404Z] [2023-04-10T08:14:11.404Z] Login Succeeded [2023-04-10T08:14:11.404Z] nexus3.edgexfoundry.org:10004 [2023-04-10T08:14:11.404Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-10T08:14:11.404Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-10T08:14:11.404Z] Configure a credential helper to remove this warning. See [2023-04-10T08:14:11.404Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-10T08:14:11.404Z] [2023-04-10T08:14:11.404Z] Login Succeeded [2023-04-10T08:14:11.404Z] docker.io [2023-04-10T08:14:11.664Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-10T08:14:11.664Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-10T08:14:11.664Z] Configure a credential helper to remove this warning. See [2023-04-10T08:14:11.664Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-10T08:14:11.664Z] [2023-04-10T08:14:11.664Z] Login Succeeded [2023-04-10T08:14:11.664Z] ---> docker-login.sh ends [Pipeline] } [2023-04-10T08:14:11.671Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-10T08:14:12.046Z] + git rev-list -1 --merges 1132502bc92c5f940f152febc56e8f8ee79a0a86~1..1132502bc92c5f940f152febc56e8f8ee79a0a86 [Pipeline] echo [2023-04-10T08:14:12.086Z] -----------> git rev-list -1 --merges 1132502bc92c5f940f152febc56e8f8ee79a0a86~1..1132502bc92c5f940f152febc56e8f8ee79a0a86 1132502bc92c5f940f152febc56e8f8ee79a0a86 [2023-04-10T08:14:12.086Z] 1132502bc92c5f940f152febc56e8f8ee79a0a86 [false] [Pipeline] sh [2023-04-10T08:14:12.378Z] + git log --format=format:%s -1 1132502bc92c5f940f152febc56e8f8ee79a0a86 [Pipeline] echo [2023-04-10T08:14:12.392Z] ========================================================= [2023-04-10T08:14:12.392Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-10T08:14:12.392Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-10T08:14:12.706Z] + git log --format=format:%s -1 1132502bc92c5f940f152febc56e8f8ee79a0a86 [Pipeline] echo [2023-04-10T08:14:12.720Z] [semverPrep] GIT_COMMIT: 1132502bc92c5f940f152febc56e8f8ee79a0a86, Commit Message: Merge commit '9393cb199918d0b51a604a638f19df0ef5e84a0a' into HEAD [Pipeline] echo [2023-04-10T08:14:12.731Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-10T08:14:13.070Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-10T08:14:13.070Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-10T08:14:13.070Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-10T08:14:13.070Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-10T08:14:13.070Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-10T08:14:13.070Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-10T08:14:13.070Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-10T08:14:13.410Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-10T08:14:13.410Z] [2023-04-10T08:14:13.410Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-10T08:14:13.705Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-10T08:14:13.705Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-10T08:14:13.705Z] b85a868b505f: Pulling fs layer [2023-04-10T08:14:13.705Z] e2be974225ed: Pulling fs layer [2023-04-10T08:14:13.705Z] 339a4e72a1f5: Pulling fs layer [2023-04-10T08:14:13.705Z] 988bab9f4d93: Pulling fs layer [2023-04-10T08:14:13.705Z] 1469e6f7b9e6: Pulling fs layer [2023-04-10T08:14:13.705Z] eaf3925da568: Pulling fs layer [2023-04-10T08:14:13.705Z] bab4dde63d76: Pulling fs layer [2023-04-10T08:14:13.705Z] bde34c3a00c8: Pulling fs layer [2023-04-10T08:14:13.705Z] b352a97aabf1: Pulling fs layer [2023-04-10T08:14:13.705Z] 4872d77fe225: Pulling fs layer [2023-04-10T08:14:13.705Z] 5851b861e8e6: Pulling fs layer [2023-04-10T08:14:13.705Z] bab4dde63d76: Waiting [2023-04-10T08:14:13.705Z] 1469e6f7b9e6: Waiting [2023-04-10T08:14:13.705Z] bde34c3a00c8: Waiting [2023-04-10T08:14:13.705Z] eaf3925da568: Waiting [2023-04-10T08:14:13.705Z] 4872d77fe225: Waiting [2023-04-10T08:14:13.705Z] 5851b861e8e6: Waiting [2023-04-10T08:14:13.705Z] e2be974225ed: Verifying Checksum [2023-04-10T08:14:13.705Z] e2be974225ed: Download complete [2023-04-10T08:14:13.705Z] 988bab9f4d93: Verifying Checksum [2023-04-10T08:14:13.705Z] 988bab9f4d93: Download complete [2023-04-10T08:14:13.705Z] 339a4e72a1f5: Verifying Checksum [2023-04-10T08:14:13.705Z] 339a4e72a1f5: Download complete [2023-04-10T08:14:13.705Z] 1469e6f7b9e6: Verifying Checksum [2023-04-10T08:14:13.705Z] 1469e6f7b9e6: Download complete [2023-04-10T08:14:13.705Z] eaf3925da568: Verifying Checksum [2023-04-10T08:14:13.705Z] eaf3925da568: Download complete [2023-04-10T08:14:13.964Z] bde34c3a00c8: Download complete [2023-04-10T08:14:13.964Z] b352a97aabf1: Verifying Checksum [2023-04-10T08:14:13.964Z] b352a97aabf1: Download complete [2023-04-10T08:14:13.964Z] 4872d77fe225: Verifying Checksum [2023-04-10T08:14:13.964Z] 4872d77fe225: Download complete [2023-04-10T08:14:13.964Z] 5851b861e8e6: Download complete [2023-04-10T08:14:13.964Z] b85a868b505f: Download complete [2023-04-10T08:14:14.222Z] bab4dde63d76: Verifying Checksum [2023-04-10T08:14:14.222Z] bab4dde63d76: Download complete [2023-04-10T08:14:15.157Z] b85a868b505f: Pull complete [2023-04-10T08:14:15.157Z] e2be974225ed: Pull complete [2023-04-10T08:14:15.725Z] 339a4e72a1f5: Pull complete [2023-04-10T08:14:15.725Z] 988bab9f4d93: Pull complete [2023-04-10T08:14:15.984Z] 1469e6f7b9e6: Pull complete [2023-04-10T08:14:15.984Z] eaf3925da568: Pull complete [2023-04-10T08:14:17.362Z] bab4dde63d76: Pull complete [2023-04-10T08:14:17.620Z] bde34c3a00c8: Pull complete [2023-04-10T08:14:17.620Z] b352a97aabf1: Pull complete [2023-04-10T08:14:17.620Z] 4872d77fe225: Pull complete [2023-04-10T08:14:17.880Z] 5851b861e8e6: Pull complete [2023-04-10T08:14:17.880Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-10T08:14:17.880Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-10T08:14:17.880Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-10T08:14:17.979Z] prd-ubuntu20.04-docker-8c-8g-7284 does not seem to be running inside a container [2023-04-10T08:14:18.015Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-377 -v /w/workspace/foundry_device-virtual-go_PR-377:/w/workspace/foundry_device-virtual-go_PR-377:rw,z -v /w/workspace/foundry_device-virtual-go_PR-377@tmp:/w/workspace/foundry_device-virtual-go_PR-377@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-10T08:14:19.860Z] $ docker top ed6925bb9035f7ddd55c2d95f5828e9ef2bb517c47b90f8f48c5bb15e9622f4f -eo pid,comm [2023-04-10T08:14:19.912Z] 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-04-10T08:14:19.912Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-10T08:14:19.951Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-10T08:14:19.951Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-10T08:14:20.055Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-10T08:14:20.061Z] $ docker exec ed6925bb9035f7ddd55c2d95f5828e9ef2bb517c47b90f8f48c5bb15e9622f4f ssh-agent [2023-04-10T08:14:20.160Z] SSH_AUTH_SOCK=/tmp/ssh-sKME6hCqz2AY/agent.32 [2023-04-10T08:14:20.160Z] SSH_AGENT_PID=38 [2023-04-10T08:14:20.166Z] Running ssh-add (command line suppressed) [2023-04-10T08:14:20.262Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-377@tmp/private_key_3627674458882868271.key (/w/workspace/foundry_device-virtual-go_PR-377@tmp/private_key_3627674458882868271.key) [2023-04-10T08:14:20.274Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-10T08:14:20.566Z] + git tag --points-at HEAD [Pipeline] } [2023-04-10T08:14:20.588Z] $ docker exec --env ******** --env ******** ed6925bb9035f7ddd55c2d95f5828e9ef2bb517c47b90f8f48c5bb15e9622f4f ssh-agent -k [2023-04-10T08:14:20.669Z] unset SSH_AUTH_SOCK; [2023-04-10T08:14:20.670Z] unset SSH_AGENT_PID; [2023-04-10T08:14:20.670Z] echo Agent pid 38 killed; [2023-04-10T08:14:20.675Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-10T08:14:20.704Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-10T08:14:20.705Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-10T08:14:20.809Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-10T08:14:20.815Z] $ docker exec ed6925bb9035f7ddd55c2d95f5828e9ef2bb517c47b90f8f48c5bb15e9622f4f ssh-agent [2023-04-10T08:14:20.919Z] SSH_AUTH_SOCK=/tmp/ssh-OosOlSYfWPKt/agent.70 [2023-04-10T08:14:20.919Z] SSH_AGENT_PID=76 [2023-04-10T08:14:20.923Z] Running ssh-add (command line suppressed) [2023-04-10T08:14:21.022Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-377@tmp/private_key_10046718893016182953.key (/w/workspace/foundry_device-virtual-go_PR-377@tmp/private_key_10046718893016182953.key) [2023-04-10T08:14:21.036Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-10T08:14:21.326Z] + git semver init [2023-04-10T08:14:21.586Z] 2023-04-10 08:14:21,505 [run_init] DEBUG init version:0.0.0 force:False [2023-04-10T08:14:21.586Z] 2023-04-10 08:14:21,505 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-377/.semver [2023-04-10T08:14:21.586Z] 2023-04-10 08:14:21,506 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-377/.semver [2023-04-10T08:14:21.586Z] 2023-04-10 08:14:21,506 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-377/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-377, universal_newlines=False, shell=None, istream=None) [2023-04-10T08:14:22.965Z] 2023-04-10 08:14:22,529 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-377/.git/info/exclude [2023-04-10T08:14:22.965Z] 2023-04-10 08:14:22,529 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-377/.semver/PR-377 with force:False [2023-04-10T08:14:22.965Z] 2023-04-10 08:14:22,529 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-377/.semver/PR-377 [2023-04-10T08:14:22.965Z] 2023-04-10 08:14:22,533 [execute] INFO git cat-file --batch-check [2023-04-10T08:14:22.965Z] 2023-04-10 08:14:22,534 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-377/.semver, universal_newlines=False, shell=None, istream=) [2023-04-10T08:14:22.965Z] 2023-04-10 08:14:22,539 [execute] INFO git cat-file --batch [2023-04-10T08:14:22.965Z] 2023-04-10 08:14:22,539 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-377/.semver, universal_newlines=False, shell=None, istream=) [2023-04-10T08:14:22.965Z] 2023-04-10 08:14:22,543 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-377/.semver/PR-377 [2023-04-10T08:14:22.965Z] 0.0.0 [Pipeline] } [2023-04-10T08:14:22.978Z] $ docker exec --env ******** --env ******** ed6925bb9035f7ddd55c2d95f5828e9ef2bb517c47b90f8f48c5bb15e9622f4f ssh-agent -k [2023-04-10T08:14:23.071Z] unset SSH_AUTH_SOCK; [2023-04-10T08:14:23.071Z] unset SSH_AGENT_PID; [2023-04-10T08:14:23.071Z] echo Agent pid 76 killed; [2023-04-10T08:14:23.078Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-10T08:14:23.382Z] + git semver [Pipeline] } [2023-04-10T08:14:23.660Z] $ docker stop --time=1 ed6925bb9035f7ddd55c2d95f5828e9ef2bb517c47b90f8f48c5bb15e9622f4f [2023-04-10T08:14:24.917Z] $ docker rm -f --volumes ed6925bb9035f7ddd55c2d95f5828e9ef2bb517c47b90f8f48c5bb15e9622f4f [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-10T08:14:25.451Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-10T08:14:25.918Z] Stashed 1 file(s) [Pipeline] echo [2023-04-10T08:14:25.921Z] [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-04-10T08:14:26.058Z] provisioning config files... [2023-04-10T08:14:26.084Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-377@tmp/config2207550977725827717tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-10T08:14:26.459Z] ---> docker-login.sh [2023-04-10T08:14:26.459Z] nexus3.edgexfoundry.org:10001 [2023-04-10T08:14:26.459Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-10T08:14:26.459Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-10T08:14:26.459Z] Configure a credential helper to remove this warning. See [2023-04-10T08:14:26.459Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-10T08:14:26.459Z] [2023-04-10T08:14:26.459Z] Login Succeeded [2023-04-10T08:14:26.459Z] nexus3.edgexfoundry.org:10002 [2023-04-10T08:14:26.459Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-10T08:14:26.459Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-10T08:14:26.459Z] Configure a credential helper to remove this warning. See [2023-04-10T08:14:26.459Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-10T08:14:26.459Z] [2023-04-10T08:14:26.459Z] Login Succeeded [2023-04-10T08:14:26.459Z] nexus3.edgexfoundry.org:10003 [2023-04-10T08:14:26.718Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-10T08:14:26.718Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-10T08:14:26.718Z] Configure a credential helper to remove this warning. See [2023-04-10T08:14:26.718Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-10T08:14:26.718Z] [2023-04-10T08:14:26.718Z] Login Succeeded [2023-04-10T08:14:26.718Z] nexus3.edgexfoundry.org:10004 [2023-04-10T08:14:26.718Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-10T08:14:26.718Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-10T08:14:26.718Z] Configure a credential helper to remove this warning. See [2023-04-10T08:14:26.718Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-10T08:14:26.718Z] [2023-04-10T08:14:26.718Z] Login Succeeded [2023-04-10T08:14:26.718Z] docker.io [2023-04-10T08:14:26.978Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-10T08:14:26.978Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-10T08:14:26.978Z] Configure a credential helper to remove this warning. See [2023-04-10T08:14:26.978Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-10T08:14:26.978Z] [2023-04-10T08:14:26.978Z] Login Succeeded [2023-04-10T08:14:26.978Z] ---> docker-login.sh ends [Pipeline] } [2023-04-10T08:14:26.984Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-10T08:14:27.032Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-10T08:14:27.042Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-10T08:14:27.048Z] ========================================================= [2023-04-10T08:14:27.048Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-10T08:14:27.048Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-10T08:14:27.350Z] + 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-04-10T08:14:27.350Z] Sending build context to Docker daemon 23.54MB [2023-04-10T08:14:27.350Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-10T08:14:27.350Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-10T08:14:27.350Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-10T08:14:27.350Z] 63b65145d645: Pulling fs layer [2023-04-10T08:14:27.350Z] a2d21d5440eb: Pulling fs layer [2023-04-10T08:14:27.350Z] 935e6c44a52c: Pulling fs layer [2023-04-10T08:14:27.350Z] 94cc34f8dd06: Pulling fs layer [2023-04-10T08:14:27.350Z] 30dea6a524f1: Pulling fs layer [2023-04-10T08:14:27.350Z] a2aff8979fd8: Pulling fs layer [2023-04-10T08:14:27.350Z] 6808be2612f2: Pulling fs layer [2023-04-10T08:14:27.350Z] f25807f1079a: Pulling fs layer [2023-04-10T08:14:27.350Z] 6808be2612f2: Waiting [2023-04-10T08:14:27.350Z] f25807f1079a: Waiting [2023-04-10T08:14:27.350Z] 30dea6a524f1: Waiting [2023-04-10T08:14:27.350Z] 94cc34f8dd06: Waiting [2023-04-10T08:14:27.609Z] a2d21d5440eb: Download complete [2023-04-10T08:14:27.609Z] 94cc34f8dd06: Verifying Checksum [2023-04-10T08:14:27.609Z] 94cc34f8dd06: Download complete [2023-04-10T08:14:27.609Z] 30dea6a524f1: Download complete [2023-04-10T08:14:27.609Z] 63b65145d645: Verifying Checksum [2023-04-10T08:14:27.609Z] 63b65145d645: Download complete [2023-04-10T08:14:27.609Z] a2aff8979fd8: Verifying Checksum [2023-04-10T08:14:27.609Z] a2aff8979fd8: Download complete [2023-04-10T08:14:27.609Z] 63b65145d645: Pull complete [2023-04-10T08:14:27.984Z] a2d21d5440eb: Pull complete [2023-04-10T08:14:30.487Z] f25807f1079a: Verifying Checksum [2023-04-10T08:14:30.487Z] f25807f1079a: Download complete [2023-04-10T08:14:30.487Z] 935e6c44a52c: Verifying Checksum [2023-04-10T08:14:30.487Z] 935e6c44a52c: Download complete [2023-04-10T08:14:30.745Z] 6808be2612f2: Verifying Checksum [2023-04-10T08:14:30.745Z] 6808be2612f2: Download complete [2023-04-10T08:14:33.612Z] 935e6c44a52c: Pull complete [2023-04-10T08:14:33.612Z] 94cc34f8dd06: Pull complete [2023-04-10T08:14:33.612Z] 30dea6a524f1: Pull complete [2023-04-10T08:14:33.612Z] a2aff8979fd8: Pull complete [2023-04-10T08:14:35.565Z] 6808be2612f2: Pull complete [2023-04-10T08:14:36.308Z] f25807f1079a: Pull complete [2023-04-10T08:14:36.308Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-04-10T08:14:36.308Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-10T08:14:36.308Z] ---> 3b553350e43f [2023-04-10T08:14:36.308Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-10T08:14:40.053Z] ---> Running in c8d6cd93e296 [2023-04-10T08:14:40.053Z] Removing intermediate container c8d6cd93e296 [2023-04-10T08:14:40.053Z] ---> 8c84feafcd37 [2023-04-10T08:14:40.053Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-10T08:14:40.053Z] ---> Running in 8dffbeffa5a1 [2023-04-10T08:14:40.053Z] Removing intermediate container 8dffbeffa5a1 [2023-04-10T08:14:40.053Z] ---> cedec94e890c [2023-04-10T08:14:40.053Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-04-10T08:14:40.053Z] ---> Running in fb3b03925392 [2023-04-10T08:14:40.053Z] Removing intermediate container fb3b03925392 [2023-04-10T08:14:40.053Z] ---> c9a887190769 [2023-04-10T08:14:40.053Z] Step 6/12 : WORKDIR /device-virtual-go [2023-04-10T08:14:40.053Z] ---> Running in da81efacce8f [2023-04-10T08:14:40.053Z] Removing intermediate container da81efacce8f [2023-04-10T08:14:40.053Z] ---> 4e5b4992e30e [2023-04-10T08:14:40.053Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-10T08:14:40.312Z] ---> Running in ec5be5be435f [2023-04-10T08:14:40.312Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-10T08:14:40.570Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-10T08:14:40.829Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-10T08:14:40.829Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-10T08:14:40.829Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-10T08:14:40.829Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-10T08:14:40.829Z] Executing busybox-1.35.0-r29.trigger [2023-04-10T08:14:40.829Z] OK: 269 MiB in 57 packages [2023-04-10T08:14:41.018Z] Still waiting to schedule task [2023-04-10T08:14:41.018Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-04-10T08:14:41.089Z] Removing intermediate container ec5be5be435f [2023-04-10T08:14:41.089Z] ---> 9c4af3f2d644 [2023-04-10T08:14:41.089Z] Step 8/12 : COPY go.mod vendor* ./ [2023-04-10T08:14:41.347Z] ---> 0d5f573c90e7 [2023-04-10T08:14:41.347Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-10T08:14:41.347Z] ---> Running in 46646eda0f58 [2023-04-10T08:15:27.459Z] Removing intermediate container 46646eda0f58 [2023-04-10T08:15:27.459Z] ---> c3d4c0779cec [2023-04-10T08:15:27.459Z] Step 10/12 : COPY . . [2023-04-10T08:15:27.459Z] ---> 4828bd5d6db3 [2023-04-10T08:15:27.459Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-10T08:15:27.459Z] ---> Running in 6f1442833f8a [2023-04-10T08:15:27.459Z] Removing intermediate container 6f1442833f8a [2023-04-10T08:15:27.459Z] ---> 8ff9f827376a [2023-04-10T08:15:27.459Z] Step 12/12 : RUN $MAKE [2023-04-10T08:15:27.459Z] ---> Running in 47251b745100 [2023-04-10T08:15:27.459Z] noop [2023-04-10T08:15:27.459Z] Removing intermediate container 47251b745100 [2023-04-10T08:15:27.459Z] ---> a6b9c632de4d [2023-04-10T08:15:27.459Z] Successfully built a6b9c632de4d [2023-04-10T08:15:27.459Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-10T08:15:27.769Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-10T08:15:27.770Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-10T08:15:27.834Z] prd-ubuntu20.04-docker-8c-8g-7284 does not seem to be running inside a container [2023-04-10T08:15:27.863Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-377 -v /w/workspace/foundry_device-virtual-go_PR-377:/w/workspace/foundry_device-virtual-go_PR-377:rw,z -v /w/workspace/foundry_device-virtual-go_PR-377@tmp:/w/workspace/foundry_device-virtual-go_PR-377@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-10T08:15:28.164Z] $ docker top ac4b5eb590ff9bf9c6e3f592d7ed28cfa32fbc7f207e6f4a6ee985f2e7ba32d4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-10T08:15:28.503Z] + go version [2023-04-10T08:15:28.503Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-10T08:15:28.516Z] $ docker stop --time=1 ac4b5eb590ff9bf9c6e3f592d7ed28cfa32fbc7f207e6f4a6ee985f2e7ba32d4 [2023-04-10T08:15:29.792Z] $ docker rm -f --volumes ac4b5eb590ff9bf9c6e3f592d7ed28cfa32fbc7f207e6f4a6ee985f2e7ba32d4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-10T08:15:30.182Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-10T08:15:30.182Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-10T08:15:30.246Z] prd-ubuntu20.04-docker-8c-8g-7284 does not seem to be running inside a container [2023-04-10T08:15:30.276Z] $ 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-377 -v /w/workspace/foundry_device-virtual-go_PR-377:/w/workspace/foundry_device-virtual-go_PR-377:rw,z -v /w/workspace/foundry_device-virtual-go_PR-377@tmp:/w/workspace/foundry_device-virtual-go_PR-377@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-10T08:15:30.577Z] $ docker top ea963f78275aac23e9cfde35eadca03b276653369b1353c23fe77ee10d049321 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-10T08:15:30.910Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-377 [Pipeline] fileExists [Pipeline] sh [2023-04-10T08:15:31.200Z] + make test [2023-04-10T08:15:31.200Z] go test ./... -coverprofile=coverage.out [2023-04-10T08:15:36.473Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-04-10T08:15:43.382Z] # github.com/edgexfoundry/device-virtual-go/internal/driver [2023-04-10T08:15:43.382Z] internal/driver/virtualdriver.go:38:9: cannot use driver (variable of type *VirtualDriver) as "github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces".ProtocolDriver value in return statement: *VirtualDriver does not implement "github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces".ProtocolDriver (missing method Discover) [2023-04-10T08:15:46.600Z] FAIL github.com/edgexfoundry/device-virtual-go/internal/driver [build failed] [2023-04-10T08:15:46.600Z] FAIL [2023-04-10T08:15:46.600Z] make: *** [Makefile:30: unittest] Error 1 [Pipeline] } [2023-04-10T08:15:48.038Z] $ docker stop --time=1 ea963f78275aac23e9cfde35eadca03b276653369b1353c23fe77ee10d049321 [2023-04-10T08:15:51.296Z] $ docker rm -f --volumes ea963f78275aac23e9cfde35eadca03b276653369b1353c23fe77ee10d049321 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-10T08:15:54.155Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-10T08:15:54.156Z] [2023-04-10T08:15:54.156Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-10T08:15:54.461Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-10T08:15:54.893Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-10T08:15:54.893Z] 5eb5b503b376: Pulling fs layer [2023-04-10T08:15:54.893Z] 5c69ac0246d0: Pulling fs layer [2023-04-10T08:15:54.893Z] ec43610c2a17: Pulling fs layer [2023-04-10T08:15:54.893Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-10T08:15:54.893Z] 33b1e0a273af: Pulling fs layer [2023-04-10T08:15:54.893Z] 5d3b04190fa2: Pulling fs layer [2023-04-10T08:15:54.893Z] 2f39f015ded8: Pulling fs layer [2023-04-10T08:15:54.893Z] 5d3b04190fa2: Waiting [2023-04-10T08:15:54.893Z] 3a2ae6a8a46f: Waiting [2023-04-10T08:15:54.893Z] 33b1e0a273af: Waiting [2023-04-10T08:15:54.893Z] 2f39f015ded8: Waiting [2023-04-10T08:15:54.893Z] 5c69ac0246d0: Download complete [2023-04-10T08:15:54.893Z] 3a2ae6a8a46f: Verifying Checksum [2023-04-10T08:15:54.893Z] 3a2ae6a8a46f: Download complete [2023-04-10T08:15:55.750Z] 33b1e0a273af: Verifying Checksum [2023-04-10T08:15:55.750Z] 33b1e0a273af: Download complete [2023-04-10T08:15:55.750Z] ec43610c2a17: Download complete [2023-04-10T08:15:55.750Z] 5d3b04190fa2: Verifying Checksum [2023-04-10T08:15:55.750Z] 5d3b04190fa2: Download complete [2023-04-10T08:15:55.750Z] 5eb5b503b376: Verifying Checksum [2023-04-10T08:15:55.750Z] 5eb5b503b376: Download complete [2023-04-10T08:15:56.319Z] 2f39f015ded8: Download complete [2023-04-10T08:15:56.577Z] 5eb5b503b376: Pull complete [2023-04-10T08:15:56.577Z] 5c69ac0246d0: Pull complete [2023-04-10T08:15:57.142Z] ec43610c2a17: Pull complete [2023-04-10T08:15:57.142Z] 3a2ae6a8a46f: Pull complete [2023-04-10T08:15:57.401Z] 33b1e0a273af: Pull complete [2023-04-10T08:15:57.401Z] 5d3b04190fa2: Pull complete [2023-04-10T08:16:01.586Z] 2f39f015ded8: Pull complete [2023-04-10T08:16:01.586Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-10T08:16:01.586Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-10T08:16:01.586Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-10T08:16:01.664Z] prd-ubuntu20.04-docker-8c-8g-7284 does not seem to be running inside a container [2023-04-10T08:16:01.701Z] $ 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-377 -v /w/workspace/foundry_device-virtual-go_PR-377:/w/workspace/foundry_device-virtual-go_PR-377:rw,z -v /w/workspace/foundry_device-virtual-go_PR-377@tmp:/w/workspace/foundry_device-virtual-go_PR-377@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-10T08:16:04.969Z] $ docker top 6867cd3a15e7409d8554cfc667ecb700deda4ed5dc7b87a553c8c1a50ce5a292 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-10T08:16:05.338Z] ---> job-cost.sh [2023-04-10T08:16:05.338Z] lf-activate-venv: SKIPPING [2023-04-10T08:16:05.338Z] INFO: No Stack... [2023-04-10T08:16:05.598Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-10T08:16:05.858Z] INFO: Archiving Costs [Pipeline] sh [2023-04-10T08:16:06.152Z] + cat /w/workspace/foundry_device-virtual-go_PR-377/archives/cost.csv [2023-04-10T08:16:06.152Z] + cut -d, -f6 [Pipeline] lock [2023-04-10T08:16:06.167Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-377-2-stack-cost] [2023-04-10T08:16:06.173Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-377-2-stack-cost] did not exist. Created. [2023-04-10T08:16:06.173Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-377-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-10T08:16:06.476Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-10T08:16:06.514Z] Stashed 1 file(s) [Pipeline] } [2023-04-10T08:16:06.521Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-377-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-10T08:16:06.542Z] $ docker stop --time=1 6867cd3a15e7409d8554cfc667ecb700deda4ed5dc7b87a553c8c1a50ce5a292 [2023-04-10T08:16:07.706Z] $ docker rm -f --volumes 6867cd3a15e7409d8554cfc667ecb700deda4ed5dc7b87a553c8c1a50ce5a292 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-10T08:16:07.826Z] Failed in branch amd64 [2023-04-10T08:17:21.378Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7286 in /w/workspace/foundry_device-virtual-go_PR-377 [Pipeline] { [Pipeline] ws [2023-04-10T08:17:21.393Z] Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout [2023-04-10T08:17:21.442Z] The recommended git tool is: git [2023-04-10T08:17:33.068Z] using credential edgex-jenkins-ssh [2023-04-10T08:17:33.085Z] Cloning the remote Git repository [2023-04-10T08:17:33.143Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2023-04-10T08:17:33.269Z] > git init /w/workspace/device-virtual-go/2 # timeout=10 [2023-04-10T08:17:33.525Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-04-10T08:17:33.527Z] > git --version # timeout=10 [2023-04-10T08:17:33.559Z] > git --version # 'git version 2.25.1' [2023-04-10T08:17:33.565Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-10T08:17:33.803Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-10T08:17:39.468Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-04-10T08:17:39.495Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-10T08:17:41.028Z] Merging remotes/origin/main commit 9393cb199918d0b51a604a638f19df0ef5e84a0a into PR head commit 315bad0b0d18aa17ac7ad7fb49af3adfa535c22a [2023-04-10T08:17:41.389Z] Merge succeeded, producing 37ac3c799efe9121432cf8eae5affe3d16d4e5c0 [2023-04-10T08:17:41.389Z] Checking out Revision 37ac3c799efe9121432cf8eae5affe3d16d4e5c0 (PR-377) [2023-04-10T08:17:40.436Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-04-10T08:17:40.490Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-04-10T08:17:40.492Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-10T08:17:40.516Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/377/head:refs/remotes/origin/PR-377 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-04-10T08:17:41.053Z] > git config core.sparsecheckout # timeout=10 [2023-04-10T08:17:41.143Z] > git checkout -f 315bad0b0d18aa17ac7ad7fb49af3adfa535c22a # timeout=10 [2023-04-10T08:17:41.242Z] > git remote # timeout=10 [2023-04-10T08:17:41.265Z] > git config --get remote.origin.url # timeout=10 [2023-04-10T08:17:41.292Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-10T08:17:41.308Z] > git merge 9393cb199918d0b51a604a638f19df0ef5e84a0a # timeout=10 [2023-04-10T08:17:41.372Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-04-10T08:17:41.400Z] > git config core.sparsecheckout # timeout=10 [2023-04-10T08:17:41.419Z] > git checkout -f 37ac3c799efe9121432cf8eae5affe3d16d4e5c0 # timeout=10 [2023-04-10T08:17:44.889Z] Commit message: "Merge commit '9393cb199918d0b51a604a638f19df0ef5e84a0a' into HEAD" [2023-04-10T08:17:44.902Z] > git rev-list --no-walk 315bad0b0d18aa17ac7ad7fb49af3adfa535c22a # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-10T08:17:45.846Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-10T08:17:45.846Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-10T08:17:45.846Z] Dload Upload Total Spent Left Speed [2023-04-10T08:17:45.846Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 222k 0 --:--:-- --:--:-- --:--:-- 222k [Pipeline] sh [2023-04-10T08:17:46.507Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-10T08:17:46.832Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-10T08:17:46.832Z] + sudo tee /etc/docker/daemon.new [2023-04-10T08:17:46.832Z] { [2023-04-10T08:17:46.832Z] "registry-mirrors": [ [2023-04-10T08:17:46.832Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-10T08:17:46.832Z] ], [2023-04-10T08:17:46.832Z] "bip": "10.250.0.254/24", [2023-04-10T08:17:46.832Z] "hosts": [ [2023-04-10T08:17:46.832Z] "tcp://0.0.0.0:5555", [2023-04-10T08:17:46.832Z] "unix:///var/run/docker.sock" [2023-04-10T08:17:46.832Z] ], [2023-04-10T08:17:46.832Z] "mtu": 1458, [2023-04-10T08:17:46.832Z] "selinux-enabled": true, [2023-04-10T08:17:46.832Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-10T08:17:46.832Z] } [Pipeline] sh [2023-04-10T08:17:47.155Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-10T08:17:47.480Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-10T08:18:05.770Z] provisioning config files... [2023-04-10T08:18:05.803Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config9539431041395905641tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-10T08:18:06.175Z] ---> docker-login.sh [2023-04-10T08:18:06.175Z] nexus3.edgexfoundry.org:10001 [2023-04-10T08:18:06.778Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-10T08:18:06.778Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-10T08:18:06.778Z] Configure a credential helper to remove this warning. See [2023-04-10T08:18:06.778Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-10T08:18:06.778Z] [2023-04-10T08:18:06.778Z] Login Succeeded [2023-04-10T08:18:06.778Z] nexus3.edgexfoundry.org:10002 [2023-04-10T08:18:07.051Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-10T08:18:07.323Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-10T08:18:07.323Z] Configure a credential helper to remove this warning. See [2023-04-10T08:18:07.323Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-10T08:18:07.323Z] [2023-04-10T08:18:07.323Z] Login Succeeded [2023-04-10T08:18:07.323Z] nexus3.edgexfoundry.org:10003 [2023-04-10T08:18:07.594Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-10T08:18:07.594Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-10T08:18:07.594Z] Configure a credential helper to remove this warning. See [2023-04-10T08:18:07.594Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-10T08:18:07.594Z] [2023-04-10T08:18:07.594Z] Login Succeeded [2023-04-10T08:18:07.594Z] nexus3.edgexfoundry.org:10004 [2023-04-10T08:18:07.864Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-10T08:18:08.135Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-10T08:18:08.135Z] Configure a credential helper to remove this warning. See [2023-04-10T08:18:08.135Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-10T08:18:08.135Z] [2023-04-10T08:18:08.135Z] Login Succeeded [2023-04-10T08:18:08.135Z] docker.io [2023-04-10T08:18:08.404Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-10T08:18:08.673Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-10T08:18:08.673Z] Configure a credential helper to remove this warning. See [2023-04-10T08:18:08.673Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-10T08:18:08.673Z] [2023-04-10T08:18:08.673Z] Login Succeeded [2023-04-10T08:18:08.673Z] ---> docker-login.sh ends [Pipeline] } [2023-04-10T08:18:08.688Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-10T08:18:08.963Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-10T08:18:08.981Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-10T08:18:08.995Z] ========================================================= [2023-04-10T08:18:08.995Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-10T08:18:08.995Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-10T08:18:09.336Z] + 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-04-10T08:18:09.605Z] Sending build context to Docker daemon 11.93MB [2023-04-10T08:18:09.874Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-10T08:18:09.874Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-10T08:18:09.874Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-10T08:18:09.874Z] af6eaf76a39c: Pulling fs layer [2023-04-10T08:18:09.874Z] 55522c791124: Pulling fs layer [2023-04-10T08:18:09.874Z] ce5c4a1c91eb: Pulling fs layer [2023-04-10T08:18:09.874Z] 169dfbe0d373: Pulling fs layer [2023-04-10T08:18:09.874Z] e1ff8fa3b103: Pulling fs layer [2023-04-10T08:18:09.874Z] 52ebb69f0ebf: Pulling fs layer [2023-04-10T08:18:09.874Z] 5abe8eddf0d5: Pulling fs layer [2023-04-10T08:18:09.874Z] e1ff8fa3b103: Waiting [2023-04-10T08:18:09.874Z] 52ebb69f0ebf: Waiting [2023-04-10T08:18:09.874Z] 169dfbe0d373: Waiting [2023-04-10T08:18:09.874Z] 5abe8eddf0d5: Waiting [2023-04-10T08:18:09.874Z] 55522c791124: Verifying Checksum [2023-04-10T08:18:09.874Z] 55522c791124: Download complete [2023-04-10T08:18:09.874Z] 169dfbe0d373: Verifying Checksum [2023-04-10T08:18:09.874Z] 169dfbe0d373: Download complete [2023-04-10T08:18:09.874Z] e1ff8fa3b103: Verifying Checksum [2023-04-10T08:18:09.874Z] e1ff8fa3b103: Download complete [2023-04-10T08:18:10.160Z] af6eaf76a39c: Verifying Checksum [2023-04-10T08:18:10.160Z] af6eaf76a39c: Download complete [2023-04-10T08:18:11.155Z] af6eaf76a39c: Pull complete [2023-04-10T08:18:11.155Z] 5abe8eddf0d5: Verifying Checksum [2023-04-10T08:18:11.155Z] 5abe8eddf0d5: Download complete [2023-04-10T08:18:11.756Z] 55522c791124: Pull complete [2023-04-10T08:18:12.346Z] 52ebb69f0ebf: Verifying Checksum [2023-04-10T08:18:12.346Z] 52ebb69f0ebf: Download complete [2023-04-10T08:18:12.614Z] ce5c4a1c91eb: Verifying Checksum [2023-04-10T08:18:12.614Z] ce5c4a1c91eb: Download complete [2023-04-10T08:18:22.723Z] ce5c4a1c91eb: Pull complete [2023-04-10T08:18:22.992Z] 169dfbe0d373: Pull complete [2023-04-10T08:18:23.262Z] e1ff8fa3b103: Pull complete [2023-04-10T08:18:29.938Z] 52ebb69f0ebf: Pull complete [2023-04-10T08:18:31.897Z] 5abe8eddf0d5: Pull complete [2023-04-10T08:18:31.897Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-04-10T08:18:31.897Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-10T08:18:31.897Z] ---> 6cb57ee374ae [2023-04-10T08:18:31.897Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-10T08:18:33.860Z] ---> Running in 56f9802c42a9 [2023-04-10T08:18:34.128Z] Removing intermediate container 56f9802c42a9 [2023-04-10T08:18:34.128Z] ---> 13b0fd3da1de [2023-04-10T08:18:34.128Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-10T08:18:34.128Z] ---> Running in 9cf811d09f33 [2023-04-10T08:18:34.398Z] Removing intermediate container 9cf811d09f33 [2023-04-10T08:18:34.398Z] ---> 471a5ee14f44 [2023-04-10T08:18:34.398Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-04-10T08:18:34.398Z] ---> Running in a0a8c68fb6d0 [2023-04-10T08:18:34.665Z] Removing intermediate container a0a8c68fb6d0 [2023-04-10T08:18:34.665Z] ---> 5cdbb6a81088 [2023-04-10T08:18:34.665Z] Step 6/12 : WORKDIR /device-virtual-go [2023-04-10T08:18:34.934Z] ---> Running in 6265305972ef [2023-04-10T08:18:35.203Z] Removing intermediate container 6265305972ef [2023-04-10T08:18:35.203Z] ---> f98bd69b477b [2023-04-10T08:18:35.203Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-10T08:18:35.203Z] ---> Running in 7fb6a9b4ebf3 [2023-04-10T08:18:36.626Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-10T08:18:37.212Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-10T08:18:38.187Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-10T08:18:38.188Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-10T08:18:38.188Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-10T08:18:38.457Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-10T08:18:38.457Z] Executing busybox-1.35.0-r29.trigger [2023-04-10T08:18:38.457Z] OK: 268 MiB in 57 packages [2023-04-10T08:18:39.422Z] Removing intermediate container 7fb6a9b4ebf3 [2023-04-10T08:18:39.422Z] ---> 992a909904ec [2023-04-10T08:18:39.422Z] Step 8/12 : COPY go.mod vendor* ./ [2023-04-10T08:18:40.009Z] ---> 9830035da1a3 [2023-04-10T08:18:40.009Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-10T08:18:40.009Z] ---> Running in 060839083e92 [2023-04-10T08:19:47.914Z] Removing intermediate container 060839083e92 [2023-04-10T08:19:47.914Z] ---> c7e861de6aea [2023-04-10T08:19:47.914Z] Step 10/12 : COPY . . [2023-04-10T08:19:47.914Z] ---> 50675fb6adcf [2023-04-10T08:19:47.914Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-10T08:19:47.914Z] ---> Running in 18b7d2322590 [2023-04-10T08:19:47.914Z] Removing intermediate container 18b7d2322590 [2023-04-10T08:19:47.914Z] ---> 4d843c69b1da [2023-04-10T08:19:47.914Z] Step 12/12 : RUN $MAKE [2023-04-10T08:19:47.914Z] ---> Running in 17da05f35685 [2023-04-10T08:19:47.914Z] noop [2023-04-10T08:19:47.914Z] Removing intermediate container 17da05f35685 [2023-04-10T08:19:47.914Z] ---> 306d3e22c109 [2023-04-10T08:19:47.914Z] Successfully built 306d3e22c109 [2023-04-10T08:19:47.914Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-10T08:19:48.264Z] + docker inspect -f . ci-base-image-arm64 [2023-04-10T08:19:48.264Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-10T08:19:48.480Z] prd-ubuntu20.04-docker-arm64-4c-16g-7286 does not seem to be running inside a container [2023-04-10T08:19:48.548Z] $ 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 ******** ci-base-image-arm64 cat [2023-04-10T08:19:49.773Z] $ docker top 44b2ba2dfbca5a9faafcae7eec9c420938dd0c132cdb90511a29d296eb44a24d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-10T08:19:50.608Z] + go version [2023-04-10T08:19:50.608Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-10T08:19:50.633Z] $ docker stop --time=1 44b2ba2dfbca5a9faafcae7eec9c420938dd0c132cdb90511a29d296eb44a24d [2023-04-10T08:19:53.115Z] $ docker rm -f --volumes 44b2ba2dfbca5a9faafcae7eec9c420938dd0c132cdb90511a29d296eb44a24d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-10T08:19:53.661Z] + docker inspect -f . ci-base-image-arm64 [2023-04-10T08:19:53.661Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-10T08:19:53.841Z] prd-ubuntu20.04-docker-arm64-4c-16g-7286 does not seem to be running inside a container [2023-04-10T08:19:53.914Z] $ 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 ******** ci-base-image-arm64 cat [2023-04-10T08:19:55.087Z] $ docker top 7e16d298cbc34e73f38ad9da183c533b267dd3727fac1df9040f4fd0a8fc1235 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-10T08:19:55.911Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/2 [Pipeline] fileExists [Pipeline] sh [2023-04-10T08:19:56.249Z] + make test [2023-04-10T08:19:56.249Z] go test ./... -coverprofile=coverage.out [2023-04-10T08:20:28.498Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-04-10T08:21:36.375Z] # github.com/edgexfoundry/device-virtual-go/internal/driver [2023-04-10T08:21:36.375Z] internal/driver/virtualdriver.go:38:9: cannot use driver (variable of type *VirtualDriver) as "github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces".ProtocolDriver value in return statement: *VirtualDriver does not implement "github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces".ProtocolDriver (missing method Discover) [2023-04-10T08:22:23.207Z] FAIL github.com/edgexfoundry/device-virtual-go/internal/driver [build failed] [2023-04-10T08:22:23.207Z] FAIL [2023-04-10T08:22:23.207Z] make: *** [Makefile:30: unittest] Error 1 [Pipeline] } [2023-04-10T08:22:23.232Z] $ docker stop --time=1 7e16d298cbc34e73f38ad9da183c533b267dd3727fac1df9040f4fd0a8fc1235 [2023-04-10T08:22:25.109Z] $ docker rm -f --volumes 7e16d298cbc34e73f38ad9da183c533b267dd3727fac1df9040f4fd0a8fc1235 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-10T08:22:26.297Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-10T08:22:26.297Z] [2023-04-10T08:22:26.297Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-10T08:22:26.635Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-10T08:22:26.906Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-10T08:22:26.906Z] 8998bd30e6a1: Pulling fs layer [2023-04-10T08:22:26.906Z] 04944245beec: Pulling fs layer [2023-04-10T08:22:26.906Z] 699f458cf7ca: Pulling fs layer [2023-04-10T08:22:26.906Z] 765212b225bb: Pulling fs layer [2023-04-10T08:22:26.906Z] f23df028b6ca: Pulling fs layer [2023-04-10T08:22:26.906Z] d65c8cfc05b1: Pulling fs layer [2023-04-10T08:22:26.906Z] 2437ff75d9bd: Pulling fs layer [2023-04-10T08:22:26.906Z] f23df028b6ca: Waiting [2023-04-10T08:22:26.906Z] d65c8cfc05b1: Waiting [2023-04-10T08:22:26.906Z] 765212b225bb: Waiting [2023-04-10T08:22:26.906Z] 2437ff75d9bd: Waiting [2023-04-10T08:22:26.906Z] 04944245beec: Verifying Checksum [2023-04-10T08:22:26.906Z] 04944245beec: Download complete [2023-04-10T08:22:26.906Z] 765212b225bb: Verifying Checksum [2023-04-10T08:22:26.906Z] 765212b225bb: Download complete [2023-04-10T08:22:26.906Z] f23df028b6ca: Download complete [2023-04-10T08:22:27.178Z] d65c8cfc05b1: Verifying Checksum [2023-04-10T08:22:27.178Z] d65c8cfc05b1: Download complete [2023-04-10T08:22:27.178Z] 699f458cf7ca: Verifying Checksum [2023-04-10T08:22:27.178Z] 699f458cf7ca: Download complete [2023-04-10T08:22:27.460Z] 8998bd30e6a1: Verifying Checksum [2023-04-10T08:22:27.460Z] 8998bd30e6a1: Download complete [2023-04-10T08:22:30.057Z] 2437ff75d9bd: Verifying Checksum [2023-04-10T08:22:30.057Z] 2437ff75d9bd: Download complete [2023-04-10T08:22:31.478Z] 8998bd30e6a1: Pull complete [2023-04-10T08:22:32.062Z] 04944245beec: Pull complete [2023-04-10T08:22:33.476Z] 699f458cf7ca: Pull complete [2023-04-10T08:22:33.476Z] 765212b225bb: Pull complete [2023-04-10T08:22:34.438Z] f23df028b6ca: Pull complete [2023-04-10T08:22:34.438Z] d65c8cfc05b1: Pull complete [2023-04-10T08:22:49.579Z] 2437ff75d9bd: Pull complete [2023-04-10T08:22:49.579Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-10T08:22:49.579Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-10T08:22:49.579Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-10T08:22:49.794Z] prd-ubuntu20.04-docker-arm64-4c-16g-7286 does not seem to be running inside a container [2023-04-10T08:22:49.877Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-04-10T08:22:52.545Z] $ docker top 168f7845fa4d4bc89226f89621146474568300feef2cf107ba9d3c025811e8b7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-10T08:22:53.393Z] ---> job-cost.sh [2023-04-10T08:22:53.393Z] lf-activate-venv: SKIPPING [2023-04-10T08:22:53.393Z] INFO: No Stack... [2023-04-10T08:22:53.975Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-10T08:22:54.562Z] INFO: Archiving Costs [Pipeline] sh [2023-04-10T08:22:55.204Z] + cut -d, -f6 [2023-04-10T08:22:55.204Z] + cat /w/workspace/device-virtual-go/2/archives/cost.csv [Pipeline] lock [2023-04-10T08:22:55.263Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-377-2-stack-cost] [2023-04-10T08:22:55.276Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-377-2-stack-cost] did not exist. Created. [2023-04-10T08:22:55.276Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-377-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-10T08:22:55.936Z] /w/workspace/device-virtual-go/2@tmp/durable-78c268f8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-10T08:22:56.268Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-10T08:22:56.554Z] Warning: overwriting stash ‘stack-cost’ [2023-04-10T08:22:56.960Z] Stashed 1 file(s) [Pipeline] } [2023-04-10T08:22:56.969Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-377-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-10T08:22:56.997Z] $ docker stop --time=1 168f7845fa4d4bc89226f89621146474568300feef2cf107ba9d3c025811e8b7 [2023-04-10T08:22:58.524Z] $ docker rm -f --volumes 168f7845fa4d4bc89226f89621146474568300feef2cf107ba9d3c025811e8b7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-10T08:22:58.738Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [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-04-10T08:23:01.338Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-377/archives ] [2023-04-10T08:23:01.338Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-377/archives [2023-04-10T08:23:01.338Z] total 16 [2023-04-10T08:23:01.338Z] drwxr-xr-x 3 root root 4096 Apr 10 08:16 . [2023-04-10T08:23:01.338Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 10 08:16 .. [2023-04-10T08:23:01.338Z] drwxr-xr-x 2 root root 4096 Apr 10 08:16 cost [2023-04-10T08:23:01.338Z] -rw-r--r-- 1 root root 89 Apr 10 08:16 cost.csv [2023-04-10T08:23:01.338Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-377/archives [2023-04-10T08:23:01.338Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-377/archives [2023-04-10T08:23:01.338Z] total 16 [2023-04-10T08:23:01.338Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 10 08:16 . [2023-04-10T08:23:01.338Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 10 08:16 .. [2023-04-10T08:23:01.338Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 10 08:16 cost [2023-04-10T08:23:01.338Z] -rw-r--r-- 1 jenkins jenkins 89 Apr 10 08:16 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-10T08:23:02.552Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-10T08:23:03.122Z] ---> package-listing.sh [2023-04-10T08:23:03.122Z] ++ facter osfamily [2023-04-10T08:23:03.122Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-10T08:23:03.441Z] + OS_FAMILY=debian [2023-04-10T08:23:03.441Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-377 [2023-04-10T08:23:03.441Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-10T08:23:03.441Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-10T08:23:03.441Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-10T08:23:03.441Z] + PACKAGES=/tmp/packages_start.txt [2023-04-10T08:23:03.441Z] + '[' /w/workspace/foundry_device-virtual-go_PR-377 ']' [2023-04-10T08:23:03.441Z] + PACKAGES=/tmp/packages_end.txt [2023-04-10T08:23:03.441Z] + case "${OS_FAMILY}" in [2023-04-10T08:23:03.441Z] + dpkg -l [2023-04-10T08:23:03.441Z] + grep '^ii' [2023-04-10T08:23:03.441Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-10T08:23:03.441Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-10T08:23:03.441Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-10T08:23:03.441Z] + '[' /w/workspace/foundry_device-virtual-go_PR-377 ']' [2023-04-10T08:23:03.441Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-377/archives/ [2023-04-10T08:23:03.441Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-377/archives/ [Pipeline] echo [2023-04-10T08:23:03.453Z] 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-377/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-04-10T08:23:03.783Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-10T08:23:04.084Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-10T08:23:04.084Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-10T08:23:04.152Z] prd-ubuntu20.04-docker-8c-8g-7284 does not seem to be running inside a container [2023-04-10T08:23:04.190Z] $ 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-377/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-377 -v /w/workspace/foundry_device-virtual-go_PR-377:/w/workspace/foundry_device-virtual-go_PR-377:rw,z -v /w/workspace/foundry_device-virtual-go_PR-377@tmp:/w/workspace/foundry_device-virtual-go_PR-377@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-10T08:23:04.366Z] $ docker top b0663bddb7f33c601b22ad4bb59b769fd1957bf24ac99a799b521729398ff28e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-10T08:23:04.701Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-10T08:23:05.034Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-10T08:23:05.351Z] + ls /var/log/sa-host [2023-04-10T08:23:05.351Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-10T08:23:05.497Z] provisioning config files... [2023-04-10T08:23:05.881Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-377@tmp/config12695429723134851475tmp [Pipeline] { [Pipeline] echo [2023-04-10T08:23:05.899Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-10T08:23:06.184Z] ---> create-netrc.sh [Pipeline] } [2023-04-10T08:23:06.191Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-10T08:23:06.526Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-10T08:23:06.534Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-10T08:23:06.817Z] ---> sudo-logs.sh [2023-04-10T08:23:06.817Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-10T08:23:06.848Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-10T08:23:07.133Z] ---> job-cost.sh [2023-04-10T08:23:07.133Z] lf-activate-venv: SKIPPING [2023-04-10T08:23:07.133Z] DEBUG: total: 0.2199999988079071 [2023-04-10T08:23:07.133Z] INFO: Retrieving Stack Cost... [2023-04-10T08:23:07.700Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-10T08:23:07.959Z] INFO: Archiving Costs [Pipeline] echo [2023-04-10T08:23:07.970Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-10T08:23:08.251Z] ---> logs-deploy.sh [2023-04-10T08:23:08.251Z] lf-activate-venv: SKIPPING [2023-04-10T08:23:08.251Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-377/2 [2023-04-10T08:23:08.251Z] INFO: archiving workspace using pattern(s): [2023-04-10T08:23:09.187Z] Archives upload complete. [2023-04-10T08:23:09.187Z] INFO: archiving logs to Nexus