Pull request #331 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e50d8f2e08880dcc5cf012a20b98a332186fea84+ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80 (88801cbdaec4bf84fa5dbabb416920ffaa8fd582) 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-ssh11359893866031465525.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh17282919190023163639.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-331/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-331/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8443944021807411339.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-331/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4732684717358248681.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8955084805126687814.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-331/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-331/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11637021406311873325.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-3347 in /w/workspace/foundry_device-virtual-go_PR-331 [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-331 # 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/331/head:refs/remotes/origin/PR-331 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80 into PR head commit e50d8f2e08880dcc5cf012a20b98a332186fea84 Merge succeeded, producing e50d8f2e08880dcc5cf012a20b98a332186fea84 Checking out Revision e50d8f2e08880dcc5cf012a20b98a332186fea84 (PR-331) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-23T11:02:38.042Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git config core.sparsecheckout # timeout=10 > git checkout -f e50d8f2e08880dcc5cf012a20b98a332186fea84 # 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 ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e50d8f2e08880dcc5cf012a20b98a332186fea84 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-23T11:02:38.230Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-23T11:02:38.331Z] ========================================================= [2023-01-23T11:02:38.331Z] EdgeX Global Pipelines Version Info [2023-01-23T11:02:38.331Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-23T11:02:39.053Z] ------------------- [2023-01-23T11:02:39.054Z] stable info: [2023-01-23T11:02:39.054Z] ------------------- [2023-01-23T11:02:39.054Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-23T11:02:39.054Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-23T11:02:39.054Z] Message: update stable to v1.0.244 [2023-01-23T11:02:39.623Z] ------------------- [2023-01-23T11:02:39.623Z] experimental info: [2023-01-23T11:02:39.623Z] ------------------- [2023-01-23T11:02:39.623Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-23T11:02:39.623Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-23T11:02:39.623Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-23T11:02:39.913Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2023-01-23T11:02:39.958Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2023-01-23T11:02:40.001Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-23T11:02:40.040Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-23T11:02:40.080Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-23T11:02:40.122Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-23T11:02:40.160Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-23T11:02:40.197Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-23T11:02:40.232Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-23T11:02:40.267Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-23T11:02:40.305Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-23T11:02:40.342Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2023-01-23T11:02:40.382Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-23T11:02:40.419Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-23T11:02:40.456Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-23T11:02:40.494Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-23T11:02:40.534Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-23T11:02:40.568Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-23T11:02:40.605Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-23T11:02:40.642Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-23T11:02:40.678Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-01-23T11:02:40.716Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-01-23T11:02:40.758Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-23T11:02:40.802Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-23T11:02:40.846Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-23T11:02:40.888Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-23T11:02:40.929Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-23T11:02:40.970Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-331 [Pipeline] echo [2023-01-23T11:02:41.008Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-331 [Pipeline] echo [2023-01-23T11:02:41.050Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-331 [Pipeline] echo [2023-01-23T11:02:41.088Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e50d8f2e08880dcc5cf012a20b98a332186fea84 [Pipeline] echo [2023-01-23T11:02:41.131Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e50d8f2 [Pipeline] echo [2023-01-23T11:02:41.176Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-23T11:02:41.295Z] provisioning config files... [2023-01-23T11:02:41.310Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-331@tmp/config4099765219154161718tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-23T11:02:41.661Z] ---> docker-login.sh [2023-01-23T11:02:41.661Z] nexus3.edgexfoundry.org:10001 [2023-01-23T11:02:41.920Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T11:02:42.182Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T11:02:42.182Z] Configure a credential helper to remove this warning. See [2023-01-23T11:02:42.182Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T11:02:42.182Z] [2023-01-23T11:02:42.182Z] Login Succeeded [2023-01-23T11:02:42.182Z] nexus3.edgexfoundry.org:10002 [2023-01-23T11:02:42.182Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T11:02:42.182Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T11:02:42.182Z] Configure a credential helper to remove this warning. See [2023-01-23T11:02:42.182Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T11:02:42.182Z] [2023-01-23T11:02:42.182Z] Login Succeeded [2023-01-23T11:02:42.182Z] nexus3.edgexfoundry.org:10003 [2023-01-23T11:02:42.182Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T11:02:42.442Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T11:02:42.442Z] Configure a credential helper to remove this warning. See [2023-01-23T11:02:42.442Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T11:02:42.442Z] [2023-01-23T11:02:42.442Z] Login Succeeded [2023-01-23T11:02:42.442Z] nexus3.edgexfoundry.org:10004 [2023-01-23T11:02:42.442Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T11:02:42.442Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T11:02:42.442Z] Configure a credential helper to remove this warning. See [2023-01-23T11:02:42.442Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T11:02:42.442Z] [2023-01-23T11:02:42.442Z] Login Succeeded [2023-01-23T11:02:42.442Z] docker.io [2023-01-23T11:02:42.442Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T11:02:42.701Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T11:02:42.701Z] Configure a credential helper to remove this warning. See [2023-01-23T11:02:42.701Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T11:02:42.701Z] [2023-01-23T11:02:42.701Z] Login Succeeded [2023-01-23T11:02:42.701Z] ---> docker-login.sh ends [Pipeline] } [2023-01-23T11:02:42.727Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-23T11:02:43.369Z] + git rev-list -1 --merges e50d8f2e08880dcc5cf012a20b98a332186fea84~1..e50d8f2e08880dcc5cf012a20b98a332186fea84 [Pipeline] echo [2023-01-23T11:02:43.433Z] -----------> git rev-list -1 --merges e50d8f2e08880dcc5cf012a20b98a332186fea84~1..e50d8f2e08880dcc5cf012a20b98a332186fea84 e50d8f2e08880dcc5cf012a20b98a332186fea84 [false] [Pipeline] sh [2023-01-23T11:02:43.743Z] + git log --format=format:%s -1 e50d8f2e08880dcc5cf012a20b98a332186fea84 [Pipeline] echo [2023-01-23T11:02:43.776Z] ========================================================= [2023-01-23T11:02:43.776Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-23T11:02:43.776Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-23T11:02:44.212Z] + git log --format=format:%s -1 e50d8f2e08880dcc5cf012a20b98a332186fea84 [Pipeline] echo [2023-01-23T11:02:44.244Z] [semverPrep] GIT_COMMIT: e50d8f2e08880dcc5cf012a20b98a332186fea84, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo [2023-01-23T11:02:44.277Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-23T11:02:44.679Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-23T11:02:44.679Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-23T11:02:44.679Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-23T11:02:44.679Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-23T11:02:44.679Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-23T11:02:44.679Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-23T11:02:44.679Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T11:02:45.102Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-23T11:02:45.102Z] [2023-01-23T11:02:45.102Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T11:02:45.480Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-23T11:02:45.480Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-23T11:02:45.480Z] b85a868b505f: Pulling fs layer [2023-01-23T11:02:45.480Z] e2be974225ed: Pulling fs layer [2023-01-23T11:02:45.480Z] 339a4e72a1f5: Pulling fs layer [2023-01-23T11:02:45.480Z] 988bab9f4d93: Pulling fs layer [2023-01-23T11:02:45.480Z] 1469e6f7b9e6: Pulling fs layer [2023-01-23T11:02:45.480Z] eaf3925da568: Pulling fs layer [2023-01-23T11:02:45.480Z] bab4dde63d76: Pulling fs layer [2023-01-23T11:02:45.480Z] bde34c3a00c8: Pulling fs layer [2023-01-23T11:02:45.480Z] b352a97aabf1: Pulling fs layer [2023-01-23T11:02:45.480Z] bab4dde63d76: Waiting [2023-01-23T11:02:45.480Z] eaf3925da568: Waiting [2023-01-23T11:02:45.480Z] bde34c3a00c8: Waiting [2023-01-23T11:02:45.480Z] 1469e6f7b9e6: Waiting [2023-01-23T11:02:45.480Z] 988bab9f4d93: Waiting [2023-01-23T11:02:45.480Z] 4872d77fe225: Pulling fs layer [2023-01-23T11:02:45.480Z] 5851b861e8e6: Pulling fs layer [2023-01-23T11:02:45.480Z] 5851b861e8e6: Waiting [2023-01-23T11:02:45.480Z] e2be974225ed: Verifying Checksum [2023-01-23T11:02:45.480Z] e2be974225ed: Download complete [2023-01-23T11:02:45.480Z] 988bab9f4d93: Verifying Checksum [2023-01-23T11:02:45.480Z] 988bab9f4d93: Download complete [2023-01-23T11:02:45.745Z] 1469e6f7b9e6: Verifying Checksum [2023-01-23T11:02:45.745Z] 1469e6f7b9e6: Download complete [2023-01-23T11:02:45.745Z] eaf3925da568: Verifying Checksum [2023-01-23T11:02:45.745Z] eaf3925da568: Download complete [2023-01-23T11:02:45.745Z] 339a4e72a1f5: Verifying Checksum [2023-01-23T11:02:45.745Z] 339a4e72a1f5: Download complete [2023-01-23T11:02:45.745Z] bde34c3a00c8: Verifying Checksum [2023-01-23T11:02:45.745Z] bde34c3a00c8: Download complete [2023-01-23T11:02:46.007Z] b352a97aabf1: Download complete [2023-01-23T11:02:46.007Z] 4872d77fe225: Verifying Checksum [2023-01-23T11:02:46.007Z] 4872d77fe225: Download complete [2023-01-23T11:02:46.007Z] 5851b861e8e6: Verifying Checksum [2023-01-23T11:02:46.007Z] 5851b861e8e6: Download complete [2023-01-23T11:02:46.007Z] b85a868b505f: Verifying Checksum [2023-01-23T11:02:46.007Z] b85a868b505f: Download complete [2023-01-23T11:02:46.267Z] bab4dde63d76: Verifying Checksum [2023-01-23T11:02:46.267Z] bab4dde63d76: Download complete [2023-01-23T11:02:47.207Z] b85a868b505f: Pull complete [2023-01-23T11:02:47.467Z] e2be974225ed: Pull complete [2023-01-23T11:02:48.036Z] 339a4e72a1f5: Pull complete [2023-01-23T11:02:48.036Z] 988bab9f4d93: Pull complete [2023-01-23T11:02:48.296Z] 1469e6f7b9e6: Pull complete [2023-01-23T11:02:48.555Z] eaf3925da568: Pull complete [2023-01-23T11:02:50.463Z] bab4dde63d76: Pull complete [2023-01-23T11:02:50.463Z] bde34c3a00c8: Pull complete [2023-01-23T11:02:50.463Z] b352a97aabf1: Pull complete [2023-01-23T11:02:50.463Z] 4872d77fe225: Pull complete [2023-01-23T11:02:50.463Z] 5851b861e8e6: Pull complete [2023-01-23T11:02:50.463Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-23T11:02:50.463Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-23T11:02:50.463Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-23T11:02:50.691Z] prd-ubuntu20.04-docker-8c-8g-3347 does not seem to be running inside a container [2023-01-23T11:02:50.721Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-331 -v /w/workspace/foundry_device-virtual-go_PR-331:/w/workspace/foundry_device-virtual-go_PR-331:rw,z -v /w/workspace/foundry_device-virtual-go_PR-331@tmp:/w/workspace/foundry_device-virtual-go_PR-331@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-23T11:02:53.879Z] $ docker top d1609e589473812e30c9858fb24781c878e914d1f4b071983891a0e1d3d601ab -eo pid,comm [2023-01-23T11:02:53.941Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-01-23T11:02:53.941Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-23T11:02:54.075Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-23T11:02:54.075Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-23T11:02:54.200Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-23T11:02:54.202Z] $ docker exec d1609e589473812e30c9858fb24781c878e914d1f4b071983891a0e1d3d601ab ssh-agent [2023-01-23T11:02:54.321Z] SSH_AUTH_SOCK=/tmp/ssh-x6e6RwSEX9zo/agent.33 [2023-01-23T11:02:54.321Z] SSH_AGENT_PID=39 [2023-01-23T11:02:54.327Z] Running ssh-add (command line suppressed) [2023-01-23T11:02:54.439Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-331@tmp/private_key_10638182563685924306.key (/w/workspace/foundry_device-virtual-go_PR-331@tmp/private_key_10638182563685924306.key) [2023-01-23T11:02:54.453Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-23T11:02:54.785Z] + git tag --points-at HEAD [Pipeline] } [2023-01-23T11:02:54.811Z] $ docker exec --env ******** --env ******** d1609e589473812e30c9858fb24781c878e914d1f4b071983891a0e1d3d601ab ssh-agent -k [2023-01-23T11:02:54.910Z] unset SSH_AUTH_SOCK; [2023-01-23T11:02:54.911Z] unset SSH_AGENT_PID; [2023-01-23T11:02:54.911Z] echo Agent pid 39 killed; [2023-01-23T11:02:54.922Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-23T11:02:55.017Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-23T11:02:55.017Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-23T11:02:55.139Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-23T11:02:55.142Z] $ docker exec d1609e589473812e30c9858fb24781c878e914d1f4b071983891a0e1d3d601ab ssh-agent [2023-01-23T11:02:55.257Z] SSH_AUTH_SOCK=/tmp/ssh-kT7LsonIddrf/agent.71 [2023-01-23T11:02:55.257Z] SSH_AGENT_PID=77 [2023-01-23T11:02:55.261Z] Running ssh-add (command line suppressed) [2023-01-23T11:02:55.379Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-331@tmp/private_key_5461554158992013839.key (/w/workspace/foundry_device-virtual-go_PR-331@tmp/private_key_5461554158992013839.key) [2023-01-23T11:02:55.393Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-23T11:02:55.717Z] + git semver init [2023-01-23T11:02:55.977Z] 2023-01-23 11:02:55,879 [run_init] DEBUG init version:0.0.0 force:False [2023-01-23T11:02:55.977Z] 2023-01-23 11:02:55,880 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-331/.semver [2023-01-23T11:02:55.977Z] 2023-01-23 11:02:55,880 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-331/.semver [2023-01-23T11:02:55.977Z] 2023-01-23 11:02:55,880 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-331/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-331, universal_newlines=False, shell=None, istream=None) [2023-01-23T11:02:57.356Z] 2023-01-23 11:02:57,077 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-331/.git/info/exclude [2023-01-23T11:02:57.356Z] 2023-01-23 11:02:57,078 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-331/.semver/PR-331 with force:False [2023-01-23T11:02:57.356Z] 2023-01-23 11:02:57,078 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-331/.semver/PR-331 [2023-01-23T11:02:57.356Z] 2023-01-23 11:02:57,083 [execute] INFO git cat-file --batch-check [2023-01-23T11:02:57.356Z] 2023-01-23 11:02:57,083 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-331/.semver, universal_newlines=False, shell=None, istream=) [2023-01-23T11:02:57.356Z] 2023-01-23 11:02:57,090 [execute] INFO git cat-file --batch [2023-01-23T11:02:57.356Z] 2023-01-23 11:02:57,091 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-331/.semver, universal_newlines=False, shell=None, istream=) [2023-01-23T11:02:57.356Z] 2023-01-23 11:02:57,097 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-331/.semver/PR-331 [2023-01-23T11:02:57.356Z] 0.0.0 [Pipeline] } [2023-01-23T11:02:57.382Z] $ docker exec --env ******** --env ******** d1609e589473812e30c9858fb24781c878e914d1f4b071983891a0e1d3d601ab ssh-agent -k [2023-01-23T11:02:57.468Z] unset SSH_AUTH_SOCK; [2023-01-23T11:02:57.468Z] unset SSH_AGENT_PID; [2023-01-23T11:02:57.469Z] echo Agent pid 77 killed; [2023-01-23T11:02:57.481Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-23T11:02:57.901Z] + git semver [Pipeline] } [2023-01-23T11:02:58.184Z] $ docker stop --time=1 d1609e589473812e30c9858fb24781c878e914d1f4b071983891a0e1d3d601ab [2023-01-23T11:02:59.499Z] $ docker rm -f --volumes d1609e589473812e30c9858fb24781c878e914d1f4b071983891a0e1d3d601ab [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-23T11:02:59.901Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-23T11:03:00.158Z] Stashed 1 file(s) [Pipeline] echo [2023-01-23T11:03:00.175Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-23T11:03:00.768Z] provisioning config files... [2023-01-23T11:03:00.780Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-331@tmp/config48918265524654411tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-23T11:03:01.121Z] ---> docker-login.sh [2023-01-23T11:03:01.121Z] nexus3.edgexfoundry.org:10001 [2023-01-23T11:03:01.121Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T11:03:01.121Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T11:03:01.121Z] Configure a credential helper to remove this warning. See [2023-01-23T11:03:01.121Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T11:03:01.121Z] [2023-01-23T11:03:01.121Z] Login Succeeded [2023-01-23T11:03:01.121Z] nexus3.edgexfoundry.org:10002 [2023-01-23T11:03:01.121Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T11:03:01.121Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T11:03:01.121Z] Configure a credential helper to remove this warning. See [2023-01-23T11:03:01.121Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T11:03:01.121Z] [2023-01-23T11:03:01.121Z] Login Succeeded [2023-01-23T11:03:01.121Z] nexus3.edgexfoundry.org:10003 [2023-01-23T11:03:01.389Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T11:03:01.389Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T11:03:01.389Z] Configure a credential helper to remove this warning. See [2023-01-23T11:03:01.389Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T11:03:01.389Z] [2023-01-23T11:03:01.389Z] Login Succeeded [2023-01-23T11:03:01.389Z] nexus3.edgexfoundry.org:10004 [2023-01-23T11:03:01.389Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T11:03:01.389Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T11:03:01.389Z] Configure a credential helper to remove this warning. See [2023-01-23T11:03:01.389Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T11:03:01.389Z] [2023-01-23T11:03:01.389Z] Login Succeeded [2023-01-23T11:03:01.389Z] docker.io [2023-01-23T11:03:01.648Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T11:03:01.648Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T11:03:01.648Z] Configure a credential helper to remove this warning. See [2023-01-23T11:03:01.648Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T11:03:01.648Z] [2023-01-23T11:03:01.648Z] Login Succeeded [2023-01-23T11:03:01.648Z] ---> docker-login.sh ends [Pipeline] } [2023-01-23T11:03:01.678Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-23T11:03:01.874Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-23T11:03:01.917Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-23T11:03:01.949Z] ========================================================= [2023-01-23T11:03:01.949Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-23T11:03:01.949Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T11:03:02.442Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-23T11:03:02.442Z] Sending build context to Docker daemon 23.35MB [2023-01-23T11:03:02.442Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-23T11:03:02.442Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-23T11:03:02.703Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-23T11:03:02.703Z] 213ec9aee27d: Pulling fs layer [2023-01-23T11:03:02.703Z] 4583459ba037: Pulling fs layer [2023-01-23T11:03:02.703Z] 93c1e223e6f2: Pulling fs layer [2023-01-23T11:03:02.703Z] 53926ce57604: Pulling fs layer [2023-01-23T11:03:02.703Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-23T11:03:02.703Z] 22ff95d597cd: Pulling fs layer [2023-01-23T11:03:02.703Z] 12d6caf4c0d1: Pulling fs layer [2023-01-23T11:03:02.703Z] 96b7cbca73a9: Pulling fs layer [2023-01-23T11:03:02.703Z] a7acece74701: Pulling fs layer [2023-01-23T11:03:02.703Z] 53926ce57604: Waiting [2023-01-23T11:03:02.703Z] 21b2b0c7a3f4: Waiting [2023-01-23T11:03:02.703Z] 96b7cbca73a9: Waiting [2023-01-23T11:03:02.703Z] 22ff95d597cd: Waiting [2023-01-23T11:03:02.703Z] 12d6caf4c0d1: Waiting [2023-01-23T11:03:02.703Z] a7acece74701: Waiting [2023-01-23T11:03:02.703Z] 93c1e223e6f2: Verifying Checksum [2023-01-23T11:03:02.703Z] 93c1e223e6f2: Download complete [2023-01-23T11:03:02.703Z] 4583459ba037: Verifying Checksum [2023-01-23T11:03:02.703Z] 4583459ba037: Download complete [2023-01-23T11:03:02.703Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-23T11:03:02.703Z] 21b2b0c7a3f4: Download complete [2023-01-23T11:03:02.703Z] 22ff95d597cd: Verifying Checksum [2023-01-23T11:03:02.703Z] 22ff95d597cd: Download complete [2023-01-23T11:03:02.703Z] 213ec9aee27d: Verifying Checksum [2023-01-23T11:03:02.703Z] 213ec9aee27d: Download complete [2023-01-23T11:03:02.703Z] 12d6caf4c0d1: Verifying Checksum [2023-01-23T11:03:02.703Z] 12d6caf4c0d1: Download complete [2023-01-23T11:03:02.971Z] 213ec9aee27d: Pull complete [2023-01-23T11:03:02.971Z] 4583459ba037: Pull complete [2023-01-23T11:03:03.242Z] 93c1e223e6f2: Pull complete [2023-01-23T11:03:03.855Z] a7acece74701: Verifying Checksum [2023-01-23T11:03:03.855Z] a7acece74701: Download complete [2023-01-23T11:03:04.117Z] 53926ce57604: Verifying Checksum [2023-01-23T11:03:04.117Z] 53926ce57604: Download complete [2023-01-23T11:03:04.117Z] 96b7cbca73a9: Verifying Checksum [2023-01-23T11:03:04.117Z] 96b7cbca73a9: Download complete [2023-01-23T11:03:08.358Z] 53926ce57604: Pull complete [2023-01-23T11:03:08.358Z] 21b2b0c7a3f4: Pull complete [2023-01-23T11:03:08.358Z] 22ff95d597cd: Pull complete [2023-01-23T11:03:08.358Z] 12d6caf4c0d1: Pull complete [2023-01-23T11:03:10.259Z] 96b7cbca73a9: Pull complete [2023-01-23T11:03:11.194Z] a7acece74701: Pull complete [2023-01-23T11:03:11.194Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-23T11:03:11.194Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-23T11:03:11.194Z] ---> db6d94c90886 [2023-01-23T11:03:11.194Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-23T11:03:15.587Z] Still waiting to schedule task [2023-01-23T11:03:15.587Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-01-23T11:03:16.518Z] ---> Running in e044490f8c6b [2023-01-23T11:03:16.518Z] Removing intermediate container e044490f8c6b [2023-01-23T11:03:16.518Z] ---> bbd2863f4e0d [2023-01-23T11:03:16.518Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-23T11:03:16.518Z] ---> Running in 10c782536004 [2023-01-23T11:03:16.777Z] Removing intermediate container 10c782536004 [2023-01-23T11:03:16.778Z] ---> ae0854c5bb71 [2023-01-23T11:03:16.778Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-01-23T11:03:16.778Z] ---> Running in b84bbde1d465 [2023-01-23T11:03:16.778Z] Removing intermediate container b84bbde1d465 [2023-01-23T11:03:16.778Z] ---> 26b428d2f960 [2023-01-23T11:03:16.778Z] Step 6/12 : WORKDIR /device-virtual-go [2023-01-23T11:03:16.778Z] ---> Running in 7789ce1b584d [2023-01-23T11:03:17.038Z] Removing intermediate container 7789ce1b584d [2023-01-23T11:03:17.038Z] ---> 12f012333b60 [2023-01-23T11:03:17.038Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-23T11:03:17.038Z] ---> Running in 5c8213079f5f [2023-01-23T11:03:17.298Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-23T11:03:17.558Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-23T11:03:17.818Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-23T11:03:17.818Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-23T11:03:17.818Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-23T11:03:17.818Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-23T11:03:17.818Z] Executing busybox-1.35.0-r17.trigger [2023-01-23T11:03:17.818Z] OK: 216 MiB in 55 packages [2023-01-23T11:03:18.390Z] Removing intermediate container 5c8213079f5f [2023-01-23T11:03:18.390Z] ---> 6dae0dc7a309 [2023-01-23T11:03:18.390Z] Step 8/12 : COPY go.mod vendor* ./ [2023-01-23T11:03:18.390Z] ---> 43683d9d6c44 [2023-01-23T11:03:18.390Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-23T11:03:18.390Z] ---> Running in a45b5cfc5cba [2023-01-23T11:03:50.719Z] Removing intermediate container a45b5cfc5cba [2023-01-23T11:03:50.719Z] ---> e818f8d882a7 [2023-01-23T11:03:50.719Z] Step 10/12 : COPY . . [2023-01-23T11:03:50.719Z] ---> feaac109a56c [2023-01-23T11:03:50.719Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-23T11:03:50.719Z] ---> Running in 7187ab921843 [2023-01-23T11:03:50.719Z] Removing intermediate container 7187ab921843 [2023-01-23T11:03:50.719Z] ---> a436ec656343 [2023-01-23T11:03:50.719Z] Step 12/12 : RUN $MAKE [2023-01-23T11:03:50.719Z] ---> Running in 374ebb974be2 [2023-01-23T11:03:50.719Z] noop [2023-01-23T11:03:50.719Z] Removing intermediate container 374ebb974be2 [2023-01-23T11:03:50.719Z] ---> 3ff5196a0fb9 [2023-01-23T11:03:50.719Z] Successfully built 3ff5196a0fb9 [2023-01-23T11:03:50.719Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T11:03:51.161Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-23T11:03:51.161Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-23T11:03:51.302Z] prd-ubuntu20.04-docker-8c-8g-3347 does not seem to be running inside a container [2023-01-23T11:03:51.330Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-331 -v /w/workspace/foundry_device-virtual-go_PR-331:/w/workspace/foundry_device-virtual-go_PR-331:rw,z -v /w/workspace/foundry_device-virtual-go_PR-331@tmp:/w/workspace/foundry_device-virtual-go_PR-331@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-23T11:03:51.656Z] $ docker top ee42346a5e7f3a1d2c7e00a856d1f193d46986c1f4ac12ac30498f9d59457d89 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-23T11:03:52.063Z] + go version [2023-01-23T11:03:52.064Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-23T11:03:52.097Z] $ docker stop --time=1 ee42346a5e7f3a1d2c7e00a856d1f193d46986c1f4ac12ac30498f9d59457d89 [2023-01-23T11:03:53.367Z] $ docker rm -f --volumes ee42346a5e7f3a1d2c7e00a856d1f193d46986c1f4ac12ac30498f9d59457d89 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T11:03:54.074Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-23T11:03:54.074Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-23T11:03:54.220Z] prd-ubuntu20.04-docker-8c-8g-3347 does not seem to be running inside a container [2023-01-23T11:03:54.248Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-virtual-go_PR-331 -v /w/workspace/foundry_device-virtual-go_PR-331:/w/workspace/foundry_device-virtual-go_PR-331:rw,z -v /w/workspace/foundry_device-virtual-go_PR-331@tmp:/w/workspace/foundry_device-virtual-go_PR-331@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-23T11:03:54.602Z] $ docker top ad21caf564f0043d167d2f2d9f64cc936ca24d1df749dab8089c2339a0b4eb15 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-23T11:03:54.991Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-331 [Pipeline] fileExists [Pipeline] sh [2023-01-23T11:03:55.345Z] + make test [2023-01-23T11:03:55.345Z] go test ./... -coverprofile=coverage.out [2023-01-23T11:03:55.602Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-01-23T11:04:03.712Z] # github.com/edgexfoundry/go-mod-messaging/v3/clients [2023-01-23T11:04:03.712Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-messaging/v3@v3.0.0-dev.3/clients/command.go:89:9: cannot use client (variable of type *CommandClient) as type interfaces.CommandClient in return statement: [2023-01-23T11:04:03.712Z] *CommandClient does not implement interfaces.CommandClient (wrong type for IssueGetCommandByName method) [2023-01-23T11:04:03.712Z] have IssueGetCommandByName(ctx context.Context, deviceName string, commandName string, dsPushEvent string, dsReturnEvent string) (*responses.EventResponse, "github.com/edgexfoundry/go-mod-core-contracts/v3/errors".EdgeX) [2023-01-23T11:04:03.712Z] want IssueGetCommandByName(ctx context.Context, deviceName string, commandName string, dsPushEvent bool, dsReturnEvent bool) (*responses.EventResponse, "github.com/edgexfoundry/go-mod-core-contracts/v3/errors".EdgeX) [2023-01-23T11:04:03.712Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-messaging/v3@v3.0.0-dev.3/clients/command.go:210:35: undefined: common.ValueNo [2023-01-23T11:04:03.971Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [2023-01-23T11:04:03.971Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/messaging/command.go:219:43: undefined: common.ValueYes [2023-01-23T11:04:03.971Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/messaging/command.go:223:45: undefined: common.ValueNo [2023-01-23T11:04:03.971Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http [2023-01-23T11:04:03.971Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/http/command.go:49:71: undefined: common.ValueYes [2023-01-23T11:04:03.971Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/http/command.go:54:74: undefined: common.ValueYes [2023-01-23T11:04:04.230Z] FAIL github.com/edgexfoundry/device-virtual-go/internal/driver [build failed] [2023-01-23T11:04:04.230Z] make: *** [Makefile:30: unittest] Error 2 [Pipeline] } [2023-01-23T11:04:04.283Z] $ docker stop --time=1 ad21caf564f0043d167d2f2d9f64cc936ca24d1df749dab8089c2339a0b4eb15 [2023-01-23T11:04:06.616Z] $ docker rm -f --volumes ad21caf564f0043d167d2f2d9f64cc936ca24d1df749dab8089c2339a0b4eb15 [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-01-23T11:04:07.724Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-23T11:04:07.724Z] [2023-01-23T11:04:07.724Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T11:04:08.098Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-23T11:04:08.098Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-23T11:04:08.098Z] 5eb5b503b376: Pulling fs layer [2023-01-23T11:04:08.098Z] 5c69ac0246d0: Pulling fs layer [2023-01-23T11:04:08.098Z] ec43610c2a17: Pulling fs layer [2023-01-23T11:04:08.098Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-23T11:04:08.098Z] 33b1e0a273af: Pulling fs layer [2023-01-23T11:04:08.098Z] 5d3b04190fa2: Pulling fs layer [2023-01-23T11:04:08.098Z] 2f39f015ded8: Pulling fs layer [2023-01-23T11:04:08.098Z] 3a2ae6a8a46f: Waiting [2023-01-23T11:04:08.098Z] 5d3b04190fa2: Waiting [2023-01-23T11:04:08.098Z] 33b1e0a273af: Waiting [2023-01-23T11:04:08.098Z] 2f39f015ded8: Waiting [2023-01-23T11:04:08.098Z] 5c69ac0246d0: Download complete [2023-01-23T11:04:08.098Z] 3a2ae6a8a46f: Verifying Checksum [2023-01-23T11:04:08.098Z] 3a2ae6a8a46f: Download complete [2023-01-23T11:04:08.362Z] 33b1e0a273af: Verifying Checksum [2023-01-23T11:04:08.362Z] 33b1e0a273af: Download complete [2023-01-23T11:04:08.362Z] 5d3b04190fa2: Download complete [2023-01-23T11:04:08.362Z] ec43610c2a17: Verifying Checksum [2023-01-23T11:04:08.362Z] ec43610c2a17: Download complete [2023-01-23T11:04:08.625Z] 5eb5b503b376: Verifying Checksum [2023-01-23T11:04:08.625Z] 5eb5b503b376: Download complete [2023-01-23T11:04:09.195Z] 2f39f015ded8: Download complete [2023-01-23T11:04:09.763Z] 5eb5b503b376: Pull complete [2023-01-23T11:04:10.021Z] 5c69ac0246d0: Pull complete [2023-01-23T11:04:10.308Z] ec43610c2a17: Pull complete [2023-01-23T11:04:10.599Z] 3a2ae6a8a46f: Pull complete [2023-01-23T11:04:10.599Z] 33b1e0a273af: Pull complete [2023-01-23T11:04:10.883Z] 5d3b04190fa2: Pull complete [2023-01-23T11:04:15.144Z] 2f39f015ded8: Pull complete [2023-01-23T11:04:15.144Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-23T11:04:15.144Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-23T11:04:15.144Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-23T11:04:15.355Z] prd-ubuntu20.04-docker-8c-8g-3347 does not seem to be running inside a container [2023-01-23T11:04:15.385Z] $ 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-331 -v /w/workspace/foundry_device-virtual-go_PR-331:/w/workspace/foundry_device-virtual-go_PR-331:rw,z -v /w/workspace/foundry_device-virtual-go_PR-331@tmp:/w/workspace/foundry_device-virtual-go_PR-331@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-23T11:04:19.332Z] $ docker top 69ccbaffb318fef313f0a1fa336e34148b308fbccb49cb5f32ba4391e95805e7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-23T11:04:19.807Z] ---> job-cost.sh [2023-01-23T11:04:19.807Z] lf-activate-venv: SKIPPING [2023-01-23T11:04:19.807Z] INFO: No Stack... [2023-01-23T11:04:20.376Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-23T11:04:20.636Z] INFO: Archiving Costs [Pipeline] sh [2023-01-23T11:04:20.958Z] + cat /w/workspace/foundry_device-virtual-go_PR-331/archives/cost.csv [2023-01-23T11:04:20.958Z] + cut -d, -f6 [Pipeline] lock [2023-01-23T11:04:20.995Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-331-1-stack-cost] [2023-01-23T11:04:21.000Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-331-1-stack-cost] did not exist. Created. [2023-01-23T11:04:21.000Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-331-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-23T11:04:21.393Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-23T11:04:21.453Z] Stashed 1 file(s) [Pipeline] } [2023-01-23T11:04:21.471Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-331-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-23T11:04:21.545Z] $ docker stop --time=1 69ccbaffb318fef313f0a1fa336e34148b308fbccb49cb5f32ba4391e95805e7 [2023-01-23T11:04:22.720Z] $ docker rm -f --volumes 69ccbaffb318fef313f0a1fa336e34148b308fbccb49cb5f32ba4391e95805e7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-23T11:04:23.065Z] Failed in branch amd64 [2023-01-23T11:04:48.874Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-3350 in /w/workspace/foundry_device-virtual-go_PR-331 [Pipeline] { [Pipeline] ws [2023-01-23T11:04:48.926Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2023-01-23T11:04:49.006Z] The recommended git tool is: git [2023-01-23T11:04:54.318Z] using credential edgex-jenkins-ssh [2023-01-23T11:04:54.337Z] Cloning the remote Git repository [2023-01-23T11:04:54.381Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2023-01-23T11:04:54.464Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2023-01-23T11:04:54.622Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-01-23T11:04:54.622Z] > git --version # timeout=10 [2023-01-23T11:04:54.647Z] > git --version # 'git version 2.25.1' [2023-01-23T11:04:54.649Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-23T11:04:54.711Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-23T11:04:56.718Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-01-23T11:04:56.741Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-23T11:04:57.588Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-01-23T11:04:57.629Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-01-23T11:04:57.630Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-23T11:04:57.648Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/331/head:refs/remotes/origin/PR-331 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-23T11:04:58.175Z] Merging remotes/origin/main commit ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80 into PR head commit e50d8f2e08880dcc5cf012a20b98a332186fea84 [2023-01-23T11:04:58.408Z] Merge succeeded, producing e50d8f2e08880dcc5cf012a20b98a332186fea84 [2023-01-23T11:04:58.409Z] Checking out Revision e50d8f2e08880dcc5cf012a20b98a332186fea84 (PR-331) [2023-01-23T11:04:58.870Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" [2023-01-23T11:04:58.919Z] > git --version # timeout=10 [2023-01-23T11:04:58.933Z] > git --version # 'git version 2.25.1' [2023-01-23T11:04:58.946Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-23T11:04:58.192Z] > git config core.sparsecheckout # timeout=10 [2023-01-23T11:04:58.208Z] > git checkout -f e50d8f2e08880dcc5cf012a20b98a332186fea84 # timeout=10 [2023-01-23T11:04:58.298Z] > git remote # timeout=10 [2023-01-23T11:04:58.317Z] > git config --get remote.origin.url # timeout=10 [2023-01-23T11:04:58.351Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-23T11:04:58.364Z] > git merge ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80 # timeout=10 [2023-01-23T11:04:58.390Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-23T11:04:58.415Z] > git config core.sparsecheckout # timeout=10 [2023-01-23T11:04:58.431Z] > git checkout -f e50d8f2e08880dcc5cf012a20b98a332186fea84 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-23T11:05:00.000Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-23T11:05:00.000Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-23T11:05:00.000Z] Dload Upload Total Spent Left Speed [2023-01-23T11:05:00.000Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 86 12751 86 11015 0 0 74425 0 --:--:-- --:--:-- --:--:-- 74425 100 12751 100 12751 0 0 85577 0 --:--:-- --:--:-- --:--:-- 85006 [Pipeline] sh [2023-01-23T11:05:00.624Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-23T11:05:00.989Z] + sudo jq+ . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-23T11:05:00.989Z] sudo tee /etc/docker/daemon.new [2023-01-23T11:05:00.989Z] { [2023-01-23T11:05:00.989Z] "registry-mirrors": [ [2023-01-23T11:05:00.989Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-23T11:05:00.989Z] ], [2023-01-23T11:05:00.989Z] "bip": "10.250.0.254/24", [2023-01-23T11:05:00.989Z] "hosts": [ [2023-01-23T11:05:00.989Z] "tcp://0.0.0.0:5555", [2023-01-23T11:05:00.989Z] "unix:///var/run/docker.sock" [2023-01-23T11:05:00.989Z] ], [2023-01-23T11:05:00.989Z] "mtu": 1458, [2023-01-23T11:05:00.989Z] "selinux-enabled": true, [2023-01-23T11:05:00.989Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-23T11:05:00.989Z] } [Pipeline] sh [2023-01-23T11:05:01.344Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-23T11:05:01.704Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-23T11:05:20.048Z] provisioning config files... [2023-01-23T11:05:20.075Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config7090642062254891504tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-23T11:05:20.464Z] ---> docker-login.sh [2023-01-23T11:05:20.464Z] nexus3.edgexfoundry.org:10001 [2023-01-23T11:05:21.054Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T11:05:21.054Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T11:05:21.054Z] Configure a credential helper to remove this warning. See [2023-01-23T11:05:21.054Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T11:05:21.054Z] [2023-01-23T11:05:21.054Z] Login Succeeded [2023-01-23T11:05:21.054Z] nexus3.edgexfoundry.org:10002 [2023-01-23T11:05:21.324Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T11:05:21.594Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T11:05:21.594Z] Configure a credential helper to remove this warning. See [2023-01-23T11:05:21.594Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T11:05:21.594Z] [2023-01-23T11:05:21.594Z] Login Succeeded [2023-01-23T11:05:21.594Z] nexus3.edgexfoundry.org:10003 [2023-01-23T11:05:21.864Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T11:05:21.864Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T11:05:21.864Z] Configure a credential helper to remove this warning. See [2023-01-23T11:05:21.864Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T11:05:21.864Z] [2023-01-23T11:05:21.864Z] Login Succeeded [2023-01-23T11:05:21.864Z] nexus3.edgexfoundry.org:10004 [2023-01-23T11:05:22.135Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T11:05:22.135Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T11:05:22.135Z] Configure a credential helper to remove this warning. See [2023-01-23T11:05:22.135Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T11:05:22.135Z] [2023-01-23T11:05:22.135Z] Login Succeeded [2023-01-23T11:05:22.135Z] docker.io [2023-01-23T11:05:22.405Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T11:05:22.673Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T11:05:22.674Z] Configure a credential helper to remove this warning. See [2023-01-23T11:05:22.674Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T11:05:22.674Z] [2023-01-23T11:05:22.674Z] Login Succeeded [2023-01-23T11:05:22.674Z] ---> docker-login.sh ends [Pipeline] } [2023-01-23T11:05:22.702Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-23T11:05:23.096Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-23T11:05:23.137Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-23T11:05:23.174Z] ========================================================= [2023-01-23T11:05:23.174Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-23T11:05:23.174Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T11:05:23.686Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-23T11:05:24.278Z] Sending build context to Docker daemon 11.83MB [2023-01-23T11:05:24.278Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-23T11:05:24.278Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-23T11:05:24.278Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-23T11:05:24.278Z] 9b18e9b68314: Pulling fs layer [2023-01-23T11:05:24.278Z] 35d82f9e3411: Pulling fs layer [2023-01-23T11:05:24.278Z] e16973657156: Pulling fs layer [2023-01-23T11:05:24.278Z] fc693d55d65f: Pulling fs layer [2023-01-23T11:05:24.278Z] 7e9fc2657dce: Pulling fs layer [2023-01-23T11:05:24.278Z] dda99020689f: Pulling fs layer [2023-01-23T11:05:24.278Z] db1c61fa0a46: Pulling fs layer [2023-01-23T11:05:24.278Z] 891c053d2c06: Pulling fs layer [2023-01-23T11:05:24.278Z] fc693d55d65f: Waiting [2023-01-23T11:05:24.278Z] 7e9fc2657dce: Waiting [2023-01-23T11:05:24.278Z] dda99020689f: Waiting [2023-01-23T11:05:24.278Z] db1c61fa0a46: Waiting [2023-01-23T11:05:24.278Z] 891c053d2c06: Waiting [2023-01-23T11:05:24.278Z] e16973657156: Verifying Checksum [2023-01-23T11:05:24.278Z] e16973657156: Download complete [2023-01-23T11:05:24.278Z] 35d82f9e3411: Verifying Checksum [2023-01-23T11:05:24.278Z] 35d82f9e3411: Download complete [2023-01-23T11:05:24.278Z] 7e9fc2657dce: Verifying Checksum [2023-01-23T11:05:24.278Z] 7e9fc2657dce: Download complete [2023-01-23T11:05:24.552Z] dda99020689f: Verifying Checksum [2023-01-23T11:05:24.552Z] dda99020689f: Download complete [2023-01-23T11:05:24.552Z] 9b18e9b68314: Verifying Checksum [2023-01-23T11:05:24.552Z] 9b18e9b68314: Download complete [2023-01-23T11:05:25.542Z] 891c053d2c06: Verifying Checksum [2023-01-23T11:05:25.542Z] 891c053d2c06: Download complete [2023-01-23T11:05:26.967Z] db1c61fa0a46: Verifying Checksum [2023-01-23T11:05:26.967Z] db1c61fa0a46: Download complete [2023-01-23T11:05:26.967Z] 9b18e9b68314: Pull complete [2023-01-23T11:05:27.239Z] 35d82f9e3411: Pull complete [2023-01-23T11:05:27.239Z] fc693d55d65f: Verifying Checksum [2023-01-23T11:05:27.239Z] fc693d55d65f: Download complete [2023-01-23T11:05:27.514Z] e16973657156: Pull complete [2023-01-23T11:05:39.860Z] fc693d55d65f: Pull complete [2023-01-23T11:05:39.860Z] 7e9fc2657dce: Pull complete [2023-01-23T11:05:40.147Z] dda99020689f: Pull complete [2023-01-23T11:05:46.866Z] db1c61fa0a46: Pull complete [2023-01-23T11:05:48.858Z] 891c053d2c06: Pull complete [2023-01-23T11:05:48.858Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-23T11:05:48.858Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-23T11:05:48.858Z] ---> f96f9c87975a [2023-01-23T11:05:48.858Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-23T11:05:50.816Z] ---> Running in 0462f5edf4bd [2023-01-23T11:05:51.096Z] Removing intermediate container 0462f5edf4bd [2023-01-23T11:05:51.096Z] ---> 8d92e780171d [2023-01-23T11:05:51.096Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-23T11:05:51.096Z] ---> Running in d2cd234cd536 [2023-01-23T11:05:51.372Z] Removing intermediate container d2cd234cd536 [2023-01-23T11:05:51.372Z] ---> 58665aa44595 [2023-01-23T11:05:51.372Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-01-23T11:05:51.641Z] ---> Running in 54cc8e6f6ee9 [2023-01-23T11:05:51.909Z] Removing intermediate container 54cc8e6f6ee9 [2023-01-23T11:05:51.909Z] ---> e018017484c8 [2023-01-23T11:05:51.909Z] Step 6/12 : WORKDIR /device-virtual-go [2023-01-23T11:05:51.909Z] ---> Running in cfd33feb6d72 [2023-01-23T11:05:52.178Z] Removing intermediate container cfd33feb6d72 [2023-01-23T11:05:52.178Z] ---> 6a7d18e3ca5e [2023-01-23T11:05:52.178Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-23T11:05:52.451Z] ---> Running in 3121651c9d57 [2023-01-23T11:05:53.416Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-23T11:05:54.001Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-23T11:05:54.965Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-23T11:05:54.965Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-23T11:05:54.965Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-23T11:05:54.965Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-23T11:05:55.231Z] Executing busybox-1.35.0-r17.trigger [2023-01-23T11:05:55.231Z] OK: 226 MiB in 55 packages [2023-01-23T11:05:56.206Z] Removing intermediate container 3121651c9d57 [2023-01-23T11:05:56.206Z] ---> d25c180a4e31 [2023-01-23T11:05:56.206Z] Step 8/12 : COPY go.mod vendor* ./ [2023-01-23T11:05:56.478Z] ---> 71f015bc49ce [2023-01-23T11:05:56.478Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-23T11:05:56.745Z] ---> Running in 38a648bb9206 [2023-01-23T11:06:53.166Z] Removing intermediate container 38a648bb9206 [2023-01-23T11:06:53.166Z] ---> a22499bd3d83 [2023-01-23T11:06:53.166Z] Step 10/12 : COPY . . [2023-01-23T11:06:53.166Z] ---> 03b8b12636b3 [2023-01-23T11:06:53.166Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-23T11:06:53.166Z] ---> Running in 686f80ee25e3 [2023-01-23T11:06:53.166Z] Removing intermediate container 686f80ee25e3 [2023-01-23T11:06:53.166Z] ---> b45f3669e96b [2023-01-23T11:06:53.166Z] Step 12/12 : RUN $MAKE [2023-01-23T11:06:53.166Z] ---> Running in 76d4deac4421 [2023-01-23T11:06:53.166Z] noop [2023-01-23T11:06:53.166Z] Removing intermediate container 76d4deac4421 [2023-01-23T11:06:53.166Z] ---> f5edc8ed24c7 [2023-01-23T11:06:53.166Z] Successfully built f5edc8ed24c7 [2023-01-23T11:06:53.166Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T11:06:53.657Z] + docker inspect -f . ci-base-image-arm64 [2023-01-23T11:06:53.657Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-23T11:06:53.947Z] prd-ubuntu20.04-docker-arm64-4c-16g-3350 does not seem to be running inside a container [2023-01-23T11:06:54.027Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-23T11:06:55.226Z] $ docker top f3e599a4d76b0418c99b273cd3a9963e2e4019451d2162cba8c8fe7a6c53908d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-23T11:06:56.109Z] + go version [2023-01-23T11:06:56.109Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-23T11:06:56.149Z] $ docker stop --time=1 f3e599a4d76b0418c99b273cd3a9963e2e4019451d2162cba8c8fe7a6c53908d [2023-01-23T11:06:57.762Z] $ docker rm -f --volumes f3e599a4d76b0418c99b273cd3a9963e2e4019451d2162cba8c8fe7a6c53908d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T11:06:58.605Z] + docker inspect -f . ci-base-image-arm64 [2023-01-23T11:06:58.605Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-23T11:06:58.873Z] prd-ubuntu20.04-docker-arm64-4c-16g-3350 does not seem to be running inside a container [2023-01-23T11:06:58.945Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-23T11:07:00.192Z] $ docker top a4848d7682c050e2c96bc34f263733e87cef26cdb08c119f06053ee818b005a9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-23T11:07:01.066Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh [2023-01-23T11:07:01.774Z] + make test [2023-01-23T11:07:01.774Z] go test ./... -coverprofile=coverage.out [2023-01-23T11:07:03.734Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-01-23T11:08:00.161Z] # github.com/edgexfoundry/go-mod-messaging/v3/clients [2023-01-23T11:08:00.161Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-messaging/v3@v3.0.0-dev.3/clients/command.go:89:9: cannot use client (variable of type *CommandClient) as type interfaces.CommandClient in return statement: [2023-01-23T11:08:00.161Z] *CommandClient does not implement interfaces.CommandClient (wrong type for IssueGetCommandByName method) [2023-01-23T11:08:00.161Z] have IssueGetCommandByName(ctx context.Context, deviceName string, commandName string, dsPushEvent string, dsReturnEvent string) (*responses.EventResponse, "github.com/edgexfoundry/go-mod-core-contracts/v3/errors".EdgeX) [2023-01-23T11:08:00.161Z] want IssueGetCommandByName(ctx context.Context, deviceName string, commandName string, dsPushEvent bool, dsReturnEvent bool) (*responses.EventResponse, "github.com/edgexfoundry/go-mod-core-contracts/v3/errors".EdgeX) [2023-01-23T11:08:00.161Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-messaging/v3@v3.0.0-dev.3/clients/command.go:210:35: undefined: common.ValueNo [2023-01-23T11:08:12.488Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http [2023-01-23T11:08:12.488Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/http/command.go:49:71: undefined: common.ValueYes [2023-01-23T11:08:12.488Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/http/command.go:54:74: undefined: common.ValueYes [2023-01-23T11:08:12.488Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [2023-01-23T11:08:12.488Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/messaging/command.go:219:43: undefined: common.ValueYes [2023-01-23T11:08:12.488Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/messaging/command.go:223:45: undefined: common.ValueNo [2023-01-23T11:08:17.838Z] FAIL github.com/edgexfoundry/device-virtual-go/internal/driver [build failed] [2023-01-23T11:08:18.421Z] make: *** [Makefile:30: unittest] Error 2 [Pipeline] } [2023-01-23T11:08:18.468Z] $ docker stop --time=1 a4848d7682c050e2c96bc34f263733e87cef26cdb08c119f06053ee818b005a9 [2023-01-23T11:08:20.286Z] $ docker rm -f --volumes a4848d7682c050e2c96bc34f263733e87cef26cdb08c119f06053ee818b005a9 [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-01-23T11:08:21.704Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-23T11:08:21.704Z] [2023-01-23T11:08:21.704Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T11:08:22.093Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-23T11:08:22.367Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-23T11:08:22.367Z] 8998bd30e6a1: Pulling fs layer [2023-01-23T11:08:22.367Z] 04944245beec: Pulling fs layer [2023-01-23T11:08:22.367Z] 699f458cf7ca: Pulling fs layer [2023-01-23T11:08:22.367Z] 765212b225bb: Pulling fs layer [2023-01-23T11:08:22.367Z] f23df028b6ca: Pulling fs layer [2023-01-23T11:08:22.367Z] d65c8cfc05b1: Pulling fs layer [2023-01-23T11:08:22.367Z] 2437ff75d9bd: Pulling fs layer [2023-01-23T11:08:22.367Z] 765212b225bb: Waiting [2023-01-23T11:08:22.367Z] f23df028b6ca: Waiting [2023-01-23T11:08:22.367Z] d65c8cfc05b1: Waiting [2023-01-23T11:08:22.367Z] 2437ff75d9bd: Waiting [2023-01-23T11:08:22.367Z] 04944245beec: Verifying Checksum [2023-01-23T11:08:22.367Z] 04944245beec: Download complete [2023-01-23T11:08:22.367Z] 765212b225bb: Verifying Checksum [2023-01-23T11:08:22.367Z] 765212b225bb: Download complete [2023-01-23T11:08:22.641Z] f23df028b6ca: Verifying Checksum [2023-01-23T11:08:22.641Z] f23df028b6ca: Download complete [2023-01-23T11:08:22.641Z] d65c8cfc05b1: Download complete [2023-01-23T11:08:22.641Z] 699f458cf7ca: Verifying Checksum [2023-01-23T11:08:22.641Z] 699f458cf7ca: Download complete [2023-01-23T11:08:23.235Z] 8998bd30e6a1: Download complete [2023-01-23T11:08:25.176Z] 2437ff75d9bd: Verifying Checksum [2023-01-23T11:08:25.177Z] 2437ff75d9bd: Download complete [2023-01-23T11:08:27.126Z] 8998bd30e6a1: Pull complete [2023-01-23T11:08:27.393Z] 04944245beec: Pull complete [2023-01-23T11:08:28.804Z] 699f458cf7ca: Pull complete [2023-01-23T11:08:28.804Z] 765212b225bb: Pull complete [2023-01-23T11:08:29.389Z] f23df028b6ca: Pull complete [2023-01-23T11:08:29.661Z] d65c8cfc05b1: Pull complete [2023-01-23T11:08:44.673Z] 2437ff75d9bd: Pull complete [2023-01-23T11:08:44.673Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-23T11:08:44.673Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-23T11:08:44.673Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-23T11:08:45.002Z] prd-ubuntu20.04-docker-arm64-4c-16g-3350 does not seem to be running inside a container [2023-01-23T11:08:45.071Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-01-23T11:08:47.715Z] $ docker top a095c0ff7b967865cd101d222be62ffe03dae03c47ee7d5a70b48d1827e68e85 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-23T11:08:48.622Z] ---> job-cost.sh [2023-01-23T11:08:48.622Z] lf-activate-venv: SKIPPING [2023-01-23T11:08:48.622Z] INFO: No Stack... [2023-01-23T11:08:49.205Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-23T11:08:49.786Z] INFO: Archiving Costs [Pipeline] sh [2023-01-23T11:08:50.123Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2023-01-23T11:08:50.123Z] + cut -d, -f6 [Pipeline] lock [2023-01-23T11:08:50.481Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-331-1-stack-cost] [2023-01-23T11:08:50.486Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-331-1-stack-cost] did not exist. Created. [2023-01-23T11:08:50.486Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-331-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-23T11:08:51.211Z] /w/workspace/device-virtual-go/1@tmp/durable-8321e84d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-23T11:08:51.564Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-23T11:08:51.603Z] Warning: overwriting stash ‘stack-cost’ [2023-01-23T11:08:52.050Z] Stashed 1 file(s) [Pipeline] } [2023-01-23T11:08:52.065Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-331-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-23T11:08:52.148Z] $ docker stop --time=1 a095c0ff7b967865cd101d222be62ffe03dae03c47ee7d5a70b48d1827e68e85 [2023-01-23T11:08:53.588Z] $ docker rm -f --volumes a095c0ff7b967865cd101d222be62ffe03dae03c47ee7d5a70b48d1827e68e85 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-23T11:08:54.297Z] 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-01-23T11:08:56.221Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-331/archives ] [2023-01-23T11:08:56.221Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-331/archives [2023-01-23T11:08:56.221Z] total 16 [2023-01-23T11:08:56.221Z] drwxr-xr-x 3 root root 4096 Jan 23 11:04 . [2023-01-23T11:08:56.221Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 23 11:04 .. [2023-01-23T11:08:56.221Z] drwxr-xr-x 2 root root 4096 Jan 23 11:04 cost [2023-01-23T11:08:56.221Z] -rw-r--r-- 1 root root 89 Jan 23 11:04 cost.csv [2023-01-23T11:08:56.221Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-331/archives [2023-01-23T11:08:56.221Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-331/archives [2023-01-23T11:08:56.221Z] total 16 [2023-01-23T11:08:56.221Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 23 11:04 . [2023-01-23T11:08:56.221Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 23 11:04 .. [2023-01-23T11:08:56.221Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 23 11:04 cost [2023-01-23T11:08:56.221Z] -rw-r--r-- 1 jenkins jenkins 89 Jan 23 11:04 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-23T11:08:56.549Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-23T11:08:57.437Z] ---> package-listing.sh [2023-01-23T11:08:57.437Z] ++ facter osfamily [2023-01-23T11:08:57.437Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-23T11:08:57.696Z] + OS_FAMILY=debian [2023-01-23T11:08:57.696Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-331 [2023-01-23T11:08:57.696Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-23T11:08:57.696Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-23T11:08:57.696Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-23T11:08:57.696Z] + PACKAGES=/tmp/packages_start.txt [2023-01-23T11:08:57.696Z] + '[' /w/workspace/foundry_device-virtual-go_PR-331 ']' [2023-01-23T11:08:57.696Z] + PACKAGES=/tmp/packages_end.txt [2023-01-23T11:08:57.696Z] + case "${OS_FAMILY}" in [2023-01-23T11:08:57.696Z] + dpkg -l [2023-01-23T11:08:57.696Z] + grep '^ii' [2023-01-23T11:08:57.696Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-23T11:08:57.696Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-23T11:08:57.696Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-23T11:08:57.696Z] + '[' /w/workspace/foundry_device-virtual-go_PR-331 ']' [2023-01-23T11:08:57.696Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-331/archives/ [2023-01-23T11:08:57.696Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-331/archives/ [Pipeline] echo [2023-01-23T11:08:57.733Z] 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-331/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-23T11:08:58.024Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T11:08:58.659Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-23T11:08:58.659Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-23T11:08:58.818Z] prd-ubuntu20.04-docker-8c-8g-3347 does not seem to be running inside a container [2023-01-23T11:08:58.845Z] $ 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-331/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-331 -v /w/workspace/foundry_device-virtual-go_PR-331:/w/workspace/foundry_device-virtual-go_PR-331:rw,z -v /w/workspace/foundry_device-virtual-go_PR-331@tmp:/w/workspace/foundry_device-virtual-go_PR-331@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-23T11:08:59.065Z] $ docker top 1fdfb3c849f9a3cd963a130cf0beae201edcbd0289234373a891e0587947ff3d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-23T11:08:59.453Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-23T11:08:59.763Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-23T11:09:00.069Z] + ls /var/log/sa-host [2023-01-23T11:09:00.069Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-23T11:09:00.293Z] provisioning config files... [2023-01-23T11:09:00.301Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-331@tmp/config16822710981063452032tmp [Pipeline] { [Pipeline] echo [2023-01-23T11:09:00.359Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-23T11:09:00.681Z] ---> create-netrc.sh [Pipeline] } [2023-01-23T11:09:00.709Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-23T11:09:01.113Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-23T11:09:01.144Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-23T11:09:01.453Z] ---> sudo-logs.sh [2023-01-23T11:09:01.453Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-23T11:09:01.538Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-23T11:09:01.860Z] ---> job-cost.sh [2023-01-23T11:09:01.860Z] lf-activate-venv: SKIPPING [2023-01-23T11:09:01.860Z] DEBUG: total: 0.2199999988079071 [2023-01-23T11:09:01.860Z] INFO: Retrieving Stack Cost... [2023-01-23T11:09:02.119Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-23T11:09:02.686Z] INFO: Archiving Costs [Pipeline] echo [2023-01-23T11:09:02.746Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-23T11:09:03.059Z] ---> logs-deploy.sh [2023-01-23T11:09:03.059Z] lf-activate-venv: SKIPPING [2023-01-23T11:09:03.059Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-331/1 [2023-01-23T11:09:03.059Z] INFO: archiving workspace using pattern(s): [2023-01-23T11:09:03.994Z] Archives upload complete. [2023-01-23T11:09:04.252Z] INFO: archiving logs to Nexus