Pull request #300 updated 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 MonicaisHer for edgexfoundry/device-virtual-go Loading trusted files from base branch main at b155924b7e348e7f4c6bc2e32e3176dc0fde7f12 rather than 4b178002e221fe3f5b3d3ae238b1d54201d7be48 Obtained Jenkinsfile from b155924b7e348e7f4c6bc2e32e3176dc0fde7f12 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-ssh11471764569797088890.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh11127473067519616785.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-300/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-300/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4637610644509368966.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh17097984569061021117.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-300/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-300/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15330345745122223172.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d # timeout=10 Commit message: "Merge changes Iad18a535,I8019d0c0" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-22582 in /w/workspace/foundry_device-virtual-go_PR-300 [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-300 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit b155924b7e348e7f4c6bc2e32e3176dc0fde7f12 into PR head commit 4b178002e221fe3f5b3d3ae238b1d54201d7be48 Merge succeeded, producing 4b178002e221fe3f5b3d3ae238b1d54201d7be48 Checking out Revision 4b178002e221fe3f5b3d3ae238b1d54201d7be48 (PR-300) > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/300/head:refs/remotes/origin/PR-300 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4b178002e221fe3f5b3d3ae238b1d54201d7be48 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge b155924b7e348e7f4c6bc2e32e3176dc0fde7f12 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4b178002e221fe3f5b3d3ae238b1d54201d7be48 # timeout=10 Commit message: "docs(snap): Remove auto-connection note , update docs version to 2.3" First time build. Skipping changelog. > git rev-list --no-walk 87c34b9d698355bd5554c90b86d2eaa526c612d3 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-08-12T06:27:22.206Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-08-12T06:27:22.266Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-08-12T06:27:22.278Z] ========================================================= [2022-08-12T06:27:22.278Z] EdgeX Global Pipelines Version Info [2022-08-12T06:27:22.278Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-08-12T06:27:23.029Z] ------------------- [2022-08-12T06:27:23.029Z] stable info: [2022-08-12T06:27:23.029Z] ------------------- [2022-08-12T06:27:23.029Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-12T06:27:23.029Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-12T06:27:23.029Z] Message: update stable to v1.0.238 [2022-08-12T06:27:23.603Z] ------------------- [2022-08-12T06:27:23.603Z] experimental info: [2022-08-12T06:27:23.603Z] ------------------- [2022-08-12T06:27:23.603Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-12T06:27:23.603Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-12T06:27:23.603Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-08-12T06:27:23.796Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2022-08-12T06:27:23.809Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2022-08-12T06:27:23.823Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-08-12T06:27:23.835Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-08-12T06:27:23.847Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-08-12T06:27:23.862Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-08-12T06:27:23.873Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-08-12T06:27:23.886Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-08-12T06:27:23.898Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-08-12T06:27:23.911Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-08-12T06:27:23.924Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-08-12T06:27:23.939Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2022-08-12T06:27:23.952Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-08-12T06:27:23.963Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-08-12T06:27:23.975Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-08-12T06:27:23.989Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-08-12T06:27:23.999Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-08-12T06:27:24.010Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-08-12T06:27:24.024Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-08-12T06:27:24.035Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-08-12T06:27:24.047Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-08-12T06:27:24.064Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-08-12T06:27:24.079Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-08-12T06:27:24.089Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-08-12T06:27:24.100Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-08-12T06:27:24.113Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-08-12T06:27:24.128Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-08-12T06:27:24.140Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-300 [Pipeline] echo [2022-08-12T06:27:24.157Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-300 [Pipeline] echo [2022-08-12T06:27:24.166Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-300 [Pipeline] echo [2022-08-12T06:27:24.179Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4b178002e221fe3f5b3d3ae238b1d54201d7be48 [Pipeline] echo [2022-08-12T06:27:24.190Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4b17800 [Pipeline] echo [2022-08-12T06:27:24.206Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-12T06:27:24.260Z] provisioning config files... [2022-08-12T06:27:24.275Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-300@tmp/config7466711853591841533tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-12T06:27:24.609Z] ---> docker-login.sh [2022-08-12T06:27:24.609Z] nexus3.edgexfoundry.org:10001 [2022-08-12T06:27:24.870Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T06:27:25.132Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T06:27:25.132Z] Configure a credential helper to remove this warning. See [2022-08-12T06:27:25.132Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T06:27:25.132Z] [2022-08-12T06:27:25.132Z] Login Succeeded [2022-08-12T06:27:25.132Z] nexus3.edgexfoundry.org:10002 [2022-08-12T06:27:25.132Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T06:27:25.394Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T06:27:25.394Z] Configure a credential helper to remove this warning. See [2022-08-12T06:27:25.394Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T06:27:25.394Z] [2022-08-12T06:27:25.394Z] Login Succeeded [2022-08-12T06:27:25.394Z] nexus3.edgexfoundry.org:10003 [2022-08-12T06:27:25.394Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T06:27:25.394Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T06:27:25.394Z] Configure a credential helper to remove this warning. See [2022-08-12T06:27:25.394Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T06:27:25.394Z] [2022-08-12T06:27:25.394Z] Login Succeeded [2022-08-12T06:27:25.394Z] nexus3.edgexfoundry.org:10004 [2022-08-12T06:27:25.656Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T06:27:25.656Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T06:27:25.656Z] Configure a credential helper to remove this warning. See [2022-08-12T06:27:25.656Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T06:27:25.656Z] [2022-08-12T06:27:25.656Z] Login Succeeded [2022-08-12T06:27:25.656Z] docker.io [2022-08-12T06:27:25.656Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T06:27:25.918Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T06:27:25.918Z] Configure a credential helper to remove this warning. See [2022-08-12T06:27:25.918Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T06:27:25.918Z] [2022-08-12T06:27:25.918Z] Login Succeeded [2022-08-12T06:27:25.918Z] ---> docker-login.sh ends [Pipeline] } [2022-08-12T06:27:25.927Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-08-12T06:27:26.313Z] + git rev-list -1 --merges 4b178002e221fe3f5b3d3ae238b1d54201d7be48~1..4b178002e221fe3f5b3d3ae238b1d54201d7be48 [Pipeline] echo [2022-08-12T06:27:26.436Z] -----------> git rev-list -1 --merges 4b178002e221fe3f5b3d3ae238b1d54201d7be48~1..4b178002e221fe3f5b3d3ae238b1d54201d7be48 4b178002e221fe3f5b3d3ae238b1d54201d7be48 [false] [Pipeline] sh [2022-08-12T06:27:26.732Z] + git log --format=format:%s -1 4b178002e221fe3f5b3d3ae238b1d54201d7be48 [Pipeline] echo [2022-08-12T06:27:26.749Z] ========================================================= [2022-08-12T06:27:26.749Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-08-12T06:27:26.749Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-12T06:27:27.091Z] + git log --format=format:%s -1 4b178002e221fe3f5b3d3ae238b1d54201d7be48 [Pipeline] echo [2022-08-12T06:27:27.105Z] [semverPrep] GIT_COMMIT: 4b178002e221fe3f5b3d3ae238b1d54201d7be48, Commit Message: docs(snap): Remove auto-connection note , update docs version to 2.3 [Pipeline] echo [2022-08-12T06:27:27.114Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-08-12T06:27:27.478Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-12T06:27:27.478Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-08-12T06:27:27.478Z] + [ -e /tmp/ssh_known_hosts ] [2022-08-12T06:27:27.478Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-08-12T06:27:27.478Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-08-12T06:27:27.478Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-08-12T06:27:27.478Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T06:27:27.849Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-12T06:27:27.849Z] [2022-08-12T06:27:27.849Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T06:27:28.170Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-12T06:27:28.170Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-08-12T06:27:28.170Z] b85a868b505f: Pulling fs layer [2022-08-12T06:27:28.170Z] e2be974225ed: Pulling fs layer [2022-08-12T06:27:28.170Z] 339a4e72a1f5: Pulling fs layer [2022-08-12T06:27:28.170Z] 988bab9f4d93: Pulling fs layer [2022-08-12T06:27:28.170Z] 1469e6f7b9e6: Pulling fs layer [2022-08-12T06:27:28.170Z] eaf3925da568: Pulling fs layer [2022-08-12T06:27:28.170Z] bab4dde63d76: Pulling fs layer [2022-08-12T06:27:28.170Z] bde34c3a00c8: Pulling fs layer [2022-08-12T06:27:28.170Z] b352a97aabf1: Pulling fs layer [2022-08-12T06:27:28.170Z] 4872d77fe225: Pulling fs layer [2022-08-12T06:27:28.170Z] 5851b861e8e6: Pulling fs layer [2022-08-12T06:27:28.170Z] bde34c3a00c8: Waiting [2022-08-12T06:27:28.170Z] 1469e6f7b9e6: Waiting [2022-08-12T06:27:28.170Z] eaf3925da568: Waiting [2022-08-12T06:27:28.170Z] b352a97aabf1: Waiting [2022-08-12T06:27:28.170Z] 4872d77fe225: Waiting [2022-08-12T06:27:28.170Z] bab4dde63d76: Waiting [2022-08-12T06:27:28.170Z] 5851b861e8e6: Waiting [2022-08-12T06:27:28.170Z] e2be974225ed: Download complete [2022-08-12T06:27:28.170Z] 988bab9f4d93: Download complete [2022-08-12T06:27:28.170Z] 1469e6f7b9e6: Verifying Checksum [2022-08-12T06:27:28.170Z] 1469e6f7b9e6: Download complete [2022-08-12T06:27:28.431Z] eaf3925da568: Verifying Checksum [2022-08-12T06:27:28.431Z] eaf3925da568: Download complete [2022-08-12T06:27:28.431Z] 339a4e72a1f5: Verifying Checksum [2022-08-12T06:27:28.431Z] 339a4e72a1f5: Download complete [2022-08-12T06:27:28.431Z] bde34c3a00c8: Verifying Checksum [2022-08-12T06:27:28.431Z] bde34c3a00c8: Download complete [2022-08-12T06:27:28.431Z] b352a97aabf1: Verifying Checksum [2022-08-12T06:27:28.431Z] b352a97aabf1: Download complete [2022-08-12T06:27:28.431Z] 4872d77fe225: Verifying Checksum [2022-08-12T06:27:28.431Z] 4872d77fe225: Download complete [2022-08-12T06:27:28.431Z] 5851b861e8e6: Verifying Checksum [2022-08-12T06:27:28.431Z] 5851b861e8e6: Download complete [2022-08-12T06:27:28.431Z] b85a868b505f: Download complete [2022-08-12T06:27:28.692Z] bab4dde63d76: Verifying Checksum [2022-08-12T06:27:28.692Z] bab4dde63d76: Download complete [2022-08-12T06:27:30.076Z] b85a868b505f: Pull complete [2022-08-12T06:27:30.076Z] e2be974225ed: Pull complete [2022-08-12T06:27:30.651Z] 339a4e72a1f5: Pull complete [2022-08-12T06:27:30.651Z] 988bab9f4d93: Pull complete [2022-08-12T06:27:30.913Z] 1469e6f7b9e6: Pull complete [2022-08-12T06:27:30.913Z] eaf3925da568: Pull complete [2022-08-12T06:27:33.457Z] bab4dde63d76: Pull complete [2022-08-12T06:27:33.457Z] bde34c3a00c8: Pull complete [2022-08-12T06:27:33.457Z] b352a97aabf1: Pull complete [2022-08-12T06:27:33.457Z] 4872d77fe225: Pull complete [2022-08-12T06:27:33.457Z] 5851b861e8e6: Pull complete [2022-08-12T06:27:33.457Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-08-12T06:27:33.457Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-12T06:27:33.457Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-12T06:27:33.571Z] prd-ubuntu20.04-docker-8c-8g-22582 does not seem to be running inside a container [2022-08-12T06:27:33.609Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-300 -v /w/workspace/foundry_device-virtual-go_PR-300:/w/workspace/foundry_device-virtual-go_PR-300:rw,z -v /w/workspace/foundry_device-virtual-go_PR-300@tmp:/w/workspace/foundry_device-virtual-go_PR-300@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-08-12T06:27:35.164Z] $ docker top 0d3424b0b9d20986e6c8959895d2d3b33b9fe99efc478ad75bd7409d97ca6d95 -eo pid,comm [2022-08-12T06:27:35.236Z] 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-08-12T06:27:35.236Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-12T06:27:35.274Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-12T06:27:35.275Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-12T06:27:35.406Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-12T06:27:35.410Z] $ docker exec 0d3424b0b9d20986e6c8959895d2d3b33b9fe99efc478ad75bd7409d97ca6d95 ssh-agent [2022-08-12T06:27:35.540Z] SSH_AUTH_SOCK=/tmp/ssh-of3qystJQWJV/agent.32 [2022-08-12T06:27:35.540Z] SSH_AGENT_PID=39 [2022-08-12T06:27:35.546Z] Running ssh-add (command line suppressed) [2022-08-12T06:27:35.680Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-300@tmp/private_key_3273457535374535697.key (/w/workspace/foundry_device-virtual-go_PR-300@tmp/private_key_3273457535374535697.key) [2022-08-12T06:27:35.699Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-12T06:27:36.001Z] + git tag --points-at HEAD [Pipeline] } [2022-08-12T06:27:36.017Z] $ docker exec --env ******** --env ******** 0d3424b0b9d20986e6c8959895d2d3b33b9fe99efc478ad75bd7409d97ca6d95 ssh-agent -k [2022-08-12T06:27:36.157Z] unset SSH_AUTH_SOCK; [2022-08-12T06:27:36.159Z] unset SSH_AGENT_PID; [2022-08-12T06:27:36.159Z] echo Agent pid 39 killed; [2022-08-12T06:27:36.171Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-08-12T06:27:36.200Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-12T06:27:36.200Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-12T06:27:36.343Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-12T06:27:36.347Z] $ docker exec 0d3424b0b9d20986e6c8959895d2d3b33b9fe99efc478ad75bd7409d97ca6d95 ssh-agent [2022-08-12T06:27:36.467Z] SSH_AUTH_SOCK=/tmp/ssh-V0QANUEbER8l/agent.73 [2022-08-12T06:27:36.467Z] SSH_AGENT_PID=79 [2022-08-12T06:27:36.473Z] Running ssh-add (command line suppressed) [2022-08-12T06:27:36.596Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-300@tmp/private_key_3177303333802405521.key (/w/workspace/foundry_device-virtual-go_PR-300@tmp/private_key_3177303333802405521.key) [2022-08-12T06:27:36.611Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-12T06:27:36.906Z] + git semver init [2022-08-12T06:27:37.168Z] 2022-08-12 06:27:37,098 [run_init] DEBUG init version:0.0.0 force:False [2022-08-12T06:27:37.168Z] 2022-08-12 06:27:37,099 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-300/.semver [2022-08-12T06:27:37.168Z] 2022-08-12 06:27:37,099 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-300/.semver [2022-08-12T06:27:37.168Z] 2022-08-12 06:27:37,100 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-300/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-300, universal_newlines=False, shell=None, istream=None) [2022-08-12T06:27:38.115Z] 2022-08-12 06:27:38,036 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-300/.git/info/exclude [2022-08-12T06:27:38.115Z] 2022-08-12 06:27:38,037 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-300/.semver/PR-300 with force:False [2022-08-12T06:27:38.115Z] 2022-08-12 06:27:38,037 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-300/.semver/PR-300 [2022-08-12T06:27:38.115Z] 2022-08-12 06:27:38,042 [execute] INFO git cat-file --batch-check [2022-08-12T06:27:38.115Z] 2022-08-12 06:27:38,043 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-300/.semver, universal_newlines=False, shell=None, istream=) [2022-08-12T06:27:38.115Z] 2022-08-12 06:27:38,050 [execute] INFO git cat-file --batch [2022-08-12T06:27:38.115Z] 2022-08-12 06:27:38,050 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-300/.semver, universal_newlines=False, shell=None, istream=) [2022-08-12T06:27:38.115Z] 2022-08-12 06:27:38,057 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-300/.semver/PR-300 [2022-08-12T06:27:38.115Z] 0.0.0 [Pipeline] } [2022-08-12T06:27:38.128Z] $ docker exec --env ******** --env ******** 0d3424b0b9d20986e6c8959895d2d3b33b9fe99efc478ad75bd7409d97ca6d95 ssh-agent -k [2022-08-12T06:27:38.247Z] unset SSH_AUTH_SOCK; [2022-08-12T06:27:38.247Z] unset SSH_AGENT_PID; [2022-08-12T06:27:38.248Z] echo Agent pid 79 killed; [2022-08-12T06:27:38.260Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-12T06:27:38.575Z] + git semver [Pipeline] } [2022-08-12T06:27:38.855Z] $ docker stop --time=1 0d3424b0b9d20986e6c8959895d2d3b33b9fe99efc478ad75bd7409d97ca6d95 [2022-08-12T06:27:40.195Z] $ docker rm -f 0d3424b0b9d20986e6c8959895d2d3b33b9fe99efc478ad75bd7409d97ca6d95 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-12T06:27:40.561Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-08-12T06:27:40.837Z] Stashed 1 file(s) [Pipeline] echo [2022-08-12T06:27:40.840Z] [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-08-12T06:27:40.988Z] provisioning config files... [2022-08-12T06:27:40.999Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-300@tmp/config7182533299149276542tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-12T06:27:41.299Z] ---> docker-login.sh [2022-08-12T06:27:41.299Z] nexus3.edgexfoundry.org:10001 [2022-08-12T06:27:41.299Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T06:27:41.299Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T06:27:41.299Z] Configure a credential helper to remove this warning. See [2022-08-12T06:27:41.299Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T06:27:41.299Z] [2022-08-12T06:27:41.299Z] Login Succeeded [2022-08-12T06:27:41.299Z] nexus3.edgexfoundry.org:10002 [2022-08-12T06:27:41.299Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T06:27:41.561Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T06:27:41.561Z] Configure a credential helper to remove this warning. See [2022-08-12T06:27:41.561Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T06:27:41.561Z] [2022-08-12T06:27:41.561Z] Login Succeeded [2022-08-12T06:27:41.561Z] nexus3.edgexfoundry.org:10003 [2022-08-12T06:27:41.561Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T06:27:41.561Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T06:27:41.561Z] Configure a credential helper to remove this warning. See [2022-08-12T06:27:41.561Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T06:27:41.561Z] [2022-08-12T06:27:41.561Z] Login Succeeded [2022-08-12T06:27:41.561Z] nexus3.edgexfoundry.org:10004 [2022-08-12T06:27:41.561Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T06:27:41.826Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T06:27:41.826Z] Configure a credential helper to remove this warning. See [2022-08-12T06:27:41.826Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T06:27:41.826Z] [2022-08-12T06:27:41.826Z] Login Succeeded [2022-08-12T06:27:41.826Z] docker.io [2022-08-12T06:27:41.826Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T06:27:42.088Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T06:27:42.088Z] Configure a credential helper to remove this warning. See [2022-08-12T06:27:42.088Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T06:27:42.088Z] [2022-08-12T06:27:42.088Z] Login Succeeded [2022-08-12T06:27:42.088Z] ---> docker-login.sh ends [Pipeline] } [2022-08-12T06:27:42.098Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-12T06:27:42.169Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-12T06:27:42.187Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-12T06:27:42.198Z] ========================================================= [2022-08-12T06:27:42.198Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-08-12T06:27:42.198Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T06:27:42.528Z] + 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-08-12T06:27:42.528Z] Sending build context to Docker daemon 23.12MB [2022-08-12T06:27:42.528Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-08-12T06:27:42.528Z] Step 2/12 : FROM ${BASE} AS builder [2022-08-12T06:27:42.790Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-08-12T06:27:42.790Z] 2408cc74d12b: Pulling fs layer [2022-08-12T06:27:42.790Z] ea60b727a1ce: Pulling fs layer [2022-08-12T06:27:42.790Z] 30c4a7721957: Pulling fs layer [2022-08-12T06:27:42.790Z] 370296b7ddb6: Pulling fs layer [2022-08-12T06:27:42.790Z] 7c6cee850709: Pulling fs layer [2022-08-12T06:27:42.790Z] 39a5fcdaea64: Pulling fs layer [2022-08-12T06:27:42.790Z] d94ebbe4e438: Pulling fs layer [2022-08-12T06:27:42.790Z] bcfd1f05c69d: Pulling fs layer [2022-08-12T06:27:42.790Z] 59ccb84bbe0f: Pulling fs layer [2022-08-12T06:27:42.790Z] 370296b7ddb6: Waiting [2022-08-12T06:27:42.790Z] 7c6cee850709: Waiting [2022-08-12T06:27:42.790Z] 39a5fcdaea64: Waiting [2022-08-12T06:27:42.790Z] d94ebbe4e438: Waiting [2022-08-12T06:27:42.790Z] bcfd1f05c69d: Waiting [2022-08-12T06:27:42.790Z] 59ccb84bbe0f: Waiting [2022-08-12T06:27:42.790Z] 30c4a7721957: Verifying Checksum [2022-08-12T06:27:42.790Z] 30c4a7721957: Download complete [2022-08-12T06:27:42.790Z] ea60b727a1ce: Verifying Checksum [2022-08-12T06:27:42.790Z] ea60b727a1ce: Download complete [2022-08-12T06:27:42.790Z] 7c6cee850709: Verifying Checksum [2022-08-12T06:27:42.790Z] 7c6cee850709: Download complete [2022-08-12T06:27:42.790Z] 39a5fcdaea64: Verifying Checksum [2022-08-12T06:27:42.790Z] 39a5fcdaea64: Download complete [2022-08-12T06:27:42.790Z] 2408cc74d12b: Verifying Checksum [2022-08-12T06:27:42.790Z] d94ebbe4e438: Verifying Checksum [2022-08-12T06:27:42.790Z] d94ebbe4e438: Download complete [2022-08-12T06:27:43.058Z] 2408cc74d12b: Pull complete [2022-08-12T06:27:43.058Z] ea60b727a1ce: Pull complete [2022-08-12T06:27:43.320Z] 30c4a7721957: Pull complete [2022-08-12T06:27:43.321Z] 59ccb84bbe0f: Verifying Checksum [2022-08-12T06:27:43.321Z] 59ccb84bbe0f: Download complete [2022-08-12T06:27:43.321Z] bcfd1f05c69d: Verifying Checksum [2022-08-12T06:27:43.321Z] bcfd1f05c69d: Download complete [2022-08-12T06:27:43.581Z] 370296b7ddb6: Verifying Checksum [2022-08-12T06:27:43.581Z] 370296b7ddb6: Download complete [2022-08-12T06:27:47.780Z] 370296b7ddb6: Pull complete [2022-08-12T06:27:47.780Z] 7c6cee850709: Pull complete [2022-08-12T06:27:47.780Z] 39a5fcdaea64: Pull complete [2022-08-12T06:27:48.038Z] d94ebbe4e438: Pull complete [2022-08-12T06:27:49.946Z] bcfd1f05c69d: Pull complete [2022-08-12T06:27:50.890Z] 59ccb84bbe0f: Pull complete [2022-08-12T06:27:50.890Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-08-12T06:27:50.890Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-08-12T06:27:50.890Z] ---> a4fb48ad2a94 [2022-08-12T06:27:50.890Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-12T06:27:52.812Z] ---> Running in 6809407cdcb2 [2022-08-12T06:27:52.812Z] Removing intermediate container 6809407cdcb2 [2022-08-12T06:27:52.812Z] ---> 6fca486f65f7 [2022-08-12T06:27:52.812Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-08-12T06:27:52.812Z] ---> Running in db9fce49b854 [2022-08-12T06:27:52.812Z] Removing intermediate container db9fce49b854 [2022-08-12T06:27:52.812Z] ---> 0679d5ef8402 [2022-08-12T06:27:52.812Z] Step 5/12 : WORKDIR /device-virtual-go [2022-08-12T06:27:52.812Z] ---> Running in 632a39088fde [2022-08-12T06:27:53.073Z] Removing intermediate container 632a39088fde [2022-08-12T06:27:53.073Z] ---> 4b20ee2b28df [2022-08-12T06:27:53.073Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-12T06:27:53.073Z] ---> Running in c8c68c5ddcb1 [2022-08-12T06:27:53.644Z] Removing intermediate container c8c68c5ddcb1 [2022-08-12T06:27:53.644Z] ---> 2bd1d6c4e3a1 [2022-08-12T06:27:53.644Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-12T06:27:53.644Z] ---> Running in 5c750cc25c58 [2022-08-12T06:27:53.905Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-12T06:27:54.847Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-12T06:27:55.109Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-08-12T06:27:55.369Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-08-12T06:27:55.369Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-08-12T06:27:55.369Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-08-12T06:27:55.644Z] Executing busybox-1.35.0-r13.trigger [2022-08-12T06:27:55.644Z] OK: 216 MiB in 55 packages [2022-08-12T06:27:55.906Z] Removing intermediate container 5c750cc25c58 [2022-08-12T06:27:55.906Z] ---> 40c69ff6429d [2022-08-12T06:27:55.906Z] Step 8/12 : COPY go.mod vendor* ./ [2022-08-12T06:27:55.958Z] Still waiting to schedule task [2022-08-12T06:27:55.958Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-08-12T06:27:56.166Z] ---> 267bf81e3054 [2022-08-12T06:27:56.166Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-12T06:27:56.166Z] ---> Running in 780459c699ea [2022-08-12T06:28:14.287Z] Removing intermediate container 780459c699ea [2022-08-12T06:28:14.287Z] ---> dad243cce93d [2022-08-12T06:28:14.287Z] Step 10/12 : COPY . . [2022-08-12T06:28:14.860Z] ---> ba5f0671fe09 [2022-08-12T06:28:14.860Z] Step 11/12 : ARG MAKE='make build' [2022-08-12T06:28:14.860Z] ---> Running in 442d9defd068 [2022-08-12T06:28:14.860Z] Removing intermediate container 442d9defd068 [2022-08-12T06:28:14.860Z] ---> f324aa1c2664 [2022-08-12T06:28:14.860Z] Step 12/12 : RUN $MAKE [2022-08-12T06:28:14.860Z] ---> Running in 5b82188494b7 [2022-08-12T06:28:15.123Z] noop [2022-08-12T06:28:15.385Z] Removing intermediate container 5b82188494b7 [2022-08-12T06:28:15.385Z] ---> 7d007a0a7583 [2022-08-12T06:28:15.385Z] Successfully built 7d007a0a7583 [2022-08-12T06:28:15.385Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T06:28:15.707Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-12T06:28:15.707Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-12T06:28:15.798Z] prd-ubuntu20.04-docker-8c-8g-22582 does not seem to be running inside a container [2022-08-12T06:28:15.835Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-300 -v /w/workspace/foundry_device-virtual-go_PR-300:/w/workspace/foundry_device-virtual-go_PR-300:rw,z -v /w/workspace/foundry_device-virtual-go_PR-300@tmp:/w/workspace/foundry_device-virtual-go_PR-300@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-08-12T06:28:16.245Z] $ docker top 53a94c9e0b71581016c6abcf0becc268e2531fbee76dc53410c3aafecf357df1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-12T06:28:16.613Z] + go version [2022-08-12T06:28:16.613Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-08-12T06:28:16.625Z] $ docker stop --time=1 53a94c9e0b71581016c6abcf0becc268e2531fbee76dc53410c3aafecf357df1 [2022-08-12T06:28:17.929Z] $ docker rm -f 53a94c9e0b71581016c6abcf0becc268e2531fbee76dc53410c3aafecf357df1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T06:28:18.341Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-12T06:28:18.341Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-12T06:28:18.429Z] prd-ubuntu20.04-docker-8c-8g-22582 does not seem to be running inside a container [2022-08-12T06:28:18.466Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/foundry_device-virtual-go_PR-300 -v /w/workspace/foundry_device-virtual-go_PR-300:/w/workspace/foundry_device-virtual-go_PR-300:rw,z -v /w/workspace/foundry_device-virtual-go_PR-300@tmp:/w/workspace/foundry_device-virtual-go_PR-300@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-08-12T06:28:18.863Z] $ docker top 3517cb9e6fc19bfbd9e30af54819daa8ff8235034edbe1d835a15e259e68b874 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-12T06:28:19.234Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-300 [Pipeline] fileExists [Pipeline] sh [2022-08-12T06:28:19.558Z] + make test [2022-08-12T06:28:19.558Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-08-12T06:28:20.127Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-08-12T06:28:30.112Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-08-12T06:28:30.112Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.045s coverage: 65.7% of statements [2022-08-12T06:28:36.685Z] 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-08-12T06:28:36.685Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-12T06:28:39.222Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-12T06:28:39.222Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-12T06:28:39.222Z] ./bin/test-attribution-txt.sh [2022-08-12T06:28:39.222Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-08-12T06:28:39.222Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-08-12T06:28:39.222Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-08-12T06:28:39.495Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-12T06:28:39.508Z] $ docker stop --time=1 3517cb9e6fc19bfbd9e30af54819daa8ff8235034edbe1d835a15e259e68b874 [2022-08-12T06:28:41.386Z] $ docker rm -f 3517cb9e6fc19bfbd9e30af54819daa8ff8235034edbe1d835a15e259e68b874 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-12T06:28:41.827Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-12T06:28:41.894Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-08-12T06:28:42.339Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-12T06:28:42.638Z] + ls -al . [2022-08-12T06:28:42.638Z] total 192 [2022-08-12T06:28:42.638Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 12 06:28 . [2022-08-12T06:28:42.638Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 12 06:27 .. [2022-08-12T06:28:42.638Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 12 06:28 .git [2022-08-12T06:28:42.638Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 12 06:27 .github [2022-08-12T06:28:42.638Z] -rw-rw-r-- 1 jenkins jenkins 337 Aug 12 06:27 .gitignore [2022-08-12T06:28:42.638Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 12 06:27 .golangci.yml [2022-08-12T06:28:42.638Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 12 06:27 .semver [2022-08-12T06:28:42.638Z] -rw-rw-r-- 1 jenkins jenkins 8152 Aug 12 06:27 Attribution.txt [2022-08-12T06:28:42.638Z] -rw-rw-r-- 1 jenkins jenkins 9649 Aug 12 06:27 CHANGELOG.md [2022-08-12T06:28:42.638Z] -rw-rw-r-- 1 jenkins jenkins 1978 Aug 12 06:27 Dockerfile [2022-08-12T06:28:42.638Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 12 06:27 GOVERNANCE.md [2022-08-12T06:28:42.638Z] -rw-rw-r-- 1 jenkins jenkins 660 Aug 12 06:27 Jenkinsfile [2022-08-12T06:28:42.638Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 12 06:27 LICENSE [2022-08-12T06:28:42.638Z] -rw-rw-r-- 1 jenkins jenkins 2248 Aug 12 06:27 Makefile [2022-08-12T06:28:42.638Z] -rw-rw-r-- 1 jenkins jenkins 623 Aug 12 06:27 OWNERS.md [2022-08-12T06:28:42.638Z] -rw-rw-r-- 1 jenkins jenkins 2914 Aug 12 06:27 README.md [2022-08-12T06:28:42.638Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 12 06:27 VERSION [2022-08-12T06:28:42.638Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 12 06:27 bin [2022-08-12T06:28:42.638Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 12 06:27 cmd [2022-08-12T06:28:42.638Z] -rw-r--r-- 1 jenkins jenkins 44128 Aug 12 06:28 coverage.out [2022-08-12T06:28:42.638Z] -rw-rw-r-- 1 jenkins jenkins 3328 Aug 12 06:27 go.mod [2022-08-12T06:28:42.638Z] -rw-rw-r-- 1 jenkins jenkins 36202 Aug 12 06:27 go.sum [2022-08-12T06:28:42.638Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 12 06:27 internal [2022-08-12T06:28:42.638Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 12 06:27 snap [2022-08-12T06:28:42.638Z] -rw-rw-r-- 1 jenkins jenkins 235 Aug 12 06:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T06:28:42.952Z] + 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=4b178002e221fe3f5b3d3ae238b1d54201d7be48 --label arch=amd64 --label version=0.0.0 . [2022-08-12T06:28:42.952Z] Sending build context to Docker daemon 23.16MB [2022-08-12T06:28:42.952Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-08-12T06:28:42.952Z] Step 2/26 : FROM ${BASE} AS builder [2022-08-12T06:28:42.952Z] ---> 7d007a0a7583 [2022-08-12T06:28:42.952Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-12T06:28:43.213Z] ---> Running in 690a52cbf931 [2022-08-12T06:28:43.213Z] Removing intermediate container 690a52cbf931 [2022-08-12T06:28:43.213Z] ---> 7077ff986f41 [2022-08-12T06:28:43.213Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-08-12T06:28:43.213Z] ---> Running in e0f0de0dd5d4 [2022-08-12T06:28:43.472Z] Removing intermediate container e0f0de0dd5d4 [2022-08-12T06:28:43.472Z] ---> cbe9b9dea198 [2022-08-12T06:28:43.472Z] Step 5/26 : WORKDIR /device-virtual-go [2022-08-12T06:28:43.472Z] ---> Running in cfa72dbf14d9 [2022-08-12T06:28:43.472Z] Removing intermediate container cfa72dbf14d9 [2022-08-12T06:28:43.472Z] ---> 6d2cafa3f426 [2022-08-12T06:28:43.473Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-12T06:28:43.473Z] ---> Running in 24466f90df8f [2022-08-12T06:28:44.044Z] Removing intermediate container 24466f90df8f [2022-08-12T06:28:44.044Z] ---> a58a1393f705 [2022-08-12T06:28:44.044Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-12T06:28:44.305Z] ---> Running in 997b45caeadc [2022-08-12T06:28:44.566Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-12T06:28:45.510Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-12T06:28:45.770Z] OK: 216 MiB in 55 packages [2022-08-12T06:28:46.031Z] Removing intermediate container 997b45caeadc [2022-08-12T06:28:46.031Z] ---> 10dc9b7f0db5 [2022-08-12T06:28:46.031Z] Step 8/26 : COPY go.mod vendor* ./ [2022-08-12T06:28:46.031Z] ---> ffb21d2ead8c [2022-08-12T06:28:46.031Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-12T06:28:46.292Z] ---> Running in 0e77a11ce69e [2022-08-12T06:28:46.864Z] Removing intermediate container 0e77a11ce69e [2022-08-12T06:28:46.864Z] ---> ed00b354ee10 [2022-08-12T06:28:46.864Z] Step 10/26 : COPY . . [2022-08-12T06:28:47.437Z] ---> 4372934f6303 [2022-08-12T06:28:47.438Z] Step 11/26 : ARG MAKE='make build' [2022-08-12T06:28:47.438Z] ---> Running in a9a8c4493ad2 [2022-08-12T06:28:47.438Z] Removing intermediate container a9a8c4493ad2 [2022-08-12T06:28:47.438Z] ---> a88cc12af358 [2022-08-12T06:28:47.438Z] Step 12/26 : RUN $MAKE [2022-08-12T06:28:47.438Z] ---> Running in 38216c3464f2 [2022-08-12T06:28:48.011Z] CGO_ENABLED=1 GO111MODULE=on go build -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-08-12T06:29:09.974Z] Removing intermediate container 38216c3464f2 [2022-08-12T06:29:09.974Z] ---> c1b853998b99 [2022-08-12T06:29:09.974Z] Step 13/26 : FROM alpine:3.16 [2022-08-12T06:29:09.974Z] 3.16: Pulling from library/alpine [2022-08-12T06:29:09.974Z] 213ec9aee27d: Pulling fs layer [2022-08-12T06:29:09.974Z] 213ec9aee27d: Verifying Checksum [2022-08-12T06:29:09.974Z] 213ec9aee27d: Download complete [2022-08-12T06:29:09.974Z] 213ec9aee27d: Pull complete [2022-08-12T06:29:09.974Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-12T06:29:09.974Z] Status: Downloaded newer image for alpine:3.16 [2022-08-12T06:29:09.974Z] ---> 9c6f07244728 [2022-08-12T06:29:09.974Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-08-12T06:29:09.974Z] ---> Running in ee499717d920 [2022-08-12T06:29:09.974Z] Removing intermediate container ee499717d920 [2022-08-12T06:29:09.974Z] ---> 4703f5f1a3b3 [2022-08-12T06:29:09.974Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-12T06:29:09.974Z] ---> Running in d5418409fff9 [2022-08-12T06:29:09.974Z] Removing intermediate container d5418409fff9 [2022-08-12T06:29:09.974Z] ---> 94a298f20dad [2022-08-12T06:29:09.974Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-12T06:29:09.974Z] ---> Running in 2b9c006ba215 [2022-08-12T06:29:09.974Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-12T06:29:09.974Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-12T06:29:09.974Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-12T06:29:10.236Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-08-12T06:29:10.236Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-12T06:29:10.236Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-12T06:29:10.496Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-12T06:29:10.496Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-12T06:29:10.496Z] Executing busybox-1.35.0-r17.trigger [2022-08-12T06:29:10.496Z] OK: 8 MiB in 20 packages [2022-08-12T06:29:11.067Z] Removing intermediate container 2b9c006ba215 [2022-08-12T06:29:11.067Z] ---> fba54ba32307 [2022-08-12T06:29:11.067Z] Step 17/26 : WORKDIR / [2022-08-12T06:29:11.067Z] ---> Running in 94d92b5760bb [2022-08-12T06:29:11.067Z] Removing intermediate container 94d92b5760bb [2022-08-12T06:29:11.067Z] ---> 2379e3b3e223 [2022-08-12T06:29:11.067Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-08-12T06:29:11.329Z] ---> a0f5011a088b [2022-08-12T06:29:11.329Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-08-12T06:29:11.329Z] ---> cfe3810dc27f [2022-08-12T06:29:11.329Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-08-12T06:29:11.902Z] ---> ed83adc33041 [2022-08-12T06:29:11.902Z] Step 21/26 : EXPOSE 59900 [2022-08-12T06:29:12.163Z] ---> Running in e305dde91308 [2022-08-12T06:29:12.163Z] Removing intermediate container e305dde91308 [2022-08-12T06:29:12.163Z] ---> b396c46efd1b [2022-08-12T06:29:12.163Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-08-12T06:29:12.163Z] ---> Running in ee4478c389b8 [2022-08-12T06:29:12.424Z] Removing intermediate container ee4478c389b8 [2022-08-12T06:29:12.424Z] ---> ccd27d77e354 [2022-08-12T06:29:12.424Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-12T06:29:12.424Z] ---> Running in 0c10a15ec343 [2022-08-12T06:29:12.424Z] Removing intermediate container 0c10a15ec343 [2022-08-12T06:29:12.424Z] ---> fa6baee3fa7c [2022-08-12T06:29:12.424Z] Step 24/26 : LABEL arch=amd64 [2022-08-12T06:29:12.424Z] ---> Running in 9a7fc27c055c [2022-08-12T06:29:12.684Z] Removing intermediate container 9a7fc27c055c [2022-08-12T06:29:12.684Z] ---> ab48ea1f0e92 [2022-08-12T06:29:12.684Z] Step 25/26 : LABEL git_sha=4b178002e221fe3f5b3d3ae238b1d54201d7be48 [2022-08-12T06:29:12.684Z] ---> Running in 7582568b87d4 [2022-08-12T06:29:12.684Z] Removing intermediate container 7582568b87d4 [2022-08-12T06:29:12.684Z] ---> a9a671817db8 [2022-08-12T06:29:12.684Z] Step 26/26 : LABEL version=0.0.0 [2022-08-12T06:29:12.684Z] ---> Running in e0b2768dda6e [2022-08-12T06:29:12.945Z] Removing intermediate container e0b2768dda6e [2022-08-12T06:29:12.946Z] ---> 9e97a2e23bf9 [2022-08-12T06:29:12.946Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-12T06:29:12.946Z] Successfully built 9e97a2e23bf9 [2022-08-12T06:29:12.946Z] 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-08-12T06:29:13.376Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-12T06:29:13.376Z] [2022-08-12T06:29:13.376Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T06:29:13.683Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-12T06:29:13.683Z] latest: Pulling from edgex-lftools-log-publisher [2022-08-12T06:29:13.683Z] 5eb5b503b376: Pulling fs layer [2022-08-12T06:29:13.683Z] 5c69ac0246d0: Pulling fs layer [2022-08-12T06:29:13.683Z] ec43610c2a17: Pulling fs layer [2022-08-12T06:29:13.683Z] 3a2ae6a8a46f: Pulling fs layer [2022-08-12T06:29:13.683Z] 33b1e0a273af: Pulling fs layer [2022-08-12T06:29:13.683Z] 5d3b04190fa2: Pulling fs layer [2022-08-12T06:29:13.683Z] 2f39f015ded8: Pulling fs layer [2022-08-12T06:29:13.683Z] 5d3b04190fa2: Waiting [2022-08-12T06:29:13.683Z] 3a2ae6a8a46f: Waiting [2022-08-12T06:29:13.683Z] 2f39f015ded8: Waiting [2022-08-12T06:29:13.683Z] 33b1e0a273af: Waiting [2022-08-12T06:29:13.683Z] 5c69ac0246d0: Verifying Checksum [2022-08-12T06:29:13.683Z] 5c69ac0246d0: Download complete [2022-08-12T06:29:13.683Z] 3a2ae6a8a46f: Verifying Checksum [2022-08-12T06:29:13.683Z] 3a2ae6a8a46f: Download complete [2022-08-12T06:29:13.683Z] 33b1e0a273af: Verifying Checksum [2022-08-12T06:29:13.683Z] 33b1e0a273af: Download complete [2022-08-12T06:29:13.683Z] 5d3b04190fa2: Verifying Checksum [2022-08-12T06:29:13.683Z] 5d3b04190fa2: Download complete [2022-08-12T06:29:13.944Z] ec43610c2a17: Verifying Checksum [2022-08-12T06:29:13.944Z] ec43610c2a17: Download complete [2022-08-12T06:29:13.944Z] 5eb5b503b376: Download complete [2022-08-12T06:29:14.513Z] 2f39f015ded8: Download complete [2022-08-12T06:29:15.084Z] 5eb5b503b376: Pull complete [2022-08-12T06:29:15.342Z] 5c69ac0246d0: Pull complete [2022-08-12T06:29:15.910Z] ec43610c2a17: Pull complete [2022-08-12T06:29:15.910Z] 3a2ae6a8a46f: Pull complete [2022-08-12T06:29:16.170Z] 33b1e0a273af: Pull complete [2022-08-12T06:29:16.170Z] 5d3b04190fa2: Pull complete [2022-08-12T06:29:21.451Z] 2f39f015ded8: Pull complete [2022-08-12T06:29:21.451Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-08-12T06:29:21.451Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-12T06:29:21.451Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-12T06:29:21.550Z] prd-ubuntu20.04-docker-8c-8g-22582 does not seem to be running inside a container [2022-08-12T06:29:21.580Z] $ 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-300 -v /w/workspace/foundry_device-virtual-go_PR-300:/w/workspace/foundry_device-virtual-go_PR-300:rw,z -v /w/workspace/foundry_device-virtual-go_PR-300@tmp:/w/workspace/foundry_device-virtual-go_PR-300@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-12T06:29:23.465Z] $ docker top 21249c5e5df5e5c6935bf62a7d819c5530969e4e0c67cc89bf72c8ccbd938120 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-12T06:29:23.852Z] ---> job-cost.sh [2022-08-12T06:29:23.852Z] lf-activate-venv: SKIPPING [2022-08-12T06:29:23.852Z] INFO: No Stack... [2022-08-12T06:29:24.111Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-12T06:29:24.683Z] INFO: Archiving Costs [Pipeline] sh [2022-08-12T06:29:24.976Z] + cat /w/workspace/foundry_device-virtual-go_PR-300/archives/cost.csv [2022-08-12T06:29:24.976Z] + cut -d, -f6 [Pipeline] lock [2022-08-12T06:29:24.989Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-300-3-stack-cost] [2022-08-12T06:29:24.996Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-300-3-stack-cost] did not exist. Created. [2022-08-12T06:29:24.996Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-300-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-12T06:29:25.299Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-08-12T06:29:25.334Z] Stashed 1 file(s) [Pipeline] } [2022-08-12T06:29:25.340Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-300-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-12T06:29:25.361Z] $ docker stop --time=1 21249c5e5df5e5c6935bf62a7d819c5530969e4e0c67cc89bf72c8ccbd938120 [2022-08-12T06:29:26.527Z] $ docker rm -f 21249c5e5df5e5c6935bf62a7d819c5530969e4e0c67cc89bf72c8ccbd938120 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-08-12T06:29:37.502Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-22583 in /w/workspace/foundry_device-virtual-go_PR-300 [Pipeline] { [Pipeline] ws [2022-08-12T06:29:37.515Z] Running in /w/workspace/device-virtual-go/3 [Pipeline] { [Pipeline] checkout [2022-08-12T06:29:37.580Z] The recommended git tool is: git [2022-08-12T06:29:44.314Z] using credential edgex-jenkins-ssh [2022-08-12T06:29:44.333Z] Cloning the remote Git repository [2022-08-12T06:29:44.402Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2022-08-12T06:29:44.506Z] > git init /w/workspace/device-virtual-go/3 # timeout=10 [2022-08-12T06:29:44.594Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-08-12T06:29:44.595Z] > git --version # timeout=10 [2022-08-12T06:29:44.623Z] > git --version # 'git version 2.25.1' [2022-08-12T06:29:44.628Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-12T06:29:44.746Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-12T06:29:47.309Z] Merging remotes/origin/main commit b155924b7e348e7f4c6bc2e32e3176dc0fde7f12 into PR head commit 4b178002e221fe3f5b3d3ae238b1d54201d7be48 [2022-08-12T06:29:47.518Z] Merge succeeded, producing 4b178002e221fe3f5b3d3ae238b1d54201d7be48 [2022-08-12T06:29:47.518Z] Checking out Revision 4b178002e221fe3f5b3d3ae238b1d54201d7be48 (PR-300) [2022-08-12T06:29:46.716Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-08-12T06:29:46.736Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-12T06:29:46.764Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-08-12T06:29:46.795Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-08-12T06:29:46.796Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-12T06:29:46.810Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/300/head:refs/remotes/origin/PR-300 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-08-12T06:29:47.329Z] > git config core.sparsecheckout # timeout=10 [2022-08-12T06:29:47.350Z] > git checkout -f 4b178002e221fe3f5b3d3ae238b1d54201d7be48 # timeout=10 [2022-08-12T06:29:47.437Z] > git remote # timeout=10 [2022-08-12T06:29:47.453Z] > git config --get remote.origin.url # timeout=10 [2022-08-12T06:29:47.465Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-12T06:29:47.477Z] > git merge b155924b7e348e7f4c6bc2e32e3176dc0fde7f12 # timeout=10 [2022-08-12T06:29:47.501Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-08-12T06:29:47.527Z] > git config core.sparsecheckout # timeout=10 [2022-08-12T06:29:47.543Z] > git checkout -f 4b178002e221fe3f5b3d3ae238b1d54201d7be48 # timeout=10 [2022-08-12T06:29:51.654Z] Commit message: "docs(snap): Remove auto-connection note , update docs version to 2.3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-12T06:29:52.491Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-08-12T06:29:52.491Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-12T06:29:52.491Z] Dload Upload Total Spent Left Speed [2022-08-12T06:29:52.491Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 97102 0 --:--:-- --:--:-- --:--:-- 97102 [Pipeline] sh [2022-08-12T06:29:53.163Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-08-12T06:29:53.548Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-08-12T06:29:53.548Z] + sudo tee /etc/docker/daemon.new [2022-08-12T06:29:53.548Z] { [2022-08-12T06:29:53.548Z] "registry-mirrors": [ [2022-08-12T06:29:53.548Z] "https://nexus3.edgexfoundry.org:10001" [2022-08-12T06:29:53.548Z] ], [2022-08-12T06:29:53.548Z] "bip": "10.250.0.254/24", [2022-08-12T06:29:53.548Z] "hosts": [ [2022-08-12T06:29:53.548Z] "tcp://0.0.0.0:5555", [2022-08-12T06:29:53.548Z] "unix:///var/run/docker.sock" [2022-08-12T06:29:53.548Z] ], [2022-08-12T06:29:53.548Z] "mtu": 1458, [2022-08-12T06:29:53.548Z] "selinux-enabled": true, [2022-08-12T06:29:53.548Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-08-12T06:29:53.548Z] } [Pipeline] sh [2022-08-12T06:29:53.891Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-08-12T06:29:54.229Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-12T06:30:12.575Z] provisioning config files... [2022-08-12T06:30:12.601Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/3@tmp/config6515531633343269441tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-12T06:30:12.964Z] ---> docker-login.sh [2022-08-12T06:30:12.964Z] nexus3.edgexfoundry.org:10001 [2022-08-12T06:30:13.564Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T06:30:13.838Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T06:30:13.838Z] Configure a credential helper to remove this warning. See [2022-08-12T06:30:13.838Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T06:30:13.838Z] [2022-08-12T06:30:13.838Z] Login Succeeded [2022-08-12T06:30:13.838Z] nexus3.edgexfoundry.org:10002 [2022-08-12T06:30:14.110Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T06:30:14.111Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T06:30:14.111Z] Configure a credential helper to remove this warning. See [2022-08-12T06:30:14.111Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T06:30:14.111Z] [2022-08-12T06:30:14.111Z] Login Succeeded [2022-08-12T06:30:14.111Z] nexus3.edgexfoundry.org:10003 [2022-08-12T06:30:14.708Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T06:30:14.708Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T06:30:14.708Z] Configure a credential helper to remove this warning. See [2022-08-12T06:30:14.708Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T06:30:14.708Z] [2022-08-12T06:30:14.708Z] Login Succeeded [2022-08-12T06:30:14.708Z] nexus3.edgexfoundry.org:10004 [2022-08-12T06:30:14.985Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T06:30:15.261Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T06:30:15.261Z] Configure a credential helper to remove this warning. See [2022-08-12T06:30:15.261Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T06:30:15.261Z] [2022-08-12T06:30:15.261Z] Login Succeeded [2022-08-12T06:30:15.261Z] docker.io [2022-08-12T06:30:15.534Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T06:30:15.806Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T06:30:15.806Z] Configure a credential helper to remove this warning. See [2022-08-12T06:30:15.806Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T06:30:15.806Z] [2022-08-12T06:30:15.806Z] Login Succeeded [2022-08-12T06:30:15.806Z] ---> docker-login.sh ends [Pipeline] } [2022-08-12T06:30:15.824Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-12T06:30:16.397Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-12T06:30:16.417Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-12T06:30:16.429Z] ========================================================= [2022-08-12T06:30:16.429Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-08-12T06:30:16.429Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T06:30:16.800Z] + 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-08-12T06:30:17.400Z] Sending build context to Docker daemon 11.72MB [2022-08-12T06:30:17.400Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-08-12T06:30:17.400Z] Step 2/12 : FROM ${BASE} AS builder [2022-08-12T06:30:17.400Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-08-12T06:30:17.400Z] b3c136eddcbf: Pulling fs layer [2022-08-12T06:30:17.400Z] c0a3192eca97: Pulling fs layer [2022-08-12T06:30:17.400Z] a050256f5b6f: Pulling fs layer [2022-08-12T06:30:17.400Z] 656be50a0ddc: Pulling fs layer [2022-08-12T06:30:17.400Z] 2bbca73fdf42: Pulling fs layer [2022-08-12T06:30:17.400Z] 46d945488cbd: Pulling fs layer [2022-08-12T06:30:17.400Z] 8a5474983e97: Pulling fs layer [2022-08-12T06:30:17.400Z] 329c88fbcd65: Pulling fs layer [2022-08-12T06:30:17.400Z] 656be50a0ddc: Waiting [2022-08-12T06:30:17.400Z] 2bbca73fdf42: Waiting [2022-08-12T06:30:17.400Z] 46d945488cbd: Waiting [2022-08-12T06:30:17.400Z] 8a5474983e97: Waiting [2022-08-12T06:30:17.400Z] 329c88fbcd65: Waiting [2022-08-12T06:30:17.400Z] a050256f5b6f: Verifying Checksum [2022-08-12T06:30:17.400Z] a050256f5b6f: Download complete [2022-08-12T06:30:17.400Z] c0a3192eca97: Verifying Checksum [2022-08-12T06:30:17.400Z] c0a3192eca97: Download complete [2022-08-12T06:30:17.400Z] 2bbca73fdf42: Verifying Checksum [2022-08-12T06:30:17.400Z] 2bbca73fdf42: Download complete [2022-08-12T06:30:17.400Z] 46d945488cbd: Verifying Checksum [2022-08-12T06:30:17.400Z] 46d945488cbd: Download complete [2022-08-12T06:30:17.400Z] b3c136eddcbf: Verifying Checksum [2022-08-12T06:30:17.400Z] b3c136eddcbf: Download complete [2022-08-12T06:30:18.392Z] b3c136eddcbf: Pull complete [2022-08-12T06:30:18.672Z] 329c88fbcd65: Verifying Checksum [2022-08-12T06:30:18.672Z] 329c88fbcd65: Download complete [2022-08-12T06:30:19.282Z] c0a3192eca97: Pull complete [2022-08-12T06:30:19.282Z] a050256f5b6f: Pull complete [2022-08-12T06:30:19.557Z] 8a5474983e97: Verifying Checksum [2022-08-12T06:30:19.557Z] 8a5474983e97: Download complete [2022-08-12T06:30:20.533Z] 656be50a0ddc: Verifying Checksum [2022-08-12T06:30:20.533Z] 656be50a0ddc: Download complete [2022-08-12T06:30:32.936Z] 656be50a0ddc: Pull complete [2022-08-12T06:30:33.209Z] 2bbca73fdf42: Pull complete [2022-08-12T06:30:33.483Z] 46d945488cbd: Pull complete [2022-08-12T06:30:40.209Z] 8a5474983e97: Pull complete [2022-08-12T06:30:41.652Z] 329c88fbcd65: Pull complete [2022-08-12T06:30:41.652Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-08-12T06:30:41.652Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-08-12T06:30:41.652Z] ---> ff4287adb874 [2022-08-12T06:30:41.652Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-12T06:30:43.625Z] ---> Running in 24567e3ce97a [2022-08-12T06:30:43.898Z] Removing intermediate container 24567e3ce97a [2022-08-12T06:30:43.898Z] ---> 79a5e2479884 [2022-08-12T06:30:43.898Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-08-12T06:30:43.898Z] ---> Running in 09ce6680edb0 [2022-08-12T06:30:44.176Z] Removing intermediate container 09ce6680edb0 [2022-08-12T06:30:44.176Z] ---> 4027d09267d0 [2022-08-12T06:30:44.176Z] Step 5/12 : WORKDIR /device-virtual-go [2022-08-12T06:30:44.451Z] ---> Running in f40579a7bbc6 [2022-08-12T06:30:44.725Z] Removing intermediate container f40579a7bbc6 [2022-08-12T06:30:44.725Z] ---> 55f2a7c8d1ef [2022-08-12T06:30:44.725Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-12T06:30:44.725Z] ---> Running in 73c9b1e24f62 [2022-08-12T06:30:48.137Z] Removing intermediate container 73c9b1e24f62 [2022-08-12T06:30:48.137Z] ---> 330a2bb7aba5 [2022-08-12T06:30:48.137Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-12T06:30:48.137Z] ---> Running in a814c30d3253 [2022-08-12T06:30:48.737Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-12T06:30:49.715Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-12T06:30:50.696Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-08-12T06:30:50.696Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-08-12T06:30:50.696Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-08-12T06:30:50.974Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-08-12T06:30:50.974Z] Executing busybox-1.35.0-r13.trigger [2022-08-12T06:30:50.974Z] OK: 226 MiB in 55 packages [2022-08-12T06:30:51.959Z] Removing intermediate container a814c30d3253 [2022-08-12T06:30:51.959Z] ---> 8bfe131d48b9 [2022-08-12T06:30:51.959Z] Step 8/12 : COPY go.mod vendor* ./ [2022-08-12T06:30:52.563Z] ---> 6c6bddc64ea0 [2022-08-12T06:30:52.563Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-12T06:30:52.841Z] ---> Running in b899dd06aeeb [2022-08-12T06:31:39.833Z] Removing intermediate container b899dd06aeeb [2022-08-12T06:31:39.833Z] ---> 0a23e7e778a6 [2022-08-12T06:31:39.833Z] Step 10/12 : COPY . . [2022-08-12T06:31:39.833Z] ---> a537727c258a [2022-08-12T06:31:39.833Z] Step 11/12 : ARG MAKE='make build' [2022-08-12T06:31:39.833Z] ---> Running in 6cf05582183b [2022-08-12T06:31:39.833Z] Removing intermediate container 6cf05582183b [2022-08-12T06:31:39.833Z] ---> 5abd241a61be [2022-08-12T06:31:39.833Z] Step 12/12 : RUN $MAKE [2022-08-12T06:31:39.833Z] ---> Running in 664d6a945741 [2022-08-12T06:31:40.809Z] noop [2022-08-12T06:31:41.405Z] Removing intermediate container 664d6a945741 [2022-08-12T06:31:41.405Z] ---> f69f53c9bab8 [2022-08-12T06:31:41.405Z] Successfully built f69f53c9bab8 [2022-08-12T06:31:41.405Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T06:31:41.767Z] + docker inspect -f . ci-base-image-arm64 [2022-08-12T06:31:41.768Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-12T06:31:41.997Z] prd-ubuntu20.04-docker-arm64-4c-16g-22583 does not seem to be running inside a container [2022-08-12T06:31:42.081Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-08-12T06:31:43.310Z] $ docker top f4a6cd73f08e674264b702a212f1397abc03e5c23ba7631d36517bcd7fc5776d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-12T06:31:44.193Z] + go version [2022-08-12T06:31:44.193Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-08-12T06:31:44.224Z] $ docker stop --time=1 f4a6cd73f08e674264b702a212f1397abc03e5c23ba7631d36517bcd7fc5776d [2022-08-12T06:31:45.834Z] $ docker rm -f f4a6cd73f08e674264b702a212f1397abc03e5c23ba7631d36517bcd7fc5776d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T06:31:46.427Z] + docker inspect -f . ci-base-image-arm64 [2022-08-12T06:31:46.427Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-12T06:31:46.652Z] prd-ubuntu20.04-docker-arm64-4c-16g-22583 does not seem to be running inside a container [2022-08-12T06:31:46.739Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-virtual-go/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-08-12T06:31:47.956Z] $ docker top 09e0219ed059eaa3e5d944ac0498a5354f49282cc60a38a7d8e4369e7c1311cb -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-12T06:31:48.827Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/3 [Pipeline] fileExists [Pipeline] sh [2022-08-12T06:31:49.489Z] + make test [2022-08-12T06:31:49.489Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-08-12T06:31:50.934Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-08-12T06:33:12.794Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-08-12T06:33:12.794Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.127s coverage: 65.7% of statements [2022-08-12T06:33:12.794Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-08-12T06:33:12.794Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-12T06:33:27.951Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-12T06:33:27.951Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-12T06:33:27.951Z] ./bin/test-attribution-txt.sh [2022-08-12T06:33:27.951Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-08-12T06:33:27.951Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-08-12T06:33:27.951Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-08-12T06:33:27.975Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-12T06:33:27.994Z] $ docker stop --time=1 09e0219ed059eaa3e5d944ac0498a5354f49282cc60a38a7d8e4369e7c1311cb [2022-08-12T06:33:29.780Z] $ docker rm -f 09e0219ed059eaa3e5d944ac0498a5354f49282cc60a38a7d8e4369e7c1311cb [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-12T06:33:30.740Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-12T06:33:30.767Z] Warning: overwriting stash ‘coverage-report’ [2022-08-12T06:33:31.334Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-12T06:33:31.738Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-12T06:33:32.096Z] + ls -al . [2022-08-12T06:33:32.096Z] total 188 [2022-08-12T06:33:32.096Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 12 06:31 . [2022-08-12T06:33:32.096Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 12 06:29 .. [2022-08-12T06:33:32.096Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 12 06:29 .git [2022-08-12T06:33:32.096Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 12 06:29 .github [2022-08-12T06:33:32.096Z] -rw-rw-r-- 1 jenkins jenkins 337 Aug 12 06:29 .gitignore [2022-08-12T06:33:32.096Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 12 06:29 .golangci.yml [2022-08-12T06:33:32.096Z] -rw-rw-r-- 1 jenkins jenkins 8152 Aug 12 06:29 Attribution.txt [2022-08-12T06:33:32.096Z] -rw-rw-r-- 1 jenkins jenkins 9649 Aug 12 06:29 CHANGELOG.md [2022-08-12T06:33:32.096Z] -rw-rw-r-- 1 jenkins jenkins 1978 Aug 12 06:29 Dockerfile [2022-08-12T06:33:32.096Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 12 06:29 GOVERNANCE.md [2022-08-12T06:33:32.096Z] -rw-rw-r-- 1 jenkins jenkins 660 Aug 12 06:29 Jenkinsfile [2022-08-12T06:33:32.096Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 12 06:29 LICENSE [2022-08-12T06:33:32.096Z] -rw-rw-r-- 1 jenkins jenkins 2248 Aug 12 06:29 Makefile [2022-08-12T06:33:32.096Z] -rw-rw-r-- 1 jenkins jenkins 623 Aug 12 06:29 OWNERS.md [2022-08-12T06:33:32.096Z] -rw-rw-r-- 1 jenkins jenkins 2914 Aug 12 06:29 README.md [2022-08-12T06:33:32.096Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 12 06:27 VERSION [2022-08-12T06:33:32.096Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 12 06:29 bin [2022-08-12T06:33:32.096Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 12 06:29 cmd [2022-08-12T06:33:32.096Z] -rw-r--r-- 1 jenkins jenkins 44128 Aug 12 06:33 coverage.out [2022-08-12T06:33:32.096Z] -rw-rw-r-- 1 jenkins jenkins 3328 Aug 12 06:29 go.mod [2022-08-12T06:33:32.096Z] -rw-rw-r-- 1 jenkins jenkins 36202 Aug 12 06:29 go.sum [2022-08-12T06:33:32.096Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 12 06:29 internal [2022-08-12T06:33:32.096Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 12 06:29 snap [2022-08-12T06:33:32.096Z] -rw-rw-r-- 1 jenkins jenkins 235 Aug 12 06:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T06:33:32.497Z] + 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=4b178002e221fe3f5b3d3ae238b1d54201d7be48 --label arch=arm64 --label version=0.0.0 . [2022-08-12T06:33:33.117Z] Sending build context to Docker daemon 11.76MB [2022-08-12T06:33:33.117Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-08-12T06:33:33.117Z] Step 2/26 : FROM ${BASE} AS builder [2022-08-12T06:33:33.117Z] ---> f69f53c9bab8 [2022-08-12T06:33:33.117Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-12T06:33:33.117Z] ---> Running in 76d202fe3b9c [2022-08-12T06:33:33.392Z] Removing intermediate container 76d202fe3b9c [2022-08-12T06:33:33.392Z] ---> 53deaa3e57b0 [2022-08-12T06:33:33.392Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-08-12T06:33:33.664Z] ---> Running in 2c87c10fc2f1 [2022-08-12T06:33:33.939Z] Removing intermediate container 2c87c10fc2f1 [2022-08-12T06:33:33.939Z] ---> b985e8246447 [2022-08-12T06:33:33.939Z] Step 5/26 : WORKDIR /device-virtual-go [2022-08-12T06:33:33.939Z] ---> Running in b1fd76094439 [2022-08-12T06:33:34.212Z] Removing intermediate container b1fd76094439 [2022-08-12T06:33:34.213Z] ---> d8c0c0aab3b0 [2022-08-12T06:33:34.213Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-12T06:33:34.495Z] ---> Running in c497106e00f2 [2022-08-12T06:33:35.937Z] Removing intermediate container c497106e00f2 [2022-08-12T06:33:35.937Z] ---> 8746182108f1 [2022-08-12T06:33:35.937Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-12T06:33:36.213Z] ---> Running in 993e3c005974 [2022-08-12T06:33:37.194Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-12T06:33:38.169Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-12T06:33:38.765Z] OK: 226 MiB in 55 packages [2022-08-12T06:33:39.747Z] Removing intermediate container 993e3c005974 [2022-08-12T06:33:39.747Z] ---> c753bdc56671 [2022-08-12T06:33:39.747Z] Step 8/26 : COPY go.mod vendor* ./ [2022-08-12T06:33:40.032Z] ---> 0961556ae3e5 [2022-08-12T06:33:40.032Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-12T06:33:40.318Z] ---> Running in fd986a1c2cc7 [2022-08-12T06:33:42.291Z] Removing intermediate container fd986a1c2cc7 [2022-08-12T06:33:42.291Z] ---> 5e7305f8ed35 [2022-08-12T06:33:42.291Z] Step 10/26 : COPY . . [2022-08-12T06:33:43.269Z] ---> fef7191c4b25 [2022-08-12T06:33:43.269Z] Step 11/26 : ARG MAKE='make build' [2022-08-12T06:33:43.269Z] ---> Running in 5b7ce8e26332 [2022-08-12T06:33:43.867Z] Removing intermediate container 5b7ce8e26332 [2022-08-12T06:33:43.867Z] ---> 778dc65a231f [2022-08-12T06:33:43.867Z] Step 12/26 : RUN $MAKE [2022-08-12T06:33:43.867Z] ---> Running in c8b7d65e2295 [2022-08-12T06:33:44.849Z] CGO_ENABLED=1 GO111MODULE=on go build -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-08-12T06:35:51.711Z] Removing intermediate container c8b7d65e2295 [2022-08-12T06:35:51.711Z] ---> 9d3666e3cf11 [2022-08-12T06:35:51.711Z] Step 13/26 : FROM alpine:3.16 [2022-08-12T06:35:51.711Z] 3.16: Pulling from library/alpine [2022-08-12T06:35:51.711Z] 9b18e9b68314: Pulling fs layer [2022-08-12T06:35:51.711Z] 9b18e9b68314: Verifying Checksum [2022-08-12T06:35:51.711Z] 9b18e9b68314: Download complete [2022-08-12T06:35:51.711Z] 9b18e9b68314: Pull complete [2022-08-12T06:35:51.711Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-12T06:35:51.711Z] Status: Downloaded newer image for alpine:3.16 [2022-08-12T06:35:51.711Z] ---> a6215f271958 [2022-08-12T06:35:51.711Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-08-12T06:35:51.711Z] ---> Running in 4ff74200f7ae [2022-08-12T06:35:51.711Z] Removing intermediate container 4ff74200f7ae [2022-08-12T06:35:51.711Z] ---> 7b0a0610f788 [2022-08-12T06:35:51.711Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-12T06:35:51.711Z] ---> Running in 130f3a5afe1e [2022-08-12T06:35:51.711Z] Removing intermediate container 130f3a5afe1e [2022-08-12T06:35:51.711Z] ---> 56d2e2cde7a9 [2022-08-12T06:35:51.711Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-12T06:35:51.711Z] ---> Running in 203d9fe3e140 [2022-08-12T06:35:51.711Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-12T06:35:51.711Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-12T06:35:51.711Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-12T06:35:51.711Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-08-12T06:35:51.711Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-12T06:35:51.711Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-12T06:35:51.711Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-12T06:35:51.711Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-12T06:35:51.711Z] Executing busybox-1.35.0-r17.trigger [2022-08-12T06:35:51.711Z] OK: 8 MiB in 20 packages [2022-08-12T06:35:51.984Z] Removing intermediate container 203d9fe3e140 [2022-08-12T06:35:51.984Z] ---> 3b56b07f2e0a [2022-08-12T06:35:51.984Z] Step 17/26 : WORKDIR / [2022-08-12T06:35:51.984Z] ---> Running in 0fa1fa341fac [2022-08-12T06:35:52.258Z] Removing intermediate container 0fa1fa341fac [2022-08-12T06:35:52.258Z] ---> 578c6e29c80f [2022-08-12T06:35:52.258Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-08-12T06:35:52.858Z] ---> 46bef22d5f57 [2022-08-12T06:35:52.858Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-08-12T06:35:53.457Z] ---> 2b243543d451 [2022-08-12T06:35:53.457Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-08-12T06:35:54.901Z] ---> 1329e39f8899 [2022-08-12T06:35:54.901Z] Step 21/26 : EXPOSE 59900 [2022-08-12T06:35:54.901Z] ---> Running in ce68b8a98de5 [2022-08-12T06:35:55.505Z] Removing intermediate container ce68b8a98de5 [2022-08-12T06:35:55.505Z] ---> 9ef9334f77d1 [2022-08-12T06:35:55.505Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-08-12T06:35:55.505Z] ---> Running in f33818414db9 [2022-08-12T06:35:55.778Z] Removing intermediate container f33818414db9 [2022-08-12T06:35:55.778Z] ---> 40bfaf6020b9 [2022-08-12T06:35:55.778Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-12T06:35:55.778Z] ---> Running in dfa32c736514 [2022-08-12T06:35:56.055Z] Removing intermediate container dfa32c736514 [2022-08-12T06:35:56.055Z] ---> 973717d9b0a5 [2022-08-12T06:35:56.055Z] Step 24/26 : LABEL arch=arm64 [2022-08-12T06:35:56.329Z] ---> Running in 0b2edf99004c [2022-08-12T06:35:56.603Z] Removing intermediate container 0b2edf99004c [2022-08-12T06:35:56.603Z] ---> 442ac1012803 [2022-08-12T06:35:56.603Z] Step 25/26 : LABEL git_sha=4b178002e221fe3f5b3d3ae238b1d54201d7be48 [2022-08-12T06:35:56.603Z] ---> Running in 37cde4d31a94 [2022-08-12T06:35:56.875Z] Removing intermediate container 37cde4d31a94 [2022-08-12T06:35:56.875Z] ---> d9fd5468669a [2022-08-12T06:35:56.875Z] Step 26/26 : LABEL version=0.0.0 [2022-08-12T06:35:57.150Z] ---> Running in ef51cd8ee89d [2022-08-12T06:35:57.420Z] Removing intermediate container ef51cd8ee89d [2022-08-12T06:35:57.420Z] ---> d4397ba69b2d [2022-08-12T06:35:57.420Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-12T06:35:57.420Z] Successfully built d4397ba69b2d [2022-08-12T06:35:57.420Z] 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-08-12T06:35:57.854Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-12T06:35:57.854Z] [2022-08-12T06:35:57.854Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T06:35:58.198Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-12T06:35:58.198Z] arm64: Pulling from edgex-lftools-log-publisher [2022-08-12T06:35:58.198Z] 8998bd30e6a1: Pulling fs layer [2022-08-12T06:35:58.198Z] 04944245beec: Pulling fs layer [2022-08-12T06:35:58.198Z] 699f458cf7ca: Pulling fs layer [2022-08-12T06:35:58.198Z] 765212b225bb: Pulling fs layer [2022-08-12T06:35:58.198Z] f23df028b6ca: Pulling fs layer [2022-08-12T06:35:58.198Z] d65c8cfc05b1: Pulling fs layer [2022-08-12T06:35:58.198Z] 2437ff75d9bd: Pulling fs layer [2022-08-12T06:35:58.198Z] f23df028b6ca: Waiting [2022-08-12T06:35:58.198Z] d65c8cfc05b1: Waiting [2022-08-12T06:35:58.198Z] 2437ff75d9bd: Waiting [2022-08-12T06:35:58.198Z] 765212b225bb: Waiting [2022-08-12T06:35:58.474Z] 04944245beec: Verifying Checksum [2022-08-12T06:35:58.474Z] 04944245beec: Download complete [2022-08-12T06:35:58.474Z] 765212b225bb: Verifying Checksum [2022-08-12T06:35:58.474Z] 765212b225bb: Download complete [2022-08-12T06:35:58.474Z] f23df028b6ca: Verifying Checksum [2022-08-12T06:35:58.474Z] f23df028b6ca: Download complete [2022-08-12T06:35:58.474Z] d65c8cfc05b1: Download complete [2022-08-12T06:35:58.474Z] 699f458cf7ca: Verifying Checksum [2022-08-12T06:35:58.474Z] 699f458cf7ca: Download complete [2022-08-12T06:35:59.067Z] 8998bd30e6a1: Verifying Checksum [2022-08-12T06:35:59.067Z] 8998bd30e6a1: Download complete [2022-08-12T06:36:01.037Z] 2437ff75d9bd: Verifying Checksum [2022-08-12T06:36:01.037Z] 2437ff75d9bd: Download complete [2022-08-12T06:36:03.021Z] 8998bd30e6a1: Pull complete [2022-08-12T06:36:03.616Z] 04944245beec: Pull complete [2022-08-12T06:36:05.046Z] 699f458cf7ca: Pull complete [2022-08-12T06:36:05.046Z] 765212b225bb: Pull complete [2022-08-12T06:36:06.043Z] f23df028b6ca: Pull complete [2022-08-12T06:36:06.319Z] d65c8cfc05b1: Pull complete [2022-08-12T06:36:21.426Z] 2437ff75d9bd: Pull complete [2022-08-12T06:36:21.426Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-08-12T06:36:21.426Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-12T06:36:21.426Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-12T06:36:21.684Z] prd-ubuntu20.04-docker-arm64-4c-16g-22583 does not seem to be running inside a container [2022-08-12T06:36:21.773Z] $ 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/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-08-12T06:36:24.290Z] $ docker top 91401f965723151fb09b153a88c6fea1f176a4ddf6e455ef18a0add49278bf6f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-12T06:36:25.190Z] ---> job-cost.sh [2022-08-12T06:36:25.190Z] lf-activate-venv: SKIPPING [2022-08-12T06:36:25.190Z] INFO: No Stack... [2022-08-12T06:36:25.464Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-08-12T06:36:26.441Z] INFO: Archiving Costs [Pipeline] sh [2022-08-12T06:36:27.107Z] + cut -d, -f6 [2022-08-12T06:36:27.107Z] + cat /w/workspace/device-virtual-go/3/archives/cost.csv [Pipeline] lock [2022-08-12T06:36:27.166Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-300-3-stack-cost] [2022-08-12T06:36:27.176Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-300-3-stack-cost] did not exist. Created. [2022-08-12T06:36:27.176Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-300-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-12T06:36:27.863Z] /w/workspace/device-virtual-go/3@tmp/durable-f9ced66d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-08-12T06:36:28.595Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-08-12T06:36:28.619Z] Warning: overwriting stash ‘stack-cost’ [2022-08-12T06:36:28.699Z] Stashed 1 file(s) [Pipeline] } [2022-08-12T06:36:28.706Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-300-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-12T06:36:28.738Z] $ docker stop --time=1 91401f965723151fb09b153a88c6fea1f176a4ddf6e455ef18a0add49278bf6f [2022-08-12T06:36:30.362Z] $ docker rm -f 91401f965723151fb09b153a88c6fea1f176a4ddf6e455ef18a0add49278bf6f [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-08-12T06:36:30.933Z] provisioning config files... [2022-08-12T06:36:30.943Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-300@tmp/config6258226937033798595tmp [Pipeline] { [Pipeline] sh [2022-08-12T06:36:31.238Z] + set +x [2022-08-12T06:36:31.238Z] + curl -s https://codecov.io/bash [2022-08-12T06:36:31.238Z] + bash -s -- [2022-08-12T06:36:31.498Z] [2022-08-12T06:36:31.498Z] _____ _ [2022-08-12T06:36:31.498Z] / ____| | | [2022-08-12T06:36:31.498Z] | | ___ __| | ___ ___ _____ __ [2022-08-12T06:36:31.498Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-08-12T06:36:31.498Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-08-12T06:36:31.498Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-08-12T06:36:31.498Z] Bash-1.0.6 [2022-08-12T06:36:31.498Z] [2022-08-12T06:36:31.498Z] [2022-08-12T06:36:31.498Z] ==> git version 2.25.1 found [2022-08-12T06:36:31.498Z] ==> 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-08-12T06:36:31.498Z] Release-Date: 2020-01-08 [2022-08-12T06:36:31.498Z] 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-08-12T06:36:31.498Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-08-12T06:36:31.498Z] ==> Jenkins CI detected. [2022-08-12T06:36:31.498Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-300 [2022-08-12T06:36:31.498Z] project root: . [2022-08-12T06:36:31.498Z] --> token set from env [2022-08-12T06:36:31.498Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-08-12T06:36:31.498Z] ==> Running gcov in . (disable via -X gcov) [2022-08-12T06:36:31.498Z] ==> Python coveragepy not found [2022-08-12T06:36:31.498Z] ==> Searching for coverage reports in: [2022-08-12T06:36:31.498Z] + . [2022-08-12T06:36:31.498Z] -> Found 1 reports [2022-08-12T06:36:31.498Z] ==> Detecting git/mercurial file structure [2022-08-12T06:36:31.498Z] ==> Reading reports [2022-08-12T06:36:31.498Z] + ./coverage.out bytes=44128 [2022-08-12T06:36:31.498Z] ==> Appending adjustments [2022-08-12T06:36:31.498Z] https://docs.codecov.io/docs/fixing-reports [2022-08-12T06:36:31.758Z] + Found adjustments [2022-08-12T06:36:31.758Z] ==> Gzipping contents [2022-08-12T06:36:31.758Z] 8.0K /tmp/codecov.VXRnTT.gz [2022-08-12T06:36:31.758Z] ==> Uploading reports [2022-08-12T06:36:31.758Z] url: https://codecov.io [2022-08-12T06:36:31.758Z] query: branch=PR-300&commit=4b178002e221fe3f5b3d3ae238b1d54201d7be48&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-300%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=300&job=&cmd_args= [2022-08-12T06:36:31.758Z] -> Pinging Codecov [2022-08-12T06:36:31.758Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-300&commit=4b178002e221fe3f5b3d3ae238b1d54201d7be48&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-300%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=300&job=&cmd_args= [2022-08-12T06:36:32.019Z] -> Uploading to [2022-08-12T06:36:32.020Z] https://storage.googleapis.com/codecov/v4/raw/2022-08-12/5E52B4B073DB2E39498172D8E973AA87/4b178002e221fe3f5b3d3ae238b1d54201d7be48/94943dd8-2f9e-4b4a-b541-2873ea4dffc8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220812%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220812T063631Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9dd9419a2e08ba5caf0ce3082b11eb5cb5206cb16c187faa290c55a2856db40a [2022-08-12T06:36:32.020Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-12T06:36:32.020Z] Dload Upload Total Spent Left Speed [2022-08-12T06:36:32.280Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5495 0 0 100 5495 0 21216 --:--:-- --:--:-- --:--:-- 21216 [2022-08-12T06:36:32.280Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/4b178002e221fe3f5b3d3ae238b1d54201d7be48 [Pipeline] } [2022-08-12T06:36:32.288Z] 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-08-12T06:36:32.985Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-300/archives ] [2022-08-12T06:36:32.986Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-300/archives [2022-08-12T06:36:32.986Z] total 16 [2022-08-12T06:36:32.986Z] drwxr-xr-x 3 root root 4096 Aug 12 06:29 . [2022-08-12T06:36:32.986Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 12 06:29 .. [2022-08-12T06:36:32.986Z] drwxr-xr-x 2 root root 4096 Aug 12 06:29 cost [2022-08-12T06:36:32.986Z] -rw-r--r-- 1 root root 89 Aug 12 06:29 cost.csv [2022-08-12T06:36:32.986Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-300/archives [2022-08-12T06:36:32.986Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-300/archives [2022-08-12T06:36:32.986Z] total 16 [2022-08-12T06:36:32.986Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 12 06:29 . [2022-08-12T06:36:32.986Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 12 06:29 .. [2022-08-12T06:36:32.986Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 12 06:29 cost [2022-08-12T06:36:32.986Z] -rw-r--r-- 1 jenkins jenkins 89 Aug 12 06:29 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-08-12T06:36:33.284Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-12T06:36:34.156Z] ---> package-listing.sh [2022-08-12T06:36:34.156Z] ++ facter osfamily [2022-08-12T06:36:34.156Z] ++ tr '[:upper:]' '[:lower:]' [2022-08-12T06:36:34.417Z] + OS_FAMILY=debian [2022-08-12T06:36:34.417Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-300 [2022-08-12T06:36:34.417Z] + START_PACKAGES=/tmp/packages_start.txt [2022-08-12T06:36:34.417Z] + END_PACKAGES=/tmp/packages_end.txt [2022-08-12T06:36:34.417Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-08-12T06:36:34.417Z] + PACKAGES=/tmp/packages_start.txt [2022-08-12T06:36:34.417Z] + '[' /w/workspace/foundry_device-virtual-go_PR-300 ']' [2022-08-12T06:36:34.417Z] + PACKAGES=/tmp/packages_end.txt [2022-08-12T06:36:34.417Z] + case "${OS_FAMILY}" in [2022-08-12T06:36:34.417Z] + dpkg -l [2022-08-12T06:36:34.417Z] + grep '^ii' [2022-08-12T06:36:34.417Z] + '[' -f /tmp/packages_start.txt ']' [2022-08-12T06:36:34.417Z] + '[' -f /tmp/packages_end.txt ']' [2022-08-12T06:36:34.417Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-08-12T06:36:34.417Z] + '[' /w/workspace/foundry_device-virtual-go_PR-300 ']' [2022-08-12T06:36:34.417Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-300/archives/ [2022-08-12T06:36:34.417Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-300/archives/ [Pipeline] echo [2022-08-12T06:36:34.431Z] 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-300/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-08-12T06:36:34.733Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T06:36:35.044Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-12T06:36:35.044Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-12T06:36:35.127Z] prd-ubuntu20.04-docker-8c-8g-22582 does not seem to be running inside a container [2022-08-12T06:36:35.158Z] $ 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-300/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-300 -v /w/workspace/foundry_device-virtual-go_PR-300:/w/workspace/foundry_device-virtual-go_PR-300:rw,z -v /w/workspace/foundry_device-virtual-go_PR-300@tmp:/w/workspace/foundry_device-virtual-go_PR-300@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-12T06:36:35.514Z] $ docker top 8a78836aef272cc1112b6d48243ca71b2ad8123cf7ddf8e23e06604dcea9ce23 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-12T06:36:35.880Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-08-12T06:36:36.172Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-08-12T06:36:36.465Z] + ls /var/log/sa-host [2022-08-12T06:36:36.465Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-12T06:36:36.557Z] provisioning config files... [2022-08-12T06:36:36.567Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-300@tmp/config1231185030437052268tmp [Pipeline] { [Pipeline] echo [2022-08-12T06:36:36.584Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-12T06:36:36.874Z] ---> create-netrc.sh [Pipeline] } [2022-08-12T06:36:36.883Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-08-12T06:36:37.217Z] ---> python-tools-install.sh [Pipeline] echo [2022-08-12T06:36:37.226Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-12T06:36:37.512Z] ---> sudo-logs.sh [2022-08-12T06:36:37.513Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-08-12T06:36:37.548Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-12T06:36:37.838Z] ---> job-cost.sh [2022-08-12T06:36:37.838Z] lf-activate-venv: SKIPPING [2022-08-12T06:36:37.838Z] DEBUG: total: 0.2199999988079071 [2022-08-12T06:36:37.838Z] INFO: Retrieving Stack Cost... [2022-08-12T06:36:38.412Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-12T06:36:38.992Z] INFO: Archiving Costs [Pipeline] echo [2022-08-12T06:36:39.014Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-12T06:36:39.301Z] ---> logs-deploy.sh [2022-08-12T06:36:39.302Z] lf-activate-venv: SKIPPING [2022-08-12T06:36:39.302Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-300/3 [2022-08-12T06:36:39.302Z] INFO: archiving workspace using pattern(s): [2022-08-12T06:36:40.245Z] Archives upload complete. [2022-08-12T06:36:40.505Z] INFO: archiving logs to Nexus [2022-08-12T06:36:41.076Z] ---> uname -a: [2022-08-12T06:36:41.076Z] Linux prd-ubuntu20-04-docker-8c-8g-22582 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux [2022-08-12T06:36:41.076Z] [2022-08-12T06:36:41.076Z] [2022-08-12T06:36:41.076Z] ---> lscpu: [2022-08-12T06:36:41.076Z] Architecture: x86_64 [2022-08-12T06:36:41.076Z] CPU op-mode(s): 32-bit, 64-bit [2022-08-12T06:36:41.076Z] Byte Order: Little Endian [2022-08-12T06:36:41.076Z] Address sizes: 40 bits physical, 48 bits virtual [2022-08-12T06:36:41.076Z] CPU(s): 8 [2022-08-12T06:36:41.076Z] On-line CPU(s) list: 0-7 [2022-08-12T06:36:41.076Z] Thread(s) per core: 1 [2022-08-12T06:36:41.076Z] Core(s) per socket: 1 [2022-08-12T06:36:41.076Z] Socket(s): 8 [2022-08-12T06:36:41.076Z] NUMA node(s): 1 [2022-08-12T06:36:41.076Z] Vendor ID: AuthenticAMD [2022-08-12T06:36:41.076Z] CPU family: 23 [2022-08-12T06:36:41.076Z] Model: 49 [2022-08-12T06:36:41.076Z] Model name: AMD EPYC-Rome Processor [2022-08-12T06:36:41.076Z] Stepping: 0 [2022-08-12T06:36:41.076Z] CPU MHz: 2800.000 [2022-08-12T06:36:41.076Z] BogoMIPS: 5600.00 [2022-08-12T06:36:41.076Z] Virtualization: AMD-V [2022-08-12T06:36:41.076Z] Hypervisor vendor: KVM [2022-08-12T06:36:41.076Z] Virtualization type: full [2022-08-12T06:36:41.076Z] L1d cache: 256 KiB [2022-08-12T06:36:41.076Z] L1i cache: 256 KiB [2022-08-12T06:36:41.076Z] L2 cache: 4 MiB [2022-08-12T06:36:41.076Z] L3 cache: 128 MiB [2022-08-12T06:36:41.076Z] NUMA node0 CPU(s): 0-7 [2022-08-12T06:36:41.076Z] Vulnerability Itlb multihit: Not affected [2022-08-12T06:36:41.076Z] Vulnerability L1tf: Not affected [2022-08-12T06:36:41.076Z] Vulnerability Mds: Not affected [2022-08-12T06:36:41.076Z] Vulnerability Meltdown: Not affected [2022-08-12T06:36:41.076Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2022-08-12T06:36:41.076Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2022-08-12T06:36:41.076Z] Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2022-08-12T06:36:41.076Z] Vulnerability Srbds: Not affected [2022-08-12T06:36:41.076Z] Vulnerability Tsx async abort: Not affected [2022-08-12T06:36:41.076Z] 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-08-12T06:36:41.076Z] [2022-08-12T06:36:41.076Z]