Pull request #303 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 705c9e84cdb8f4ceb0600da3af7af3cb781b61d9+63543485434e600665537b42870bbfcdf272957c (e68b8d1bde4bd3ab41110c7a985b44be3cb6497a) 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-ssh3330539595758844579.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh6614370030268984234.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-303/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-303/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14585938406060908868.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-303/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6633351784854586699.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh1603475047617546510.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-303/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-303/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4453929264969706726.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 bd7468d5528128c83034753e4c3def8ef9af3f2d Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-24601 in /w/workspace/foundry_device-virtual-go_PR-303 [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-303 # 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 Merging remotes/origin/main commit 63543485434e600665537b42870bbfcdf272957c into PR head commit 705c9e84cdb8f4ceb0600da3af7af3cb781b61d9 Merge succeeded, producing 705c9e84cdb8f4ceb0600da3af7af3cb781b61d9 Checking out Revision 705c9e84cdb8f4ceb0600da3af7af3cb781b61d9 (PR-303) > 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/303/head:refs/remotes/origin/PR-303 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 705c9e84cdb8f4ceb0600da3af7af3cb781b61d9 # 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 63543485434e600665537b42870bbfcdf272957c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 705c9e84cdb8f4ceb0600da3af7af3cb781b61d9 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-05T15:35:32.739Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-05T15:35:32.906Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-05T15:35:33.031Z] ========================================================= [2022-09-05T15:35:33.032Z] EdgeX Global Pipelines Version Info [2022-09-05T15:35:33.032Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-09-05T15:35:33.824Z] ------------------- [2022-09-05T15:35:33.824Z] stable info: [2022-09-05T15:35:33.824Z] ------------------- [2022-09-05T15:35:33.824Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-05T15:35:33.824Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-05T15:35:33.824Z] Message: update stable to v1.0.239 [2022-09-05T15:35:34.398Z] ------------------- [2022-09-05T15:35:34.398Z] experimental info: [2022-09-05T15:35:34.398Z] ------------------- [2022-09-05T15:35:34.398Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-05T15:35:34.398Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-05T15:35:34.398Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-05T15:35:34.806Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2022-09-05T15:35:34.843Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2022-09-05T15:35:34.884Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-05T15:35:34.921Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-05T15:35:34.956Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-05T15:35:34.994Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-05T15:35:35.035Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-05T15:35:35.072Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-09-05T15:35:35.118Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-05T15:35:35.157Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-05T15:35:35.200Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-05T15:35:35.240Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2022-09-05T15:35:35.278Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-05T15:35:35.315Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-05T15:35:35.355Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-05T15:35:35.396Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-09-05T15:35:35.430Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-05T15:35:35.471Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-05T15:35:35.508Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-05T15:35:35.547Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-05T15:35:35.588Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-09-05T15:35:35.625Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-09-05T15:35:35.662Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-05T15:35:35.701Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-05T15:35:35.740Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-05T15:35:35.779Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-05T15:35:35.823Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-05T15:35:35.865Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-303 [Pipeline] echo [2022-09-05T15:35:35.907Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-303 [Pipeline] echo [2022-09-05T15:35:35.951Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-303 [Pipeline] echo [2022-09-05T15:35:35.996Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 705c9e84cdb8f4ceb0600da3af7af3cb781b61d9 [Pipeline] echo [2022-09-05T15:35:36.043Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 705c9e8 [Pipeline] echo [2022-09-05T15:35:36.086Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-05T15:35:36.198Z] provisioning config files... [2022-09-05T15:35:36.212Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-303@tmp/config6851853461723600665tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-05T15:35:36.563Z] ---> docker-login.sh [2022-09-05T15:35:36.563Z] nexus3.edgexfoundry.org:10001 [2022-09-05T15:35:36.826Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-05T15:35:37.088Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-05T15:35:37.088Z] Configure a credential helper to remove this warning. See [2022-09-05T15:35:37.088Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-05T15:35:37.088Z] [2022-09-05T15:35:37.088Z] Login Succeeded [2022-09-05T15:35:37.088Z] nexus3.edgexfoundry.org:10002 [2022-09-05T15:35:37.088Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-05T15:35:37.352Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-05T15:35:37.352Z] Configure a credential helper to remove this warning. See [2022-09-05T15:35:37.352Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-05T15:35:37.352Z] [2022-09-05T15:35:37.352Z] Login Succeeded [2022-09-05T15:35:37.352Z] nexus3.edgexfoundry.org:10003 [2022-09-05T15:35:37.352Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-05T15:35:37.352Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-05T15:35:37.352Z] Configure a credential helper to remove this warning. See [2022-09-05T15:35:37.352Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-05T15:35:37.352Z] [2022-09-05T15:35:37.352Z] Login Succeeded [2022-09-05T15:35:37.352Z] nexus3.edgexfoundry.org:10004 [2022-09-05T15:35:37.613Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-05T15:35:37.613Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-05T15:35:37.613Z] Configure a credential helper to remove this warning. See [2022-09-05T15:35:37.613Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-05T15:35:37.613Z] [2022-09-05T15:35:37.613Z] Login Succeeded [2022-09-05T15:35:37.613Z] docker.io [2022-09-05T15:35:37.613Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-05T15:35:38.187Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-05T15:35:38.187Z] Configure a credential helper to remove this warning. See [2022-09-05T15:35:38.187Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-05T15:35:38.187Z] [2022-09-05T15:35:38.187Z] Login Succeeded [2022-09-05T15:35:38.187Z] ---> docker-login.sh ends [Pipeline] } [2022-09-05T15:35:38.213Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-05T15:35:38.831Z] + git rev-list -1 --merges 705c9e84cdb8f4ceb0600da3af7af3cb781b61d9~1..705c9e84cdb8f4ceb0600da3af7af3cb781b61d9 [Pipeline] echo [2022-09-05T15:35:38.876Z] -----------> git rev-list -1 --merges 705c9e84cdb8f4ceb0600da3af7af3cb781b61d9~1..705c9e84cdb8f4ceb0600da3af7af3cb781b61d9 705c9e84cdb8f4ceb0600da3af7af3cb781b61d9 [false] [Pipeline] sh [2022-09-05T15:35:39.194Z] + git log --format=format:%s -1 705c9e84cdb8f4ceb0600da3af7af3cb781b61d9 [Pipeline] echo [2022-09-05T15:35:39.225Z] ========================================================= [2022-09-05T15:35:39.226Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-05T15:35:39.226Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-05T15:35:39.658Z] + git log --format=format:%s -1 705c9e84cdb8f4ceb0600da3af7af3cb781b61d9 [Pipeline] echo [2022-09-05T15:35:39.688Z] [semverPrep] GIT_COMMIT: 705c9e84cdb8f4ceb0600da3af7af3cb781b61d9, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-09-05T15:35:39.720Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-05T15:35:40.163Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-05T15:35:40.163Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-05T15:35:40.163Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-05T15:35:40.163Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-05T15:35:40.163Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-05T15:35:40.163Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-05T15:35:40.163Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-05T15:35:40.607Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-05T15:35:40.607Z] [2022-09-05T15:35:40.607Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-05T15:35:40.990Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-05T15:35:40.990Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-05T15:35:40.990Z] b85a868b505f: Pulling fs layer [2022-09-05T15:35:40.990Z] e2be974225ed: Pulling fs layer [2022-09-05T15:35:40.990Z] 339a4e72a1f5: Pulling fs layer [2022-09-05T15:35:40.990Z] 988bab9f4d93: Pulling fs layer [2022-09-05T15:35:40.990Z] 1469e6f7b9e6: Pulling fs layer [2022-09-05T15:35:40.990Z] eaf3925da568: Pulling fs layer [2022-09-05T15:35:40.990Z] bab4dde63d76: Pulling fs layer [2022-09-05T15:35:40.990Z] bde34c3a00c8: Pulling fs layer [2022-09-05T15:35:40.990Z] b352a97aabf1: Pulling fs layer [2022-09-05T15:35:40.990Z] 4872d77fe225: Pulling fs layer [2022-09-05T15:35:40.990Z] 5851b861e8e6: Pulling fs layer [2022-09-05T15:35:40.990Z] b352a97aabf1: Waiting [2022-09-05T15:35:40.990Z] 5851b861e8e6: Waiting [2022-09-05T15:35:40.990Z] 4872d77fe225: Waiting [2022-09-05T15:35:40.990Z] 988bab9f4d93: Waiting [2022-09-05T15:35:40.990Z] bab4dde63d76: Waiting [2022-09-05T15:35:40.990Z] bde34c3a00c8: Waiting [2022-09-05T15:35:40.990Z] e2be974225ed: Verifying Checksum [2022-09-05T15:35:40.990Z] e2be974225ed: Download complete [2022-09-05T15:35:40.990Z] 988bab9f4d93: Verifying Checksum [2022-09-05T15:35:40.990Z] 988bab9f4d93: Download complete [2022-09-05T15:35:41.254Z] 1469e6f7b9e6: Verifying Checksum [2022-09-05T15:35:41.254Z] 1469e6f7b9e6: Download complete [2022-09-05T15:35:41.254Z] eaf3925da568: Verifying Checksum [2022-09-05T15:35:41.254Z] eaf3925da568: Download complete [2022-09-05T15:35:41.254Z] 339a4e72a1f5: Verifying Checksum [2022-09-05T15:35:41.254Z] 339a4e72a1f5: Download complete [2022-09-05T15:35:41.254Z] bde34c3a00c8: Verifying Checksum [2022-09-05T15:35:41.254Z] bde34c3a00c8: Download complete [2022-09-05T15:35:41.254Z] b352a97aabf1: Verifying Checksum [2022-09-05T15:35:41.254Z] b352a97aabf1: Download complete [2022-09-05T15:35:41.254Z] 4872d77fe225: Download complete [2022-09-05T15:35:41.254Z] 5851b861e8e6: Verifying Checksum [2022-09-05T15:35:41.254Z] 5851b861e8e6: Download complete [2022-09-05T15:35:41.254Z] b85a868b505f: Download complete [2022-09-05T15:35:41.514Z] bab4dde63d76: Verifying Checksum [2022-09-05T15:35:41.514Z] bab4dde63d76: Download complete [2022-09-05T15:35:42.905Z] b85a868b505f: Pull complete [2022-09-05T15:35:42.905Z] e2be974225ed: Pull complete [2022-09-05T15:35:43.475Z] 339a4e72a1f5: Pull complete [2022-09-05T15:35:43.475Z] 988bab9f4d93: Pull complete [2022-09-05T15:35:43.738Z] 1469e6f7b9e6: Pull complete [2022-09-05T15:35:44.001Z] eaf3925da568: Pull complete [2022-09-05T15:35:45.916Z] bab4dde63d76: Pull complete [2022-09-05T15:35:45.916Z] bde34c3a00c8: Pull complete [2022-09-05T15:35:45.916Z] b352a97aabf1: Pull complete [2022-09-05T15:35:46.178Z] 4872d77fe225: Pull complete [2022-09-05T15:35:46.178Z] 5851b861e8e6: Pull complete [2022-09-05T15:35:46.178Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-05T15:35:46.178Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-05T15:35:46.178Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-05T15:35:46.415Z] prd-ubuntu20.04-docker-8c-8g-24601 does not seem to be running inside a container [2022-09-05T15:35:46.457Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-303 -v /w/workspace/foundry_device-virtual-go_PR-303:/w/workspace/foundry_device-virtual-go_PR-303:rw,z -v /w/workspace/foundry_device-virtual-go_PR-303@tmp:/w/workspace/foundry_device-virtual-go_PR-303@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-09-05T15:35:48.816Z] $ docker top 2e93158ff6bcebc37f5258051ada13120a990b1dad3bde46009a7a45185fd33a -eo pid,comm [2022-09-05T15:35:48.882Z] 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). [2022-09-05T15:35:48.882Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-05T15:35:49.011Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-05T15:35:49.011Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-05T15:35:49.167Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-05T15:35:49.171Z] $ docker exec 2e93158ff6bcebc37f5258051ada13120a990b1dad3bde46009a7a45185fd33a ssh-agent [2022-09-05T15:35:49.317Z] SSH_AUTH_SOCK=/tmp/ssh-quFjw3kuEbm3/agent.33 [2022-09-05T15:35:49.317Z] SSH_AGENT_PID=39 [2022-09-05T15:35:49.323Z] Running ssh-add (command line suppressed) [2022-09-05T15:35:49.441Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-303@tmp/private_key_5746290778069964504.key (/w/workspace/foundry_device-virtual-go_PR-303@tmp/private_key_5746290778069964504.key) [2022-09-05T15:35:49.457Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-05T15:35:49.794Z] + git tag --points-at HEAD [Pipeline] } [2022-09-05T15:35:49.820Z] $ docker exec --env ******** --env ******** 2e93158ff6bcebc37f5258051ada13120a990b1dad3bde46009a7a45185fd33a ssh-agent -k [2022-09-05T15:35:49.945Z] unset SSH_AUTH_SOCK; [2022-09-05T15:35:49.946Z] unset SSH_AGENT_PID; [2022-09-05T15:35:49.946Z] echo Agent pid 39 killed; [2022-09-05T15:35:49.958Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-05T15:35:50.046Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-05T15:35:50.046Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-05T15:35:50.177Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-05T15:35:50.181Z] $ docker exec 2e93158ff6bcebc37f5258051ada13120a990b1dad3bde46009a7a45185fd33a ssh-agent [2022-09-05T15:35:50.298Z] SSH_AUTH_SOCK=/tmp/ssh-K8oc5LZn70mu/agent.71 [2022-09-05T15:35:50.298Z] SSH_AGENT_PID=77 [2022-09-05T15:35:50.304Z] Running ssh-add (command line suppressed) [2022-09-05T15:35:50.434Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-303@tmp/private_key_4636737015588593917.key (/w/workspace/foundry_device-virtual-go_PR-303@tmp/private_key_4636737015588593917.key) [2022-09-05T15:35:50.450Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-05T15:35:50.787Z] + git semver init [2022-09-05T15:35:51.049Z] 2022-09-05 15:35:51,011 [run_init] DEBUG init version:0.0.0 force:False [2022-09-05T15:35:51.049Z] 2022-09-05 15:35:51,012 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-303/.semver [2022-09-05T15:35:51.049Z] 2022-09-05 15:35:51,012 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-303/.semver [2022-09-05T15:35:51.049Z] 2022-09-05 15:35:51,013 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-303/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-303, universal_newlines=False, shell=None, istream=None) [2022-09-05T15:35:52.467Z] 2022-09-05 15:35:52,156 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-303/.git/info/exclude [2022-09-05T15:35:52.467Z] 2022-09-05 15:35:52,157 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-303/.semver/PR-303 with force:False [2022-09-05T15:35:52.467Z] 2022-09-05 15:35:52,157 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-303/.semver/PR-303 [2022-09-05T15:35:52.467Z] 2022-09-05 15:35:52,162 [execute] INFO git cat-file --batch-check [2022-09-05T15:35:52.467Z] 2022-09-05 15:35:52,162 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-303/.semver, universal_newlines=False, shell=None, istream=) [2022-09-05T15:35:52.467Z] 2022-09-05 15:35:52,169 [execute] INFO git cat-file --batch [2022-09-05T15:35:52.467Z] 2022-09-05 15:35:52,170 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-303/.semver, universal_newlines=False, shell=None, istream=) [2022-09-05T15:35:52.467Z] 2022-09-05 15:35:52,175 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-303/.semver/PR-303 [2022-09-05T15:35:52.467Z] 0.0.0 [Pipeline] } [2022-09-05T15:35:52.494Z] $ docker exec --env ******** --env ******** 2e93158ff6bcebc37f5258051ada13120a990b1dad3bde46009a7a45185fd33a ssh-agent -k [2022-09-05T15:35:52.624Z] unset SSH_AUTH_SOCK; [2022-09-05T15:35:52.625Z] unset SSH_AGENT_PID; [2022-09-05T15:35:52.625Z] echo Agent pid 77 killed; [2022-09-05T15:35:52.638Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-05T15:35:53.074Z] + git semver [Pipeline] } [2022-09-05T15:35:53.674Z] $ docker stop --time=1 2e93158ff6bcebc37f5258051ada13120a990b1dad3bde46009a7a45185fd33a [2022-09-05T15:35:55.013Z] $ docker rm -f 2e93158ff6bcebc37f5258051ada13120a990b1dad3bde46009a7a45185fd33a [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-05T15:35:55.444Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-05T15:35:55.776Z] Stashed 1 file(s) [Pipeline] echo [2022-09-05T15:35:55.792Z] [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 [2022-09-05T15:35:56.405Z] provisioning config files... [2022-09-05T15:35:56.418Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-303@tmp/config3014178023681699591tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-05T15:35:56.771Z] ---> docker-login.sh [2022-09-05T15:35:56.771Z] nexus3.edgexfoundry.org:10001 [2022-09-05T15:35:56.771Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-05T15:35:56.771Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-05T15:35:56.771Z] Configure a credential helper to remove this warning. See [2022-09-05T15:35:56.771Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-05T15:35:56.771Z] [2022-09-05T15:35:56.771Z] Login Succeeded [2022-09-05T15:35:56.771Z] nexus3.edgexfoundry.org:10002 [2022-09-05T15:35:56.771Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-05T15:35:57.033Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-05T15:35:57.033Z] Configure a credential helper to remove this warning. See [2022-09-05T15:35:57.033Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-05T15:35:57.033Z] [2022-09-05T15:35:57.033Z] Login Succeeded [2022-09-05T15:35:57.033Z] nexus3.edgexfoundry.org:10003 [2022-09-05T15:35:57.033Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-05T15:35:57.033Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-05T15:35:57.033Z] Configure a credential helper to remove this warning. See [2022-09-05T15:35:57.033Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-05T15:35:57.033Z] [2022-09-05T15:35:57.033Z] Login Succeeded [2022-09-05T15:35:57.033Z] nexus3.edgexfoundry.org:10004 [2022-09-05T15:35:57.294Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-05T15:35:57.294Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-05T15:35:57.294Z] Configure a credential helper to remove this warning. See [2022-09-05T15:35:57.294Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-05T15:35:57.294Z] [2022-09-05T15:35:57.294Z] Login Succeeded [2022-09-05T15:35:57.294Z] docker.io [2022-09-05T15:35:57.294Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-05T15:35:57.554Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-05T15:35:57.554Z] Configure a credential helper to remove this warning. See [2022-09-05T15:35:57.554Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-05T15:35:57.554Z] [2022-09-05T15:35:57.554Z] Login Succeeded [2022-09-05T15:35:57.554Z] ---> docker-login.sh ends [Pipeline] } [2022-09-05T15:35:57.582Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-05T15:35:57.778Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-05T15:35:57.817Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-05T15:35:57.846Z] ========================================================= [2022-09-05T15:35:57.846Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-05T15:35:57.846Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-05T15:35:58.300Z] + 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 . [2022-09-05T15:35:58.300Z] Sending build context to Docker daemon 23.13MB [2022-09-05T15:35:58.300Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-05T15:35:58.300Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-05T15:35:58.563Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-05T15:35:58.563Z] 2408cc74d12b: Pulling fs layer [2022-09-05T15:35:58.563Z] ea60b727a1ce: Pulling fs layer [2022-09-05T15:35:58.563Z] 30c4a7721957: Pulling fs layer [2022-09-05T15:35:58.563Z] 370296b7ddb6: Pulling fs layer [2022-09-05T15:35:58.563Z] 7c6cee850709: Pulling fs layer [2022-09-05T15:35:58.563Z] 39a5fcdaea64: Pulling fs layer [2022-09-05T15:35:58.563Z] d94ebbe4e438: Pulling fs layer [2022-09-05T15:35:58.563Z] bcfd1f05c69d: Pulling fs layer [2022-09-05T15:35:58.563Z] 59ccb84bbe0f: Pulling fs layer [2022-09-05T15:35:58.563Z] 39a5fcdaea64: Waiting [2022-09-05T15:35:58.563Z] 370296b7ddb6: Waiting [2022-09-05T15:35:58.563Z] d94ebbe4e438: Waiting [2022-09-05T15:35:58.563Z] 7c6cee850709: Waiting [2022-09-05T15:35:58.563Z] 59ccb84bbe0f: Waiting [2022-09-05T15:35:58.563Z] bcfd1f05c69d: Waiting [2022-09-05T15:35:58.563Z] 30c4a7721957: Verifying Checksum [2022-09-05T15:35:58.563Z] 30c4a7721957: Download complete [2022-09-05T15:35:58.563Z] 7c6cee850709: Download complete [2022-09-05T15:35:58.563Z] 39a5fcdaea64: Download complete [2022-09-05T15:35:58.563Z] 2408cc74d12b: Verifying Checksum [2022-09-05T15:35:58.563Z] 2408cc74d12b: Download complete [2022-09-05T15:35:58.563Z] d94ebbe4e438: Verifying Checksum [2022-09-05T15:35:58.563Z] d94ebbe4e438: Download complete [2022-09-05T15:35:58.563Z] 2408cc74d12b: Pull complete [2022-09-05T15:35:58.835Z] ea60b727a1ce: Pull complete [2022-09-05T15:35:58.835Z] 30c4a7721957: Pull complete [2022-09-05T15:35:58.835Z] 59ccb84bbe0f: Verifying Checksum [2022-09-05T15:35:58.835Z] 59ccb84bbe0f: Download complete [2022-09-05T15:35:59.101Z] bcfd1f05c69d: Verifying Checksum [2022-09-05T15:35:59.101Z] bcfd1f05c69d: Download complete [2022-09-05T15:35:59.674Z] 370296b7ddb6: Verifying Checksum [2022-09-05T15:35:59.674Z] 370296b7ddb6: Download complete [2022-09-05T15:36:03.871Z] 370296b7ddb6: Pull complete [2022-09-05T15:36:03.871Z] 7c6cee850709: Pull complete [2022-09-05T15:36:03.871Z] 39a5fcdaea64: Pull complete [2022-09-05T15:36:04.130Z] d94ebbe4e438: Pull complete [2022-09-05T15:36:06.666Z] bcfd1f05c69d: Pull complete [2022-09-05T15:36:06.926Z] 59ccb84bbe0f: Pull complete [2022-09-05T15:36:07.186Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-05T15:36:07.186Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-05T15:36:07.186Z] ---> a4fb48ad2a94 [2022-09-05T15:36:07.186Z] Step 3/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-05T15:36:11.223Z] Still waiting to schedule task [2022-09-05T15:36:11.223Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-09-05T15:36:11.443Z] ---> Running in 29e3d58c7d00 [2022-09-05T15:36:11.443Z] Removing intermediate container 29e3d58c7d00 [2022-09-05T15:36:11.443Z] ---> 43d8ec127aa9 [2022-09-05T15:36:11.443Z] Step 4/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-05T15:36:11.443Z] ---> Running in 65d5f338f1ba [2022-09-05T15:36:11.443Z] Removing intermediate container 65d5f338f1ba [2022-09-05T15:36:11.443Z] ---> a3d51dbf224b [2022-09-05T15:36:11.443Z] Step 5/13 : ARG ADD_BUILD_TAGS="" [2022-09-05T15:36:11.443Z] ---> Running in b0f7fe696058 [2022-09-05T15:36:11.443Z] Removing intermediate container b0f7fe696058 [2022-09-05T15:36:11.443Z] ---> 9e34e871ae18 [2022-09-05T15:36:11.443Z] Step 6/13 : WORKDIR /device-virtual-go [2022-09-05T15:36:11.443Z] ---> Running in e876fceae3d2 [2022-09-05T15:36:11.443Z] Removing intermediate container e876fceae3d2 [2022-09-05T15:36:11.443Z] ---> 5b419a562778 [2022-09-05T15:36:11.443Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-05T15:36:11.443Z] ---> Running in 36ca9510f1dd [2022-09-05T15:36:11.704Z] Removing intermediate container 36ca9510f1dd [2022-09-05T15:36:11.704Z] ---> 1d5f2ef5fba1 [2022-09-05T15:36:11.704Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-05T15:36:11.704Z] ---> Running in c8f70edba081 [2022-09-05T15:36:12.276Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-05T15:36:12.852Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-05T15:36:13.423Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-09-05T15:36:13.423Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-09-05T15:36:13.423Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-09-05T15:36:13.683Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-09-05T15:36:13.683Z] Executing busybox-1.35.0-r13.trigger [2022-09-05T15:36:13.683Z] OK: 216 MiB in 55 packages [2022-09-05T15:36:14.253Z] Removing intermediate container c8f70edba081 [2022-09-05T15:36:14.253Z] ---> 0076fbfbee76 [2022-09-05T15:36:14.253Z] Step 9/13 : COPY go.mod vendor* ./ [2022-09-05T15:36:14.253Z] ---> c8d9a78f7ea4 [2022-09-05T15:36:14.253Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-05T15:36:14.253Z] ---> Running in 385ec6423f7d [2022-09-05T15:36:36.387Z] Removing intermediate container 385ec6423f7d [2022-09-05T15:36:36.387Z] ---> 3279ab18fab2 [2022-09-05T15:36:36.387Z] Step 11/13 : COPY . . [2022-09-05T15:36:36.387Z] ---> 9b7bdb04cb13 [2022-09-05T15:36:36.387Z] Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-05T15:36:36.387Z] ---> Running in 54635a8ffd9e [2022-09-05T15:36:36.387Z] Removing intermediate container 54635a8ffd9e [2022-09-05T15:36:36.387Z] ---> 4ab9adb9ac12 [2022-09-05T15:36:36.387Z] Step 13/13 : RUN $MAKE [2022-09-05T15:36:36.387Z] ---> Running in e653f9fd378d [2022-09-05T15:36:36.387Z] noop [2022-09-05T15:36:36.387Z] Removing intermediate container e653f9fd378d [2022-09-05T15:36:36.387Z] ---> 3aa0c2744b36 [2022-09-05T15:36:36.387Z] Successfully built 3aa0c2744b36 [2022-09-05T15:36:36.387Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-05T15:36:36.840Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-05T15:36:36.840Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-05T15:36:36.986Z] prd-ubuntu20.04-docker-8c-8g-24601 does not seem to be running inside a container [2022-09-05T15:36:37.022Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-303 -v /w/workspace/foundry_device-virtual-go_PR-303:/w/workspace/foundry_device-virtual-go_PR-303:rw,z -v /w/workspace/foundry_device-virtual-go_PR-303@tmp:/w/workspace/foundry_device-virtual-go_PR-303@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 ******** ci-base-image-x86_64 cat [2022-09-05T15:36:37.387Z] $ docker top e2207657e3df7314550d1d368df2904b27e06b5200ac235dcb50d8299ff1b50b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-05T15:36:37.800Z] + go version [2022-09-05T15:36:37.800Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-05T15:36:37.832Z] $ docker stop --time=1 e2207657e3df7314550d1d368df2904b27e06b5200ac235dcb50d8299ff1b50b [2022-09-05T15:36:39.144Z] $ docker rm -f e2207657e3df7314550d1d368df2904b27e06b5200ac235dcb50d8299ff1b50b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-05T15:36:39.892Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-05T15:36:39.892Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-05T15:36:40.063Z] prd-ubuntu20.04-docker-8c-8g-24601 does not seem to be running inside a container [2022-09-05T15:36:40.105Z] $ 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-303 -v /w/workspace/foundry_device-virtual-go_PR-303:/w/workspace/foundry_device-virtual-go_PR-303:rw,z -v /w/workspace/foundry_device-virtual-go_PR-303@tmp:/w/workspace/foundry_device-virtual-go_PR-303@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 ******** ci-base-image-x86_64 cat [2022-09-05T15:36:40.448Z] $ docker top 049141f1927c63a37e986ae64c1c7344b27037c5554ed5ac9caa9dfb7dbf20ec -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-05T15:36:40.874Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-303 [Pipeline] fileExists [Pipeline] sh [2022-09-05T15:36:41.231Z] + make test [2022-09-05T15:36:41.231Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-09-05T15:36:41.492Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-09-05T15:36:51.483Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-09-05T15:36:52.424Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.042s coverage: 65.7% of statements [2022-09-05T15:37:00.563Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-09-05T15:37:00.563Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-05T15:37:03.101Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-05T15:37:03.101Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-05T15:37:03.101Z] ./bin/test-attribution-txt.sh [2022-09-05T15:37:03.101Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-09-05T15:37:03.102Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-09-05T15:37:03.102Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-09-05T15:37:03.141Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-05T15:37:03.172Z] $ docker stop --time=1 049141f1927c63a37e986ae64c1c7344b27037c5554ed5ac9caa9dfb7dbf20ec [2022-09-05T15:37:05.986Z] $ docker rm -f 049141f1927c63a37e986ae64c1c7344b27037c5554ed5ac9caa9dfb7dbf20ec [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-05T15:37:06.504Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-05T15:37:06.573Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-09-05T15:37:07.304Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-05T15:37:07.616Z] + ls -al . [2022-09-05T15:37:07.616Z] total 192 [2022-09-05T15:37:07.616Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 5 15:36 . [2022-09-05T15:37:07.616Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 5 15:35 .. [2022-09-05T15:37:07.616Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 5 15:36 .git [2022-09-05T15:37:07.616Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 5 15:35 .github [2022-09-05T15:37:07.616Z] -rw-rw-r-- 1 jenkins jenkins 337 Sep 5 15:35 .gitignore [2022-09-05T15:37:07.616Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 5 15:35 .golangci.yml [2022-09-05T15:37:07.616Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 5 15:35 .semver [2022-09-05T15:37:07.616Z] -rw-rw-r-- 1 jenkins jenkins 8152 Sep 5 15:35 Attribution.txt [2022-09-05T15:37:07.616Z] -rw-rw-r-- 1 jenkins jenkins 9649 Sep 5 15:35 CHANGELOG.md [2022-09-05T15:37:07.616Z] -rw-rw-r-- 1 jenkins jenkins 2034 Sep 5 15:35 Dockerfile [2022-09-05T15:37:07.616Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 5 15:35 GOVERNANCE.md [2022-09-05T15:37:07.616Z] -rw-rw-r-- 1 jenkins jenkins 660 Sep 5 15:35 Jenkinsfile [2022-09-05T15:37:07.616Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 5 15:35 LICENSE [2022-09-05T15:37:07.616Z] -rw-rw-r-- 1 jenkins jenkins 2457 Sep 5 15:35 Makefile [2022-09-05T15:37:07.616Z] -rw-rw-r-- 1 jenkins jenkins 623 Sep 5 15:35 OWNERS.md [2022-09-05T15:37:07.616Z] -rw-rw-r-- 1 jenkins jenkins 3578 Sep 5 15:35 README.md [2022-09-05T15:37:07.616Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 5 15:35 VERSION [2022-09-05T15:37:07.616Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 5 15:35 bin [2022-09-05T15:37:07.616Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 5 15:35 cmd [2022-09-05T15:37:07.616Z] -rw-r--r-- 1 jenkins jenkins 44128 Sep 5 15:36 coverage.out [2022-09-05T15:37:07.616Z] -rw-rw-r-- 1 jenkins jenkins 3328 Sep 5 15:35 go.mod [2022-09-05T15:37:07.616Z] -rw-rw-r-- 1 jenkins jenkins 36202 Sep 5 15:35 go.sum [2022-09-05T15:37:07.616Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 5 15:35 internal [2022-09-05T15:37:07.616Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 5 15:35 snap [2022-09-05T15:37:07.616Z] -rw-rw-r-- 1 jenkins jenkins 235 Sep 5 15:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-05T15:37:07.998Z] + docker build -t device-virtual -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=705c9e84cdb8f4ceb0600da3af7af3cb781b61d9 --label arch=amd64 --label version=0.0.0 . [2022-09-05T15:37:07.999Z] Sending build context to Docker daemon 23.17MB [2022-09-05T15:37:07.999Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-09-05T15:37:07.999Z] Step 2/27 : FROM ${BASE} AS builder [2022-09-05T15:37:07.999Z] ---> 3aa0c2744b36 [2022-09-05T15:37:07.999Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-05T15:37:08.258Z] ---> Running in e7bb6b47d0fe [2022-09-05T15:37:08.518Z] Removing intermediate container e7bb6b47d0fe [2022-09-05T15:37:08.518Z] ---> d8e044bd447a [2022-09-05T15:37:08.518Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2022-09-05T15:37:08.518Z] ---> Running in b1f8baada73e [2022-09-05T15:37:08.518Z] Removing intermediate container b1f8baada73e [2022-09-05T15:37:08.518Z] ---> a21288d17503 [2022-09-05T15:37:08.518Z] Step 5/27 : ARG ADD_BUILD_TAGS="" [2022-09-05T15:37:08.518Z] ---> Running in 99c1553e6934 [2022-09-05T15:37:08.518Z] Removing intermediate container 99c1553e6934 [2022-09-05T15:37:08.518Z] ---> 592593e82e0d [2022-09-05T15:37:08.518Z] Step 6/27 : WORKDIR /device-virtual-go [2022-09-05T15:37:08.778Z] ---> Running in 4b6e5cad2d79 [2022-09-05T15:37:08.778Z] Removing intermediate container 4b6e5cad2d79 [2022-09-05T15:37:08.778Z] ---> edb03c5f2652 [2022-09-05T15:37:08.778Z] Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-05T15:37:08.778Z] ---> Running in b176a7a041bd [2022-09-05T15:37:09.348Z] Removing intermediate container b176a7a041bd [2022-09-05T15:37:09.348Z] ---> 767c6ffd43d2 [2022-09-05T15:37:09.348Z] Step 8/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-05T15:37:09.348Z] ---> Running in 9ad4bdb8ff55 [2022-09-05T15:37:09.611Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-05T15:37:10.555Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-05T15:37:10.818Z] OK: 216 MiB in 55 packages [2022-09-05T15:37:11.092Z] Removing intermediate container 9ad4bdb8ff55 [2022-09-05T15:37:11.092Z] ---> 12c20aab9c39 [2022-09-05T15:37:11.092Z] Step 9/27 : COPY go.mod vendor* ./ [2022-09-05T15:37:11.353Z] ---> 40c2fd86005b [2022-09-05T15:37:11.353Z] Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-05T15:37:11.353Z] ---> Running in 1b1c0e489338 [2022-09-05T15:37:11.922Z] Removing intermediate container 1b1c0e489338 [2022-09-05T15:37:11.922Z] ---> fdab05bfc444 [2022-09-05T15:37:11.922Z] Step 11/27 : COPY . . [2022-09-05T15:37:12.491Z] ---> c31c9eae90ec [2022-09-05T15:37:12.491Z] Step 12/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-05T15:37:12.491Z] ---> Running in f17e2a753579 [2022-09-05T15:37:12.752Z] Removing intermediate container f17e2a753579 [2022-09-05T15:37:12.752Z] ---> 925d6a20cfcc [2022-09-05T15:37:12.752Z] Step 13/27 : RUN $MAKE [2022-09-05T15:37:12.752Z] ---> Running in 5b902e45a2c9 [2022-09-05T15:37:13.012Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd [2022-09-05T15:37:34.965Z] Removing intermediate container 5b902e45a2c9 [2022-09-05T15:37:34.965Z] ---> d291682ee38a [2022-09-05T15:37:34.965Z] Step 14/27 : FROM alpine:3.16 [2022-09-05T15:37:34.965Z] 3.16: Pulling from library/alpine [2022-09-05T15:37:35.229Z] 213ec9aee27d: Pulling fs layer [2022-09-05T15:37:35.229Z] 213ec9aee27d: Download complete [2022-09-05T15:37:35.488Z] 213ec9aee27d: Pull complete [2022-09-05T15:37:35.488Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-05T15:37:35.488Z] Status: Downloaded newer image for alpine:3.16 [2022-09-05T15:37:35.488Z] ---> 9c6f07244728 [2022-09-05T15:37:35.488Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-09-05T15:37:35.488Z] ---> Running in 1e3d4c9f16cd [2022-09-05T15:37:35.748Z] Removing intermediate container 1e3d4c9f16cd [2022-09-05T15:37:35.748Z] ---> 4069b7bfb39a [2022-09-05T15:37:35.748Z] Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-05T15:37:35.748Z] ---> Running in f90cd671adb3 [2022-09-05T15:37:36.321Z] Removing intermediate container f90cd671adb3 [2022-09-05T15:37:36.321Z] ---> 23d0ae08df3f [2022-09-05T15:37:36.321Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-05T15:37:36.321Z] ---> Running in d7d4322389df [2022-09-05T15:37:36.581Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-05T15:37:37.525Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-05T15:37:37.785Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-05T15:37:37.785Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-05T15:37:37.785Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-05T15:37:38.052Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-05T15:37:38.053Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-05T15:37:38.053Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-05T15:37:38.315Z] Executing busybox-1.35.0-r17.trigger [2022-09-05T15:37:38.315Z] OK: 8 MiB in 20 packages [2022-09-05T15:37:38.887Z] Removing intermediate container d7d4322389df [2022-09-05T15:37:38.887Z] ---> 18637024a3e5 [2022-09-05T15:37:38.887Z] Step 18/27 : WORKDIR / [2022-09-05T15:37:38.887Z] ---> Running in 828fabd68b6f [2022-09-05T15:37:38.887Z] Removing intermediate container 828fabd68b6f [2022-09-05T15:37:38.887Z] ---> b8f9b6baecc4 [2022-09-05T15:37:38.887Z] Step 19/27 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-09-05T15:37:38.887Z] ---> f9f4e585fb34 [2022-09-05T15:37:38.887Z] Step 20/27 : COPY --from=builder /device-virtual-go/LICENSE / [2022-09-05T15:37:39.149Z] ---> 017fc5d2e351 [2022-09-05T15:37:39.149Z] Step 21/27 : COPY --from=builder /device-virtual-go/cmd / [2022-09-05T15:37:39.729Z] ---> 9e2dc1cbd899 [2022-09-05T15:37:39.729Z] Step 22/27 : EXPOSE 59900 [2022-09-05T15:37:39.729Z] ---> Running in a7009e6c0a84 [2022-09-05T15:37:39.729Z] Removing intermediate container a7009e6c0a84 [2022-09-05T15:37:39.729Z] ---> df4844f88a47 [2022-09-05T15:37:39.729Z] Step 23/27 : ENTRYPOINT ["/device-virtual"] [2022-09-05T15:37:39.729Z] ---> Running in d42f24dc5b47 [2022-09-05T15:37:39.989Z] Removing intermediate container d42f24dc5b47 [2022-09-05T15:37:39.989Z] ---> 787031d559d0 [2022-09-05T15:37:39.989Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-05T15:37:39.989Z] ---> Running in df6fd72a1d72 [2022-09-05T15:37:39.989Z] Removing intermediate container df6fd72a1d72 [2022-09-05T15:37:39.989Z] ---> b5775319e86d [2022-09-05T15:37:39.989Z] Step 25/27 : LABEL arch=amd64 [2022-09-05T15:37:39.989Z] ---> Running in ae573ecc1ee4 [2022-09-05T15:37:39.989Z] Removing intermediate container ae573ecc1ee4 [2022-09-05T15:37:39.989Z] ---> 4ffe4e5a5f58 [2022-09-05T15:37:39.989Z] Step 26/27 : LABEL git_sha=705c9e84cdb8f4ceb0600da3af7af3cb781b61d9 [2022-09-05T15:37:40.250Z] ---> Running in feb9e454acc8 [2022-09-05T15:37:40.250Z] Removing intermediate container feb9e454acc8 [2022-09-05T15:37:40.250Z] ---> fc668c959f22 [2022-09-05T15:37:40.250Z] Step 27/27 : LABEL version=0.0.0 [2022-09-05T15:37:40.250Z] ---> Running in f50e2eb3fccd [2022-09-05T15:37:40.250Z] Removing intermediate container f50e2eb3fccd [2022-09-05T15:37:40.250Z] ---> 96b35237b403 [2022-09-05T15:37:40.250Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-05T15:37:40.250Z] Successfully built 96b35237b403 [2022-09-05T15:37:40.250Z] Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-05T15:37:41.104Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-05T15:37:41.105Z] [2022-09-05T15:37:41.105Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-05T15:37:41.480Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-05T15:37:41.480Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-05T15:37:41.480Z] 5eb5b503b376: Pulling fs layer [2022-09-05T15:37:41.480Z] 5c69ac0246d0: Pulling fs layer [2022-09-05T15:37:41.480Z] ec43610c2a17: Pulling fs layer [2022-09-05T15:37:41.480Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-05T15:37:41.480Z] 33b1e0a273af: Pulling fs layer [2022-09-05T15:37:41.480Z] 5d3b04190fa2: Pulling fs layer [2022-09-05T15:37:41.480Z] 2f39f015ded8: Pulling fs layer [2022-09-05T15:37:41.480Z] 3a2ae6a8a46f: Waiting [2022-09-05T15:37:41.480Z] 2f39f015ded8: Waiting [2022-09-05T15:37:41.480Z] 5d3b04190fa2: Waiting [2022-09-05T15:37:41.480Z] 33b1e0a273af: Waiting [2022-09-05T15:37:41.480Z] 5c69ac0246d0: Verifying Checksum [2022-09-05T15:37:41.480Z] 5c69ac0246d0: Download complete [2022-09-05T15:37:41.480Z] 3a2ae6a8a46f: Verifying Checksum [2022-09-05T15:37:41.480Z] 3a2ae6a8a46f: Download complete [2022-09-05T15:37:41.480Z] 33b1e0a273af: Verifying Checksum [2022-09-05T15:37:41.480Z] 33b1e0a273af: Download complete [2022-09-05T15:37:41.480Z] ec43610c2a17: Verifying Checksum [2022-09-05T15:37:41.480Z] ec43610c2a17: Download complete [2022-09-05T15:37:41.745Z] 5d3b04190fa2: Verifying Checksum [2022-09-05T15:37:41.745Z] 5d3b04190fa2: Download complete [2022-09-05T15:37:41.745Z] 5eb5b503b376: Verifying Checksum [2022-09-05T15:37:41.745Z] 5eb5b503b376: Download complete [2022-09-05T15:37:42.321Z] 2f39f015ded8: Download complete [2022-09-05T15:37:43.262Z] 5eb5b503b376: Pull complete [2022-09-05T15:37:43.262Z] 5c69ac0246d0: Pull complete [2022-09-05T15:37:43.831Z] ec43610c2a17: Pull complete [2022-09-05T15:37:43.831Z] 3a2ae6a8a46f: Pull complete [2022-09-05T15:37:44.092Z] 33b1e0a273af: Pull complete [2022-09-05T15:37:44.092Z] 5d3b04190fa2: Pull complete [2022-09-05T15:37:49.375Z] 2f39f015ded8: Pull complete [2022-09-05T15:37:49.375Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-05T15:37:49.375Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-05T15:37:49.375Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-05T15:37:49.610Z] prd-ubuntu20.04-docker-8c-8g-24601 does not seem to be running inside a container [2022-09-05T15:37:49.653Z] $ 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-303 -v /w/workspace/foundry_device-virtual-go_PR-303:/w/workspace/foundry_device-virtual-go_PR-303:rw,z -v /w/workspace/foundry_device-virtual-go_PR-303@tmp:/w/workspace/foundry_device-virtual-go_PR-303@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 [2022-09-05T15:37:52.643Z] $ docker top 7c30c252c7d38b61340886e5c3e7cfa92620865d919c3f6141cbfb9b44a66471 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-05T15:37:53.091Z] ---> job-cost.sh [2022-09-05T15:37:53.091Z] lf-activate-venv: SKIPPING [2022-09-05T15:37:53.091Z] INFO: No Stack... [2022-09-05T15:37:53.351Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-05T15:37:53.920Z] INFO: Archiving Costs [Pipeline] sh [2022-09-05T15:37:54.237Z] + cat /w/workspace/foundry_device-virtual-go_PR-303/archives/cost.csv [2022-09-05T15:37:54.237Z] + cut -d, -f6 [Pipeline] lock [2022-09-05T15:37:54.279Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-303-1-stack-cost] [2022-09-05T15:37:54.284Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-303-1-stack-cost] did not exist. Created. [2022-09-05T15:37:54.285Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-303-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-05T15:37:54.684Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-05T15:37:54.742Z] Stashed 1 file(s) [Pipeline] } [2022-09-05T15:37:54.766Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-303-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-05T15:37:54.844Z] $ docker stop --time=1 7c30c252c7d38b61340886e5c3e7cfa92620865d919c3f6141cbfb9b44a66471 [2022-09-05T15:37:55.999Z] $ docker rm -f 7c30c252c7d38b61340886e5c3e7cfa92620865d919c3f6141cbfb9b44a66471 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-09-05T15:37:58.885Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-24602 in /w/workspace/foundry_device-virtual-go_PR-303 [Pipeline] { [Pipeline] ws [2022-09-05T15:37:58.926Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2022-09-05T15:37:59.021Z] The recommended git tool is: git [2022-09-05T15:38:06.950Z] using credential edgex-jenkins-ssh [2022-09-05T15:38:06.967Z] Cloning the remote Git repository [2022-09-05T15:38:07.025Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2022-09-05T15:38:07.110Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2022-09-05T15:38:07.247Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-09-05T15:38:07.248Z] > git --version # timeout=10 [2022-09-05T15:38:07.278Z] > git --version # 'git version 2.25.1' [2022-09-05T15:38:07.281Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-05T15:38:07.426Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-05T15:38:09.565Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-09-05T15:38:09.588Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-05T15:38:09.617Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-09-05T15:38:09.649Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-09-05T15:38:09.650Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-05T15:38:10.189Z] Merging remotes/origin/main commit 63543485434e600665537b42870bbfcdf272957c into PR head commit 705c9e84cdb8f4ceb0600da3af7af3cb781b61d9 [2022-09-05T15:38:10.434Z] Merge succeeded, producing 705c9e84cdb8f4ceb0600da3af7af3cb781b61d9 [2022-09-05T15:38:10.434Z] Checking out Revision 705c9e84cdb8f4ceb0600da3af7af3cb781b61d9 (PR-303) [2022-09-05T15:38:09.667Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/303/head:refs/remotes/origin/PR-303 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-09-05T15:38:10.214Z] > git config core.sparsecheckout # timeout=10 [2022-09-05T15:38:10.231Z] > git checkout -f 705c9e84cdb8f4ceb0600da3af7af3cb781b61d9 # timeout=10 [2022-09-05T15:38:10.330Z] > git remote # timeout=10 [2022-09-05T15:38:10.351Z] > git config --get remote.origin.url # timeout=10 [2022-09-05T15:38:10.369Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-05T15:38:10.386Z] > git merge 63543485434e600665537b42870bbfcdf272957c # timeout=10 [2022-09-05T15:38:10.415Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-09-05T15:38:10.443Z] > git config core.sparsecheckout # timeout=10 [2022-09-05T15:38:10.460Z] > git checkout -f 705c9e84cdb8f4ceb0600da3af7af3cb781b61d9 # timeout=10 [2022-09-05T15:38:14.948Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2022-09-05T15:38:15.021Z] > git --version # timeout=10 [2022-09-05T15:38:15.035Z] > git --version # 'git version 2.25.1' [2022-09-05T15:38:15.049Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-05T15:38:16.276Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-05T15:38:16.276Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-05T15:38:16.276Z] Dload Upload Total Spent Left Speed [2022-09-05T15:38:16.276Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 64958 0 --:--:-- --:--:-- --:--:-- 65295 [Pipeline] sh [2022-09-05T15:38:17.065Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-05T15:38:17.700Z] + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} [2022-09-05T15:38:17.700Z] /etc/docker/daemon.json [2022-09-05T15:38:17.700Z] { [2022-09-05T15:38:17.700Z] "registry-mirrors": [ [2022-09-05T15:38:17.700Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-05T15:38:17.700Z] ], [2022-09-05T15:38:17.700Z] "bip": "10.250.0.254/24", [2022-09-05T15:38:17.700Z] "hosts": [ [2022-09-05T15:38:17.700Z] "tcp://0.0.0.0:5555", [2022-09-05T15:38:17.700Z] "unix:///var/run/docker.sock" [2022-09-05T15:38:17.700Z] ], [2022-09-05T15:38:17.700Z] "mtu": 1458, [2022-09-05T15:38:17.700Z] "selinux-enabled": true, [2022-09-05T15:38:17.700Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-05T15:38:17.700Z] } [Pipeline] sh [2022-09-05T15:38:18.075Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-05T15:38:18.450Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-05T15:38:36.881Z] provisioning config files... [2022-09-05T15:38:36.913Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config4294749480100529297tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-05T15:38:37.322Z] ---> docker-login.sh [2022-09-05T15:38:37.322Z] nexus3.edgexfoundry.org:10001 [2022-09-05T15:38:37.924Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-05T15:38:38.199Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-05T15:38:38.199Z] Configure a credential helper to remove this warning. See [2022-09-05T15:38:38.199Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-05T15:38:38.199Z] [2022-09-05T15:38:38.199Z] Login Succeeded [2022-09-05T15:38:38.199Z] nexus3.edgexfoundry.org:10002 [2022-09-05T15:38:38.802Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-05T15:38:38.802Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-05T15:38:38.802Z] Configure a credential helper to remove this warning. See [2022-09-05T15:38:38.802Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-05T15:38:38.802Z] [2022-09-05T15:38:38.802Z] Login Succeeded [2022-09-05T15:38:38.802Z] nexus3.edgexfoundry.org:10003 [2022-09-05T15:38:39.410Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-05T15:38:39.410Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-05T15:38:39.410Z] Configure a credential helper to remove this warning. See [2022-09-05T15:38:39.410Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-05T15:38:39.410Z] [2022-09-05T15:38:39.410Z] Login Succeeded [2022-09-05T15:38:39.410Z] nexus3.edgexfoundry.org:10004 [2022-09-05T15:38:40.012Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-05T15:38:40.012Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-05T15:38:40.012Z] Configure a credential helper to remove this warning. See [2022-09-05T15:38:40.012Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-05T15:38:40.012Z] [2022-09-05T15:38:40.012Z] Login Succeeded [2022-09-05T15:38:40.012Z] docker.io [2022-09-05T15:38:40.294Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-05T15:38:40.893Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-05T15:38:40.893Z] Configure a credential helper to remove this warning. See [2022-09-05T15:38:40.893Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-05T15:38:40.893Z] [2022-09-05T15:38:40.893Z] Login Succeeded [2022-09-05T15:38:40.893Z] ---> docker-login.sh ends [Pipeline] } [2022-09-05T15:38:40.922Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-05T15:38:41.356Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-05T15:38:41.393Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-05T15:38:41.426Z] ========================================================= [2022-09-05T15:38:41.426Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-05T15:38:41.426Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-05T15:38:41.942Z] + 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 . [2022-09-05T15:38:42.555Z] Sending build context to Docker daemon 11.7MB [2022-09-05T15:38:42.555Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-05T15:38:42.555Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-05T15:38:42.555Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-05T15:38:42.555Z] b3c136eddcbf: Pulling fs layer [2022-09-05T15:38:42.555Z] c0a3192eca97: Pulling fs layer [2022-09-05T15:38:42.555Z] a050256f5b6f: Pulling fs layer [2022-09-05T15:38:42.555Z] 656be50a0ddc: Pulling fs layer [2022-09-05T15:38:42.555Z] 2bbca73fdf42: Pulling fs layer [2022-09-05T15:38:42.555Z] 46d945488cbd: Pulling fs layer [2022-09-05T15:38:42.555Z] 8a5474983e97: Pulling fs layer [2022-09-05T15:38:42.555Z] 329c88fbcd65: Pulling fs layer [2022-09-05T15:38:42.555Z] 656be50a0ddc: Waiting [2022-09-05T15:38:42.555Z] 8a5474983e97: Waiting [2022-09-05T15:38:42.555Z] 329c88fbcd65: Waiting [2022-09-05T15:38:42.555Z] 46d945488cbd: Waiting [2022-09-05T15:38:42.555Z] 2bbca73fdf42: Waiting [2022-09-05T15:38:42.841Z] a050256f5b6f: Verifying Checksum [2022-09-05T15:38:42.841Z] a050256f5b6f: Download complete [2022-09-05T15:38:42.841Z] c0a3192eca97: Verifying Checksum [2022-09-05T15:38:42.841Z] c0a3192eca97: Download complete [2022-09-05T15:38:42.841Z] 2bbca73fdf42: Verifying Checksum [2022-09-05T15:38:42.841Z] 2bbca73fdf42: Download complete [2022-09-05T15:38:42.841Z] 46d945488cbd: Verifying Checksum [2022-09-05T15:38:42.841Z] 46d945488cbd: Download complete [2022-09-05T15:38:42.841Z] b3c136eddcbf: Verifying Checksum [2022-09-05T15:38:42.841Z] b3c136eddcbf: Download complete [2022-09-05T15:38:43.864Z] b3c136eddcbf: Pull complete [2022-09-05T15:38:44.144Z] 329c88fbcd65: Verifying Checksum [2022-09-05T15:38:44.144Z] 329c88fbcd65: Download complete [2022-09-05T15:38:44.426Z] c0a3192eca97: Pull complete [2022-09-05T15:38:44.699Z] a050256f5b6f: Pull complete [2022-09-05T15:38:45.303Z] 8a5474983e97: Verifying Checksum [2022-09-05T15:38:45.303Z] 8a5474983e97: Download complete [2022-09-05T15:38:45.905Z] 656be50a0ddc: Verifying Checksum [2022-09-05T15:38:45.905Z] 656be50a0ddc: Download complete [2022-09-05T15:39:01.014Z] 656be50a0ddc: Pull complete [2022-09-05T15:39:01.014Z] 2bbca73fdf42: Pull complete [2022-09-05T15:39:01.014Z] 46d945488cbd: Pull complete [2022-09-05T15:39:06.462Z] 8a5474983e97: Pull complete [2022-09-05T15:39:08.454Z] 329c88fbcd65: Pull complete [2022-09-05T15:39:08.454Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-05T15:39:08.454Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-05T15:39:08.454Z] ---> ff4287adb874 [2022-09-05T15:39:08.454Z] Step 3/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-05T15:39:10.442Z] ---> Running in 984f938fa860 [2022-09-05T15:39:10.720Z] Removing intermediate container 984f938fa860 [2022-09-05T15:39:10.720Z] ---> 2e4a67aceeab [2022-09-05T15:39:10.720Z] Step 4/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-05T15:39:10.720Z] ---> Running in 83858d3f2dfc [2022-09-05T15:39:11.327Z] Removing intermediate container 83858d3f2dfc [2022-09-05T15:39:11.327Z] ---> 69143e0fd589 [2022-09-05T15:39:11.327Z] Step 5/13 : ARG ADD_BUILD_TAGS="" [2022-09-05T15:39:11.327Z] ---> Running in b58174111a7f [2022-09-05T15:39:11.603Z] Removing intermediate container b58174111a7f [2022-09-05T15:39:11.603Z] ---> 7104eb4f91cc [2022-09-05T15:39:11.603Z] Step 6/13 : WORKDIR /device-virtual-go [2022-09-05T15:39:11.603Z] ---> Running in 82408da71d85 [2022-09-05T15:39:11.879Z] Removing intermediate container 82408da71d85 [2022-09-05T15:39:11.880Z] ---> aeb31e1d802d [2022-09-05T15:39:11.880Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-05T15:39:12.155Z] ---> Running in 54eec92716c2 [2022-09-05T15:39:14.154Z] Removing intermediate container 54eec92716c2 [2022-09-05T15:39:14.154Z] ---> c73faaddfb9a [2022-09-05T15:39:14.154Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-05T15:39:14.154Z] ---> Running in 82b2dd3302d1 [2022-09-05T15:39:15.140Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-05T15:39:16.143Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-05T15:39:17.132Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-09-05T15:39:17.132Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-09-05T15:39:17.407Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-09-05T15:39:17.408Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-09-05T15:39:17.688Z] Executing busybox-1.35.0-r13.trigger [2022-09-05T15:39:17.688Z] OK: 226 MiB in 55 packages [2022-09-05T15:39:18.674Z] Removing intermediate container 82b2dd3302d1 [2022-09-05T15:39:18.674Z] ---> 6dc331de8ef4 [2022-09-05T15:39:18.674Z] Step 9/13 : COPY go.mod vendor* ./ [2022-09-05T15:39:19.276Z] ---> 44582f9c6d37 [2022-09-05T15:39:19.276Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-05T15:39:19.276Z] ---> Running in ea0c9e3f0f96 [2022-09-05T15:40:15.859Z] Removing intermediate container ea0c9e3f0f96 [2022-09-05T15:40:15.859Z] ---> 326646937735 [2022-09-05T15:40:15.859Z] Step 11/13 : COPY . . [2022-09-05T15:40:15.859Z] ---> 41a2675e0e8f [2022-09-05T15:40:15.859Z] Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-05T15:40:15.859Z] ---> Running in e26545dd1b18 [2022-09-05T15:40:15.859Z] Removing intermediate container e26545dd1b18 [2022-09-05T15:40:15.859Z] ---> b018c8576a81 [2022-09-05T15:40:15.859Z] Step 13/13 : RUN $MAKE [2022-09-05T15:40:15.859Z] ---> Running in c9a34ee0bc58 [2022-09-05T15:40:15.859Z] noop [2022-09-05T15:40:15.859Z] Removing intermediate container c9a34ee0bc58 [2022-09-05T15:40:15.859Z] ---> 4349384740d2 [2022-09-05T15:40:15.859Z] Successfully built 4349384740d2 [2022-09-05T15:40:15.859Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-05T15:40:16.345Z] + docker inspect -f . ci-base-image-arm64 [2022-09-05T15:40:16.345Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-05T15:40:16.654Z] prd-ubuntu20.04-docker-arm64-4c-16g-24602 does not seem to be running inside a container [2022-09-05T15:40:16.745Z] $ 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 [2022-09-05T15:40:18.009Z] $ docker top d1eabab349b252099ee45dbd59f0aa5c4dbc49144055376eaf00de70fc928f80 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-05T15:40:18.970Z] + go version [2022-09-05T15:40:18.970Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-05T15:40:19.004Z] $ docker stop --time=1 d1eabab349b252099ee45dbd59f0aa5c4dbc49144055376eaf00de70fc928f80 [2022-09-05T15:40:20.605Z] $ docker rm -f d1eabab349b252099ee45dbd59f0aa5c4dbc49144055376eaf00de70fc928f80 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-05T15:40:21.530Z] + docker inspect -f . ci-base-image-arm64 [2022-09-05T15:40:21.530Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-05T15:40:21.833Z] prd-ubuntu20.04-docker-arm64-4c-16g-24602 does not seem to be running inside a container [2022-09-05T15:40:21.914Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/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 [2022-09-05T15:40:23.195Z] $ docker top 32e3f188eb69c2f2f3b4a2804c712bac486a7a1d3ad2c52e5f633fe543d77735 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-05T15:40:24.131Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh [2022-09-05T15:40:24.852Z] + make test [2022-09-05T15:40:24.853Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-09-05T15:40:26.298Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-09-05T15:41:48.182Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-09-05T15:41:51.571Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.139s coverage: 65.7% of statements [2022-09-05T15:41:52.173Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-05T15:41:52.173Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-05T15:42:14.395Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-05T15:42:14.395Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-05T15:42:14.395Z] ./bin/test-attribution-txt.sh [2022-09-05T15:42:14.395Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-09-05T15:42:14.395Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-09-05T15:42:14.395Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-09-05T15:42:14.707Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-05T15:42:14.740Z] $ docker stop --time=1 32e3f188eb69c2f2f3b4a2804c712bac486a7a1d3ad2c52e5f633fe543d77735 [2022-09-05T15:42:16.561Z] $ docker rm -f 32e3f188eb69c2f2f3b4a2804c712bac486a7a1d3ad2c52e5f633fe543d77735 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-05T15:42:17.653Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-05T15:42:17.689Z] Warning: overwriting stash ‘coverage-report’ [2022-09-05T15:42:18.271Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-05T15:42:18.860Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-05T15:42:19.226Z] + ls -al . [2022-09-05T15:42:19.227Z] total 188 [2022-09-05T15:42:19.227Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 5 15:40 . [2022-09-05T15:42:19.227Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 5 15:38 .. [2022-09-05T15:42:19.227Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 5 15:38 .git [2022-09-05T15:42:19.227Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 5 15:38 .github [2022-09-05T15:42:19.227Z] -rw-rw-r-- 1 jenkins jenkins 337 Sep 5 15:38 .gitignore [2022-09-05T15:42:19.227Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 5 15:38 .golangci.yml [2022-09-05T15:42:19.227Z] -rw-rw-r-- 1 jenkins jenkins 8152 Sep 5 15:38 Attribution.txt [2022-09-05T15:42:19.227Z] -rw-rw-r-- 1 jenkins jenkins 9649 Sep 5 15:38 CHANGELOG.md [2022-09-05T15:42:19.227Z] -rw-rw-r-- 1 jenkins jenkins 2034 Sep 5 15:38 Dockerfile [2022-09-05T15:42:19.227Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 5 15:38 GOVERNANCE.md [2022-09-05T15:42:19.227Z] -rw-rw-r-- 1 jenkins jenkins 660 Sep 5 15:38 Jenkinsfile [2022-09-05T15:42:19.227Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 5 15:38 LICENSE [2022-09-05T15:42:19.227Z] -rw-rw-r-- 1 jenkins jenkins 2457 Sep 5 15:38 Makefile [2022-09-05T15:42:19.227Z] -rw-rw-r-- 1 jenkins jenkins 623 Sep 5 15:38 OWNERS.md [2022-09-05T15:42:19.227Z] -rw-rw-r-- 1 jenkins jenkins 3578 Sep 5 15:38 README.md [2022-09-05T15:42:19.227Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 5 15:35 VERSION [2022-09-05T15:42:19.227Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 5 15:38 bin [2022-09-05T15:42:19.227Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 5 15:38 cmd [2022-09-05T15:42:19.227Z] -rw-r--r-- 1 jenkins jenkins 44128 Sep 5 15:41 coverage.out [2022-09-05T15:42:19.227Z] -rw-rw-r-- 1 jenkins jenkins 3328 Sep 5 15:38 go.mod [2022-09-05T15:42:19.227Z] -rw-rw-r-- 1 jenkins jenkins 36202 Sep 5 15:38 go.sum [2022-09-05T15:42:19.227Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 5 15:38 internal [2022-09-05T15:42:19.227Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 5 15:38 snap [2022-09-05T15:42:19.227Z] -rw-rw-r-- 1 jenkins jenkins 235 Sep 5 15:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-05T15:42:19.667Z] + docker build -t device-virtual-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=705c9e84cdb8f4ceb0600da3af7af3cb781b61d9 --label arch=arm64 --label version=0.0.0 . [2022-09-05T15:42:20.271Z] Sending build context to Docker daemon 11.75MB [2022-09-05T15:42:20.271Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-09-05T15:42:20.271Z] Step 2/27 : FROM ${BASE} AS builder [2022-09-05T15:42:20.271Z] ---> 4349384740d2 [2022-09-05T15:42:20.271Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-05T15:42:20.271Z] ---> Running in 61f83b39e411 [2022-09-05T15:42:20.549Z] Removing intermediate container 61f83b39e411 [2022-09-05T15:42:20.549Z] ---> 39d690db6228 [2022-09-05T15:42:20.549Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2022-09-05T15:42:20.827Z] ---> Running in a51cda4e0b82 [2022-09-05T15:42:21.106Z] Removing intermediate container a51cda4e0b82 [2022-09-05T15:42:21.106Z] ---> 82b2a8698ad7 [2022-09-05T15:42:21.106Z] Step 5/27 : ARG ADD_BUILD_TAGS="" [2022-09-05T15:42:21.106Z] ---> Running in 57329ae53720 [2022-09-05T15:42:21.382Z] Removing intermediate container 57329ae53720 [2022-09-05T15:42:21.382Z] ---> 94481d5a8e69 [2022-09-05T15:42:21.382Z] Step 6/27 : WORKDIR /device-virtual-go [2022-09-05T15:42:21.659Z] ---> Running in 063703fbc7fe [2022-09-05T15:42:21.940Z] Removing intermediate container 063703fbc7fe [2022-09-05T15:42:21.940Z] ---> bb92aff8d101 [2022-09-05T15:42:21.940Z] Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-05T15:42:21.940Z] ---> Running in 2617b8448587 [2022-09-05T15:42:23.948Z] Removing intermediate container 2617b8448587 [2022-09-05T15:42:23.948Z] ---> 3611681dd2c9 [2022-09-05T15:42:23.948Z] Step 8/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-05T15:42:23.948Z] ---> Running in 7be7f9316253 [2022-09-05T15:42:24.937Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-05T15:42:25.926Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-05T15:42:26.913Z] OK: 226 MiB in 55 packages [2022-09-05T15:42:27.908Z] Removing intermediate container 7be7f9316253 [2022-09-05T15:42:27.908Z] ---> 8102cfd2506a [2022-09-05T15:42:27.908Z] Step 9/27 : COPY go.mod vendor* ./ [2022-09-05T15:42:28.512Z] ---> c1b04cd3b43f [2022-09-05T15:42:28.512Z] Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-05T15:42:28.512Z] ---> Running in db500fbe042a [2022-09-05T15:42:30.507Z] Removing intermediate container db500fbe042a [2022-09-05T15:42:30.507Z] ---> 1b7df9f16f5b [2022-09-05T15:42:30.507Z] Step 11/27 : COPY . . [2022-09-05T15:42:31.958Z] ---> ab5ab2e7d432 [2022-09-05T15:42:31.958Z] Step 12/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-05T15:42:31.958Z] ---> Running in cbb5f7d8b3af [2022-09-05T15:42:32.249Z] Removing intermediate container cbb5f7d8b3af [2022-09-05T15:42:32.249Z] ---> b0b927a341ee [2022-09-05T15:42:32.249Z] Step 13/27 : RUN $MAKE [2022-09-05T15:42:32.536Z] ---> Running in 163e37293f2e [2022-09-05T15:42:33.538Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd [2022-09-05T15:44:55.552Z] Removing intermediate container 163e37293f2e [2022-09-05T15:44:55.552Z] ---> cd32fcb47ead [2022-09-05T15:44:55.552Z] Step 14/27 : FROM alpine:3.16 [2022-09-05T15:44:55.552Z] 3.16: Pulling from library/alpine [2022-09-05T15:44:55.552Z] 9b18e9b68314: Pulling fs layer [2022-09-05T15:44:55.552Z] 9b18e9b68314: Verifying Checksum [2022-09-05T15:44:55.552Z] 9b18e9b68314: Download complete [2022-09-05T15:44:55.552Z] 9b18e9b68314: Pull complete [2022-09-05T15:44:55.552Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-05T15:44:55.552Z] Status: Downloaded newer image for alpine:3.16 [2022-09-05T15:44:55.552Z] ---> a6215f271958 [2022-09-05T15:44:55.552Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-09-05T15:44:55.552Z] ---> Running in 2aa229a5384f [2022-09-05T15:44:55.552Z] Removing intermediate container 2aa229a5384f [2022-09-05T15:44:55.552Z] ---> f3f2a3b45a98 [2022-09-05T15:44:55.553Z] Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-05T15:44:55.553Z] ---> Running in dd529088e2c2 [2022-09-05T15:44:55.553Z] Removing intermediate container dd529088e2c2 [2022-09-05T15:44:55.553Z] ---> 4674eb6e0a7d [2022-09-05T15:44:55.553Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-05T15:44:55.553Z] ---> Running in 600128d4f21a [2022-09-05T15:44:55.553Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-05T15:44:55.553Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-05T15:44:55.553Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-05T15:44:55.553Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-05T15:44:55.553Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-05T15:44:55.553Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-05T15:44:55.553Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-05T15:44:55.553Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-05T15:44:55.553Z] Executing busybox-1.35.0-r17.trigger [2022-09-05T15:44:55.553Z] OK: 8 MiB in 20 packages [2022-09-05T15:44:55.827Z] Removing intermediate container 600128d4f21a [2022-09-05T15:44:55.827Z] ---> 0e2ea7316802 [2022-09-05T15:44:55.827Z] Step 18/27 : WORKDIR / [2022-09-05T15:44:55.827Z] ---> Running in b1eccbbf1284 [2022-09-05T15:44:56.107Z] Removing intermediate container b1eccbbf1284 [2022-09-05T15:44:56.107Z] ---> 46cdb808d7f3 [2022-09-05T15:44:56.107Z] Step 19/27 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-09-05T15:44:56.708Z] ---> 2c0510b7b301 [2022-09-05T15:44:56.708Z] Step 20/27 : COPY --from=builder /device-virtual-go/LICENSE / [2022-09-05T15:44:57.312Z] ---> 9f32aeb735e3 [2022-09-05T15:44:57.312Z] Step 21/27 : COPY --from=builder /device-virtual-go/cmd / [2022-09-05T15:44:58.749Z] ---> 4679ff82abf0 [2022-09-05T15:44:58.749Z] Step 22/27 : EXPOSE 59900 [2022-09-05T15:44:59.024Z] ---> Running in c8e4c006a6ca [2022-09-05T15:44:59.303Z] Removing intermediate container c8e4c006a6ca [2022-09-05T15:44:59.303Z] ---> 70575721259e [2022-09-05T15:44:59.303Z] Step 23/27 : ENTRYPOINT ["/device-virtual"] [2022-09-05T15:44:59.303Z] ---> Running in 69faf29dd386 [2022-09-05T15:44:59.906Z] Removing intermediate container 69faf29dd386 [2022-09-05T15:44:59.906Z] ---> 7b375c434175 [2022-09-05T15:44:59.906Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-05T15:44:59.906Z] ---> Running in 40a4a0cc05c0 [2022-09-05T15:45:00.182Z] Removing intermediate container 40a4a0cc05c0 [2022-09-05T15:45:00.182Z] ---> d3b30b4fff8f [2022-09-05T15:45:00.182Z] Step 25/27 : LABEL arch=arm64 [2022-09-05T15:45:00.182Z] ---> Running in 049d079123f2 [2022-09-05T15:45:00.789Z] Removing intermediate container 049d079123f2 [2022-09-05T15:45:00.789Z] ---> dfb49272f91b [2022-09-05T15:45:00.789Z] Step 26/27 : LABEL git_sha=705c9e84cdb8f4ceb0600da3af7af3cb781b61d9 [2022-09-05T15:45:00.789Z] ---> Running in b43643a9a2df [2022-09-05T15:45:01.070Z] Removing intermediate container b43643a9a2df [2022-09-05T15:45:01.070Z] ---> bc19921e318f [2022-09-05T15:45:01.070Z] Step 27/27 : LABEL version=0.0.0 [2022-09-05T15:45:01.070Z] ---> Running in c0af4e5042d0 [2022-09-05T15:45:01.348Z] Removing intermediate container c0af4e5042d0 [2022-09-05T15:45:01.348Z] ---> de11002c0a29 [2022-09-05T15:45:01.348Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-05T15:45:01.348Z] Successfully built de11002c0a29 [2022-09-05T15:45:01.624Z] Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-05T15:45:02.683Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-05T15:45:02.966Z] [2022-09-05T15:45:02.966Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-05T15:45:03.490Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-05T15:45:03.490Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-05T15:45:03.490Z] 8998bd30e6a1: Pulling fs layer [2022-09-05T15:45:03.490Z] 04944245beec: Pulling fs layer [2022-09-05T15:45:03.490Z] 699f458cf7ca: Pulling fs layer [2022-09-05T15:45:03.490Z] 765212b225bb: Pulling fs layer [2022-09-05T15:45:03.490Z] f23df028b6ca: Pulling fs layer [2022-09-05T15:45:03.490Z] d65c8cfc05b1: Pulling fs layer [2022-09-05T15:45:03.490Z] 2437ff75d9bd: Pulling fs layer [2022-09-05T15:45:03.490Z] 765212b225bb: Waiting [2022-09-05T15:45:03.490Z] f23df028b6ca: Waiting [2022-09-05T15:45:03.490Z] d65c8cfc05b1: Waiting [2022-09-05T15:45:03.490Z] 2437ff75d9bd: Waiting [2022-09-05T15:45:03.774Z] 04944245beec: Verifying Checksum [2022-09-05T15:45:03.774Z] 04944245beec: Download complete [2022-09-05T15:45:03.774Z] 765212b225bb: Download complete [2022-09-05T15:45:03.774Z] f23df028b6ca: Verifying Checksum [2022-09-05T15:45:03.774Z] f23df028b6ca: Download complete [2022-09-05T15:45:03.774Z] d65c8cfc05b1: Verifying Checksum [2022-09-05T15:45:03.774Z] d65c8cfc05b1: Download complete [2022-09-05T15:45:04.055Z] 699f458cf7ca: Verifying Checksum [2022-09-05T15:45:04.055Z] 699f458cf7ca: Download complete [2022-09-05T15:45:04.332Z] 8998bd30e6a1: Verifying Checksum [2022-09-05T15:45:04.332Z] 8998bd30e6a1: Download complete [2022-09-05T15:45:06.968Z] 2437ff75d9bd: Verifying Checksum [2022-09-05T15:45:06.968Z] 2437ff75d9bd: Download complete [2022-09-05T15:45:08.958Z] 8998bd30e6a1: Pull complete [2022-09-05T15:45:09.233Z] 04944245beec: Pull complete [2022-09-05T15:45:11.219Z] 699f458cf7ca: Pull complete [2022-09-05T15:45:11.219Z] 765212b225bb: Pull complete [2022-09-05T15:45:12.206Z] f23df028b6ca: Pull complete [2022-09-05T15:45:12.206Z] d65c8cfc05b1: Pull complete [2022-09-05T15:45:27.314Z] 2437ff75d9bd: Pull complete [2022-09-05T15:45:27.314Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-05T15:45:27.314Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-05T15:45:27.314Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-05T15:45:27.720Z] prd-ubuntu20.04-docker-arm64-4c-16g-24602 does not seem to be running inside a container [2022-09-05T15:45:27.813Z] $ 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 [2022-09-05T15:45:30.699Z] $ docker top f97c810a0252dad253d1f7676cfbd42aef78d5d887ac52f250c03d04252f3339 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-05T15:45:31.719Z] ---> job-cost.sh [2022-09-05T15:45:31.719Z] lf-activate-venv: SKIPPING [2022-09-05T15:45:31.719Z] INFO: No Stack... [2022-09-05T15:45:31.999Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-05T15:45:32.978Z] INFO: Archiving Costs [Pipeline] sh [2022-09-05T15:45:33.670Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2022-09-05T15:45:33.670Z] + cut -d, -f6 [Pipeline] lock [2022-09-05T15:45:33.760Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-303-1-stack-cost] [2022-09-05T15:45:33.765Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-303-1-stack-cost] did not exist. Created. [2022-09-05T15:45:33.765Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-303-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-05T15:45:34.520Z] /w/workspace/device-virtual-go/1@tmp/durable-439cfc2f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-05T15:45:35.234Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-05T15:45:35.270Z] Warning: overwriting stash ‘stack-cost’ [2022-09-05T15:45:35.317Z] Stashed 1 file(s) [Pipeline] } [2022-09-05T15:45:35.332Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-303-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-05T15:45:35.415Z] $ docker stop --time=1 f97c810a0252dad253d1f7676cfbd42aef78d5d887ac52f250c03d04252f3339 [2022-09-05T15:45:37.013Z] $ docker rm -f f97c810a0252dad253d1f7676cfbd42aef78d5d887ac52f250c03d04252f3339 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-09-05T15:45:38.088Z] provisioning config files... [2022-09-05T15:45:38.124Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-303@tmp/config8348738308408558761tmp [Pipeline] { [Pipeline] sh [2022-09-05T15:45:38.436Z] + set +x [2022-09-05T15:45:38.436Z] + curl -s https://codecov.io/bash [2022-09-05T15:45:38.436Z] + bash -s -- [2022-09-05T15:45:38.436Z] [2022-09-05T15:45:38.436Z] _____ _ [2022-09-05T15:45:38.436Z] / ____| | | [2022-09-05T15:45:38.436Z] | | ___ __| | ___ ___ _____ __ [2022-09-05T15:45:38.436Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-09-05T15:45:38.436Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-09-05T15:45:38.436Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-09-05T15:45:38.436Z] Bash-1.0.6 [2022-09-05T15:45:38.436Z] [2022-09-05T15:45:38.436Z] [2022-09-05T15:45:38.436Z] ==> git version 2.25.1 found [2022-09-05T15:45:38.436Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-09-05T15:45:38.436Z] Release-Date: 2020-01-08 [2022-09-05T15:45:38.436Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-09-05T15:45:38.436Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-09-05T15:45:38.436Z] ==> Jenkins CI detected. [2022-09-05T15:45:38.436Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-303 [2022-09-05T15:45:38.436Z] project root: . [2022-09-05T15:45:38.436Z] --> token set from env [2022-09-05T15:45:38.436Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-09-05T15:45:38.437Z] ==> Running gcov in . (disable via -X gcov) [2022-09-05T15:45:38.437Z] ==> Python coveragepy not found [2022-09-05T15:45:38.437Z] ==> Searching for coverage reports in: [2022-09-05T15:45:38.437Z] + . [2022-09-05T15:45:38.437Z] -> Found 1 reports [2022-09-05T15:45:38.437Z] ==> Detecting git/mercurial file structure [2022-09-05T15:45:38.437Z] ==> Reading reports [2022-09-05T15:45:38.437Z] + ./coverage.out bytes=44128 [2022-09-05T15:45:38.698Z] ==> Appending adjustments [2022-09-05T15:45:38.698Z] https://docs.codecov.io/docs/fixing-reports [2022-09-05T15:45:38.698Z] + Found adjustments [2022-09-05T15:45:38.698Z] ==> Gzipping contents [2022-09-05T15:45:38.698Z] 8.0K /tmp/codecov.CVcFB2.gz [2022-09-05T15:45:38.698Z] ==> Uploading reports [2022-09-05T15:45:38.698Z] url: https://codecov.io [2022-09-05T15:45:38.698Z] query: branch=PR-303&commit=705c9e84cdb8f4ceb0600da3af7af3cb781b61d9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-303%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=303&job=&cmd_args= [2022-09-05T15:45:38.698Z] -> Pinging Codecov [2022-09-05T15:45:38.698Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-303&commit=705c9e84cdb8f4ceb0600da3af7af3cb781b61d9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-303%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=303&job=&cmd_args= [2022-09-05T15:45:38.960Z] -> Uploading to [2022-09-05T15:45:38.960Z] https://storage.googleapis.com/codecov/v4/raw/2022-09-05/5E52B4B073DB2E39498172D8E973AA87/705c9e84cdb8f4ceb0600da3af7af3cb781b61d9/71301267-1500-48b2-bd43-09454d5f31f4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220905%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220905T154538Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=35f1b23ccee86878dab8db90e363bd751b97aa671d8f37b01f470b53a7745fd1 [2022-09-05T15:45:38.960Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-05T15:45:38.960Z] Dload Upload Total Spent Left Speed [2022-09-05T15:45:39.221Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5502 0 0 100 5502 0 25123 --:--:-- --:--:-- --:--:-- 25123 [2022-09-05T15:45:39.221Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/705c9e84cdb8f4ceb0600da3af7af3cb781b61d9 [Pipeline] } [2022-09-05T15:45:39.247Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-09-05T15:45:40.983Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-303/archives ] [2022-09-05T15:45:40.983Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-303/archives [2022-09-05T15:45:40.983Z] total 16 [2022-09-05T15:45:40.983Z] drwxr-xr-x 3 root root 4096 Sep 5 15:37 . [2022-09-05T15:45:40.983Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 5 15:37 .. [2022-09-05T15:45:40.983Z] drwxr-xr-x 2 root root 4096 Sep 5 15:37 cost [2022-09-05T15:45:40.983Z] -rw-r--r-- 1 root root 89 Sep 5 15:37 cost.csv [2022-09-05T15:45:40.983Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-303/archives [2022-09-05T15:45:40.983Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-303/archives [2022-09-05T15:45:40.983Z] total 16 [2022-09-05T15:45:40.983Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 5 15:37 . [2022-09-05T15:45:40.983Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 5 15:37 .. [2022-09-05T15:45:40.983Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 5 15:37 cost [2022-09-05T15:45:40.983Z] -rw-r--r-- 1 jenkins jenkins 89 Sep 5 15:37 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-05T15:45:41.311Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-05T15:45:42.199Z] ---> package-listing.sh [2022-09-05T15:45:42.199Z] ++ facter osfamily [2022-09-05T15:45:42.199Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-05T15:45:42.460Z] + OS_FAMILY=debian [2022-09-05T15:45:42.460Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-303 [2022-09-05T15:45:42.460Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-05T15:45:42.460Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-05T15:45:42.460Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-05T15:45:42.460Z] + PACKAGES=/tmp/packages_start.txt [2022-09-05T15:45:42.460Z] + '[' /w/workspace/foundry_device-virtual-go_PR-303 ']' [2022-09-05T15:45:42.460Z] + PACKAGES=/tmp/packages_end.txt [2022-09-05T15:45:42.460Z] + case "${OS_FAMILY}" in [2022-09-05T15:45:42.460Z] + dpkg -l [2022-09-05T15:45:42.460Z] + grep '^ii' [2022-09-05T15:45:42.460Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-05T15:45:42.460Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-05T15:45:42.460Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-05T15:45:42.460Z] + '[' /w/workspace/foundry_device-virtual-go_PR-303 ']' [2022-09-05T15:45:42.460Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-303/archives/ [2022-09-05T15:45:42.460Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-303/archives/ [Pipeline] echo [2022-09-05T15:45:42.494Z] 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-303/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-09-05T15:45:42.790Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-05T15:45:43.425Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-05T15:45:43.425Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-05T15:45:43.586Z] prd-ubuntu20.04-docker-8c-8g-24601 does not seem to be running inside a container [2022-09-05T15:45:43.619Z] $ 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-303/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-303 -v /w/workspace/foundry_device-virtual-go_PR-303:/w/workspace/foundry_device-virtual-go_PR-303:rw,z -v /w/workspace/foundry_device-virtual-go_PR-303@tmp:/w/workspace/foundry_device-virtual-go_PR-303@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-05T15:45:43.829Z] $ docker top 2c05ced494e0fe56a69b43e9edce7bbccac50b439f682861839f9c9e9e0d88f5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-05T15:45:44.230Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-05T15:45:44.542Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-05T15:45:44.871Z] + ls /var/log/sa-host [2022-09-05T15:45:44.871Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-05T15:45:45.072Z] provisioning config files... [2022-09-05T15:45:45.083Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-303@tmp/config3825652824654381592tmp [Pipeline] { [Pipeline] echo [2022-09-05T15:45:45.132Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-05T15:45:45.443Z] ---> create-netrc.sh [Pipeline] } [2022-09-05T15:45:45.473Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-05T15:45:45.906Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-05T15:45:45.936Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-05T15:45:46.246Z] ---> sudo-logs.sh [2022-09-05T15:45:46.246Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-05T15:45:46.330Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-05T15:45:46.653Z] ---> job-cost.sh [2022-09-05T15:45:46.653Z] lf-activate-venv: SKIPPING [2022-09-05T15:45:46.653Z] DEBUG: total: 0.2199999988079071 [2022-09-05T15:45:46.653Z] INFO: Retrieving Stack Cost... [2022-09-05T15:45:47.226Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-05T15:45:47.487Z] INFO: Archiving Costs [Pipeline] echo [2022-09-05T15:45:47.538Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-05T15:45:47.851Z] ---> logs-deploy.sh [2022-09-05T15:45:47.851Z] lf-activate-venv: SKIPPING [2022-09-05T15:45:47.851Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-303/1 [2022-09-05T15:45:47.851Z] INFO: archiving workspace using pattern(s): [2022-09-05T15:45:48.793Z] Archives upload complete. [2022-09-05T15:45:49.060Z] INFO: archiving logs to Nexus [2022-09-05T15:45:49.631Z] ---> uname -a: [2022-09-05T15:45:49.631Z] Linux prd-ubuntu20-04-docker-8c-8g-24601 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux [2022-09-05T15:45:49.631Z] [2022-09-05T15:45:49.631Z] [2022-09-05T15:45:49.631Z] ---> lscpu: [2022-09-05T15:45:49.631Z] Architecture: x86_64 [2022-09-05T15:45:49.631Z] CPU op-mode(s): 32-bit, 64-bit [2022-09-05T15:45:49.631Z] Byte Order: Little Endian [2022-09-05T15:45:49.631Z] Address sizes: 40 bits physical, 48 bits virtual [2022-09-05T15:45:49.631Z] CPU(s): 8 [2022-09-05T15:45:49.631Z] On-line CPU(s) list: 0-7 [2022-09-05T15:45:49.631Z] Thread(s) per core: 1 [2022-09-05T15:45:49.631Z] Core(s) per socket: 1 [2022-09-05T15:45:49.631Z] Socket(s): 8 [2022-09-05T15:45:49.631Z] NUMA node(s): 1 [2022-09-05T15:45:49.631Z] Vendor ID: AuthenticAMD [2022-09-05T15:45:49.631Z] CPU family: 23 [2022-09-05T15:45:49.631Z] Model: 49 [2022-09-05T15:45:49.631Z] Model name: AMD EPYC-Rome Processor [2022-09-05T15:45:49.631Z] Stepping: 0 [2022-09-05T15:45:49.631Z] CPU MHz: 2799.998 [2022-09-05T15:45:49.631Z] BogoMIPS: 5599.99 [2022-09-05T15:45:49.631Z] Virtualization: AMD-V [2022-09-05T15:45:49.631Z] Hypervisor vendor: KVM [2022-09-05T15:45:49.631Z] Virtualization type: full [2022-09-05T15:45:49.631Z] L1d cache: 256 KiB [2022-09-05T15:45:49.631Z] L1i cache: 256 KiB [2022-09-05T15:45:49.631Z] L2 cache: 4 MiB [2022-09-05T15:45:49.631Z] L3 cache: 128 MiB [2022-09-05T15:45:49.631Z] NUMA node0 CPU(s): 0-7 [2022-09-05T15:45:49.631Z] Vulnerability Itlb multihit: Not affected [2022-09-05T15:45:49.631Z] Vulnerability L1tf: Not affected [2022-09-05T15:45:49.631Z] Vulnerability Mds: Not affected [2022-09-05T15:45:49.631Z] Vulnerability Meltdown: Not affected [2022-09-05T15:45:49.631Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2022-09-05T15:45:49.631Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2022-09-05T15:45:49.631Z] Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2022-09-05T15:45:49.631Z] Vulnerability Srbds: Not affected [2022-09-05T15:45:49.631Z] Vulnerability Tsx async abort: Not affected [2022-09-05T15:45:49.631Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2022-09-05T15:45:49.631Z] [2022-09-05T15:45:49.631Z] [2022-09-05T15:45:49.631Z] ---> nproc: [2022-09-05T15:45:49.631Z] 8 [2022-09-05T15:45:49.631Z] [2022-09-05T15:45:49.631Z] [2022-09-05T15:45:49.631Z] ---> df -h: [2022-09-05T15:45:49.631Z] Filesystem Size Used Avail Use% Mounted on [2022-09-05T15:45:49.631Z] overlay 155G 11G 145G 7% / [2022-09-05T15:45:49.631Z] tmpfs 64M 0 64M 0% /dev [2022-09-05T15:45:49.631Z] tmpfs 16G 0 16G 0% /sys/fs/cgroup [2022-09-05T15:45:49.631Z] shm 64M 0 64M 0% /dev/shm [2022-09-05T15:45:49.631Z] /dev/vda1 155G 11G 145G 7% /facter-os [2022-09-05T15:45:49.631Z] [2022-09-05T15:45:49.631Z]