Pull request #318 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-virtual-go Obtained Jenkinsfile from dc9f57c70c88688990dbc2ce7c8e854d392044a5+201f27941933de2c4e8d8fa6587725948dc61081 (4f95d03f691bb6a928eba72685f2363ce464c374) 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-ssh11523718279389413120.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh88522746824935998.key Verifying host key using known hosts file > 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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-318/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-318/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5019875154413662716.key Verifying host key using known hosts file > 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-318/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16290662937932223026.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > 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-ssh10277702504272988556.key Verifying host key using known hosts file > 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-318/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-318/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13829424928245087824.key Verifying host key using known hosts file > 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 6c1167a966ce7273a24629bf6583a1975ad218c3 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 Running on prd-ubuntu20.04-docker-8c-8g-117943 in /w/workspace/foundry_device-virtual-go_PR-318 [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-318 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/318/head:refs/remotes/origin/PR-318 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 201f27941933de2c4e8d8fa6587725948dc61081 into PR head commit dc9f57c70c88688990dbc2ce7c8e854d392044a5 Merge succeeded, producing dc9f57c70c88688990dbc2ce7c8e854d392044a5 Checking out Revision dc9f57c70c88688990dbc2ce7c8e854d392044a5 (PR-318) > git config core.sparsecheckout # timeout=10 > git checkout -f dc9f57c70c88688990dbc2ce7c8e854d392044a5 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 201f27941933de2c4e8d8fa6587725948dc61081 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dc9f57c70c88688990dbc2ce7c8e854d392044a5 # timeout=10 Commit message: "docs: Levski Change Log" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-11-02T20:34:13.404Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-11-02T20:34:13.573Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-11-02T20:34:13.670Z] ========================================================= [2022-11-02T20:34:13.670Z] EdgeX Global Pipelines Version Info [2022-11-02T20:34:13.670Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-11-02T20:34:14.427Z] ------------------- [2022-11-02T20:34:14.427Z] stable info: [2022-11-02T20:34:14.427Z] ------------------- [2022-11-02T20:34:14.427Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-11-02T20:34:14.427Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-11-02T20:34:14.427Z] Message: update stable to v1.0.243 [2022-11-02T20:34:14.995Z] ------------------- [2022-11-02T20:34:14.995Z] experimental info: [2022-11-02T20:34:14.995Z] ------------------- [2022-11-02T20:34:14.995Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-11-02T20:34:14.995Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-02T20:34:14.995Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-11-02T20:34:15.269Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2022-11-02T20:34:15.308Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2022-11-02T20:34:15.348Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-11-02T20:34:15.395Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-11-02T20:34:15.437Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-11-02T20:34:15.483Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-11-02T20:34:15.525Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-11-02T20:34:15.566Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-11-02T20:34:15.608Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-11-02T20:34:15.647Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-11-02T20:34:15.686Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-11-02T20:34:15.726Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2022-11-02T20:34:15.762Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-11-02T20:34:15.801Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-11-02T20:34:15.841Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-11-02T20:34:15.885Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-11-02T20:34:15.922Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-11-02T20:34:15.959Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-11-02T20:34:15.995Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-11-02T20:34:16.031Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-11-02T20:34:16.072Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-11-02T20:34:16.117Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-11-02T20:34:16.163Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-11-02T20:34:16.204Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-11-02T20:34:16.249Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-11-02T20:34:16.288Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-11-02T20:34:16.328Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-11-02T20:34:16.374Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-318 [Pipeline] echo [2022-11-02T20:34:16.417Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-318 [Pipeline] echo [2022-11-02T20:34:16.462Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-318 [Pipeline] echo [2022-11-02T20:34:16.508Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dc9f57c70c88688990dbc2ce7c8e854d392044a5 [Pipeline] echo [2022-11-02T20:34:16.548Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dc9f57c [Pipeline] echo [2022-11-02T20:34:16.588Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-02T20:34:16.727Z] provisioning config files... [2022-11-02T20:34:16.740Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-318@tmp/config15849647664438908358tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-02T20:34:17.094Z] ---> docker-login.sh [2022-11-02T20:34:17.094Z] nexus3.edgexfoundry.org:10001 [2022-11-02T20:34:17.353Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T20:34:17.353Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T20:34:17.353Z] Configure a credential helper to remove this warning. See [2022-11-02T20:34:17.353Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T20:34:17.353Z] [2022-11-02T20:34:17.353Z] Login Succeeded [2022-11-02T20:34:17.353Z] nexus3.edgexfoundry.org:10002 [2022-11-02T20:34:17.353Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T20:34:17.353Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T20:34:17.353Z] Configure a credential helper to remove this warning. See [2022-11-02T20:34:17.353Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T20:34:17.353Z] [2022-11-02T20:34:17.353Z] Login Succeeded [2022-11-02T20:34:17.353Z] nexus3.edgexfoundry.org:10003 [2022-11-02T20:34:17.612Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T20:34:17.612Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T20:34:17.612Z] Configure a credential helper to remove this warning. See [2022-11-02T20:34:17.612Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T20:34:17.612Z] [2022-11-02T20:34:17.612Z] Login Succeeded [2022-11-02T20:34:17.612Z] nexus3.edgexfoundry.org:10004 [2022-11-02T20:34:17.612Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T20:34:17.612Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T20:34:17.612Z] Configure a credential helper to remove this warning. See [2022-11-02T20:34:17.612Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T20:34:17.612Z] [2022-11-02T20:34:17.612Z] Login Succeeded [2022-11-02T20:34:17.612Z] docker.io [2022-11-02T20:34:17.612Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T20:34:18.180Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T20:34:18.180Z] Configure a credential helper to remove this warning. See [2022-11-02T20:34:18.180Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T20:34:18.180Z] [2022-11-02T20:34:18.180Z] Login Succeeded [2022-11-02T20:34:18.180Z] ---> docker-login.sh ends [Pipeline] } [2022-11-02T20:34:18.210Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-11-02T20:34:18.865Z] + git rev-list -1 --merges dc9f57c70c88688990dbc2ce7c8e854d392044a5~1..dc9f57c70c88688990dbc2ce7c8e854d392044a5 [Pipeline] echo [2022-11-02T20:34:18.910Z] -----------> git rev-list -1 --merges dc9f57c70c88688990dbc2ce7c8e854d392044a5~1..dc9f57c70c88688990dbc2ce7c8e854d392044a5 dc9f57c70c88688990dbc2ce7c8e854d392044a5 [false] [Pipeline] sh [2022-11-02T20:34:19.220Z] + git log --format=format:%s -1 dc9f57c70c88688990dbc2ce7c8e854d392044a5 [Pipeline] echo [2022-11-02T20:34:19.253Z] ========================================================= [2022-11-02T20:34:19.253Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-11-02T20:34:19.253Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-02T20:34:19.684Z] + git log --format=format:%s -1 dc9f57c70c88688990dbc2ce7c8e854d392044a5 [Pipeline] echo [2022-11-02T20:34:19.717Z] [semverPrep] GIT_COMMIT: dc9f57c70c88688990dbc2ce7c8e854d392044a5, Commit Message: docs: Levski Change Log [Pipeline] echo [2022-11-02T20:34:19.749Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-11-02T20:34:20.117Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-02T20:34:20.117Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-11-02T20:34:20.117Z] + [ -e /tmp/ssh_known_hosts ] [2022-11-02T20:34:20.117Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-11-02T20:34:20.117Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-11-02T20:34:20.117Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-11-02T20:34:20.117Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T20:34:20.525Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-02T20:34:20.525Z] [2022-11-02T20:34:20.525Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T20:34:20.902Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-02T20:34:20.902Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-11-02T20:34:20.902Z] b85a868b505f: Pulling fs layer [2022-11-02T20:34:20.902Z] e2be974225ed: Pulling fs layer [2022-11-02T20:34:20.902Z] 339a4e72a1f5: Pulling fs layer [2022-11-02T20:34:20.902Z] 988bab9f4d93: Pulling fs layer [2022-11-02T20:34:20.902Z] 1469e6f7b9e6: Pulling fs layer [2022-11-02T20:34:20.902Z] eaf3925da568: Pulling fs layer [2022-11-02T20:34:20.902Z] bab4dde63d76: Pulling fs layer [2022-11-02T20:34:20.902Z] bde34c3a00c8: Pulling fs layer [2022-11-02T20:34:20.902Z] b352a97aabf1: Pulling fs layer [2022-11-02T20:34:20.902Z] 4872d77fe225: Pulling fs layer [2022-11-02T20:34:20.902Z] 5851b861e8e6: Pulling fs layer [2022-11-02T20:34:20.902Z] eaf3925da568: Waiting [2022-11-02T20:34:20.902Z] bab4dde63d76: Waiting [2022-11-02T20:34:20.902Z] bde34c3a00c8: Waiting [2022-11-02T20:34:20.902Z] b352a97aabf1: Waiting [2022-11-02T20:34:20.902Z] 4872d77fe225: Waiting [2022-11-02T20:34:20.902Z] 5851b861e8e6: Waiting [2022-11-02T20:34:20.902Z] 988bab9f4d93: Waiting [2022-11-02T20:34:20.902Z] 1469e6f7b9e6: Waiting [2022-11-02T20:34:20.902Z] e2be974225ed: Verifying Checksum [2022-11-02T20:34:20.902Z] e2be974225ed: Download complete [2022-11-02T20:34:20.902Z] 988bab9f4d93: Verifying Checksum [2022-11-02T20:34:20.902Z] 988bab9f4d93: Download complete [2022-11-02T20:34:21.160Z] 1469e6f7b9e6: Verifying Checksum [2022-11-02T20:34:21.160Z] 1469e6f7b9e6: Download complete [2022-11-02T20:34:21.160Z] eaf3925da568: Verifying Checksum [2022-11-02T20:34:21.160Z] eaf3925da568: Download complete [2022-11-02T20:34:21.160Z] 339a4e72a1f5: Verifying Checksum [2022-11-02T20:34:21.160Z] 339a4e72a1f5: Download complete [2022-11-02T20:34:21.160Z] bde34c3a00c8: Verifying Checksum [2022-11-02T20:34:21.160Z] bde34c3a00c8: Download complete [2022-11-02T20:34:21.161Z] b352a97aabf1: Download complete [2022-11-02T20:34:21.161Z] 4872d77fe225: Verifying Checksum [2022-11-02T20:34:21.161Z] 4872d77fe225: Download complete [2022-11-02T20:34:21.161Z] 5851b861e8e6: Verifying Checksum [2022-11-02T20:34:21.161Z] 5851b861e8e6: Download complete [2022-11-02T20:34:21.161Z] b85a868b505f: Verifying Checksum [2022-11-02T20:34:21.161Z] b85a868b505f: Download complete [2022-11-02T20:34:21.726Z] bab4dde63d76: Verifying Checksum [2022-11-02T20:34:21.726Z] bab4dde63d76: Download complete [2022-11-02T20:34:22.662Z] b85a868b505f: Pull complete [2022-11-02T20:34:22.662Z] e2be974225ed: Pull complete [2022-11-02T20:34:22.920Z] 339a4e72a1f5: Pull complete [2022-11-02T20:34:23.179Z] 988bab9f4d93: Pull complete [2022-11-02T20:34:23.438Z] 1469e6f7b9e6: Pull complete [2022-11-02T20:34:23.438Z] eaf3925da568: Pull complete [2022-11-02T20:34:25.346Z] bab4dde63d76: Pull complete [2022-11-02T20:34:25.346Z] bde34c3a00c8: Pull complete [2022-11-02T20:34:25.346Z] b352a97aabf1: Pull complete [2022-11-02T20:34:25.346Z] 4872d77fe225: Pull complete [2022-11-02T20:34:25.346Z] 5851b861e8e6: Pull complete [2022-11-02T20:34:25.346Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-11-02T20:34:25.346Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-02T20:34:25.346Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-02T20:34:25.574Z] prd-ubuntu20.04-docker-8c-8g-117943 does not seem to be running inside a container [2022-11-02T20:34:25.611Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-318 -v /w/workspace/foundry_device-virtual-go_PR-318:/w/workspace/foundry_device-virtual-go_PR-318:rw,z -v /w/workspace/foundry_device-virtual-go_PR-318@tmp:/w/workspace/foundry_device-virtual-go_PR-318@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-11-02T20:34:28.205Z] $ docker top 81a859a6dc23b2c355e1ff27395bb4ae75636912fb3807bc1a9555adb3738ad2 -eo pid,comm [2022-11-02T20:34:28.255Z] 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-11-02T20:34:28.255Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-11-02T20:34:28.382Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-02T20:34:28.382Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-02T20:34:28.489Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-02T20:34:28.494Z] $ docker exec 81a859a6dc23b2c355e1ff27395bb4ae75636912fb3807bc1a9555adb3738ad2 ssh-agent [2022-11-02T20:34:28.599Z] SSH_AUTH_SOCK=/tmp/ssh-CWkbkZb9hu8d/agent.32 [2022-11-02T20:34:28.599Z] SSH_AGENT_PID=38 [2022-11-02T20:34:28.605Z] Running ssh-add (command line suppressed) [2022-11-02T20:34:28.708Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-318@tmp/private_key_8261155948336773359.key (/w/workspace/foundry_device-virtual-go_PR-318@tmp/private_key_8261155948336773359.key) [2022-11-02T20:34:28.718Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-02T20:34:29.056Z] + git tag --points-at HEAD [Pipeline] } [2022-11-02T20:34:29.089Z] $ docker exec --env ******** --env ******** 81a859a6dc23b2c355e1ff27395bb4ae75636912fb3807bc1a9555adb3738ad2 ssh-agent -k [2022-11-02T20:34:29.178Z] unset SSH_AUTH_SOCK; [2022-11-02T20:34:29.179Z] unset SSH_AGENT_PID; [2022-11-02T20:34:29.179Z] echo Agent pid 38 killed; [2022-11-02T20:34:29.184Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-11-02T20:34:29.266Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-02T20:34:29.266Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-02T20:34:29.380Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-02T20:34:29.386Z] $ docker exec 81a859a6dc23b2c355e1ff27395bb4ae75636912fb3807bc1a9555adb3738ad2 ssh-agent [2022-11-02T20:34:29.484Z] SSH_AUTH_SOCK=/tmp/ssh-2txQqU2M7klH/agent.70 [2022-11-02T20:34:29.484Z] SSH_AGENT_PID=76 [2022-11-02T20:34:29.489Z] Running ssh-add (command line suppressed) [2022-11-02T20:34:29.602Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-318@tmp/private_key_14895893604543543981.key (/w/workspace/foundry_device-virtual-go_PR-318@tmp/private_key_14895893604543543981.key) [2022-11-02T20:34:29.613Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-02T20:34:29.951Z] + git semver init [2022-11-02T20:34:30.210Z] 2022-11-02 20:34:30,125 [run_init] DEBUG init version:0.0.0 force:False [2022-11-02T20:34:30.210Z] 2022-11-02 20:34:30,125 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-318/.semver [2022-11-02T20:34:30.210Z] 2022-11-02 20:34:30,126 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-318/.semver [2022-11-02T20:34:30.210Z] 2022-11-02 20:34:30,126 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-318/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-318, universal_newlines=False, shell=None, istream=None) [2022-11-02T20:34:31.588Z] 2022-11-02 20:34:31,400 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-318/.git/info/exclude [2022-11-02T20:34:31.588Z] 2022-11-02 20:34:31,401 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-318/.semver/PR-318 with force:False [2022-11-02T20:34:31.588Z] 2022-11-02 20:34:31,401 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-318/.semver/PR-318 [2022-11-02T20:34:31.588Z] 2022-11-02 20:34:31,405 [execute] INFO git cat-file --batch-check [2022-11-02T20:34:31.588Z] 2022-11-02 20:34:31,406 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-318/.semver, universal_newlines=False, shell=None, istream=) [2022-11-02T20:34:31.588Z] 2022-11-02 20:34:31,411 [execute] INFO git cat-file --batch [2022-11-02T20:34:31.588Z] 2022-11-02 20:34:31,411 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-318/.semver, universal_newlines=False, shell=None, istream=) [2022-11-02T20:34:31.588Z] 2022-11-02 20:34:31,415 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-318/.semver/PR-318 [2022-11-02T20:34:31.588Z] 0.0.0 [Pipeline] } [2022-11-02T20:34:31.617Z] $ docker exec --env ******** --env ******** 81a859a6dc23b2c355e1ff27395bb4ae75636912fb3807bc1a9555adb3738ad2 ssh-agent -k [2022-11-02T20:34:31.726Z] unset SSH_AUTH_SOCK; [2022-11-02T20:34:31.727Z] unset SSH_AGENT_PID; [2022-11-02T20:34:31.727Z] echo Agent pid 76 killed; [2022-11-02T20:34:31.731Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-02T20:34:32.222Z] + git semver [Pipeline] } [2022-11-02T20:34:32.515Z] $ docker stop --time=1 81a859a6dc23b2c355e1ff27395bb4ae75636912fb3807bc1a9555adb3738ad2 [2022-11-02T20:34:33.798Z] $ docker rm -f 81a859a6dc23b2c355e1ff27395bb4ae75636912fb3807bc1a9555adb3738ad2 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-02T20:34:34.207Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-11-02T20:34:34.443Z] Stashed 1 file(s) [Pipeline] echo [2022-11-02T20:34:34.459Z] [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-11-02T20:34:35.068Z] provisioning config files... [2022-11-02T20:34:35.076Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-318@tmp/config5441188904895600676tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-02T20:34:35.272Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-117950 in /w/workspace/foundry_device-virtual-go_PR-318 [Pipeline] { [Pipeline] ws [2022-11-02T20:34:35.314Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2022-11-02T20:34:35.394Z] The recommended git tool is: git [2022-11-02T20:34:35.419Z] ---> docker-login.sh [2022-11-02T20:34:35.419Z] nexus3.edgexfoundry.org:10001 [2022-11-02T20:34:35.419Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T20:34:35.419Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T20:34:35.419Z] Configure a credential helper to remove this warning. See [2022-11-02T20:34:35.419Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T20:34:35.419Z] [2022-11-02T20:34:35.419Z] Login Succeeded [2022-11-02T20:34:35.419Z] nexus3.edgexfoundry.org:10002 [2022-11-02T20:34:35.419Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T20:34:35.419Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T20:34:35.419Z] Configure a credential helper to remove this warning. See [2022-11-02T20:34:35.419Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T20:34:35.419Z] [2022-11-02T20:34:35.419Z] Login Succeeded [2022-11-02T20:34:35.419Z] nexus3.edgexfoundry.org:10003 [2022-11-02T20:34:35.678Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T20:34:35.678Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T20:34:35.678Z] Configure a credential helper to remove this warning. See [2022-11-02T20:34:35.678Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T20:34:35.678Z] [2022-11-02T20:34:35.678Z] Login Succeeded [2022-11-02T20:34:35.678Z] nexus3.edgexfoundry.org:10004 [2022-11-02T20:34:35.678Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T20:34:35.678Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T20:34:35.678Z] Configure a credential helper to remove this warning. See [2022-11-02T20:34:35.678Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T20:34:35.678Z] [2022-11-02T20:34:35.678Z] Login Succeeded [2022-11-02T20:34:35.678Z] docker.io [2022-11-02T20:34:35.937Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T20:34:36.196Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T20:34:36.196Z] Configure a credential helper to remove this warning. See [2022-11-02T20:34:36.196Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T20:34:36.196Z] [2022-11-02T20:34:36.196Z] Login Succeeded [2022-11-02T20:34:36.196Z] ---> docker-login.sh ends [Pipeline] } [2022-11-02T20:34:36.227Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-02T20:34:36.417Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-02T20:34:36.453Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-02T20:34:36.489Z] ========================================================= [2022-11-02T20:34:36.489Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-11-02T20:34:36.489Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T20:34:36.967Z] + 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-11-02T20:34:36.967Z] Sending build context to Docker daemon 23.25MB [2022-11-02T20:34:36.967Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-11-02T20:34:36.967Z] Step 2/12 : FROM ${BASE} AS builder [2022-11-02T20:34:37.243Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-11-02T20:34:37.243Z] 213ec9aee27d: Pulling fs layer [2022-11-02T20:34:37.243Z] 4583459ba037: Pulling fs layer [2022-11-02T20:34:37.243Z] 93c1e223e6f2: Pulling fs layer [2022-11-02T20:34:37.243Z] 53926ce57604: Pulling fs layer [2022-11-02T20:34:37.243Z] 21b2b0c7a3f4: Pulling fs layer [2022-11-02T20:34:37.243Z] 22ff95d597cd: Pulling fs layer [2022-11-02T20:34:37.243Z] 12d6caf4c0d1: Pulling fs layer [2022-11-02T20:34:37.243Z] 96b7cbca73a9: Pulling fs layer [2022-11-02T20:34:37.243Z] a7acece74701: Pulling fs layer [2022-11-02T20:34:37.243Z] 53926ce57604: Waiting [2022-11-02T20:34:37.243Z] 21b2b0c7a3f4: Waiting [2022-11-02T20:34:37.243Z] 22ff95d597cd: Waiting [2022-11-02T20:34:37.243Z] 12d6caf4c0d1: Waiting [2022-11-02T20:34:37.243Z] 96b7cbca73a9: Waiting [2022-11-02T20:34:37.243Z] a7acece74701: Waiting [2022-11-02T20:34:37.243Z] 93c1e223e6f2: Download complete [2022-11-02T20:34:37.243Z] 4583459ba037: Download complete [2022-11-02T20:34:37.243Z] 21b2b0c7a3f4: Verifying Checksum [2022-11-02T20:34:37.243Z] 21b2b0c7a3f4: Download complete [2022-11-02T20:34:37.243Z] 22ff95d597cd: Verifying Checksum [2022-11-02T20:34:37.243Z] 22ff95d597cd: Download complete [2022-11-02T20:34:37.243Z] 213ec9aee27d: Verifying Checksum [2022-11-02T20:34:37.243Z] 213ec9aee27d: Download complete [2022-11-02T20:34:37.243Z] 12d6caf4c0d1: Verifying Checksum [2022-11-02T20:34:37.243Z] 12d6caf4c0d1: Download complete [2022-11-02T20:34:37.503Z] 213ec9aee27d: Pull complete [2022-11-02T20:34:37.503Z] 4583459ba037: Pull complete [2022-11-02T20:34:37.769Z] 93c1e223e6f2: Pull complete [2022-11-02T20:34:37.769Z] a7acece74701: Verifying Checksum [2022-11-02T20:34:37.769Z] a7acece74701: Download complete [2022-11-02T20:34:38.034Z] 53926ce57604: Download complete [2022-11-02T20:34:38.034Z] 96b7cbca73a9: Verifying Checksum [2022-11-02T20:34:38.034Z] 96b7cbca73a9: Download complete [2022-11-02T20:34:41.454Z] using credential edgex-jenkins-ssh [2022-11-02T20:34:41.473Z] Cloning the remote Git repository [2022-11-02T20:34:41.535Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2022-11-02T20:34:41.634Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2022-11-02T20:34:41.808Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-11-02T20:34:41.809Z] > git --version # timeout=10 [2022-11-02T20:34:41.831Z] > git --version # 'git version 2.25.1' [2022-11-02T20:34:41.833Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-02T20:34:41.893Z] Verifying host key using known hosts file [2022-11-02T20:34:42.141Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-11-02T20:34:42.155Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-02T20:34:44.595Z] 53926ce57604: Pull complete [2022-11-02T20:34:44.595Z] 21b2b0c7a3f4: Pull complete [2022-11-02T20:34:44.595Z] 22ff95d597cd: Pull complete [2022-11-02T20:34:44.595Z] 12d6caf4c0d1: Pull complete [2022-11-02T20:34:44.433Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-11-02T20:34:44.453Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-02T20:34:45.513Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-11-02T20:34:45.562Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-11-02T20:34:45.563Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-02T20:34:45.569Z] Verifying host key using known hosts file [2022-11-02T20:34:45.577Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-11-02T20:34:45.590Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/318/head:refs/remotes/origin/PR-318 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-11-02T20:34:46.241Z] Merging remotes/origin/main commit 201f27941933de2c4e8d8fa6587725948dc61081 into PR head commit dc9f57c70c88688990dbc2ce7c8e854d392044a5 [2022-11-02T20:34:46.495Z] 96b7cbca73a9: Pull complete [2022-11-02T20:34:46.515Z] Merge succeeded, producing dc9f57c70c88688990dbc2ce7c8e854d392044a5 [2022-11-02T20:34:46.515Z] Checking out Revision dc9f57c70c88688990dbc2ce7c8e854d392044a5 (PR-318) [2022-11-02T20:34:47.069Z] a7acece74701: Pull complete [2022-11-02T20:34:47.069Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2022-11-02T20:34:47.069Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-11-02T20:34:47.069Z] ---> db6d94c90886 [2022-11-02T20:34:47.069Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-02T20:34:46.267Z] > git config core.sparsecheckout # timeout=10 [2022-11-02T20:34:46.290Z] > git checkout -f dc9f57c70c88688990dbc2ce7c8e854d392044a5 # timeout=10 [2022-11-02T20:34:46.389Z] > git remote # timeout=10 [2022-11-02T20:34:46.410Z] > git config --get remote.origin.url # timeout=10 [2022-11-02T20:34:46.444Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-02T20:34:46.451Z] Verifying host key using known hosts file [2022-11-02T20:34:46.455Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-11-02T20:34:46.467Z] > git merge 201f27941933de2c4e8d8fa6587725948dc61081 # timeout=10 [2022-11-02T20:34:46.495Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-11-02T20:34:46.524Z] > git config core.sparsecheckout # timeout=10 [2022-11-02T20:34:46.542Z] > git checkout -f dc9f57c70c88688990dbc2ce7c8e854d392044a5 # timeout=10 [2022-11-02T20:34:48.978Z] ---> Running in f515c2f84ab5 [2022-11-02T20:34:48.978Z] Removing intermediate container f515c2f84ab5 [2022-11-02T20:34:48.978Z] ---> 769c8ccecb9a [2022-11-02T20:34:48.978Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-11-02T20:34:48.978Z] ---> Running in 043c4486dde6 [2022-11-02T20:34:48.978Z] Removing intermediate container 043c4486dde6 [2022-11-02T20:34:48.978Z] ---> ca213f046458 [2022-11-02T20:34:48.978Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2022-11-02T20:34:48.978Z] ---> Running in bbf75599f6f4 [2022-11-02T20:34:49.238Z] Removing intermediate container bbf75599f6f4 [2022-11-02T20:34:49.238Z] ---> 6c83093c8271 [2022-11-02T20:34:49.238Z] Step 6/12 : WORKDIR /device-virtual-go [2022-11-02T20:34:49.238Z] ---> Running in 40c68ccc8655 [2022-11-02T20:34:49.238Z] Removing intermediate container 40c68ccc8655 [2022-11-02T20:34:49.238Z] ---> f4bb849642bb [2022-11-02T20:34:49.238Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-02T20:34:49.238Z] ---> Running in 6ae594ee123c [2022-11-02T20:34:49.496Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-02T20:34:49.756Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-02T20:34:49.756Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-11-02T20:34:49.756Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-11-02T20:34:49.756Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-11-02T20:34:50.016Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-11-02T20:34:50.016Z] Executing busybox-1.35.0-r17.trigger [2022-11-02T20:34:50.016Z] OK: 216 MiB in 55 packages [2022-11-02T20:34:50.171Z] Commit message: "docs: Levski Change Log" [2022-11-02T20:34:50.235Z] > git --version # timeout=10 [2022-11-02T20:34:50.247Z] > git --version # 'git version 2.25.1' [2022-11-02T20:34:50.265Z] fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-11-02T20:34:50.588Z] Removing intermediate container 6ae594ee123c [2022-11-02T20:34:50.588Z] ---> f5f9c866207a [2022-11-02T20:34:50.588Z] Step 8/12 : COPY go.mod vendor* ./ [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-02T20:34:51.157Z] ---> 3ec39be874a9 [2022-11-02T20:34:51.157Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-02T20:34:51.157Z] ---> Running in 5aa0957db25c [2022-11-02T20:34:51.365Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-11-02T20:34:51.365Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-02T20:34:51.365Z] Dload Upload Total Spent Left Speed [2022-11-02T20:34:51.365Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 155k 0 --:--:-- --:--:-- --:--:-- 157k [Pipeline] sh [2022-11-02T20:34:52.083Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-11-02T20:34:52.470Z] + sudo tee /etc/docker/daemon.new [2022-11-02T20:34:52.470Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-11-02T20:34:52.470Z] { [2022-11-02T20:34:52.470Z] "registry-mirrors": [ [2022-11-02T20:34:52.470Z] "https://nexus3.edgexfoundry.org:10001" [2022-11-02T20:34:52.470Z] ], [2022-11-02T20:34:52.470Z] "bip": "10.250.0.254/24", [2022-11-02T20:34:52.470Z] "hosts": [ [2022-11-02T20:34:52.470Z] "tcp://0.0.0.0:5555", [2022-11-02T20:34:52.470Z] "unix:///var/run/docker.sock" [2022-11-02T20:34:52.470Z] ], [2022-11-02T20:34:52.470Z] "mtu": 1458, [2022-11-02T20:34:52.470Z] "selinux-enabled": true, [2022-11-02T20:34:52.470Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-11-02T20:34:52.470Z] } [Pipeline] sh [2022-11-02T20:34:52.852Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-11-02T20:34:53.224Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-02T20:35:11.626Z] provisioning config files... [2022-11-02T20:35:11.664Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config17655530057830530889tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-02T20:35:12.075Z] ---> docker-login.sh [2022-11-02T20:35:12.075Z] nexus3.edgexfoundry.org:10001 [2022-11-02T20:35:12.665Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T20:35:12.934Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T20:35:12.934Z] Configure a credential helper to remove this warning. See [2022-11-02T20:35:12.934Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T20:35:12.934Z] [2022-11-02T20:35:12.934Z] Login Succeeded [2022-11-02T20:35:12.934Z] nexus3.edgexfoundry.org:10002 [2022-11-02T20:35:13.208Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T20:35:13.208Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T20:35:13.208Z] Configure a credential helper to remove this warning. See [2022-11-02T20:35:13.208Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T20:35:13.208Z] [2022-11-02T20:35:13.208Z] Login Succeeded [2022-11-02T20:35:13.208Z] nexus3.edgexfoundry.org:10003 [2022-11-02T20:35:13.482Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T20:35:13.755Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T20:35:13.755Z] Configure a credential helper to remove this warning. See [2022-11-02T20:35:13.755Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T20:35:13.755Z] [2022-11-02T20:35:13.755Z] Login Succeeded [2022-11-02T20:35:13.755Z] nexus3.edgexfoundry.org:10004 [2022-11-02T20:35:14.026Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T20:35:14.026Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T20:35:14.026Z] Configure a credential helper to remove this warning. See [2022-11-02T20:35:14.026Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T20:35:14.026Z] [2022-11-02T20:35:14.026Z] Login Succeeded [2022-11-02T20:35:14.026Z] docker.io [2022-11-02T20:35:14.296Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T20:35:14.884Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T20:35:14.884Z] Configure a credential helper to remove this warning. See [2022-11-02T20:35:14.884Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T20:35:14.884Z] [2022-11-02T20:35:14.884Z] Login Succeeded [2022-11-02T20:35:14.884Z] ---> docker-login.sh ends [Pipeline] } [2022-11-02T20:35:14.914Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-02T20:35:15.238Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-02T20:35:15.274Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-02T20:35:15.310Z] ========================================================= [2022-11-02T20:35:15.310Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-11-02T20:35:15.310Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T20:35:15.832Z] + 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-11-02T20:35:16.103Z] Sending build context to Docker daemon 11.77MB [2022-11-02T20:35:16.386Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-11-02T20:35:16.386Z] Step 2/12 : FROM ${BASE} AS builder [2022-11-02T20:35:16.386Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-11-02T20:35:16.386Z] 9b18e9b68314: Pulling fs layer [2022-11-02T20:35:16.386Z] 35d82f9e3411: Pulling fs layer [2022-11-02T20:35:16.386Z] e16973657156: Pulling fs layer [2022-11-02T20:35:16.386Z] fc693d55d65f: Pulling fs layer [2022-11-02T20:35:16.386Z] 7e9fc2657dce: Pulling fs layer [2022-11-02T20:35:16.386Z] dda99020689f: Pulling fs layer [2022-11-02T20:35:16.386Z] db1c61fa0a46: Pulling fs layer [2022-11-02T20:35:16.386Z] 891c053d2c06: Pulling fs layer [2022-11-02T20:35:16.386Z] dda99020689f: Waiting [2022-11-02T20:35:16.386Z] db1c61fa0a46: Waiting [2022-11-02T20:35:16.386Z] 891c053d2c06: Waiting [2022-11-02T20:35:16.386Z] fc693d55d65f: Waiting [2022-11-02T20:35:16.386Z] 7e9fc2657dce: Waiting [2022-11-02T20:35:16.386Z] e16973657156: Download complete [2022-11-02T20:35:16.386Z] 35d82f9e3411: Download complete [2022-11-02T20:35:16.659Z] 7e9fc2657dce: Verifying Checksum [2022-11-02T20:35:16.659Z] 7e9fc2657dce: Download complete [2022-11-02T20:35:16.659Z] dda99020689f: Verifying Checksum [2022-11-02T20:35:16.659Z] dda99020689f: Download complete [2022-11-02T20:35:16.659Z] 9b18e9b68314: Download complete [2022-11-02T20:35:17.642Z] 9b18e9b68314: Pull complete [2022-11-02T20:35:17.642Z] 891c053d2c06: Verifying Checksum [2022-11-02T20:35:17.642Z] 891c053d2c06: Download complete [2022-11-02T20:35:17.750Z] Removing intermediate container 5aa0957db25c [2022-11-02T20:35:17.750Z] ---> c05cad9bd25d [2022-11-02T20:35:17.750Z] Step 10/12 : COPY . . [2022-11-02T20:35:17.750Z] ---> 9935bc0da6cb [2022-11-02T20:35:17.750Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-02T20:35:17.750Z] ---> Running in 637f6ec0dfcf [2022-11-02T20:35:17.750Z] Removing intermediate container 637f6ec0dfcf [2022-11-02T20:35:17.750Z] ---> a9fef40b326f [2022-11-02T20:35:17.750Z] Step 12/12 : RUN $MAKE [2022-11-02T20:35:17.750Z] ---> Running in 18f66118a3da [2022-11-02T20:35:17.750Z] noop [2022-11-02T20:35:17.750Z] Removing intermediate container 18f66118a3da [2022-11-02T20:35:17.750Z] ---> 908476d22271 [2022-11-02T20:35:17.750Z] Successfully built 908476d22271 [2022-11-02T20:35:17.750Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T20:35:18.212Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-02T20:35:18.212Z] . [2022-11-02T20:35:18.233Z] 35d82f9e3411: Pull complete [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-02T20:35:18.377Z] prd-ubuntu20.04-docker-8c-8g-117943 does not seem to be running inside a container [2022-11-02T20:35:18.409Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-318 -v /w/workspace/foundry_device-virtual-go_PR-318:/w/workspace/foundry_device-virtual-go_PR-318:rw,z -v /w/workspace/foundry_device-virtual-go_PR-318@tmp:/w/workspace/foundry_device-virtual-go_PR-318@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-11-02T20:35:18.774Z] $ docker top 8e557e8b9b06fc043a8a35a5f9ba58baac040b811e426c34d05a5abc7c5cc737 -eo pid,comm [2022-11-02T20:35:18.827Z] e16973657156: Pull complete [Pipeline] { [Pipeline] sh [2022-11-02T20:35:19.098Z] db1c61fa0a46: Verifying Checksum [2022-11-02T20:35:19.099Z] db1c61fa0a46: Download complete [2022-11-02T20:35:19.192Z] + go version [2022-11-02T20:35:19.192Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-11-02T20:35:19.225Z] $ docker stop --time=1 8e557e8b9b06fc043a8a35a5f9ba58baac040b811e426c34d05a5abc7c5cc737 [2022-11-02T20:35:19.687Z] fc693d55d65f: Verifying Checksum [2022-11-02T20:35:19.687Z] fc693d55d65f: Download complete [2022-11-02T20:35:20.529Z] $ docker rm -f 8e557e8b9b06fc043a8a35a5f9ba58baac040b811e426c34d05a5abc7c5cc737 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T20:35:21.287Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-02T20:35:21.287Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-02T20:35:21.448Z] prd-ubuntu20.04-docker-8c-8g-117943 does not seem to be running inside a container [2022-11-02T20:35:21.482Z] $ 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-318 -v /w/workspace/foundry_device-virtual-go_PR-318:/w/workspace/foundry_device-virtual-go_PR-318:rw,z -v /w/workspace/foundry_device-virtual-go_PR-318@tmp:/w/workspace/foundry_device-virtual-go_PR-318@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-11-02T20:35:21.827Z] $ docker top de8092063f65586b864fc5f6182759ab4c54ca9eef3e276cb921d8bf9e74b287 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-02T20:35:22.226Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-318 [Pipeline] fileExists [Pipeline] sh [2022-11-02T20:35:22.587Z] + make test [2022-11-02T20:35:22.587Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-11-02T20:35:22.846Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-11-02T20:35:32.036Z] fc693d55d65f: Pull complete [2022-11-02T20:35:32.036Z] 7e9fc2657dce: Pull complete [2022-11-02T20:35:32.036Z] dda99020689f: Pull complete [2022-11-02T20:35:32.840Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-11-02T20:35:33.777Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.043s coverage: 65.7% of statements [2022-11-02T20:35:38.726Z] db1c61fa0a46: Pull complete [2022-11-02T20:35:40.682Z] 891c053d2c06: Pull complete [2022-11-02T20:35:40.682Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2022-11-02T20:35:40.682Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-11-02T20:35:40.682Z] ---> f96f9c87975a [2022-11-02T20:35:40.682Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-02T20:35:41.285Z] ---> Running in 361a0abda93d [2022-11-02T20:35:41.886Z] 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-11-02T20:35:41.886Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-02T20:35:41.888Z] Removing intermediate container 361a0abda93d [2022-11-02T20:35:41.888Z] ---> 3aba5be8d8bf [2022-11-02T20:35:41.888Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-11-02T20:35:41.888Z] ---> Running in d5d68e8755cf [2022-11-02T20:35:42.157Z] Removing intermediate container d5d68e8755cf [2022-11-02T20:35:42.157Z] ---> 1fb3272312e2 [2022-11-02T20:35:42.157Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2022-11-02T20:35:42.157Z] ---> Running in b573fd3983ea [2022-11-02T20:35:42.745Z] Removing intermediate container b573fd3983ea [2022-11-02T20:35:42.745Z] ---> 6cf42b548831 [2022-11-02T20:35:42.745Z] Step 6/12 : WORKDIR /device-virtual-go [2022-11-02T20:35:42.745Z] ---> Running in 69662ff80b97 [2022-11-02T20:35:43.020Z] Removing intermediate container 69662ff80b97 [2022-11-02T20:35:43.020Z] ---> 42d6b7aed14d [2022-11-02T20:35:43.020Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-02T20:35:43.020Z] ---> Running in e39fff0542ac [2022-11-02T20:35:44.415Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-02T20:35:44.415Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-02T20:35:44.415Z] ./bin/test-attribution-txt.sh [2022-11-02T20:35:44.439Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [Pipeline] echo [2022-11-02T20:35:44.454Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-02T20:35:44.509Z] $ docker stop --time=1 de8092063f65586b864fc5f6182759ab4c54ca9eef3e276cb921d8bf9e74b287 [2022-11-02T20:35:44.707Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-02T20:35:45.671Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-11-02T20:35:45.671Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-11-02T20:35:45.671Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-11-02T20:35:45.671Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-11-02T20:35:45.671Z] Executing busybox-1.35.0-r17.trigger [2022-11-02T20:35:45.671Z] OK: 226 MiB in 55 packages [2022-11-02T20:35:47.092Z] Removing intermediate container e39fff0542ac [2022-11-02T20:35:47.092Z] ---> 43966f9ad41f [2022-11-02T20:35:47.092Z] Step 8/12 : COPY go.mod vendor* ./ [2022-11-02T20:35:47.176Z] $ docker rm -f de8092063f65586b864fc5f6182759ab4c54ca9eef3e276cb921d8bf9e74b287 [2022-11-02T20:35:47.364Z] ---> 129c4fed3788 [2022-11-02T20:35:47.364Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-02T20:35:47.364Z] ---> Running in 5bb283e09afc [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-02T20:35:47.753Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-02T20:35:47.840Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-11-02T20:35:48.496Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-02T20:35:48.811Z] + ls -al . [2022-11-02T20:35:48.811Z] total 204 [2022-11-02T20:35:48.811Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 2 20:35 . [2022-11-02T20:35:48.811Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 20:34 .. [2022-11-02T20:35:48.811Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 2 20:35 .git [2022-11-02T20:35:48.811Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 20:34 .github [2022-11-02T20:35:48.811Z] -rw-rw-r-- 1 jenkins jenkins 337 Nov 2 20:34 .gitignore [2022-11-02T20:35:48.811Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 2 20:34 .golangci.yml [2022-11-02T20:35:48.811Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 2 20:34 .semver [2022-11-02T20:35:48.811Z] -rw-rw-r-- 1 jenkins jenkins 8527 Nov 2 20:34 Attribution.txt [2022-11-02T20:35:48.811Z] -rw-rw-r-- 1 jenkins jenkins 11367 Nov 2 20:34 CHANGELOG.md [2022-11-02T20:35:48.811Z] -rw-rw-r-- 1 jenkins jenkins 1709 Nov 2 20:34 Dockerfile [2022-11-02T20:35:48.811Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 2 20:34 GOVERNANCE.md [2022-11-02T20:35:48.811Z] -rw-rw-r-- 1 jenkins jenkins 660 Nov 2 20:34 Jenkinsfile [2022-11-02T20:35:48.811Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 2 20:34 LICENSE [2022-11-02T20:35:48.811Z] -rw-rw-r-- 1 jenkins jenkins 2457 Nov 2 20:34 Makefile [2022-11-02T20:35:48.811Z] -rw-rw-r-- 1 jenkins jenkins 623 Nov 2 20:34 OWNERS.md [2022-11-02T20:35:48.811Z] -rw-rw-r-- 1 jenkins jenkins 3578 Nov 2 20:34 README.md [2022-11-02T20:35:48.811Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 2 20:34 VERSION [2022-11-02T20:35:48.811Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 20:34 bin [2022-11-02T20:35:48.811Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 20:34 cmd [2022-11-02T20:35:48.811Z] -rw-r--r-- 1 jenkins jenkins 44128 Nov 2 20:35 coverage.out [2022-11-02T20:35:48.811Z] -rw-rw-r-- 1 jenkins jenkins 3388 Nov 2 20:34 go.mod [2022-11-02T20:35:48.811Z] -rw-rw-r-- 1 jenkins jenkins 44543 Nov 2 20:34 go.sum [2022-11-02T20:35:48.811Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 20:34 internal [2022-11-02T20:35:48.811Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 20:34 snap [2022-11-02T20:35:48.811Z] -rw-rw-r-- 1 jenkins jenkins 235 Nov 2 20:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T20:35:49.205Z] + 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=dc9f57c70c88688990dbc2ce7c8e854d392044a5 --label arch=amd64 --label version=0.0.0 . [2022-11-02T20:35:49.205Z] Sending build context to Docker daemon 23.29MB [2022-11-02T20:35:49.205Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-11-02T20:35:49.205Z] Step 2/25 : FROM ${BASE} AS builder [2022-11-02T20:35:49.205Z] ---> 908476d22271 [2022-11-02T20:35:49.205Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-02T20:35:49.779Z] ---> Running in 1b2aa628e511 [2022-11-02T20:35:49.779Z] Removing intermediate container 1b2aa628e511 [2022-11-02T20:35:49.779Z] ---> 675e064e79aa [2022-11-02T20:35:49.779Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2022-11-02T20:35:49.779Z] ---> Running in 392e2cd05a5e [2022-11-02T20:35:49.779Z] Removing intermediate container 392e2cd05a5e [2022-11-02T20:35:49.779Z] ---> 194dbf18da9d [2022-11-02T20:35:49.779Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2022-11-02T20:35:49.779Z] ---> Running in 5a4cde3e5c17 [2022-11-02T20:35:50.048Z] Removing intermediate container 5a4cde3e5c17 [2022-11-02T20:35:50.048Z] ---> d89ed17c8514 [2022-11-02T20:35:50.048Z] Step 6/25 : WORKDIR /device-virtual-go [2022-11-02T20:35:50.048Z] ---> Running in 1cb2b24d4c50 [2022-11-02T20:35:50.048Z] Removing intermediate container 1cb2b24d4c50 [2022-11-02T20:35:50.048Z] ---> ccc9c4a9b3cc [2022-11-02T20:35:50.048Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-02T20:35:50.048Z] ---> Running in e7a44fcdadca [2022-11-02T20:35:50.308Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-02T20:35:50.308Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-02T20:35:50.571Z] OK: 216 MiB in 55 packages [2022-11-02T20:35:50.830Z] Removing intermediate container e7a44fcdadca [2022-11-02T20:35:50.830Z] ---> f35e21ef1d4f [2022-11-02T20:35:50.830Z] Step 8/25 : COPY go.mod vendor* ./ [2022-11-02T20:35:51.091Z] ---> e63bdc16f6d4 [2022-11-02T20:35:51.091Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-02T20:35:51.091Z] ---> Running in e38c6e01022e [2022-11-02T20:35:51.663Z] Removing intermediate container e38c6e01022e [2022-11-02T20:35:51.663Z] ---> 07fb039f915b [2022-11-02T20:35:51.663Z] Step 10/25 : COPY . . [2022-11-02T20:35:52.601Z] ---> 6e65111a2487 [2022-11-02T20:35:52.601Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-02T20:35:52.601Z] ---> Running in b4b35a1e64ed [2022-11-02T20:35:52.601Z] Removing intermediate container b4b35a1e64ed [2022-11-02T20:35:52.601Z] ---> e82d53f02a6e [2022-11-02T20:35:52.601Z] Step 12/25 : RUN $MAKE [2022-11-02T20:35:52.601Z] ---> Running in b8ee2357fa8c [2022-11-02T20:35:52.859Z] 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-11-02T20:36:19.410Z] Removing intermediate container b8ee2357fa8c [2022-11-02T20:36:19.410Z] ---> 1d754f1e6837 [2022-11-02T20:36:19.410Z] Step 13/25 : FROM alpine:3.16 [2022-11-02T20:36:19.410Z] 3.16: Pulling from library/alpine [2022-11-02T20:36:19.410Z] 213ec9aee27d: Already exists [2022-11-02T20:36:19.410Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-02T20:36:19.410Z] Status: Downloaded newer image for alpine:3.16 [2022-11-02T20:36:19.410Z] ---> 9c6f07244728 [2022-11-02T20:36:19.410Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-11-02T20:36:19.410Z] ---> Running in fabba61733ce [2022-11-02T20:36:19.410Z] Removing intermediate container fabba61733ce [2022-11-02T20:36:19.410Z] ---> cf7b13ce7e88 [2022-11-02T20:36:19.410Z] Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-11-02T20:36:19.410Z] ---> Running in 5c038dcc29c4 [2022-11-02T20:36:19.410Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-02T20:36:19.410Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-02T20:36:19.410Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-11-02T20:36:19.410Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-11-02T20:36:19.410Z] (3/6) Installing libsodium (1.0.18-r0) [2022-11-02T20:36:19.410Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-02T20:36:19.410Z] (5/6) Installing libzmq (4.3.4-r0) [2022-11-02T20:36:19.410Z] (6/6) Installing zeromq (4.3.4-r0) [2022-11-02T20:36:19.410Z] Executing busybox-1.35.0-r17.trigger [2022-11-02T20:36:19.410Z] OK: 8 MiB in 20 packages [2022-11-02T20:36:19.410Z] Removing intermediate container 5c038dcc29c4 [2022-11-02T20:36:19.410Z] ---> f4ac7216ceb5 [2022-11-02T20:36:19.410Z] Step 16/25 : WORKDIR / [2022-11-02T20:36:19.410Z] ---> Running in 988826896f15 [2022-11-02T20:36:19.410Z] Removing intermediate container 988826896f15 [2022-11-02T20:36:19.410Z] ---> 39ae93d39ddf [2022-11-02T20:36:19.410Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-11-02T20:36:19.410Z] ---> ff7bb49f26a0 [2022-11-02T20:36:19.410Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2022-11-02T20:36:19.410Z] ---> ff3ca4c2614c [2022-11-02T20:36:19.410Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2022-11-02T20:36:19.410Z] ---> 431c7780adab [2022-11-02T20:36:19.410Z] Step 20/25 : EXPOSE 59900 [2022-11-02T20:36:19.410Z] ---> Running in 64834e9d3950 [2022-11-02T20:36:19.410Z] Removing intermediate container 64834e9d3950 [2022-11-02T20:36:19.410Z] ---> 1052f4197592 [2022-11-02T20:36:19.410Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2022-11-02T20:36:19.410Z] ---> Running in 577afcbd31f3 [2022-11-02T20:36:19.410Z] Removing intermediate container 577afcbd31f3 [2022-11-02T20:36:19.410Z] ---> c841739c247d [2022-11-02T20:36:19.410Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-02T20:36:19.671Z] ---> Running in 7440809b15b9 [2022-11-02T20:36:19.671Z] Removing intermediate container 7440809b15b9 [2022-11-02T20:36:19.671Z] ---> acb9e9e8f491 [2022-11-02T20:36:19.671Z] Step 23/25 : LABEL arch=amd64 [2022-11-02T20:36:19.671Z] ---> Running in eb353289f676 [2022-11-02T20:36:19.671Z] Removing intermediate container eb353289f676 [2022-11-02T20:36:19.671Z] ---> b25f06ff6a7e [2022-11-02T20:36:19.671Z] Step 24/25 : LABEL git_sha=dc9f57c70c88688990dbc2ce7c8e854d392044a5 [2022-11-02T20:36:19.671Z] ---> Running in 0561b47039db [2022-11-02T20:36:19.930Z] Removing intermediate container 0561b47039db [2022-11-02T20:36:19.930Z] ---> a089fe402e6c [2022-11-02T20:36:19.930Z] Step 25/25 : LABEL version=0.0.0 [2022-11-02T20:36:19.930Z] ---> Running in c1ef463c5957 [2022-11-02T20:36:19.930Z] Removing intermediate container c1ef463c5957 [2022-11-02T20:36:19.930Z] ---> 8c4f734507ff [2022-11-02T20:36:19.930Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-02T20:36:19.930Z] Successfully built 8c4f734507ff [2022-11-02T20:36:19.930Z] 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-11-02T20:36:20.823Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-02T20:36:20.823Z] [2022-11-02T20:36:20.823Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T20:36:21.233Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-02T20:36:21.233Z] latest: Pulling from edgex-lftools-log-publisher [2022-11-02T20:36:21.233Z] 5eb5b503b376: Pulling fs layer [2022-11-02T20:36:21.233Z] 5c69ac0246d0: Pulling fs layer [2022-11-02T20:36:21.233Z] ec43610c2a17: Pulling fs layer [2022-11-02T20:36:21.233Z] 3a2ae6a8a46f: Pulling fs layer [2022-11-02T20:36:21.233Z] 33b1e0a273af: Pulling fs layer [2022-11-02T20:36:21.233Z] 5d3b04190fa2: Pulling fs layer [2022-11-02T20:36:21.233Z] 2f39f015ded8: Pulling fs layer [2022-11-02T20:36:21.233Z] 3a2ae6a8a46f: Waiting [2022-11-02T20:36:21.233Z] 33b1e0a273af: Waiting [2022-11-02T20:36:21.233Z] 5d3b04190fa2: Waiting [2022-11-02T20:36:21.233Z] 2f39f015ded8: Waiting [2022-11-02T20:36:21.233Z] 5c69ac0246d0: Download complete [2022-11-02T20:36:21.233Z] 3a2ae6a8a46f: Verifying Checksum [2022-11-02T20:36:21.233Z] 3a2ae6a8a46f: Download complete [2022-11-02T20:36:21.233Z] ec43610c2a17: Verifying Checksum [2022-11-02T20:36:21.233Z] ec43610c2a17: Download complete [2022-11-02T20:36:21.234Z] 33b1e0a273af: Verifying Checksum [2022-11-02T20:36:21.234Z] 33b1e0a273af: Download complete [2022-11-02T20:36:21.517Z] 5d3b04190fa2: Verifying Checksum [2022-11-02T20:36:21.517Z] 5d3b04190fa2: Download complete [2022-11-02T20:36:21.517Z] 5eb5b503b376: Verifying Checksum [2022-11-02T20:36:21.517Z] 5eb5b503b376: Download complete [2022-11-02T20:36:22.131Z] 2f39f015ded8: Download complete [2022-11-02T20:36:22.715Z] 5eb5b503b376: Pull complete [2022-11-02T20:36:22.974Z] 5c69ac0246d0: Pull complete [2022-11-02T20:36:23.541Z] ec43610c2a17: Pull complete [2022-11-02T20:36:23.541Z] 3a2ae6a8a46f: Pull complete [2022-11-02T20:36:23.800Z] 33b1e0a273af: Pull complete [2022-11-02T20:36:23.800Z] 5d3b04190fa2: Pull complete [2022-11-02T20:36:29.065Z] 2f39f015ded8: Pull complete [2022-11-02T20:36:29.065Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-11-02T20:36:29.065Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-02T20:36:29.065Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-02T20:36:29.301Z] prd-ubuntu20.04-docker-8c-8g-117943 does not seem to be running inside a container [2022-11-02T20:36:29.333Z] $ 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-318 -v /w/workspace/foundry_device-virtual-go_PR-318:/w/workspace/foundry_device-virtual-go_PR-318:rw,z -v /w/workspace/foundry_device-virtual-go_PR-318@tmp:/w/workspace/foundry_device-virtual-go_PR-318@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-02T20:36:33.201Z] $ docker top 8f2f8bf1b85e2d0351af7ecd6964e86326d09f7044e203dcfd62a0c8f547161b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-02T20:36:33.647Z] ---> job-cost.sh [2022-11-02T20:36:33.647Z] lf-activate-venv: SKIPPING [2022-11-02T20:36:33.647Z] INFO: No Stack... [2022-11-02T20:36:33.911Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-02T20:36:34.171Z] INFO: Archiving Costs [Pipeline] sh [2022-11-02T20:36:34.492Z] + cat /w/workspace/foundry_device-virtual-go_PR-318/archives/cost.csv [2022-11-02T20:36:34.492Z] + cut -d, -f6 [Pipeline] lock [2022-11-02T20:36:34.539Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-318-1-stack-cost] [2022-11-02T20:36:34.546Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-318-1-stack-cost] did not exist. Created. [2022-11-02T20:36:34.546Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-318-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-02T20:36:34.943Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-11-02T20:36:34.998Z] Stashed 1 file(s) [Pipeline] } [2022-11-02T20:36:35.028Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-318-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-02T20:36:35.107Z] $ docker stop --time=1 8f2f8bf1b85e2d0351af7ecd6964e86326d09f7044e203dcfd62a0c8f547161b [2022-11-02T20:36:36.271Z] $ docker rm -f 8f2f8bf1b85e2d0351af7ecd6964e86326d09f7044e203dcfd62a0c8f547161b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-11-02T20:36:43.919Z] Removing intermediate container 5bb283e09afc [2022-11-02T20:36:43.919Z] ---> e387cfde0d40 [2022-11-02T20:36:43.919Z] Step 10/12 : COPY . . [2022-11-02T20:36:44.895Z] ---> 7787b2851f9d [2022-11-02T20:36:44.895Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-02T20:36:44.895Z] ---> Running in 5c5360457db5 [2022-11-02T20:36:45.163Z] Removing intermediate container 5c5360457db5 [2022-11-02T20:36:45.163Z] ---> c7dfca6670bd [2022-11-02T20:36:45.163Z] Step 12/12 : RUN $MAKE [2022-11-02T20:36:45.163Z] ---> Running in 12aaeebf121c [2022-11-02T20:36:46.126Z] noop [2022-11-02T20:36:46.713Z] Removing intermediate container 12aaeebf121c [2022-11-02T20:36:46.713Z] ---> 55e8c59e5a94 [2022-11-02T20:36:46.713Z] Successfully built 55e8c59e5a94 [2022-11-02T20:36:46.713Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T20:36:47.205Z] + docker inspect -f . ci-base-image-arm64 [2022-11-02T20:36:47.205Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-02T20:36:47.462Z] prd-ubuntu20.04-docker-arm64-4c-16g-117950 does not seem to be running inside a container [2022-11-02T20:36:47.532Z] $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-11-02T20:36:48.708Z] $ docker top e4a0218d61cbf7d66fce979163719cbbc964cea4ba65ffd06198b7b5b1a73b3a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-02T20:36:49.606Z] + go version [2022-11-02T20:36:49.607Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-11-02T20:36:49.642Z] $ docker stop --time=1 e4a0218d61cbf7d66fce979163719cbbc964cea4ba65ffd06198b7b5b1a73b3a [2022-11-02T20:36:51.297Z] $ docker rm -f e4a0218d61cbf7d66fce979163719cbbc964cea4ba65ffd06198b7b5b1a73b3a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T20:36:52.150Z] + docker inspect -f . ci-base-image-arm64 [2022-11-02T20:36:52.150Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-02T20:36:52.432Z] prd-ubuntu20.04-docker-arm64-4c-16g-117950 does not seem to be running inside a container [2022-11-02T20:36:52.503Z] $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-11-02T20:36:53.676Z] $ docker top a5988d350ec1d5556a9d25c527dc3075cfb3fd1027fd3a06092c1ccd97a7a19e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-02T20:36:54.540Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh [2022-11-02T20:36:54.933Z] + make test [2022-11-02T20:36:55.202Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-11-02T20:36:56.621Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-11-02T20:38:48.390Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-11-02T20:38:48.390Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.160s coverage: 65.7% of statements [2022-11-02T20:38:48.662Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-11-02T20:38:48.663Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-02T20:39:27.589Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-02T20:39:27.589Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-02T20:39:27.589Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-02T20:39:27.629Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-02T20:39:27.660Z] $ docker stop --time=1 a5988d350ec1d5556a9d25c527dc3075cfb3fd1027fd3a06092c1ccd97a7a19e [2022-11-02T20:39:29.455Z] $ docker rm -f a5988d350ec1d5556a9d25c527dc3075cfb3fd1027fd3a06092c1ccd97a7a19e [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-02T20:39:30.437Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-02T20:39:30.479Z] Warning: overwriting stash ‘coverage-report’ [2022-11-02T20:39:30.916Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-02T20:39:31.494Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-02T20:39:31.829Z] + ls -al . [2022-11-02T20:39:31.829Z] total 200 [2022-11-02T20:39:31.829Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 2 20:36 . [2022-11-02T20:39:31.829Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 20:34 .. [2022-11-02T20:39:31.829Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 2 20:34 .git [2022-11-02T20:39:31.829Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 20:34 .github [2022-11-02T20:39:31.829Z] -rw-rw-r-- 1 jenkins jenkins 337 Nov 2 20:34 .gitignore [2022-11-02T20:39:31.829Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 2 20:34 .golangci.yml [2022-11-02T20:39:31.829Z] -rw-rw-r-- 1 jenkins jenkins 8527 Nov 2 20:34 Attribution.txt [2022-11-02T20:39:31.829Z] -rw-rw-r-- 1 jenkins jenkins 11367 Nov 2 20:34 CHANGELOG.md [2022-11-02T20:39:31.829Z] -rw-rw-r-- 1 jenkins jenkins 1709 Nov 2 20:34 Dockerfile [2022-11-02T20:39:31.829Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 2 20:34 GOVERNANCE.md [2022-11-02T20:39:31.829Z] -rw-rw-r-- 1 jenkins jenkins 660 Nov 2 20:34 Jenkinsfile [2022-11-02T20:39:31.829Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 2 20:34 LICENSE [2022-11-02T20:39:31.829Z] -rw-rw-r-- 1 jenkins jenkins 2457 Nov 2 20:34 Makefile [2022-11-02T20:39:31.829Z] -rw-rw-r-- 1 jenkins jenkins 623 Nov 2 20:34 OWNERS.md [2022-11-02T20:39:31.829Z] -rw-rw-r-- 1 jenkins jenkins 3578 Nov 2 20:34 README.md [2022-11-02T20:39:31.829Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 2 20:34 VERSION [2022-11-02T20:39:31.829Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 20:34 bin [2022-11-02T20:39:31.829Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 20:34 cmd [2022-11-02T20:39:31.829Z] -rw-r--r-- 1 jenkins jenkins 44128 Nov 2 20:38 coverage.out [2022-11-02T20:39:31.829Z] -rw-rw-r-- 1 jenkins jenkins 3388 Nov 2 20:34 go.mod [2022-11-02T20:39:31.829Z] -rw-rw-r-- 1 jenkins jenkins 44543 Nov 2 20:34 go.sum [2022-11-02T20:39:31.829Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 20:34 internal [2022-11-02T20:39:31.829Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 20:34 snap [2022-11-02T20:39:31.829Z] -rw-rw-r-- 1 jenkins jenkins 235 Nov 2 20:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T20:39:32.252Z] + 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=dc9f57c70c88688990dbc2ce7c8e854d392044a5 --label arch=arm64 --label version=0.0.0 . [2022-11-02T20:39:32.524Z] Sending build context to Docker daemon 11.82MB [2022-11-02T20:39:32.524Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-11-02T20:39:32.524Z] Step 2/25 : FROM ${BASE} AS builder [2022-11-02T20:39:32.524Z] ---> 55e8c59e5a94 [2022-11-02T20:39:32.524Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-02T20:39:32.791Z] ---> Running in 235a9a1efe6e [2022-11-02T20:39:33.058Z] Removing intermediate container 235a9a1efe6e [2022-11-02T20:39:33.058Z] ---> 40e0197d0dcb [2022-11-02T20:39:33.058Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2022-11-02T20:39:33.058Z] ---> Running in 5be4d89f9e26 [2022-11-02T20:39:33.327Z] Removing intermediate container 5be4d89f9e26 [2022-11-02T20:39:33.327Z] ---> fe2528626d0f [2022-11-02T20:39:33.327Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2022-11-02T20:39:33.594Z] ---> Running in 85bea9ca83a2 [2022-11-02T20:39:33.865Z] Removing intermediate container 85bea9ca83a2 [2022-11-02T20:39:33.865Z] ---> cbf60aa063b8 [2022-11-02T20:39:33.865Z] Step 6/25 : WORKDIR /device-virtual-go [2022-11-02T20:39:33.865Z] ---> Running in 49e1dfbf55d9 [2022-11-02T20:39:34.132Z] Removing intermediate container 49e1dfbf55d9 [2022-11-02T20:39:34.132Z] ---> 2e2fe0d06326 [2022-11-02T20:39:34.132Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-02T20:39:34.403Z] ---> Running in 65ad6eaf0245 [2022-11-02T20:39:35.365Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-02T20:39:35.634Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-02T20:39:36.593Z] OK: 226 MiB in 55 packages [2022-11-02T20:39:37.563Z] Removing intermediate container 65ad6eaf0245 [2022-11-02T20:39:37.563Z] ---> 18a747c25a9f [2022-11-02T20:39:37.563Z] Step 8/25 : COPY go.mod vendor* ./ [2022-11-02T20:39:37.833Z] ---> 2c5c1bc4faf2 [2022-11-02T20:39:37.833Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-02T20:39:38.108Z] ---> Running in cce6421c8e03 [2022-11-02T20:39:40.058Z] Removing intermediate container cce6421c8e03 [2022-11-02T20:39:40.058Z] ---> 0bc3ed122c73 [2022-11-02T20:39:40.058Z] Step 10/25 : COPY . . [2022-11-02T20:39:41.569Z] ---> 1544cebc0a05 [2022-11-02T20:39:41.569Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-02T20:39:41.569Z] ---> Running in ff176183d3e5 [2022-11-02T20:39:41.569Z] Removing intermediate container ff176183d3e5 [2022-11-02T20:39:41.569Z] ---> 2ba727982237 [2022-11-02T20:39:41.569Z] Step 12/25 : RUN $MAKE [2022-11-02T20:39:41.892Z] ---> Running in ad8ed21dd61e [2022-11-02T20:39:42.876Z] 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-11-02T20:42:04.660Z] Removing intermediate container ad8ed21dd61e [2022-11-02T20:42:04.660Z] ---> 7032752de3e2 [2022-11-02T20:42:04.660Z] Step 13/25 : FROM alpine:3.16 [2022-11-02T20:42:04.660Z] 3.16: Pulling from library/alpine [2022-11-02T20:42:04.660Z] 9b18e9b68314: Already exists [2022-11-02T20:42:04.660Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-02T20:42:04.660Z] Status: Downloaded newer image for alpine:3.16 [2022-11-02T20:42:04.660Z] ---> a6215f271958 [2022-11-02T20:42:04.660Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-11-02T20:42:04.660Z] ---> Running in 17909822e1a9 [2022-11-02T20:42:04.660Z] Removing intermediate container 17909822e1a9 [2022-11-02T20:42:04.660Z] ---> 23d19ebeef64 [2022-11-02T20:42:04.660Z] Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-11-02T20:42:04.660Z] ---> Running in d6a4834b091d [2022-11-02T20:42:04.660Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-02T20:42:04.660Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-02T20:42:04.660Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-11-02T20:42:04.660Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-11-02T20:42:04.660Z] (3/6) Installing libsodium (1.0.18-r0) [2022-11-02T20:42:04.660Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-02T20:42:04.660Z] (5/6) Installing libzmq (4.3.4-r0) [2022-11-02T20:42:04.660Z] (6/6) Installing zeromq (4.3.4-r0) [2022-11-02T20:42:04.660Z] Executing busybox-1.35.0-r17.trigger [2022-11-02T20:42:04.660Z] OK: 8 MiB in 20 packages [2022-11-02T20:42:04.660Z] Removing intermediate container d6a4834b091d [2022-11-02T20:42:04.660Z] ---> d2fa76e5f0fb [2022-11-02T20:42:04.660Z] Step 16/25 : WORKDIR / [2022-11-02T20:42:04.660Z] ---> Running in 021fb3196ce9 [2022-11-02T20:42:04.660Z] Removing intermediate container 021fb3196ce9 [2022-11-02T20:42:04.660Z] ---> 835bc5ae3b34 [2022-11-02T20:42:04.660Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-11-02T20:42:04.660Z] ---> a5dcb06c667e [2022-11-02T20:42:04.660Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2022-11-02T20:42:04.660Z] ---> 747294639c26 [2022-11-02T20:42:04.660Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2022-11-02T20:42:04.660Z] ---> a6c3a5634505 [2022-11-02T20:42:04.660Z] Step 20/25 : EXPOSE 59900 [2022-11-02T20:42:04.660Z] ---> Running in e59559d49803 [2022-11-02T20:42:04.660Z] Removing intermediate container e59559d49803 [2022-11-02T20:42:04.660Z] ---> d04733a146a1 [2022-11-02T20:42:04.660Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2022-11-02T20:42:04.660Z] ---> Running in 858f91d8ef55 [2022-11-02T20:42:04.660Z] Removing intermediate container 858f91d8ef55 [2022-11-02T20:42:04.660Z] ---> 1b7b7fea0fe6 [2022-11-02T20:42:04.660Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-02T20:42:04.660Z] ---> Running in a8d1ed89db7c [2022-11-02T20:42:04.660Z] Removing intermediate container a8d1ed89db7c [2022-11-02T20:42:04.660Z] ---> 11d82017547e [2022-11-02T20:42:04.660Z] Step 23/25 : LABEL arch=arm64 [2022-11-02T20:42:04.660Z] ---> Running in e7a4c359ef06 [2022-11-02T20:42:04.660Z] Removing intermediate container e7a4c359ef06 [2022-11-02T20:42:04.660Z] ---> db7ee12bc9b5 [2022-11-02T20:42:04.660Z] Step 24/25 : LABEL git_sha=dc9f57c70c88688990dbc2ce7c8e854d392044a5 [2022-11-02T20:42:04.660Z] ---> Running in 79d0c5367cd7 [2022-11-02T20:42:04.660Z] Removing intermediate container 79d0c5367cd7 [2022-11-02T20:42:04.660Z] ---> 32bd45c1ce72 [2022-11-02T20:42:04.660Z] Step 25/25 : LABEL version=0.0.0 [2022-11-02T20:42:04.660Z] ---> Running in c053117fb084 [2022-11-02T20:42:04.660Z] Removing intermediate container c053117fb084 [2022-11-02T20:42:04.660Z] ---> d23efd9e4683 [2022-11-02T20:42:04.660Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-02T20:42:04.660Z] Successfully built d23efd9e4683 [2022-11-02T20:42:04.660Z] 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-11-02T20:42:05.459Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-02T20:42:05.459Z] [2022-11-02T20:42:05.459Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T20:42:05.857Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-02T20:42:05.857Z] arm64: Pulling from edgex-lftools-log-publisher [2022-11-02T20:42:05.857Z] 8998bd30e6a1: Pulling fs layer [2022-11-02T20:42:05.857Z] 04944245beec: Pulling fs layer [2022-11-02T20:42:05.857Z] 699f458cf7ca: Pulling fs layer [2022-11-02T20:42:05.857Z] 765212b225bb: Pulling fs layer [2022-11-02T20:42:05.857Z] f23df028b6ca: Pulling fs layer [2022-11-02T20:42:05.857Z] d65c8cfc05b1: Pulling fs layer [2022-11-02T20:42:05.857Z] 2437ff75d9bd: Pulling fs layer [2022-11-02T20:42:05.857Z] f23df028b6ca: Waiting [2022-11-02T20:42:05.857Z] 2437ff75d9bd: Waiting [2022-11-02T20:42:05.857Z] d65c8cfc05b1: Waiting [2022-11-02T20:42:05.857Z] 765212b225bb: Waiting [2022-11-02T20:42:06.125Z] 04944245beec: Verifying Checksum [2022-11-02T20:42:06.125Z] 04944245beec: Download complete [2022-11-02T20:42:06.125Z] 765212b225bb: Verifying Checksum [2022-11-02T20:42:06.125Z] 765212b225bb: Download complete [2022-11-02T20:42:06.125Z] f23df028b6ca: Verifying Checksum [2022-11-02T20:42:06.125Z] f23df028b6ca: Download complete [2022-11-02T20:42:06.125Z] d65c8cfc05b1: Verifying Checksum [2022-11-02T20:42:06.125Z] d65c8cfc05b1: Download complete [2022-11-02T20:42:06.392Z] 699f458cf7ca: Verifying Checksum [2022-11-02T20:42:06.392Z] 699f458cf7ca: Download complete [2022-11-02T20:42:06.658Z] 8998bd30e6a1: Verifying Checksum [2022-11-02T20:42:06.658Z] 8998bd30e6a1: Download complete [2022-11-02T20:42:09.251Z] 2437ff75d9bd: Verifying Checksum [2022-11-02T20:42:09.251Z] 2437ff75d9bd: Download complete [2022-11-02T20:42:10.662Z] 8998bd30e6a1: Pull complete [2022-11-02T20:42:11.244Z] 04944245beec: Pull complete [2022-11-02T20:42:12.685Z] 699f458cf7ca: Pull complete [2022-11-02T20:42:12.685Z] 765212b225bb: Pull complete [2022-11-02T20:42:13.644Z] f23df028b6ca: Pull complete [2022-11-02T20:42:13.644Z] d65c8cfc05b1: Pull complete [2022-11-02T20:42:28.654Z] 2437ff75d9bd: Pull complete [2022-11-02T20:42:28.654Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-11-02T20:42:28.654Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-02T20:42:28.654Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-02T20:42:28.950Z] prd-ubuntu20.04-docker-arm64-4c-16g-117950 does not seem to be running inside a container [2022-11-02T20:42:29.008Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-11-02T20:42:31.469Z] $ docker top 7d897b49493de48491402e1847570b397c55f364049fb52573383b5d2e1ecca5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-02T20:42:32.051Z] ---> job-cost.sh [2022-11-02T20:42:32.316Z] lf-activate-venv: SKIPPING [2022-11-02T20:42:32.316Z] INFO: No Stack... [2022-11-02T20:42:32.581Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-11-02T20:42:33.533Z] INFO: Archiving Costs [Pipeline] sh [2022-11-02T20:42:33.870Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2022-11-02T20:42:33.870Z] + cut -d, -f6 [Pipeline] lock [2022-11-02T20:42:33.952Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-318-1-stack-cost] [2022-11-02T20:42:33.957Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-318-1-stack-cost] did not exist. Created. [2022-11-02T20:42:33.957Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-318-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-02T20:42:34.691Z] /w/workspace/device-virtual-go/1@tmp/durable-6535c097/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-11-02T20:42:35.041Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-11-02T20:42:35.085Z] Warning: overwriting stash ‘stack-cost’ [2022-11-02T20:42:35.126Z] Stashed 1 file(s) [Pipeline] } [2022-11-02T20:42:35.144Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-318-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-02T20:42:35.229Z] $ docker stop --time=1 7d897b49493de48491402e1847570b397c55f364049fb52573383b5d2e1ecca5 [2022-11-02T20:42:36.720Z] $ docker rm -f 7d897b49493de48491402e1847570b397c55f364049fb52573383b5d2e1ecca5 [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-11-02T20:42:37.721Z] provisioning config files... [2022-11-02T20:42:37.729Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-318@tmp/config4735754103630528857tmp [Pipeline] { [Pipeline] sh [2022-11-02T20:42:38.083Z] + set +x [2022-11-02T20:42:38.083Z] + curl -s https://codecov.io/bash [2022-11-02T20:42:38.083Z] + bash -s -- [2022-11-02T20:42:38.083Z] [2022-11-02T20:42:38.083Z] _____ _ [2022-11-02T20:42:38.083Z] / ____| | | [2022-11-02T20:42:38.083Z] | | ___ __| | ___ ___ _____ __ [2022-11-02T20:42:38.083Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-11-02T20:42:38.083Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-11-02T20:42:38.083Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-11-02T20:42:38.083Z] Bash-1.0.6 [2022-11-02T20:42:38.083Z] [2022-11-02T20:42:38.083Z] [2022-11-02T20:42:38.083Z] ==> git version 2.25.1 found [2022-11-02T20:42:38.083Z] ==> 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-11-02T20:42:38.083Z] Release-Date: 2020-01-08 [2022-11-02T20:42:38.083Z] 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-11-02T20:42:38.083Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-11-02T20:42:38.083Z] ==> Jenkins CI detected. [2022-11-02T20:42:38.084Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-318 [2022-11-02T20:42:38.084Z] project root: . [2022-11-02T20:42:38.084Z] --> token set from env [2022-11-02T20:42:38.084Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-11-02T20:42:38.084Z] ==> Running gcov in . (disable via -X gcov) [2022-11-02T20:42:38.084Z] ==> Python coveragepy not found [2022-11-02T20:42:38.084Z] ==> Searching for coverage reports in: [2022-11-02T20:42:38.084Z] + . [2022-11-02T20:42:38.084Z] -> Found 1 reports [2022-11-02T20:42:38.084Z] ==> Detecting git/mercurial file structure [2022-11-02T20:42:38.084Z] ==> Reading reports [2022-11-02T20:42:38.084Z] + ./coverage.out bytes=44128 [2022-11-02T20:42:38.084Z] ==> Appending adjustments [2022-11-02T20:42:38.084Z] https://docs.codecov.io/docs/fixing-reports [2022-11-02T20:42:38.343Z] + Found adjustments [2022-11-02T20:42:38.343Z] ==> Gzipping contents [2022-11-02T20:42:38.343Z] 8.0K /tmp/codecov.bNIAMp.gz [2022-11-02T20:42:38.343Z] ==> Uploading reports [2022-11-02T20:42:38.343Z] url: https://codecov.io [2022-11-02T20:42:38.343Z] query: branch=PR-318&commit=dc9f57c70c88688990dbc2ce7c8e854d392044a5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-318%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=318&job=&cmd_args= [2022-11-02T20:42:38.343Z] -> Pinging Codecov [2022-11-02T20:42:38.343Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-318&commit=dc9f57c70c88688990dbc2ce7c8e854d392044a5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-318%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=318&job=&cmd_args= [2022-11-02T20:42:38.606Z] -> Uploading to [2022-11-02T20:42:38.606Z] https://storage.googleapis.com/codecov/v4/raw/2022-11-02/5E52B4B073DB2E39498172D8E973AA87/dc9f57c70c88688990dbc2ce7c8e854d392044a5/8382f64c-184f-4744-84ae-c65a01061c91.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221102%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221102T204238Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d62e860702ea077ad8418c880e6c727bc01cea667b27de69126b002f36e3e223 [2022-11-02T20:42:38.606Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-02T20:42:38.606Z] Dload Upload Total Spent Left Speed [2022-11-02T20:42:38.866Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5488 0 0 100 5488 0 19812 --:--:-- --:--:-- --:--:-- 19741 [2022-11-02T20:42:38.866Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/dc9f57c70c88688990dbc2ce7c8e854d392044a5 [Pipeline] } [2022-11-02T20:42:38.897Z] 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-11-02T20:42:40.641Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-318/archives ] [2022-11-02T20:42:40.641Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-318/archives [2022-11-02T20:42:40.641Z] total 16 [2022-11-02T20:42:40.641Z] drwxr-xr-x 3 root root 4096 Nov 2 20:36 . [2022-11-02T20:42:40.641Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 2 20:36 .. [2022-11-02T20:42:40.641Z] drwxr-xr-x 2 root root 4096 Nov 2 20:36 cost [2022-11-02T20:42:40.641Z] -rw-r--r-- 1 root root 89 Nov 2 20:36 cost.csv [2022-11-02T20:42:40.641Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-318/archives [2022-11-02T20:42:40.641Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-318/archives [2022-11-02T20:42:40.641Z] total 16 [2022-11-02T20:42:40.641Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 2 20:36 . [2022-11-02T20:42:40.641Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 2 20:36 .. [2022-11-02T20:42:40.641Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 2 20:36 cost [2022-11-02T20:42:40.641Z] -rw-r--r-- 1 jenkins jenkins 89 Nov 2 20:36 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-11-02T20:42:40.965Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-02T20:42:41.851Z] ---> package-listing.sh [2022-11-02T20:42:41.851Z] ++ facter osfamily [2022-11-02T20:42:41.851Z] ++ tr '[:upper:]' '[:lower:]' [2022-11-02T20:42:42.109Z] + OS_FAMILY=debian [2022-11-02T20:42:42.109Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-318 [2022-11-02T20:42:42.109Z] + START_PACKAGES=/tmp/packages_start.txt [2022-11-02T20:42:42.109Z] + END_PACKAGES=/tmp/packages_end.txt [2022-11-02T20:42:42.109Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-11-02T20:42:42.109Z] + PACKAGES=/tmp/packages_start.txt [2022-11-02T20:42:42.109Z] + '[' /w/workspace/foundry_device-virtual-go_PR-318 ']' [2022-11-02T20:42:42.109Z] + PACKAGES=/tmp/packages_end.txt [2022-11-02T20:42:42.109Z] + case "${OS_FAMILY}" in [2022-11-02T20:42:42.109Z] + dpkg -l [2022-11-02T20:42:42.109Z] + grep '^ii' [2022-11-02T20:42:42.109Z] + '[' -f /tmp/packages_start.txt ']' [2022-11-02T20:42:42.109Z] + '[' -f /tmp/packages_end.txt ']' [2022-11-02T20:42:42.109Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-11-02T20:42:42.109Z] + '[' /w/workspace/foundry_device-virtual-go_PR-318 ']' [2022-11-02T20:42:42.109Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-318/archives/ [2022-11-02T20:42:42.109Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-318/archives/ [Pipeline] echo [2022-11-02T20:42:42.142Z] 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-318/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-11-02T20:42:42.432Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T20:42:43.135Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-02T20:42:43.135Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-02T20:42:43.291Z] prd-ubuntu20.04-docker-8c-8g-117943 does not seem to be running inside a container [2022-11-02T20:42:43.325Z] $ 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-318/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-318 -v /w/workspace/foundry_device-virtual-go_PR-318:/w/workspace/foundry_device-virtual-go_PR-318:rw,z -v /w/workspace/foundry_device-virtual-go_PR-318@tmp:/w/workspace/foundry_device-virtual-go_PR-318@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-02T20:42:43.536Z] $ docker top 78599dcbdc24996381f4e94aa5282bfd6c8cc60d5703f40c7d9bc468f1f71e4b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-02T20:42:43.927Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-11-02T20:42:44.231Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-11-02T20:42:44.536Z] + ls /var/log/sa-host [2022-11-02T20:42:44.536Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-02T20:42:44.672Z] provisioning config files... [2022-11-02T20:42:44.679Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-318@tmp/config7703092496049492391tmp [Pipeline] { [Pipeline] echo [2022-11-02T20:42:44.734Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-02T20:42:45.043Z] ---> create-netrc.sh [Pipeline] } [2022-11-02T20:42:45.070Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-11-02T20:42:45.469Z] ---> python-tools-install.sh [Pipeline] echo [2022-11-02T20:42:45.499Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-02T20:42:45.806Z] ---> sudo-logs.sh [2022-11-02T20:42:45.806Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-11-02T20:42:45.888Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-02T20:42:46.200Z] ---> job-cost.sh [2022-11-02T20:42:46.200Z] lf-activate-venv: SKIPPING [2022-11-02T20:42:46.200Z] DEBUG: total: 0.2199999988079071 [2022-11-02T20:42:46.200Z] INFO: Retrieving Stack Cost... [2022-11-02T20:42:46.767Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-02T20:42:47.025Z] INFO: Archiving Costs [Pipeline] echo [2022-11-02T20:42:47.058Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-02T20:42:47.379Z] ---> logs-deploy.sh [2022-11-02T20:42:47.379Z] lf-activate-venv: SKIPPING [2022-11-02T20:42:47.379Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-318/1 [2022-11-02T20:42:47.379Z] INFO: archiving workspace using pattern(s): [2022-11-02T20:42:48.312Z] Archives upload complete. [2022-11-02T20:42:48.570Z] INFO: archiving logs to Nexus [2022-11-02T20:42:49.136Z] ---> uname -a: [2022-11-02T20:42:49.136Z] Linux prd-ubuntu20-04-docker-8c-8g-117943 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2022-11-02T20:42:49.136Z] [2022-11-02T20:42:49.136Z] [2022-11-02T20:42:49.136Z] ---> lscpu: [2022-11-02T20:42:49.136Z] Architecture: x86_64 [2022-11-02T20:42:49.136Z] CPU op-mode(s): 32-bit, 64-bit [2022-11-02T20:42:49.136Z] Byte Order: Little Endian [2022-11-02T20:42:49.136Z] Address sizes: 40 bits physical, 48 bits virtual [2022-11-02T20:42:49.136Z] CPU(s): 8 [2022-11-02T20:42:49.136Z] On-line CPU(s) list: 0-7 [2022-11-02T20:42:49.136Z] Thread(s) per core: 1 [2022-11-02T20:42:49.136Z] Core(s) per socket: 1 [2022-11-02T20:42:49.136Z] Socket(s): 8 [2022-11-02T20:42:49.136Z] NUMA node(s): 1 [2022-11-02T20:42:49.136Z] Vendor ID: AuthenticAMD [2022-11-02T20:42:49.136Z] CPU family: 23 [2022-11-02T20:42:49.136Z] Model: 49 [2022-11-02T20:42:49.136Z] Model name: AMD EPYC-Rome Processor [2022-11-02T20:42:49.136Z] Stepping: 0 [2022-11-02T20:42:49.136Z] CPU MHz: 2800.002 [2022-11-02T20:42:49.136Z] BogoMIPS: 5600.00 [2022-11-02T20:42:49.136Z] Virtualization: AMD-V [2022-11-02T20:42:49.136Z] Hypervisor vendor: KVM [2022-11-02T20:42:49.136Z] Virtualization type: full [2022-11-02T20:42:49.136Z] L1d cache: 256 KiB [2022-11-02T20:42:49.136Z] L1i cache: 256 KiB [2022-11-02T20:42:49.136Z] L2 cache: 4 MiB [2022-11-02T20:42:49.136Z] L3 cache: 128 MiB [2022-11-02T20:42:49.136Z] NUMA node0 CPU(s): 0-7 [2022-11-02T20:42:49.136Z] Vulnerability Itlb multihit: Not affected [2022-11-02T20:42:49.136Z] Vulnerability L1tf: Not affected [2022-11-02T20:42:49.136Z] Vulnerability Mds: Not affected [2022-11-02T20:42:49.136Z] Vulnerability Meltdown: Not affected [2022-11-02T20:42:49.136Z] Vulnerability Mmio stale data: Not affected [2022-11-02T20:42:49.136Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2022-11-02T20:42:49.136Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2022-11-02T20:42:49.136Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2022-11-02T20:42:49.136Z] Vulnerability Srbds: Not affected [2022-11-02T20:42:49.136Z] Vulnerability Tsx async abort: Not affected [2022-11-02T20:42:49.136Z] 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-11-02T20:42:49.136Z] [2022-11-02T20:42:49.136Z] [2022-11-02T20:42:49.136Z] ---> nproc: [2022-11-02T20:42:49.136Z] 8 [2022-11-02T20:42:49.136Z] [2022-11-02T20:42:49.136Z]