Pull request #329 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5bb88f8125373c9efb42a30f4885f5deb3242aaf+ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80 (0aefe4369464971967d5f38ef6151372d36eb68b) 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-ssh14899889431043014395.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-ssh10099224136430671312.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-329/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-329/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4863467118689499825.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-329/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7462901743218156868.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-ssh2556080158348566455.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-329/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-329/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3559835554912107085.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 ‘prd-centos7-blackbox-4c-2g-1315’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-1316’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-2216’ is offline Running on prd-ubuntu20.04-docker-8c-8g-2218 in /w/workspace/foundry_device-virtual-go_PR-329 [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-329 # 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/329/head:refs/remotes/origin/PR-329 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80 into PR head commit 5bb88f8125373c9efb42a30f4885f5deb3242aaf Merge succeeded, producing 5bb88f8125373c9efb42a30f4885f5deb3242aaf Checking out Revision 5bb88f8125373c9efb42a30f4885f5deb3242aaf (PR-329) 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-13T15:36:23.128Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-13T15:36:23.287Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 5bb88f8125373c9efb42a30f4885f5deb3242aaf # 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 5bb88f8125373c9efb42a30f4885f5deb3242aaf # timeout=10 [Pipeline] echo [2023-01-13T15:36:23.386Z] ========================================================= [2023-01-13T15:36:23.386Z] EdgeX Global Pipelines Version Info [2023-01-13T15:36:23.386Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-13T15:36:24.492Z] ------------------- [2023-01-13T15:36:24.492Z] stable info: [2023-01-13T15:36:24.492Z] ------------------- [2023-01-13T15:36:24.492Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-13T15:36:24.492Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-13T15:36:24.492Z] Message: update stable to v1.0.244 [2023-01-13T15:36:25.065Z] ------------------- [2023-01-13T15:36:25.065Z] experimental info: [2023-01-13T15:36:25.065Z] ------------------- [2023-01-13T15:36:25.065Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-13T15:36:25.065Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-13T15:36:25.065Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-13T15:36:25.345Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2023-01-13T15:36:25.384Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2023-01-13T15:36:25.423Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-13T15:36:25.467Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-13T15:36:25.506Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-13T15:36:25.546Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-13T15:36:25.583Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-13T15:36:25.619Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-13T15:36:25.655Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-13T15:36:25.697Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-13T15:36:25.734Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-13T15:36:25.771Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2023-01-13T15:36:25.808Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-13T15:36:25.844Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-13T15:36:25.881Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-13T15:36:25.917Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-13T15:36:25.955Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-13T15:36:25.992Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-13T15:36:26.028Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-13T15:36:26.062Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-13T15:36:26.097Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-01-13T15:36:26.134Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-01-13T15:36:26.169Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-13T15:36:26.208Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-13T15:36:26.247Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-13T15:36:26.285Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-13T15:36:26.321Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-13T15:36:26.357Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-329 [Pipeline] echo [2023-01-13T15:36:26.392Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-329 [Pipeline] echo [2023-01-13T15:36:26.432Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-329 [Pipeline] echo [2023-01-13T15:36:26.467Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5bb88f8125373c9efb42a30f4885f5deb3242aaf [Pipeline] echo [2023-01-13T15:36:26.499Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5bb88f8 [Pipeline] echo [2023-01-13T15:36:26.535Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-13T15:36:26.633Z] provisioning config files... [2023-01-13T15:36:26.652Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-329@tmp/config6119321668360488984tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-13T15:36:26.995Z] ---> docker-login.sh [2023-01-13T15:36:26.996Z] nexus3.edgexfoundry.org:10001 [2023-01-13T15:36:27.257Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-13T15:36:27.257Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-13T15:36:27.257Z] Configure a credential helper to remove this warning. See [2023-01-13T15:36:27.257Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-13T15:36:27.257Z] [2023-01-13T15:36:27.257Z] Login Succeeded [2023-01-13T15:36:27.257Z] nexus3.edgexfoundry.org:10002 [2023-01-13T15:36:27.257Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-13T15:36:27.257Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-13T15:36:27.257Z] Configure a credential helper to remove this warning. See [2023-01-13T15:36:27.257Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-13T15:36:27.257Z] [2023-01-13T15:36:27.257Z] Login Succeeded [2023-01-13T15:36:27.519Z] nexus3.edgexfoundry.org:10003 [2023-01-13T15:36:27.519Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-13T15:36:27.519Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-13T15:36:27.519Z] Configure a credential helper to remove this warning. See [2023-01-13T15:36:27.519Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-13T15:36:27.519Z] [2023-01-13T15:36:27.519Z] Login Succeeded [2023-01-13T15:36:27.519Z] nexus3.edgexfoundry.org:10004 [2023-01-13T15:36:27.519Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-13T15:36:27.519Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-13T15:36:27.519Z] Configure a credential helper to remove this warning. See [2023-01-13T15:36:27.519Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-13T15:36:27.519Z] [2023-01-13T15:36:27.519Z] Login Succeeded [2023-01-13T15:36:27.519Z] docker.io [2023-01-13T15:36:27.779Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-13T15:36:27.779Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-13T15:36:27.779Z] Configure a credential helper to remove this warning. See [2023-01-13T15:36:27.779Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-13T15:36:27.779Z] [2023-01-13T15:36:27.779Z] Login Succeeded [2023-01-13T15:36:27.779Z] ---> docker-login.sh ends [Pipeline] } [2023-01-13T15:36:27.805Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-13T15:36:28.410Z] + git rev-list -1 --merges 5bb88f8125373c9efb42a30f4885f5deb3242aaf~1..5bb88f8125373c9efb42a30f4885f5deb3242aaf [Pipeline] echo [2023-01-13T15:36:28.468Z] -----------> git rev-list -1 --merges 5bb88f8125373c9efb42a30f4885f5deb3242aaf~1..5bb88f8125373c9efb42a30f4885f5deb3242aaf 5bb88f8125373c9efb42a30f4885f5deb3242aaf [false] [Pipeline] sh [2023-01-13T15:36:28.774Z] + git log --format=format:%s -1 5bb88f8125373c9efb42a30f4885f5deb3242aaf [Pipeline] echo [2023-01-13T15:36:28.809Z] ========================================================= [2023-01-13T15:36:28.809Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-13T15:36:28.809Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-13T15:36:29.241Z] + git log --format=format:%s -1 5bb88f8125373c9efb42a30f4885f5deb3242aaf [Pipeline] echo [2023-01-13T15:36:29.269Z] [semverPrep] GIT_COMMIT: 5bb88f8125373c9efb42a30f4885f5deb3242aaf, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo [2023-01-13T15:36:29.297Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-13T15:36:29.666Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-13T15:36:29.666Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-13T15:36:29.666Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-13T15:36:29.666Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-13T15:36:29.666Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-13T15:36:29.666Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-13T15:36:29.666Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-13T15:36:30.089Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-13T15:36:30.089Z] [2023-01-13T15:36:30.089Z] 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-13T15:36:30.476Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-13T15:36:30.476Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-13T15:36:30.476Z] b85a868b505f: Pulling fs layer [2023-01-13T15:36:30.476Z] e2be974225ed: Pulling fs layer [2023-01-13T15:36:30.476Z] 339a4e72a1f5: Pulling fs layer [2023-01-13T15:36:30.476Z] 988bab9f4d93: Pulling fs layer [2023-01-13T15:36:30.476Z] 1469e6f7b9e6: Pulling fs layer [2023-01-13T15:36:30.476Z] eaf3925da568: Pulling fs layer [2023-01-13T15:36:30.476Z] bab4dde63d76: Pulling fs layer [2023-01-13T15:36:30.476Z] 988bab9f4d93: Waiting [2023-01-13T15:36:30.476Z] 1469e6f7b9e6: Waiting [2023-01-13T15:36:30.476Z] eaf3925da568: Waiting [2023-01-13T15:36:30.476Z] bde34c3a00c8: Pulling fs layer [2023-01-13T15:36:30.476Z] bde34c3a00c8: Waiting [2023-01-13T15:36:30.476Z] b352a97aabf1: Pulling fs layer [2023-01-13T15:36:30.476Z] b352a97aabf1: Waiting [2023-01-13T15:36:30.476Z] 4872d77fe225: Pulling fs layer [2023-01-13T15:36:30.476Z] 5851b861e8e6: Pulling fs layer [2023-01-13T15:36:30.476Z] 4872d77fe225: Waiting [2023-01-13T15:36:30.476Z] 5851b861e8e6: Waiting [2023-01-13T15:36:30.476Z] e2be974225ed: Verifying Checksum [2023-01-13T15:36:30.476Z] e2be974225ed: Download complete [2023-01-13T15:36:30.476Z] 988bab9f4d93: Verifying Checksum [2023-01-13T15:36:30.476Z] 988bab9f4d93: Download complete [2023-01-13T15:36:30.736Z] 339a4e72a1f5: Verifying Checksum [2023-01-13T15:36:30.736Z] 339a4e72a1f5: Download complete [2023-01-13T15:36:30.736Z] 1469e6f7b9e6: Verifying Checksum [2023-01-13T15:36:30.736Z] 1469e6f7b9e6: Download complete [2023-01-13T15:36:30.736Z] eaf3925da568: Download complete [2023-01-13T15:36:30.736Z] bde34c3a00c8: Download complete [2023-01-13T15:36:30.736Z] b352a97aabf1: Download complete [2023-01-13T15:36:30.736Z] 4872d77fe225: Verifying Checksum [2023-01-13T15:36:30.736Z] 4872d77fe225: Download complete [2023-01-13T15:36:30.736Z] 5851b861e8e6: Download complete [2023-01-13T15:36:30.736Z] b85a868b505f: Verifying Checksum [2023-01-13T15:36:30.736Z] b85a868b505f: Download complete [2023-01-13T15:36:30.997Z] bab4dde63d76: Verifying Checksum [2023-01-13T15:36:30.997Z] bab4dde63d76: Download complete [2023-01-13T15:36:32.381Z] b85a868b505f: Pull complete [2023-01-13T15:36:32.381Z] e2be974225ed: Pull complete [2023-01-13T15:36:32.641Z] 339a4e72a1f5: Pull complete [2023-01-13T15:36:32.902Z] 988bab9f4d93: Pull complete [2023-01-13T15:36:33.160Z] 1469e6f7b9e6: Pull complete [2023-01-13T15:36:33.160Z] eaf3925da568: Pull complete [2023-01-13T15:36:35.070Z] bab4dde63d76: Pull complete [2023-01-13T15:36:35.070Z] bde34c3a00c8: Pull complete [2023-01-13T15:36:35.070Z] b352a97aabf1: Pull complete [2023-01-13T15:36:35.070Z] 4872d77fe225: Pull complete [2023-01-13T15:36:35.331Z] 5851b861e8e6: Pull complete [2023-01-13T15:36:35.331Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-13T15:36:35.331Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-13T15:36:35.331Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-13T15:36:35.564Z] prd-ubuntu20.04-docker-8c-8g-2218 does not seem to be running inside a container [2023-01-13T15:36:35.599Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-329 -v /w/workspace/foundry_device-virtual-go_PR-329:/w/workspace/foundry_device-virtual-go_PR-329:rw,z -v /w/workspace/foundry_device-virtual-go_PR-329@tmp:/w/workspace/foundry_device-virtual-go_PR-329@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-13T15:36:37.167Z] $ docker top e94228621fbfde6768220de2ba2ccfc14b27cf34a2b91109bee2a2c1ef72bdbf -eo pid,comm [2023-01-13T15:36:37.222Z] 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-13T15:36:37.222Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-13T15:36:37.344Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-13T15:36:37.344Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-13T15:36:37.471Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-13T15:36:37.478Z] $ docker exec e94228621fbfde6768220de2ba2ccfc14b27cf34a2b91109bee2a2c1ef72bdbf ssh-agent [2023-01-13T15:36:37.592Z] SSH_AUTH_SOCK=/tmp/ssh-Zkbn8S7NlO9D/agent.33 [2023-01-13T15:36:37.592Z] SSH_AGENT_PID=39 [2023-01-13T15:36:37.600Z] Running ssh-add (command line suppressed) [2023-01-13T15:36:37.717Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-329@tmp/private_key_14354744805183719414.key (/w/workspace/foundry_device-virtual-go_PR-329@tmp/private_key_14354744805183719414.key) [2023-01-13T15:36:37.729Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-13T15:36:38.067Z] + git tag --points-at HEAD [Pipeline] } [2023-01-13T15:36:38.096Z] $ docker exec --env ******** --env ******** e94228621fbfde6768220de2ba2ccfc14b27cf34a2b91109bee2a2c1ef72bdbf ssh-agent -k [2023-01-13T15:36:38.205Z] unset SSH_AUTH_SOCK; [2023-01-13T15:36:38.205Z] unset SSH_AGENT_PID; [2023-01-13T15:36:38.206Z] echo Agent pid 39 killed; [2023-01-13T15:36:38.212Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-13T15:36:38.298Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-13T15:36:38.298Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-13T15:36:38.414Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-13T15:36:38.421Z] $ docker exec e94228621fbfde6768220de2ba2ccfc14b27cf34a2b91109bee2a2c1ef72bdbf ssh-agent [2023-01-13T15:36:38.525Z] SSH_AUTH_SOCK=/tmp/ssh-eoQJp7HIn7Jv/agent.72 [2023-01-13T15:36:38.525Z] SSH_AGENT_PID=78 [2023-01-13T15:36:38.530Z] Running ssh-add (command line suppressed) [2023-01-13T15:36:38.642Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-329@tmp/private_key_7093681501221237057.key (/w/workspace/foundry_device-virtual-go_PR-329@tmp/private_key_7093681501221237057.key) [2023-01-13T15:36:38.661Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-13T15:36:38.985Z] + git semver init [2023-01-13T15:36:39.247Z] 2023-01-13 15:36:39,182 [run_init] DEBUG init version:0.0.0 force:False [2023-01-13T15:36:39.247Z] 2023-01-13 15:36:39,183 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-329/.semver [2023-01-13T15:36:39.247Z] 2023-01-13 15:36:39,183 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-329/.semver [2023-01-13T15:36:39.247Z] 2023-01-13 15:36:39,184 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-329/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-329, universal_newlines=False, shell=None, istream=None) [2023-01-13T15:36:40.628Z] 2023-01-13 15:36:40,285 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-329/.git/info/exclude [2023-01-13T15:36:40.628Z] 2023-01-13 15:36:40,285 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-329/.semver/PR-329 with force:False [2023-01-13T15:36:40.628Z] 2023-01-13 15:36:40,286 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-329/.semver/PR-329 [2023-01-13T15:36:40.628Z] 2023-01-13 15:36:40,290 [execute] INFO git cat-file --batch-check [2023-01-13T15:36:40.628Z] 2023-01-13 15:36:40,290 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-329/.semver, universal_newlines=False, shell=None, istream=) [2023-01-13T15:36:40.628Z] 2023-01-13 15:36:40,297 [execute] INFO git cat-file --batch [2023-01-13T15:36:40.628Z] 2023-01-13 15:36:40,297 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-329/.semver, universal_newlines=False, shell=None, istream=) [2023-01-13T15:36:40.628Z] 2023-01-13 15:36:40,302 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-329/.semver/PR-329 [2023-01-13T15:36:40.628Z] 0.0.0 [Pipeline] } [2023-01-13T15:36:40.655Z] $ docker exec --env ******** --env ******** e94228621fbfde6768220de2ba2ccfc14b27cf34a2b91109bee2a2c1ef72bdbf ssh-agent -k [2023-01-13T15:36:40.773Z] unset SSH_AUTH_SOCK; [2023-01-13T15:36:40.774Z] unset SSH_AGENT_PID; [2023-01-13T15:36:40.774Z] echo Agent pid 78 killed; [2023-01-13T15:36:40.782Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-13T15:36:41.201Z] + git semver [Pipeline] } [2023-01-13T15:36:41.484Z] $ docker stop --time=1 e94228621fbfde6768220de2ba2ccfc14b27cf34a2b91109bee2a2c1ef72bdbf [2023-01-13T15:36:42.831Z] $ docker rm -f --volumes e94228621fbfde6768220de2ba2ccfc14b27cf34a2b91109bee2a2c1ef72bdbf [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-13T15:36:43.230Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-13T15:36:43.500Z] Stashed 1 file(s) [Pipeline] echo [2023-01-13T15:36:43.518Z] [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-13T15:36:44.165Z] provisioning config files... [2023-01-13T15:36:44.174Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-329@tmp/config16866855228299389604tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-13T15:36:44.526Z] ---> docker-login.sh [2023-01-13T15:36:44.526Z] nexus3.edgexfoundry.org:10001 [2023-01-13T15:36:44.526Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-13T15:36:44.526Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-13T15:36:44.526Z] Configure a credential helper to remove this warning. See [2023-01-13T15:36:44.526Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-13T15:36:44.526Z] [2023-01-13T15:36:44.526Z] Login Succeeded [2023-01-13T15:36:44.526Z] nexus3.edgexfoundry.org:10002 [2023-01-13T15:36:44.526Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-13T15:36:44.526Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-13T15:36:44.526Z] Configure a credential helper to remove this warning. See [2023-01-13T15:36:44.526Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-13T15:36:44.526Z] [2023-01-13T15:36:44.526Z] Login Succeeded [2023-01-13T15:36:44.526Z] nexus3.edgexfoundry.org:10003 [2023-01-13T15:36:44.784Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-13T15:36:44.784Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-13T15:36:44.785Z] Configure a credential helper to remove this warning. See [2023-01-13T15:36:44.785Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-13T15:36:44.785Z] [2023-01-13T15:36:44.785Z] Login Succeeded [2023-01-13T15:36:44.785Z] nexus3.edgexfoundry.org:10004 [2023-01-13T15:36:44.785Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-13T15:36:44.785Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-13T15:36:44.785Z] Configure a credential helper to remove this warning. See [2023-01-13T15:36:44.785Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-13T15:36:44.785Z] [2023-01-13T15:36:44.785Z] Login Succeeded [2023-01-13T15:36:44.785Z] docker.io [2023-01-13T15:36:45.044Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-13T15:36:45.044Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-13T15:36:45.044Z] Configure a credential helper to remove this warning. See [2023-01-13T15:36:45.044Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-13T15:36:45.044Z] [2023-01-13T15:36:45.044Z] Login Succeeded [2023-01-13T15:36:45.044Z] ---> docker-login.sh ends [Pipeline] } [2023-01-13T15:36:45.074Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-13T15:36:45.256Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-13T15:36:45.288Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-13T15:36:45.324Z] ========================================================= [2023-01-13T15:36:45.324Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-13T15:36:45.324Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-13T15:36:45.790Z] + 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-13T15:36:45.790Z] Sending build context to Docker daemon 23.34MB [2023-01-13T15:36:45.790Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-13T15:36:45.790Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-13T15:36:46.049Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-13T15:36:46.049Z] 213ec9aee27d: Pulling fs layer [2023-01-13T15:36:46.049Z] 4583459ba037: Pulling fs layer [2023-01-13T15:36:46.049Z] 93c1e223e6f2: Pulling fs layer [2023-01-13T15:36:46.049Z] 53926ce57604: Pulling fs layer [2023-01-13T15:36:46.049Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-13T15:36:46.049Z] 22ff95d597cd: Pulling fs layer [2023-01-13T15:36:46.049Z] 12d6caf4c0d1: Pulling fs layer [2023-01-13T15:36:46.049Z] 96b7cbca73a9: Pulling fs layer [2023-01-13T15:36:46.049Z] a7acece74701: Pulling fs layer [2023-01-13T15:36:46.049Z] 22ff95d597cd: Waiting [2023-01-13T15:36:46.049Z] 21b2b0c7a3f4: Waiting [2023-01-13T15:36:46.049Z] 12d6caf4c0d1: Waiting [2023-01-13T15:36:46.049Z] 53926ce57604: Waiting [2023-01-13T15:36:46.049Z] 96b7cbca73a9: Waiting [2023-01-13T15:36:46.049Z] a7acece74701: Waiting [2023-01-13T15:36:46.049Z] 93c1e223e6f2: Verifying Checksum [2023-01-13T15:36:46.049Z] 93c1e223e6f2: Download complete [2023-01-13T15:36:46.049Z] 4583459ba037: Verifying Checksum [2023-01-13T15:36:46.049Z] 4583459ba037: Download complete [2023-01-13T15:36:46.049Z] 21b2b0c7a3f4: Download complete [2023-01-13T15:36:46.049Z] 22ff95d597cd: Verifying Checksum [2023-01-13T15:36:46.049Z] 22ff95d597cd: Download complete [2023-01-13T15:36:46.049Z] 213ec9aee27d: Download complete [2023-01-13T15:36:46.049Z] 12d6caf4c0d1: Verifying Checksum [2023-01-13T15:36:46.049Z] 12d6caf4c0d1: Download complete [2023-01-13T15:36:46.049Z] 213ec9aee27d: Pull complete [2023-01-13T15:36:46.319Z] 4583459ba037: Pull complete [2023-01-13T15:36:46.319Z] 93c1e223e6f2: Pull complete [2023-01-13T15:36:46.596Z] a7acece74701: Verifying Checksum [2023-01-13T15:36:46.596Z] a7acece74701: Download complete [2023-01-13T15:36:46.863Z] 53926ce57604: Verifying Checksum [2023-01-13T15:36:46.863Z] 53926ce57604: Download complete [2023-01-13T15:36:47.126Z] 96b7cbca73a9: Verifying Checksum [2023-01-13T15:36:47.126Z] 96b7cbca73a9: Download complete [2023-01-13T15:36:51.313Z] 53926ce57604: Pull complete [2023-01-13T15:36:51.313Z] 21b2b0c7a3f4: Pull complete [2023-01-13T15:36:51.313Z] 22ff95d597cd: Pull complete [2023-01-13T15:36:51.313Z] 12d6caf4c0d1: Pull complete [2023-01-13T15:36:53.213Z] 96b7cbca73a9: Pull complete [2023-01-13T15:36:54.590Z] a7acece74701: Pull complete [2023-01-13T15:36:54.590Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-13T15:36:54.590Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-13T15:36:54.590Z] ---> db6d94c90886 [2023-01-13T15:36:54.590Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-13T15:36:56.498Z] ---> Running in ce28efbade61 [2023-01-13T15:36:56.498Z] Removing intermediate container ce28efbade61 [2023-01-13T15:36:56.498Z] ---> 4f6fa06ef13f [2023-01-13T15:36:56.498Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-13T15:36:56.498Z] ---> Running in 9330614bd0f4 [2023-01-13T15:36:56.756Z] Removing intermediate container 9330614bd0f4 [2023-01-13T15:36:56.756Z] ---> 088fe8aff438 [2023-01-13T15:36:56.756Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-01-13T15:36:56.756Z] ---> Running in 056262073f10 [2023-01-13T15:36:56.756Z] Removing intermediate container 056262073f10 [2023-01-13T15:36:56.756Z] ---> 695ddf2cdfa7 [2023-01-13T15:36:56.756Z] Step 6/12 : WORKDIR /device-virtual-go [2023-01-13T15:36:57.013Z] ---> Running in 28104503ab42 [2023-01-13T15:36:57.013Z] Removing intermediate container 28104503ab42 [2023-01-13T15:36:57.013Z] ---> 28741adcabc5 [2023-01-13T15:36:57.013Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-13T15:36:57.013Z] ---> Running in 9d39e3bc8379 [2023-01-13T15:36:57.272Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-13T15:36:57.531Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-13T15:36:57.531Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-13T15:36:57.531Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-13T15:36:57.531Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-13T15:36:57.790Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-13T15:36:57.790Z] Executing busybox-1.35.0-r17.trigger [2023-01-13T15:36:57.790Z] OK: 216 MiB in 55 packages [2023-01-13T15:36:58.047Z] Removing intermediate container 9d39e3bc8379 [2023-01-13T15:36:58.047Z] ---> 082062b296e6 [2023-01-13T15:36:58.047Z] Step 8/12 : COPY go.mod vendor* ./ [2023-01-13T15:36:58.304Z] ---> 0292f02cb8c5 [2023-01-13T15:36:58.305Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-13T15:36:58.305Z] ---> Running in f970e968e866 [2023-01-13T15:36:58.953Z] Still waiting to schedule task [2023-01-13T15:36:58.953Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-2215’ [2023-01-13T15:37:16.401Z] Removing intermediate container f970e968e866 [2023-01-13T15:37:16.401Z] ---> a68979824c95 [2023-01-13T15:37:16.401Z] Step 10/12 : COPY . . [2023-01-13T15:37:16.401Z] ---> e098b8e558be [2023-01-13T15:37:16.401Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-13T15:37:16.401Z] ---> Running in a1b10e6d3345 [2023-01-13T15:37:16.401Z] Removing intermediate container a1b10e6d3345 [2023-01-13T15:37:16.401Z] ---> b44758dd8181 [2023-01-13T15:37:16.401Z] Step 12/12 : RUN $MAKE [2023-01-13T15:37:16.401Z] ---> Running in 8f65ec21ed18 [2023-01-13T15:37:16.661Z] noop [2023-01-13T15:37:16.921Z] Removing intermediate container 8f65ec21ed18 [2023-01-13T15:37:16.921Z] ---> 5e6b8333a299 [2023-01-13T15:37:16.921Z] Successfully built 5e6b8333a299 [2023-01-13T15:37:16.921Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-13T15:37:17.364Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-13T15:37:17.364Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-13T15:37:17.509Z] prd-ubuntu20.04-docker-8c-8g-2218 does not seem to be running inside a container [2023-01-13T15:37:17.540Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-329 -v /w/workspace/foundry_device-virtual-go_PR-329:/w/workspace/foundry_device-virtual-go_PR-329:rw,z -v /w/workspace/foundry_device-virtual-go_PR-329@tmp:/w/workspace/foundry_device-virtual-go_PR-329@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-13T15:37:17.938Z] $ docker top 4c781bd957e2ba59109beaf0fcf05f633bd6ba0d3638ce5b08765d06fc50ece4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-13T15:37:18.325Z] + go version [2023-01-13T15:37:18.325Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-13T15:37:18.358Z] $ docker stop --time=1 4c781bd957e2ba59109beaf0fcf05f633bd6ba0d3638ce5b08765d06fc50ece4 [2023-01-13T15:37:19.671Z] $ docker rm -f --volumes 4c781bd957e2ba59109beaf0fcf05f633bd6ba0d3638ce5b08765d06fc50ece4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-13T15:37:20.358Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-13T15:37:20.358Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-13T15:37:20.497Z] prd-ubuntu20.04-docker-8c-8g-2218 does not seem to be running inside a container [2023-01-13T15:37:20.532Z] $ 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-329 -v /w/workspace/foundry_device-virtual-go_PR-329:/w/workspace/foundry_device-virtual-go_PR-329:rw,z -v /w/workspace/foundry_device-virtual-go_PR-329@tmp:/w/workspace/foundry_device-virtual-go_PR-329@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-13T15:37:20.914Z] $ docker top c34eff24b3223d31a47c786d12da6f02643fc235211f747b38ac3c79334f625c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-13T15:37:21.297Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-329 [Pipeline] fileExists [Pipeline] sh [2023-01-13T15:37:21.656Z] + make test [2023-01-13T15:37:21.656Z] go test ./... -coverprofile=coverage.out [2023-01-13T15:37:22.222Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-01-13T15:37:28.796Z] # github.com/edgexfoundry/go-mod-messaging/v3/clients [2023-01-13T15:37:28.796Z] /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-13T15:37:28.796Z] *CommandClient does not implement interfaces.CommandClient (wrong type for IssueGetCommandByName method) [2023-01-13T15:37:28.796Z] 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-13T15:37:28.796Z] 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-13T15:37:28.796Z] /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-13T15:37:30.700Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [2023-01-13T15:37:30.700Z] /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-13T15:37:30.700Z] /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-13T15:37:30.700Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http [2023-01-13T15:37:30.700Z] /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-13T15:37:30.700Z] /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-13T15:37:30.700Z] FAIL github.com/edgexfoundry/device-virtual-go/internal/driver [build failed] [2023-01-13T15:37:30.700Z] make: *** [Makefile:30: unittest] Error 2 [Pipeline] } [2023-01-13T15:37:30.748Z] $ docker stop --time=1 c34eff24b3223d31a47c786d12da6f02643fc235211f747b38ac3c79334f625c [2023-01-13T15:37:32.440Z] $ docker rm -f --volumes c34eff24b3223d31a47c786d12da6f02643fc235211f747b38ac3c79334f625c [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-13T15:37:33.594Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-13T15:37:33.594Z] [2023-01-13T15:37:33.594Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-13T15:37:33.972Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-13T15:37:33.972Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-13T15:37:33.972Z] 5eb5b503b376: Pulling fs layer [2023-01-13T15:37:33.972Z] 5c69ac0246d0: Pulling fs layer [2023-01-13T15:37:33.972Z] ec43610c2a17: Pulling fs layer [2023-01-13T15:37:33.972Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-13T15:37:33.972Z] 33b1e0a273af: Pulling fs layer [2023-01-13T15:37:33.972Z] 5d3b04190fa2: Pulling fs layer [2023-01-13T15:37:33.972Z] 2f39f015ded8: Pulling fs layer [2023-01-13T15:37:33.972Z] 5d3b04190fa2: Waiting [2023-01-13T15:37:33.972Z] 3a2ae6a8a46f: Waiting [2023-01-13T15:37:33.972Z] 33b1e0a273af: Waiting [2023-01-13T15:37:33.972Z] 2f39f015ded8: Waiting [2023-01-13T15:37:33.972Z] 5c69ac0246d0: Verifying Checksum [2023-01-13T15:37:33.972Z] 5c69ac0246d0: Download complete [2023-01-13T15:37:33.972Z] 3a2ae6a8a46f: Verifying Checksum [2023-01-13T15:37:33.972Z] 3a2ae6a8a46f: Download complete [2023-01-13T15:37:34.232Z] 33b1e0a273af: Verifying Checksum [2023-01-13T15:37:34.232Z] 33b1e0a273af: Download complete [2023-01-13T15:37:34.232Z] 5d3b04190fa2: Download complete [2023-01-13T15:37:34.232Z] ec43610c2a17: Verifying Checksum [2023-01-13T15:37:34.232Z] ec43610c2a17: Download complete [2023-01-13T15:37:34.232Z] 5eb5b503b376: Verifying Checksum [2023-01-13T15:37:34.232Z] 5eb5b503b376: Download complete [2023-01-13T15:37:34.797Z] 2f39f015ded8: Download complete [2023-01-13T15:37:35.366Z] 5eb5b503b376: Pull complete [2023-01-13T15:37:35.625Z] 5c69ac0246d0: Pull complete [2023-01-13T15:37:36.193Z] ec43610c2a17: Pull complete [2023-01-13T15:37:36.193Z] 3a2ae6a8a46f: Pull complete [2023-01-13T15:37:36.193Z] 33b1e0a273af: Pull complete [2023-01-13T15:37:36.453Z] 5d3b04190fa2: Pull complete [2023-01-13T15:37:41.721Z] 2f39f015ded8: Pull complete [2023-01-13T15:37:41.721Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-13T15:37:41.721Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-13T15:37:41.721Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-13T15:37:41.945Z] prd-ubuntu20.04-docker-8c-8g-2218 does not seem to be running inside a container [2023-01-13T15:37:41.976Z] $ 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-329 -v /w/workspace/foundry_device-virtual-go_PR-329:/w/workspace/foundry_device-virtual-go_PR-329:rw,z -v /w/workspace/foundry_device-virtual-go_PR-329@tmp:/w/workspace/foundry_device-virtual-go_PR-329@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-13T15:37:43.550Z] $ docker top 3424872f59c7f1dc7a78486dbc8910bda24dd33e70f2f66e61c7d027d7dae929 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-13T15:37:44.026Z] ---> job-cost.sh [2023-01-13T15:37:44.026Z] lf-activate-venv: SKIPPING [2023-01-13T15:37:44.026Z] INFO: No Stack... [2023-01-13T15:37:44.327Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-13T15:37:44.936Z] INFO: Archiving Costs [Pipeline] sh [2023-01-13T15:37:45.314Z] + + cat /w/workspace/foundry_device-virtual-go_PR-329/archives/cost.csv [2023-01-13T15:37:45.314Z] cut -d, -f6 [Pipeline] lock [2023-01-13T15:37:45.365Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-329-1-stack-cost] [2023-01-13T15:37:45.370Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-329-1-stack-cost] did not exist. Created. [2023-01-13T15:37:45.370Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-329-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-13T15:37:45.751Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-13T15:37:45.817Z] Stashed 1 file(s) [Pipeline] } [2023-01-13T15:37:45.839Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-329-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-13T15:37:45.929Z] $ docker stop --time=1 3424872f59c7f1dc7a78486dbc8910bda24dd33e70f2f66e61c7d027d7dae929 [2023-01-13T15:37:47.105Z] $ docker rm -f --volumes 3424872f59c7f1dc7a78486dbc8910bda24dd33e70f2f66e61c7d027d7dae929 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-13T15:37:47.436Z] Failed in branch amd64 [2023-01-13T15:39:42.611Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2221 in /w/workspace/foundry_device-virtual-go_PR-329 [Pipeline] { [Pipeline] ws [2023-01-13T15:39:42.664Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2023-01-13T15:39:42.859Z] The recommended git tool is: git [2023-01-13T15:39:49.349Z] using credential edgex-jenkins-ssh [2023-01-13T15:39:49.369Z] Cloning the remote Git repository [2023-01-13T15:39:49.425Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2023-01-13T15:39:49.518Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2023-01-13T15:39:49.707Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-01-13T15:39:49.708Z] > git --version # timeout=10 [2023-01-13T15:39:49.732Z] > git --version # 'git version 2.25.1' [2023-01-13T15:39:49.734Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-13T15:39:49.807Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-13T15:39:51.951Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-01-13T15:39:51.975Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-13T15:39:53.006Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-01-13T15:39:53.057Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-01-13T15:39:53.058Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-13T15:39:53.075Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/329/head:refs/remotes/origin/PR-329 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-13T15:39:53.608Z] Merging remotes/origin/main commit ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80 into PR head commit 5bb88f8125373c9efb42a30f4885f5deb3242aaf [2023-01-13T15:39:53.872Z] Merge succeeded, producing 5bb88f8125373c9efb42a30f4885f5deb3242aaf [2023-01-13T15:39:53.873Z] Checking out Revision 5bb88f8125373c9efb42a30f4885f5deb3242aaf (PR-329) [2023-01-13T15:39:54.407Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" [2023-01-13T15:39:54.464Z] > git --version # timeout=10 [2023-01-13T15:39:54.476Z] > git --version # 'git version 2.25.1' [2023-01-13T15:39:54.489Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-13T15:39:53.629Z] > git config core.sparsecheckout # timeout=10 [2023-01-13T15:39:53.651Z] > git checkout -f 5bb88f8125373c9efb42a30f4885f5deb3242aaf # timeout=10 [2023-01-13T15:39:53.753Z] > git remote # timeout=10 [2023-01-13T15:39:53.774Z] > git config --get remote.origin.url # timeout=10 [2023-01-13T15:39:53.803Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-13T15:39:53.819Z] > git merge ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80 # timeout=10 [2023-01-13T15:39:53.851Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-13T15:39:53.878Z] > git config core.sparsecheckout # timeout=10 [2023-01-13T15:39:53.894Z] > git checkout -f 5bb88f8125373c9efb42a30f4885f5deb3242aaf # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-13T15:39:55.566Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-13T15:39:55.566Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-13T15:39:55.566Z] Dload Upload Total Spent Left Speed [2023-01-13T15:39:55.566Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 218k 0 --:--:-- --:--:-- --:--:-- 222k [Pipeline] sh [2023-01-13T15:39:56.215Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-13T15:39:56.566Z] + sudo tee /etc/docker/daemon.new [2023-01-13T15:39:56.566Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-13T15:39:56.566Z] { [2023-01-13T15:39:56.566Z] "registry-mirrors": [ [2023-01-13T15:39:56.566Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-13T15:39:56.566Z] ], [2023-01-13T15:39:56.566Z] "bip": "10.250.0.254/24", [2023-01-13T15:39:56.566Z] "hosts": [ [2023-01-13T15:39:56.566Z] "tcp://0.0.0.0:5555", [2023-01-13T15:39:56.566Z] "unix:///var/run/docker.sock" [2023-01-13T15:39:56.566Z] ], [2023-01-13T15:39:56.566Z] "mtu": 1458, [2023-01-13T15:39:56.566Z] "selinux-enabled": true, [2023-01-13T15:39:56.566Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-13T15:39:56.566Z] } [Pipeline] sh [2023-01-13T15:39:56.919Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-13T15:39:57.284Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-13T15:40:15.645Z] provisioning config files... [2023-01-13T15:40:15.682Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config482433280825727085tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-13T15:40:16.087Z] ---> docker-login.sh [2023-01-13T15:40:16.087Z] nexus3.edgexfoundry.org:10001 [2023-01-13T15:40:16.685Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-13T15:40:17.668Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-13T15:40:17.668Z] Configure a credential helper to remove this warning. See [2023-01-13T15:40:17.668Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-13T15:40:17.668Z] [2023-01-13T15:40:17.668Z] Login Succeeded [2023-01-13T15:40:17.668Z] nexus3.edgexfoundry.org:10002 [2023-01-13T15:40:17.943Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-13T15:40:18.217Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-13T15:40:18.217Z] Configure a credential helper to remove this warning. See [2023-01-13T15:40:18.217Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-13T15:40:18.217Z] [2023-01-13T15:40:18.217Z] Login Succeeded [2023-01-13T15:40:18.217Z] nexus3.edgexfoundry.org:10003 [2023-01-13T15:40:18.487Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-13T15:40:18.487Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-13T15:40:18.487Z] Configure a credential helper to remove this warning. See [2023-01-13T15:40:18.487Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-13T15:40:18.487Z] [2023-01-13T15:40:18.487Z] Login Succeeded [2023-01-13T15:40:18.487Z] nexus3.edgexfoundry.org:10004 [2023-01-13T15:40:18.758Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-13T15:40:19.030Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-13T15:40:19.030Z] Configure a credential helper to remove this warning. See [2023-01-13T15:40:19.030Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-13T15:40:19.030Z] [2023-01-13T15:40:19.030Z] Login Succeeded [2023-01-13T15:40:19.030Z] docker.io [2023-01-13T15:40:19.300Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-13T15:40:19.569Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-13T15:40:19.569Z] Configure a credential helper to remove this warning. See [2023-01-13T15:40:19.569Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-13T15:40:19.569Z] [2023-01-13T15:40:19.569Z] Login Succeeded [2023-01-13T15:40:19.569Z] ---> docker-login.sh ends [Pipeline] } [2023-01-13T15:40:19.596Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-13T15:40:20.009Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-13T15:40:20.045Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-13T15:40:20.077Z] ========================================================= [2023-01-13T15:40:20.077Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-13T15:40:20.077Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-13T15:40:20.572Z] + 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-13T15:40:20.847Z] Sending build context to Docker daemon 11.82MB [2023-01-13T15:40:20.847Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-13T15:40:20.847Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-13T15:40:21.119Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-13T15:40:21.119Z] 9b18e9b68314: Pulling fs layer [2023-01-13T15:40:21.119Z] 35d82f9e3411: Pulling fs layer [2023-01-13T15:40:21.119Z] e16973657156: Pulling fs layer [2023-01-13T15:40:21.119Z] fc693d55d65f: Pulling fs layer [2023-01-13T15:40:21.119Z] 7e9fc2657dce: Pulling fs layer [2023-01-13T15:40:21.119Z] dda99020689f: Pulling fs layer [2023-01-13T15:40:21.119Z] db1c61fa0a46: Pulling fs layer [2023-01-13T15:40:21.119Z] 891c053d2c06: Pulling fs layer [2023-01-13T15:40:21.119Z] dda99020689f: Waiting [2023-01-13T15:40:21.119Z] fc693d55d65f: Waiting [2023-01-13T15:40:21.119Z] 7e9fc2657dce: Waiting [2023-01-13T15:40:21.119Z] db1c61fa0a46: Waiting [2023-01-13T15:40:21.119Z] 891c053d2c06: Waiting [2023-01-13T15:40:21.119Z] e16973657156: Verifying Checksum [2023-01-13T15:40:21.119Z] e16973657156: Download complete [2023-01-13T15:40:21.119Z] 35d82f9e3411: Verifying Checksum [2023-01-13T15:40:21.119Z] 35d82f9e3411: Download complete [2023-01-13T15:40:21.119Z] 7e9fc2657dce: Download complete [2023-01-13T15:40:21.119Z] dda99020689f: Verifying Checksum [2023-01-13T15:40:21.119Z] dda99020689f: Download complete [2023-01-13T15:40:21.391Z] 9b18e9b68314: Download complete [2023-01-13T15:40:21.988Z] 9b18e9b68314: Pull complete [2023-01-13T15:40:22.579Z] 891c053d2c06: Verifying Checksum [2023-01-13T15:40:22.579Z] 891c053d2c06: Download complete [2023-01-13T15:40:22.579Z] 35d82f9e3411: Pull complete [2023-01-13T15:40:23.175Z] e16973657156: Pull complete [2023-01-13T15:40:23.771Z] db1c61fa0a46: Verifying Checksum [2023-01-13T15:40:23.771Z] db1c61fa0a46: Download complete [2023-01-13T15:40:24.040Z] fc693d55d65f: Verifying Checksum [2023-01-13T15:40:24.040Z] fc693d55d65f: Download complete [2023-01-13T15:40:36.381Z] fc693d55d65f: Pull complete [2023-01-13T15:40:36.381Z] 7e9fc2657dce: Pull complete [2023-01-13T15:40:36.381Z] dda99020689f: Pull complete [2023-01-13T15:40:40.693Z] db1c61fa0a46: Pull complete [2023-01-13T15:40:43.421Z] 891c053d2c06: Pull complete [2023-01-13T15:40:43.421Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-13T15:40:43.421Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-13T15:40:43.421Z] ---> f96f9c87975a [2023-01-13T15:40:43.421Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-13T15:40:45.388Z] ---> Running in 2781bc55b642 [2023-01-13T15:40:45.388Z] Removing intermediate container 2781bc55b642 [2023-01-13T15:40:45.388Z] ---> f43834cfddee [2023-01-13T15:40:45.388Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-13T15:40:45.388Z] ---> Running in 2417e8034265 [2023-01-13T15:40:45.659Z] Removing intermediate container 2417e8034265 [2023-01-13T15:40:45.659Z] ---> 917a03209435 [2023-01-13T15:40:45.659Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-01-13T15:40:45.935Z] ---> Running in 4bd97e8f89d6 [2023-01-13T15:40:46.204Z] Removing intermediate container 4bd97e8f89d6 [2023-01-13T15:40:46.204Z] ---> 4ce722357cab [2023-01-13T15:40:46.204Z] Step 6/12 : WORKDIR /device-virtual-go [2023-01-13T15:40:46.204Z] ---> Running in 154f8ac3e091 [2023-01-13T15:40:46.793Z] Removing intermediate container 154f8ac3e091 [2023-01-13T15:40:46.793Z] ---> 8ff527fe81e7 [2023-01-13T15:40:46.793Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-13T15:40:46.793Z] ---> Running in 3508a84a318c [2023-01-13T15:40:48.238Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-13T15:40:48.238Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-13T15:40:49.216Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-13T15:40:49.216Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-13T15:40:49.216Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-13T15:40:49.216Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-13T15:40:49.216Z] Executing busybox-1.35.0-r17.trigger [2023-01-13T15:40:49.487Z] OK: 226 MiB in 55 packages [2023-01-13T15:40:50.463Z] Removing intermediate container 3508a84a318c [2023-01-13T15:40:50.463Z] ---> 2c36d531e425 [2023-01-13T15:40:50.463Z] Step 8/12 : COPY go.mod vendor* ./ [2023-01-13T15:40:51.055Z] ---> 4da5fe778f4e [2023-01-13T15:40:51.055Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-13T15:40:51.055Z] ---> Running in 0e85d0a4aea0 [2023-01-13T15:41:47.507Z] Removing intermediate container 0e85d0a4aea0 [2023-01-13T15:41:47.507Z] ---> 4bdf9ff76a85 [2023-01-13T15:41:47.507Z] Step 10/12 : COPY . . [2023-01-13T15:41:47.507Z] ---> 8c99b3969fc3 [2023-01-13T15:41:47.507Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-13T15:41:47.507Z] ---> Running in 268ac7b79ff4 [2023-01-13T15:41:47.507Z] Removing intermediate container 268ac7b79ff4 [2023-01-13T15:41:47.507Z] ---> 6783a1cb40b6 [2023-01-13T15:41:47.507Z] Step 12/12 : RUN $MAKE [2023-01-13T15:41:47.507Z] ---> Running in 4795605a7d64 [2023-01-13T15:41:47.778Z] noop [2023-01-13T15:41:48.371Z] Removing intermediate container 4795605a7d64 [2023-01-13T15:41:48.371Z] ---> ceeab9fad151 [2023-01-13T15:41:48.371Z] Successfully built ceeab9fad151 [2023-01-13T15:41:48.371Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-13T15:41:48.859Z] + docker inspect -f . ci-base-image-arm64 [2023-01-13T15:41:48.859Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-13T15:41:49.150Z] prd-ubuntu20.04-docker-arm64-4c-16g-2221 does not seem to be running inside a container [2023-01-13T15:41:49.230Z] $ 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-13T15:41:50.536Z] $ docker top f9b13cc730a368b7dbe761c20f8d5090ff09e3b91cbfad6e0cbf1b65aec0bf8c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-13T15:41:51.450Z] + go version [2023-01-13T15:41:51.450Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-13T15:41:51.487Z] $ docker stop --time=1 f9b13cc730a368b7dbe761c20f8d5090ff09e3b91cbfad6e0cbf1b65aec0bf8c [2023-01-13T15:41:53.144Z] $ docker rm -f --volumes f9b13cc730a368b7dbe761c20f8d5090ff09e3b91cbfad6e0cbf1b65aec0bf8c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-13T15:41:54.002Z] + docker inspect -f . ci-base-image-arm64 [2023-01-13T15:41:54.002Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-13T15:41:54.285Z] prd-ubuntu20.04-docker-arm64-4c-16g-2221 does not seem to be running inside a container [2023-01-13T15:41:54.365Z] $ 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-13T15:41:55.626Z] $ docker top ffda39a883a28bdcdc259c99da38778fe6cf15336a4349702e5da14d023435ff -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-13T15:41:56.537Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh [2023-01-13T15:41:57.266Z] + make test [2023-01-13T15:41:57.266Z] go test ./... -coverprofile=coverage.out [2023-01-13T15:41:59.219Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-01-13T15:42:55.669Z] # github.com/edgexfoundry/go-mod-messaging/v3/clients [2023-01-13T15:42:55.669Z] /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-13T15:42:55.669Z] *CommandClient does not implement interfaces.CommandClient (wrong type for IssueGetCommandByName method) [2023-01-13T15:42:55.669Z] 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-13T15:42:55.669Z] 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-13T15:42:55.669Z] /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-13T15:43:17.752Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http [2023-01-13T15:43:17.752Z] /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-13T15:43:17.752Z] /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-13T15:43:17.752Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [2023-01-13T15:43:17.752Z] /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-13T15:43:17.752Z] /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-13T15:43:24.418Z] FAIL github.com/edgexfoundry/device-virtual-go/internal/driver [build failed] [2023-01-13T15:43:24.687Z] make: *** [Makefile:30: unittest] Error 2 [Pipeline] } [2023-01-13T15:43:24.734Z] $ docker stop --time=1 ffda39a883a28bdcdc259c99da38778fe6cf15336a4349702e5da14d023435ff [2023-01-13T15:43:26.610Z] $ docker rm -f --volumes ffda39a883a28bdcdc259c99da38778fe6cf15336a4349702e5da14d023435ff [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-13T15:43:28.091Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-13T15:43:28.091Z] [2023-01-13T15:43:28.091Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-13T15:43:28.502Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-13T15:43:28.774Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-13T15:43:28.774Z] 8998bd30e6a1: Pulling fs layer [2023-01-13T15:43:28.774Z] 04944245beec: Pulling fs layer [2023-01-13T15:43:28.774Z] 699f458cf7ca: Pulling fs layer [2023-01-13T15:43:28.774Z] 765212b225bb: Pulling fs layer [2023-01-13T15:43:28.774Z] f23df028b6ca: Pulling fs layer [2023-01-13T15:43:28.774Z] d65c8cfc05b1: Pulling fs layer [2023-01-13T15:43:28.774Z] 2437ff75d9bd: Pulling fs layer [2023-01-13T15:43:28.774Z] 765212b225bb: Waiting [2023-01-13T15:43:28.774Z] f23df028b6ca: Waiting [2023-01-13T15:43:28.774Z] d65c8cfc05b1: Waiting [2023-01-13T15:43:28.774Z] 2437ff75d9bd: Waiting [2023-01-13T15:43:28.774Z] 04944245beec: Verifying Checksum [2023-01-13T15:43:28.774Z] 04944245beec: Download complete [2023-01-13T15:43:28.774Z] 765212b225bb: Verifying Checksum [2023-01-13T15:43:28.774Z] 765212b225bb: Download complete [2023-01-13T15:43:29.042Z] f23df028b6ca: Download complete [2023-01-13T15:43:29.043Z] d65c8cfc05b1: Verifying Checksum [2023-01-13T15:43:29.043Z] d65c8cfc05b1: Download complete [2023-01-13T15:43:29.043Z] 699f458cf7ca: Verifying Checksum [2023-01-13T15:43:29.043Z] 699f458cf7ca: Download complete [2023-01-13T15:43:29.312Z] 8998bd30e6a1: Verifying Checksum [2023-01-13T15:43:29.312Z] 8998bd30e6a1: Download complete [2023-01-13T15:43:31.902Z] 2437ff75d9bd: Verifying Checksum [2023-01-13T15:43:31.902Z] 2437ff75d9bd: Download complete [2023-01-13T15:43:33.318Z] 8998bd30e6a1: Pull complete [2023-01-13T15:43:33.908Z] 04944245beec: Pull complete [2023-01-13T15:43:35.325Z] 699f458cf7ca: Pull complete [2023-01-13T15:43:35.594Z] 765212b225bb: Pull complete [2023-01-13T15:43:36.564Z] f23df028b6ca: Pull complete [2023-01-13T15:43:36.564Z] d65c8cfc05b1: Pull complete [2023-01-13T15:43:51.570Z] 2437ff75d9bd: Pull complete [2023-01-13T15:43:51.570Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-13T15:43:51.570Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-13T15:43:51.570Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-13T15:43:52.027Z] prd-ubuntu20.04-docker-arm64-4c-16g-2221 does not seem to be running inside a container [2023-01-13T15:43:52.132Z] $ 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-13T15:43:55.029Z] $ docker top fb083754a714571de0ae849866912304b3cb4164b20087f731e426a2fcd910b4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-13T15:43:55.970Z] ---> job-cost.sh [2023-01-13T15:43:55.970Z] lf-activate-venv: SKIPPING [2023-01-13T15:43:55.970Z] INFO: No Stack... [2023-01-13T15:43:56.554Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-13T15:43:57.139Z] INFO: Archiving Costs [Pipeline] sh [2023-01-13T15:43:57.798Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2023-01-13T15:43:57.798Z] + cut -d, -f6 [Pipeline] lock [2023-01-13T15:43:57.889Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-329-1-stack-cost] [2023-01-13T15:43:57.898Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-329-1-stack-cost] did not exist. Created. [2023-01-13T15:43:57.898Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-329-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-13T15:43:58.638Z] /w/workspace/device-virtual-go/1@tmp/durable-c01ecd3b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-13T15:43:59.378Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-13T15:43:59.417Z] Warning: overwriting stash ‘stack-cost’ [2023-01-13T15:43:59.959Z] Stashed 1 file(s) [Pipeline] } [2023-01-13T15:43:59.974Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-329-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-13T15:44:00.063Z] $ docker stop --time=1 fb083754a714571de0ae849866912304b3cb4164b20087f731e426a2fcd910b4 [2023-01-13T15:44:01.754Z] $ docker rm -f --volumes fb083754a714571de0ae849866912304b3cb4164b20087f731e426a2fcd910b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-13T15:44:02.472Z] 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-13T15:44:04.424Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-329/archives ] [2023-01-13T15:44:04.424Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-329/archives [2023-01-13T15:44:04.424Z] total 16 [2023-01-13T15:44:04.424Z] drwxr-xr-x 3 root root 4096 Jan 13 15:37 . [2023-01-13T15:44:04.424Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 13 15:37 .. [2023-01-13T15:44:04.424Z] drwxr-xr-x 2 root root 4096 Jan 13 15:37 cost [2023-01-13T15:44:04.424Z] -rw-r--r-- 1 root root 89 Jan 13 15:37 cost.csv [2023-01-13T15:44:04.424Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-329/archives [2023-01-13T15:44:04.424Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-329/archives [2023-01-13T15:44:04.424Z] total 16 [2023-01-13T15:44:04.424Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 13 15:37 . [2023-01-13T15:44:04.424Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 13 15:37 .. [2023-01-13T15:44:04.424Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 13 15:37 cost [2023-01-13T15:44:04.424Z] -rw-r--r-- 1 jenkins jenkins 89 Jan 13 15:37 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-13T15:44:04.750Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-13T15:44:05.643Z] ---> package-listing.sh [2023-01-13T15:44:05.643Z] ++ facter osfamily [2023-01-13T15:44:05.643Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-13T15:44:05.902Z] + OS_FAMILY=debian [2023-01-13T15:44:05.902Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-329 [2023-01-13T15:44:05.902Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-13T15:44:05.902Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-13T15:44:05.902Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-13T15:44:05.902Z] + PACKAGES=/tmp/packages_start.txt [2023-01-13T15:44:05.902Z] + '[' /w/workspace/foundry_device-virtual-go_PR-329 ']' [2023-01-13T15:44:05.902Z] + PACKAGES=/tmp/packages_end.txt [2023-01-13T15:44:05.902Z] + case "${OS_FAMILY}" in [2023-01-13T15:44:05.902Z] + dpkg -l [2023-01-13T15:44:05.902Z] + grep '^ii' [2023-01-13T15:44:05.902Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-13T15:44:05.902Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-13T15:44:05.902Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-13T15:44:05.902Z] + '[' /w/workspace/foundry_device-virtual-go_PR-329 ']' [2023-01-13T15:44:05.902Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-329/archives/ [2023-01-13T15:44:05.902Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-329/archives/ [Pipeline] echo [2023-01-13T15:44:05.934Z] 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-329/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-13T15:44:06.227Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-13T15:44:06.852Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-13T15:44:06.852Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-13T15:44:06.994Z] prd-ubuntu20.04-docker-8c-8g-2218 does not seem to be running inside a container [2023-01-13T15:44:07.034Z] $ 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-329/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-329 -v /w/workspace/foundry_device-virtual-go_PR-329:/w/workspace/foundry_device-virtual-go_PR-329:rw,z -v /w/workspace/foundry_device-virtual-go_PR-329@tmp:/w/workspace/foundry_device-virtual-go_PR-329@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-13T15:44:07.244Z] $ docker top f5b6282c0c0954ea1cadd86d30e8365ff2c3bfb37690317e1a01ea71ffbe74c7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-13T15:44:07.634Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-13T15:44:07.942Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-13T15:44:08.248Z] + ls /var/log/sa-host [2023-01-13T15:44:08.248Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-13T15:44:08.384Z] provisioning config files... [2023-01-13T15:44:08.392Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-329@tmp/config12234065363011762248tmp [Pipeline] { [Pipeline] echo [2023-01-13T15:44:08.489Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-13T15:44:08.802Z] ---> create-netrc.sh [Pipeline] } [2023-01-13T15:44:08.828Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-13T15:44:09.215Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-13T15:44:09.320Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-13T15:44:09.635Z] ---> sudo-logs.sh [2023-01-13T15:44:09.635Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-13T15:44:09.722Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-13T15:44:10.037Z] ---> job-cost.sh [2023-01-13T15:44:10.037Z] lf-activate-venv: SKIPPING [2023-01-13T15:44:10.037Z] DEBUG: total: 0.2199999988079071 [2023-01-13T15:44:10.037Z] INFO: Retrieving Stack Cost... [2023-01-13T15:44:10.296Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-13T15:44:10.556Z] INFO: Archiving Costs [Pipeline] echo [2023-01-13T15:44:10.590Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-13T15:44:10.898Z] ---> logs-deploy.sh [2023-01-13T15:44:10.899Z] lf-activate-venv: SKIPPING [2023-01-13T15:44:10.899Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-329/1 [2023-01-13T15:44:10.899Z] INFO: archiving workspace using pattern(s): [2023-01-13T15:44:11.835Z] Archives upload complete. [2023-01-13T15:44:11.835Z] INFO: archiving logs to Nexus