Pull request #300 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-virtual-go Loading trusted files from base branch main at b155924b7e348e7f4c6bc2e32e3176dc0fde7f12 rather than 823b52c7643ad1913637706eece5191282a1b1de 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-ssh15396501469499933384.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-ssh15119315038249124137.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-300/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-300/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2062839445834471855.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-300/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8787641803317998425.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh382814682642850353.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-300/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-300/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10980242420297161328.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e 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 Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-22515 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 823b52c7643ad1913637706eece5191282a1b1de Merge succeeded, producing 823b52c7643ad1913637706eece5191282a1b1de Checking out Revision 823b52c7643ad1913637706eece5191282a1b1de (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 823b52c7643ad1913637706eece5191282a1b1de # 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 823b52c7643ad1913637706eece5191282a1b1de # timeout=10 Commit message: "build(snap): Upgrade snap hook to 2.4.1" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-08-11T16:24:29.466Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-08-11T16:24:29.637Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-08-11T16:24:29.734Z] ========================================================= [2022-08-11T16:24:29.734Z] EdgeX Global Pipelines Version Info [2022-08-11T16:24:29.734Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-08-11T16:24:30.536Z] ------------------- [2022-08-11T16:24:30.536Z] stable info: [2022-08-11T16:24:30.536Z] ------------------- [2022-08-11T16:24:30.536Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-11T16:24:30.536Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-11T16:24:30.536Z] Message: update stable to v1.0.238 [2022-08-11T16:24:31.111Z] ------------------- [2022-08-11T16:24:31.111Z] experimental info: [2022-08-11T16:24:31.111Z] ------------------- [2022-08-11T16:24:31.111Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-11T16:24:31.111Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-11T16:24:31.111Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-08-11T16:24:31.509Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2022-08-11T16:24:31.559Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2022-08-11T16:24:31.600Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-08-11T16:24:31.642Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-08-11T16:24:31.689Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-08-11T16:24:31.730Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-08-11T16:24:31.776Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-08-11T16:24:31.814Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-08-11T16:24:31.851Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-08-11T16:24:31.890Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-08-11T16:24:31.927Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-08-11T16:24:31.966Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2022-08-11T16:24:32.005Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-08-11T16:24:32.055Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-08-11T16:24:32.101Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-08-11T16:24:32.145Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-08-11T16:24:32.183Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-08-11T16:24:32.222Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-08-11T16:24:32.259Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-08-11T16:24:32.296Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-08-11T16:24:32.334Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-08-11T16:24:32.376Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-08-11T16:24:32.418Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-08-11T16:24:32.459Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-08-11T16:24:32.500Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-08-11T16:24:32.544Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-08-11T16:24:32.588Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-08-11T16:24:32.629Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-300 [Pipeline] echo [2022-08-11T16:24:32.671Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-300 [Pipeline] echo [2022-08-11T16:24:32.709Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-300 [Pipeline] echo [2022-08-11T16:24:32.754Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 823b52c7643ad1913637706eece5191282a1b1de [Pipeline] echo [2022-08-11T16:24:32.804Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 823b52c [Pipeline] echo [2022-08-11T16:24:32.844Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-11T16:24:32.966Z] provisioning config files... [2022-08-11T16:24:32.983Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-300@tmp/config7302044098469977931tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-11T16:24:33.334Z] ---> docker-login.sh [2022-08-11T16:24:33.335Z] nexus3.edgexfoundry.org:10001 [2022-08-11T16:24:33.596Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-11T16:24:33.858Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-11T16:24:33.858Z] Configure a credential helper to remove this warning. See [2022-08-11T16:24:33.858Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-11T16:24:33.858Z] [2022-08-11T16:24:33.858Z] Login Succeeded [2022-08-11T16:24:33.858Z] nexus3.edgexfoundry.org:10002 [2022-08-11T16:24:33.858Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-11T16:24:34.119Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-11T16:24:34.119Z] Configure a credential helper to remove this warning. See [2022-08-11T16:24:34.119Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-11T16:24:34.119Z] [2022-08-11T16:24:34.119Z] Login Succeeded [2022-08-11T16:24:34.119Z] nexus3.edgexfoundry.org:10003 [2022-08-11T16:24:34.119Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-11T16:24:34.119Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-11T16:24:34.119Z] Configure a credential helper to remove this warning. See [2022-08-11T16:24:34.119Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-11T16:24:34.119Z] [2022-08-11T16:24:34.119Z] Login Succeeded [2022-08-11T16:24:34.119Z] nexus3.edgexfoundry.org:10004 [2022-08-11T16:24:34.381Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-11T16:24:34.381Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-11T16:24:34.381Z] Configure a credential helper to remove this warning. See [2022-08-11T16:24:34.381Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-11T16:24:34.381Z] [2022-08-11T16:24:34.381Z] Login Succeeded [2022-08-11T16:24:34.381Z] docker.io [2022-08-11T16:24:34.381Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-11T16:24:34.643Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-11T16:24:34.643Z] Configure a credential helper to remove this warning. See [2022-08-11T16:24:34.643Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-11T16:24:34.643Z] [2022-08-11T16:24:34.643Z] Login Succeeded [2022-08-11T16:24:34.643Z] ---> docker-login.sh ends [Pipeline] } [2022-08-11T16:24:34.675Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-08-11T16:24:35.314Z] + git rev-list -1 --merges 823b52c7643ad1913637706eece5191282a1b1de~1..823b52c7643ad1913637706eece5191282a1b1de [Pipeline] echo [2022-08-11T16:24:35.361Z] -----------> git rev-list -1 --merges 823b52c7643ad1913637706eece5191282a1b1de~1..823b52c7643ad1913637706eece5191282a1b1de 823b52c7643ad1913637706eece5191282a1b1de [false] [Pipeline] sh [2022-08-11T16:24:35.677Z] + git log --format=format:%s -1 823b52c7643ad1913637706eece5191282a1b1de [Pipeline] echo [2022-08-11T16:24:35.714Z] ========================================================= [2022-08-11T16:24:35.714Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-08-11T16:24:35.714Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-11T16:24:36.160Z] + git log --format=format:%s -1 823b52c7643ad1913637706eece5191282a1b1de [Pipeline] echo [2022-08-11T16:24:36.194Z] [semverPrep] GIT_COMMIT: 823b52c7643ad1913637706eece5191282a1b1de, Commit Message: build(snap): Upgrade snap hook to 2.4.1 [Pipeline] echo [2022-08-11T16:24:36.226Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-08-11T16:24:36.639Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-11T16:24:36.639Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-08-11T16:24:36.639Z] + [ -e /tmp/ssh_known_hosts ] [2022-08-11T16:24:36.639Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-08-11T16:24:36.639Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-08-11T16:24:36.639Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-08-11T16:24:36.639Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-11T16:24:37.163Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-11T16:24:37.163Z] [2022-08-11T16:24:37.163Z] 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-11T16:24:37.547Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-11T16:24:37.547Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-08-11T16:24:37.547Z] b85a868b505f: Pulling fs layer [2022-08-11T16:24:37.547Z] e2be974225ed: Pulling fs layer [2022-08-11T16:24:37.547Z] 339a4e72a1f5: Pulling fs layer [2022-08-11T16:24:37.547Z] 988bab9f4d93: Pulling fs layer [2022-08-11T16:24:37.547Z] 1469e6f7b9e6: Pulling fs layer [2022-08-11T16:24:37.547Z] eaf3925da568: Pulling fs layer [2022-08-11T16:24:37.547Z] bab4dde63d76: Pulling fs layer [2022-08-11T16:24:37.547Z] bde34c3a00c8: Pulling fs layer [2022-08-11T16:24:37.547Z] b352a97aabf1: Pulling fs layer [2022-08-11T16:24:37.547Z] 4872d77fe225: Pulling fs layer [2022-08-11T16:24:37.547Z] 5851b861e8e6: Pulling fs layer [2022-08-11T16:24:37.547Z] bde34c3a00c8: Waiting [2022-08-11T16:24:37.547Z] 988bab9f4d93: Waiting [2022-08-11T16:24:37.547Z] 1469e6f7b9e6: Waiting [2022-08-11T16:24:37.547Z] b352a97aabf1: Waiting [2022-08-11T16:24:37.547Z] 4872d77fe225: Waiting [2022-08-11T16:24:37.547Z] 5851b861e8e6: Waiting [2022-08-11T16:24:37.547Z] eaf3925da568: Waiting [2022-08-11T16:24:37.547Z] bab4dde63d76: Waiting [2022-08-11T16:24:37.547Z] e2be974225ed: Verifying Checksum [2022-08-11T16:24:37.547Z] e2be974225ed: Download complete [2022-08-11T16:24:37.547Z] 988bab9f4d93: Download complete [2022-08-11T16:24:37.811Z] 1469e6f7b9e6: Verifying Checksum [2022-08-11T16:24:37.811Z] 1469e6f7b9e6: Download complete [2022-08-11T16:24:37.811Z] 339a4e72a1f5: Verifying Checksum [2022-08-11T16:24:37.811Z] 339a4e72a1f5: Download complete [2022-08-11T16:24:37.811Z] eaf3925da568: Verifying Checksum [2022-08-11T16:24:37.811Z] eaf3925da568: Download complete [2022-08-11T16:24:37.811Z] bde34c3a00c8: Download complete [2022-08-11T16:24:37.811Z] b352a97aabf1: Verifying Checksum [2022-08-11T16:24:37.811Z] b352a97aabf1: Download complete [2022-08-11T16:24:37.811Z] 4872d77fe225: Verifying Checksum [2022-08-11T16:24:37.811Z] 4872d77fe225: Download complete [2022-08-11T16:24:37.811Z] 5851b861e8e6: Verifying Checksum [2022-08-11T16:24:37.811Z] 5851b861e8e6: Download complete [2022-08-11T16:24:37.811Z] b85a868b505f: Verifying Checksum [2022-08-11T16:24:37.811Z] b85a868b505f: Download complete [2022-08-11T16:24:38.070Z] bab4dde63d76: Verifying Checksum [2022-08-11T16:24:38.070Z] bab4dde63d76: Download complete [2022-08-11T16:24:39.010Z] b85a868b505f: Pull complete [2022-08-11T16:24:39.270Z] e2be974225ed: Pull complete [2022-08-11T16:24:39.842Z] 339a4e72a1f5: Pull complete [2022-08-11T16:24:39.842Z] 988bab9f4d93: Pull complete [2022-08-11T16:24:40.108Z] 1469e6f7b9e6: Pull complete [2022-08-11T16:24:40.369Z] eaf3925da568: Pull complete [2022-08-11T16:24:42.290Z] bab4dde63d76: Pull complete [2022-08-11T16:24:42.552Z] bde34c3a00c8: Pull complete [2022-08-11T16:24:42.552Z] b352a97aabf1: Pull complete [2022-08-11T16:24:42.815Z] 4872d77fe225: Pull complete [2022-08-11T16:24:42.815Z] 5851b861e8e6: Pull complete [2022-08-11T16:24:42.815Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-08-11T16:24:42.815Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-11T16:24:42.815Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-11T16:24:43.061Z] prd-ubuntu20.04-docker-8c-8g-22515 does not seem to be running inside a container [2022-08-11T16:24:43.108Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-08-11T16:24:44.753Z] $ docker top 906020383ab50c8bc6fa75514623f74ba2b97053e02a84b7c3ccc0287fe0ceb2 -eo pid,comm [2022-08-11T16:24:44.825Z] 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-11T16:24:44.825Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-11T16:24:44.959Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-11T16:24:44.959Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-11T16:24:45.101Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-11T16:24:45.109Z] $ docker exec 906020383ab50c8bc6fa75514623f74ba2b97053e02a84b7c3ccc0287fe0ceb2 ssh-agent [2022-08-11T16:24:45.233Z] SSH_AUTH_SOCK=/tmp/ssh-i1vs0SrcxFVA/agent.34 [2022-08-11T16:24:45.233Z] SSH_AGENT_PID=40 [2022-08-11T16:24:45.240Z] Running ssh-add (command line suppressed) [2022-08-11T16:24:45.361Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-300@tmp/private_key_5022827503250311118.key (/w/workspace/foundry_device-virtual-go_PR-300@tmp/private_key_5022827503250311118.key) [2022-08-11T16:24:45.373Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-11T16:24:45.706Z] + git tag --points-at HEAD [Pipeline] } [2022-08-11T16:24:45.736Z] $ docker exec --env ******** --env ******** 906020383ab50c8bc6fa75514623f74ba2b97053e02a84b7c3ccc0287fe0ceb2 ssh-agent -k [2022-08-11T16:24:45.857Z] unset SSH_AUTH_SOCK; [2022-08-11T16:24:45.857Z] unset SSH_AGENT_PID; [2022-08-11T16:24:45.857Z] echo Agent pid 40 killed; [2022-08-11T16:24:45.866Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-08-11T16:24:45.953Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-11T16:24:45.953Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-11T16:24:46.084Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-11T16:24:46.092Z] $ docker exec 906020383ab50c8bc6fa75514623f74ba2b97053e02a84b7c3ccc0287fe0ceb2 ssh-agent [2022-08-11T16:24:46.220Z] SSH_AUTH_SOCK=/tmp/ssh-L4AA7T4L8Rr9/agent.74 [2022-08-11T16:24:46.220Z] SSH_AGENT_PID=81 [2022-08-11T16:24:46.225Z] Running ssh-add (command line suppressed) [2022-08-11T16:24:46.346Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-300@tmp/private_key_7579429865554651420.key (/w/workspace/foundry_device-virtual-go_PR-300@tmp/private_key_7579429865554651420.key) [2022-08-11T16:24:46.364Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-11T16:24:46.697Z] + git semver init [2022-08-11T16:24:46.959Z] 2022-08-11 16:24:46,907 [run_init] DEBUG init version:0.0.0 force:False [2022-08-11T16:24:46.959Z] 2022-08-11 16:24:46,907 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-300/.semver [2022-08-11T16:24:46.959Z] 2022-08-11 16:24:46,908 [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-11T16:24:46.959Z] 2022-08-11 16:24:46,908 [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-11T16:24:47.901Z] 2022-08-11 16:24:47,851 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-300/.git/info/exclude [2022-08-11T16:24:47.901Z] 2022-08-11 16:24:47,852 [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-11T16:24:47.901Z] 2022-08-11 16:24:47,852 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-300/.semver/PR-300 [2022-08-11T16:24:47.901Z] 2022-08-11 16:24:47,857 [execute] INFO git cat-file --batch-check [2022-08-11T16:24:47.901Z] 2022-08-11 16:24:47,857 [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-11T16:24:47.901Z] 2022-08-11 16:24:47,864 [execute] INFO git cat-file --batch [2022-08-11T16:24:47.901Z] 2022-08-11 16:24:47,864 [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-11T16:24:47.901Z] 2022-08-11 16:24:47,870 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-300/.semver/PR-300 [2022-08-11T16:24:47.901Z] 0.0.0 [Pipeline] } [2022-08-11T16:24:47.933Z] $ docker exec --env ******** --env ******** 906020383ab50c8bc6fa75514623f74ba2b97053e02a84b7c3ccc0287fe0ceb2 ssh-agent -k [2022-08-11T16:24:48.042Z] unset SSH_AUTH_SOCK; [2022-08-11T16:24:48.043Z] unset SSH_AGENT_PID; [2022-08-11T16:24:48.043Z] echo Agent pid 81 killed; [2022-08-11T16:24:48.053Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-11T16:24:48.470Z] + git semver [Pipeline] } [2022-08-11T16:24:48.768Z] $ docker stop --time=1 906020383ab50c8bc6fa75514623f74ba2b97053e02a84b7c3ccc0287fe0ceb2 [2022-08-11T16:24:50.108Z] $ docker rm -f 906020383ab50c8bc6fa75514623f74ba2b97053e02a84b7c3ccc0287fe0ceb2 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-11T16:24:50.530Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-08-11T16:24:50.861Z] Stashed 1 file(s) [Pipeline] echo [2022-08-11T16:24:50.878Z] [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-11T16:24:51.455Z] provisioning config files... [2022-08-11T16:24:51.467Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-300@tmp/config5935096059214978435tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-11T16:24:51.814Z] ---> docker-login.sh [2022-08-11T16:24:51.814Z] nexus3.edgexfoundry.org:10001 [2022-08-11T16:24:51.814Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-11T16:24:51.814Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-11T16:24:51.814Z] Configure a credential helper to remove this warning. See [2022-08-11T16:24:51.814Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-11T16:24:51.814Z] [2022-08-11T16:24:51.814Z] Login Succeeded [2022-08-11T16:24:51.814Z] nexus3.edgexfoundry.org:10002 [2022-08-11T16:24:51.814Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-11T16:24:52.074Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-11T16:24:52.074Z] Configure a credential helper to remove this warning. See [2022-08-11T16:24:52.074Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-11T16:24:52.074Z] [2022-08-11T16:24:52.074Z] Login Succeeded [2022-08-11T16:24:52.074Z] nexus3.edgexfoundry.org:10003 [2022-08-11T16:24:52.074Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-11T16:24:52.074Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-11T16:24:52.074Z] Configure a credential helper to remove this warning. See [2022-08-11T16:24:52.074Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-11T16:24:52.074Z] [2022-08-11T16:24:52.074Z] Login Succeeded [2022-08-11T16:24:52.074Z] nexus3.edgexfoundry.org:10004 [2022-08-11T16:24:52.335Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-11T16:24:52.335Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-11T16:24:52.335Z] Configure a credential helper to remove this warning. See [2022-08-11T16:24:52.335Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-11T16:24:52.335Z] [2022-08-11T16:24:52.335Z] Login Succeeded [2022-08-11T16:24:52.335Z] docker.io [2022-08-11T16:24:52.335Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-11T16:24:52.596Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-11T16:24:52.596Z] Configure a credential helper to remove this warning. See [2022-08-11T16:24:52.596Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-11T16:24:52.596Z] [2022-08-11T16:24:52.596Z] Login Succeeded [2022-08-11T16:24:52.596Z] ---> docker-login.sh ends [Pipeline] } [2022-08-11T16:24:52.624Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-11T16:24:52.861Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-11T16:24:52.902Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-11T16:24:52.936Z] ========================================================= [2022-08-11T16:24:52.936Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-08-11T16:24:52.936Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-11T16:24:53.409Z] + 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-11T16:24:53.409Z] Sending build context to Docker daemon 23.1MB [2022-08-11T16:24:53.409Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-08-11T16:24:53.409Z] Step 2/12 : FROM ${BASE} AS builder [2022-08-11T16:24:53.672Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-08-11T16:24:53.672Z] 2408cc74d12b: Pulling fs layer [2022-08-11T16:24:53.672Z] ea60b727a1ce: Pulling fs layer [2022-08-11T16:24:53.672Z] 30c4a7721957: Pulling fs layer [2022-08-11T16:24:53.672Z] 370296b7ddb6: Pulling fs layer [2022-08-11T16:24:53.672Z] 7c6cee850709: Pulling fs layer [2022-08-11T16:24:53.672Z] 370296b7ddb6: Waiting [2022-08-11T16:24:53.672Z] 39a5fcdaea64: Pulling fs layer [2022-08-11T16:24:53.672Z] d94ebbe4e438: Pulling fs layer [2022-08-11T16:24:53.672Z] bcfd1f05c69d: Pulling fs layer [2022-08-11T16:24:53.672Z] 7c6cee850709: Waiting [2022-08-11T16:24:53.672Z] 39a5fcdaea64: Waiting [2022-08-11T16:24:53.672Z] d94ebbe4e438: Waiting [2022-08-11T16:24:53.672Z] 59ccb84bbe0f: Pulling fs layer [2022-08-11T16:24:53.672Z] 59ccb84bbe0f: Waiting [2022-08-11T16:24:53.672Z] 30c4a7721957: Verifying Checksum [2022-08-11T16:24:53.672Z] 30c4a7721957: Download complete [2022-08-11T16:24:53.672Z] ea60b727a1ce: Verifying Checksum [2022-08-11T16:24:53.672Z] ea60b727a1ce: Download complete [2022-08-11T16:24:53.672Z] 7c6cee850709: Download complete [2022-08-11T16:24:53.672Z] 39a5fcdaea64: Verifying Checksum [2022-08-11T16:24:53.672Z] 39a5fcdaea64: Download complete [2022-08-11T16:24:53.672Z] 2408cc74d12b: Download complete [2022-08-11T16:24:53.672Z] d94ebbe4e438: Download complete [2022-08-11T16:24:53.672Z] 2408cc74d12b: Pull complete [2022-08-11T16:24:53.936Z] ea60b727a1ce: Pull complete [2022-08-11T16:24:53.936Z] 30c4a7721957: Pull complete [2022-08-11T16:24:54.200Z] 59ccb84bbe0f: Verifying Checksum [2022-08-11T16:24:54.200Z] 59ccb84bbe0f: Download complete [2022-08-11T16:24:54.463Z] bcfd1f05c69d: Verifying Checksum [2022-08-11T16:24:54.463Z] bcfd1f05c69d: Download complete [2022-08-11T16:24:54.463Z] 370296b7ddb6: Verifying Checksum [2022-08-11T16:24:54.463Z] 370296b7ddb6: Download complete [2022-08-11T16:24:59.752Z] 370296b7ddb6: Pull complete [2022-08-11T16:24:59.752Z] 7c6cee850709: Pull complete [2022-08-11T16:24:59.752Z] 39a5fcdaea64: Pull complete [2022-08-11T16:24:59.752Z] d94ebbe4e438: Pull complete [2022-08-11T16:25:01.670Z] bcfd1f05c69d: Pull complete [2022-08-11T16:25:02.649Z] 59ccb84bbe0f: Pull complete [2022-08-11T16:25:02.649Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-08-11T16:25:02.649Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-08-11T16:25:02.649Z] ---> a4fb48ad2a94 [2022-08-11T16:25:02.649Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-11T16:25:04.579Z] ---> Running in 655bba793e3c [2022-08-11T16:25:04.579Z] Removing intermediate container 655bba793e3c [2022-08-11T16:25:04.579Z] ---> 3e4984bea2b1 [2022-08-11T16:25:04.579Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-08-11T16:25:04.579Z] ---> Running in 8e3414f6fbab [2022-08-11T16:25:04.842Z] Removing intermediate container 8e3414f6fbab [2022-08-11T16:25:04.842Z] ---> d39a6e09c0cf [2022-08-11T16:25:04.842Z] Step 5/12 : WORKDIR /device-virtual-go [2022-08-11T16:25:04.842Z] ---> Running in 6f9bd042886c [2022-08-11T16:25:04.842Z] Removing intermediate container 6f9bd042886c [2022-08-11T16:25:04.842Z] ---> d7dea62ce8d8 [2022-08-11T16:25:04.842Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-11T16:25:05.103Z] ---> Running in 1a309285d3c6 [2022-08-11T16:25:05.674Z] Removing intermediate container 1a309285d3c6 [2022-08-11T16:25:05.674Z] ---> 91bcad43d575 [2022-08-11T16:25:05.674Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-11T16:25:05.674Z] ---> Running in a945a00cdcee [2022-08-11T16:25:05.935Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-11T16:25:06.281Z] Still waiting to schedule task [2022-08-11T16:25:06.281Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-08-11T16:25:06.879Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-11T16:25:07.141Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-08-11T16:25:07.141Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-08-11T16:25:07.403Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-08-11T16:25:07.403Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-08-11T16:25:07.667Z] Executing busybox-1.35.0-r13.trigger [2022-08-11T16:25:07.667Z] OK: 216 MiB in 55 packages [2022-08-11T16:25:07.937Z] Removing intermediate container a945a00cdcee [2022-08-11T16:25:07.937Z] ---> a98963200156 [2022-08-11T16:25:07.937Z] Step 8/12 : COPY go.mod vendor* ./ [2022-08-11T16:25:08.211Z] ---> c85f3ad8c4b6 [2022-08-11T16:25:08.211Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-11T16:25:08.211Z] ---> Running in d475b41cd7f7 [2022-08-11T16:25:26.404Z] Removing intermediate container d475b41cd7f7 [2022-08-11T16:25:26.405Z] ---> 98f694f21312 [2022-08-11T16:25:26.405Z] Step 10/12 : COPY . . [2022-08-11T16:25:26.975Z] ---> 0e1ab4b73c65 [2022-08-11T16:25:26.975Z] Step 11/12 : ARG MAKE='make build' [2022-08-11T16:25:27.236Z] ---> Running in 7b24b1aa029a [2022-08-11T16:25:27.236Z] Removing intermediate container 7b24b1aa029a [2022-08-11T16:25:27.236Z] ---> 11e8819908ec [2022-08-11T16:25:27.236Z] Step 12/12 : RUN $MAKE [2022-08-11T16:25:27.236Z] ---> Running in 0458a3cfcb89 [2022-08-11T16:25:27.495Z] noop [2022-08-11T16:25:27.772Z] Removing intermediate container 0458a3cfcb89 [2022-08-11T16:25:27.772Z] ---> 896adbefc126 [2022-08-11T16:25:28.033Z] Successfully built 896adbefc126 [2022-08-11T16:25:28.033Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-11T16:25:28.488Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-11T16:25:28.488Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-11T16:25:28.643Z] prd-ubuntu20.04-docker-8c-8g-22515 does not seem to be running inside a container [2022-08-11T16:25:28.679Z] $ 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 ******** ci-base-image-x86_64 cat [2022-08-11T16:25:29.051Z] $ docker top 5c8ce9ffcd382cba369a78f57f1c7bd4cf22d281a4fa1d85326deb0b529d7d24 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-11T16:25:29.454Z] + go version [2022-08-11T16:25:29.454Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-08-11T16:25:29.488Z] $ docker stop --time=1 5c8ce9ffcd382cba369a78f57f1c7bd4cf22d281a4fa1d85326deb0b529d7d24 [2022-08-11T16:25:30.822Z] $ docker rm -f 5c8ce9ffcd382cba369a78f57f1c7bd4cf22d281a4fa1d85326deb0b529d7d24 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-11T16:25:31.565Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-11T16:25:31.566Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-11T16:25:31.732Z] prd-ubuntu20.04-docker-8c-8g-22515 does not seem to be running inside a container [2022-08-11T16:25:31.773Z] $ 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 ******** ci-base-image-x86_64 cat [2022-08-11T16:25:32.178Z] $ docker top 36eb03ba32556cbb0c94c227b9b0d8cce2a3884010ad3c6addba202fe208018c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-11T16:25:32.583Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-300 [Pipeline] fileExists [Pipeline] sh [2022-08-11T16:25:32.943Z] + make test [2022-08-11T16:25:32.943Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-08-11T16:25:33.204Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-08-11T16:25:43.184Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-08-11T16:25:43.184Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.039s coverage: 65.7% of statements [2022-08-11T16:25:49.761Z] 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-11T16:25:49.761Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-11T16:25:53.056Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-11T16:25:53.056Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-11T16:25:53.056Z] ./bin/test-attribution-txt.sh [2022-08-11T16:25:53.056Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-08-11T16:25:53.056Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-08-11T16:25:53.056Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-08-11T16:25:53.094Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-11T16:25:53.128Z] $ docker stop --time=1 36eb03ba32556cbb0c94c227b9b0d8cce2a3884010ad3c6addba202fe208018c [2022-08-11T16:25:54.898Z] $ docker rm -f 36eb03ba32556cbb0c94c227b9b0d8cce2a3884010ad3c6addba202fe208018c [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-11T16:25:55.429Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-11T16:25:55.500Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-08-11T16:25:56.185Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-11T16:25:56.504Z] + ls -al . [2022-08-11T16:25:56.504Z] total 192 [2022-08-11T16:25:56.504Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 11 16:25 . [2022-08-11T16:25:56.504Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 11 16:24 .. [2022-08-11T16:25:56.504Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 11 16:25 .git [2022-08-11T16:25:56.504Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 11 16:24 .github [2022-08-11T16:25:56.504Z] -rw-rw-r-- 1 jenkins jenkins 337 Aug 11 16:24 .gitignore [2022-08-11T16:25:56.504Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 11 16:24 .golangci.yml [2022-08-11T16:25:56.504Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 11 16:24 .semver [2022-08-11T16:25:56.504Z] -rw-rw-r-- 1 jenkins jenkins 8152 Aug 11 16:24 Attribution.txt [2022-08-11T16:25:56.504Z] -rw-rw-r-- 1 jenkins jenkins 9649 Aug 11 16:24 CHANGELOG.md [2022-08-11T16:25:56.504Z] -rw-rw-r-- 1 jenkins jenkins 1978 Aug 11 16:24 Dockerfile [2022-08-11T16:25:56.504Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 11 16:24 GOVERNANCE.md [2022-08-11T16:25:56.504Z] -rw-rw-r-- 1 jenkins jenkins 660 Aug 11 16:24 Jenkinsfile [2022-08-11T16:25:56.504Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 11 16:24 LICENSE [2022-08-11T16:25:56.504Z] -rw-rw-r-- 1 jenkins jenkins 2248 Aug 11 16:24 Makefile [2022-08-11T16:25:56.504Z] -rw-rw-r-- 1 jenkins jenkins 623 Aug 11 16:24 OWNERS.md [2022-08-11T16:25:56.504Z] -rw-rw-r-- 1 jenkins jenkins 2914 Aug 11 16:24 README.md [2022-08-11T16:25:56.504Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 11 16:24 VERSION [2022-08-11T16:25:56.504Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 11 16:24 bin [2022-08-11T16:25:56.504Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 11 16:24 cmd [2022-08-11T16:25:56.504Z] -rw-r--r-- 1 jenkins jenkins 44128 Aug 11 16:25 coverage.out [2022-08-11T16:25:56.504Z] -rw-rw-r-- 1 jenkins jenkins 3328 Aug 11 16:24 go.mod [2022-08-11T16:25:56.504Z] -rw-rw-r-- 1 jenkins jenkins 36202 Aug 11 16:24 go.sum [2022-08-11T16:25:56.504Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 11 16:24 internal [2022-08-11T16:25:56.504Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 11 16:24 snap [2022-08-11T16:25:56.504Z] -rw-rw-r-- 1 jenkins jenkins 235 Aug 11 16:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-11T16:25:56.908Z] + 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=823b52c7643ad1913637706eece5191282a1b1de --label arch=amd64 --label version=0.0.0 . [2022-08-11T16:25:56.908Z] Sending build context to Docker daemon 23.15MB [2022-08-11T16:25:56.908Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-08-11T16:25:56.908Z] Step 2/26 : FROM ${BASE} AS builder [2022-08-11T16:25:56.908Z] ---> 896adbefc126 [2022-08-11T16:25:56.908Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-11T16:25:57.169Z] ---> Running in 8fa1b18c2632 [2022-08-11T16:25:57.169Z] Removing intermediate container 8fa1b18c2632 [2022-08-11T16:25:57.169Z] ---> c53aa921a54a [2022-08-11T16:25:57.169Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-08-11T16:25:57.169Z] ---> Running in d0db32a717d5 [2022-08-11T16:25:57.430Z] Removing intermediate container d0db32a717d5 [2022-08-11T16:25:57.430Z] ---> 841dd702581f [2022-08-11T16:25:57.430Z] Step 5/26 : WORKDIR /device-virtual-go [2022-08-11T16:25:57.430Z] ---> Running in 0a5a7322ee3e [2022-08-11T16:25:57.430Z] Removing intermediate container 0a5a7322ee3e [2022-08-11T16:25:57.430Z] ---> eead797655d8 [2022-08-11T16:25:57.430Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-11T16:25:57.430Z] ---> Running in 2602f9219902 [2022-08-11T16:25:58.373Z] Removing intermediate container 2602f9219902 [2022-08-11T16:25:58.373Z] ---> 2e1aed29d875 [2022-08-11T16:25:58.373Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-11T16:25:58.373Z] ---> Running in db2932da2844 [2022-08-11T16:25:58.373Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-11T16:25:59.316Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-11T16:25:59.580Z] OK: 216 MiB in 55 packages [2022-08-11T16:25:59.843Z] Removing intermediate container db2932da2844 [2022-08-11T16:25:59.843Z] ---> 1f38a9706445 [2022-08-11T16:25:59.843Z] Step 8/26 : COPY go.mod vendor* ./ [2022-08-11T16:26:00.103Z] ---> ff346367f661 [2022-08-11T16:26:00.103Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-11T16:26:00.103Z] ---> Running in 4e7371ffbf9f [2022-08-11T16:26:01.043Z] Removing intermediate container 4e7371ffbf9f [2022-08-11T16:26:01.043Z] ---> 02f13ac0918e [2022-08-11T16:26:01.043Z] Step 10/26 : COPY . . [2022-08-11T16:26:01.615Z] ---> 35fc9748a1fc [2022-08-11T16:26:01.615Z] Step 11/26 : ARG MAKE='make build' [2022-08-11T16:26:01.615Z] ---> Running in 175cfdb8362c [2022-08-11T16:26:01.615Z] Removing intermediate container 175cfdb8362c [2022-08-11T16:26:01.615Z] ---> b4ba50cdf2b7 [2022-08-11T16:26:01.615Z] Step 12/26 : RUN $MAKE [2022-08-11T16:26:01.615Z] ---> Running in 4f38af39fd68 [2022-08-11T16:26:01.874Z] 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-11T16:26:23.819Z] Removing intermediate container 4f38af39fd68 [2022-08-11T16:26:23.819Z] ---> 4d87b801dd02 [2022-08-11T16:26:23.819Z] Step 13/26 : FROM alpine:3.16 [2022-08-11T16:26:23.819Z] 3.16: Pulling from library/alpine [2022-08-11T16:26:23.819Z] 213ec9aee27d: Pulling fs layer [2022-08-11T16:26:23.819Z] 213ec9aee27d: Verifying Checksum [2022-08-11T16:26:23.819Z] 213ec9aee27d: Download complete [2022-08-11T16:26:23.819Z] 213ec9aee27d: Pull complete [2022-08-11T16:26:23.819Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-11T16:26:23.819Z] Status: Downloaded newer image for alpine:3.16 [2022-08-11T16:26:23.819Z] ---> 9c6f07244728 [2022-08-11T16:26:23.819Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-08-11T16:26:23.819Z] ---> Running in 56a41f0f0eb7 [2022-08-11T16:26:23.819Z] Removing intermediate container 56a41f0f0eb7 [2022-08-11T16:26:23.819Z] ---> de7aaa05599e [2022-08-11T16:26:23.819Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-11T16:26:23.819Z] ---> Running in 2c94b4ccd7cd [2022-08-11T16:26:23.819Z] Removing intermediate container 2c94b4ccd7cd [2022-08-11T16:26:23.819Z] ---> 59fa4100686b [2022-08-11T16:26:23.819Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-11T16:26:23.819Z] ---> Running in 10b559b89e83 [2022-08-11T16:26:23.819Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-11T16:26:24.080Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-11T16:26:24.341Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-11T16:26:24.605Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-08-11T16:26:24.605Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-11T16:26:24.867Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-11T16:26:24.867Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-11T16:26:24.867Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-11T16:26:25.158Z] Executing busybox-1.35.0-r17.trigger [2022-08-11T16:26:25.158Z] OK: 8 MiB in 20 packages [2022-08-11T16:26:25.419Z] Removing intermediate container 10b559b89e83 [2022-08-11T16:26:25.420Z] ---> f973e4957cc5 [2022-08-11T16:26:25.420Z] Step 17/26 : WORKDIR / [2022-08-11T16:26:25.420Z] ---> Running in 084c21f050d4 [2022-08-11T16:26:25.678Z] Removing intermediate container 084c21f050d4 [2022-08-11T16:26:25.678Z] ---> 5b0d147e6709 [2022-08-11T16:26:25.678Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-08-11T16:26:25.678Z] ---> 57dc7e0ecdd0 [2022-08-11T16:26:25.678Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-08-11T16:26:25.937Z] ---> e4303292d98c [2022-08-11T16:26:25.937Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-08-11T16:26:26.508Z] ---> d3e800cb9f67 [2022-08-11T16:26:26.508Z] Step 21/26 : EXPOSE 59900 [2022-08-11T16:26:26.508Z] ---> Running in f1b25f1084de [2022-08-11T16:26:26.508Z] Removing intermediate container f1b25f1084de [2022-08-11T16:26:26.508Z] ---> 520cbdcee547 [2022-08-11T16:26:26.508Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-08-11T16:26:26.769Z] ---> Running in b9fbcef875d6 [2022-08-11T16:26:26.769Z] Removing intermediate container b9fbcef875d6 [2022-08-11T16:26:26.769Z] ---> eeddaf637572 [2022-08-11T16:26:26.769Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-11T16:26:26.769Z] ---> Running in f33da1bdc5bd [2022-08-11T16:26:27.028Z] Removing intermediate container f33da1bdc5bd [2022-08-11T16:26:27.028Z] ---> 765776371579 [2022-08-11T16:26:27.028Z] Step 24/26 : LABEL arch=amd64 [2022-08-11T16:26:27.028Z] ---> Running in 4ee820729b8d [2022-08-11T16:26:27.028Z] Removing intermediate container 4ee820729b8d [2022-08-11T16:26:27.028Z] ---> ab71e9e52c4e [2022-08-11T16:26:27.028Z] Step 25/26 : LABEL git_sha=823b52c7643ad1913637706eece5191282a1b1de [2022-08-11T16:26:27.028Z] ---> Running in be54ef68b6d8 [2022-08-11T16:26:27.289Z] Removing intermediate container be54ef68b6d8 [2022-08-11T16:26:27.289Z] ---> a10b41842512 [2022-08-11T16:26:27.289Z] Step 26/26 : LABEL version=0.0.0 [2022-08-11T16:26:27.289Z] ---> Running in 2d63b524ac1d [2022-08-11T16:26:27.289Z] Removing intermediate container 2d63b524ac1d [2022-08-11T16:26:27.289Z] ---> 8b17fee7d8c4 [2022-08-11T16:26:27.289Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-11T16:26:27.289Z] Successfully built 8b17fee7d8c4 [2022-08-11T16:26:27.289Z] 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-11T16:26:28.133Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-11T16:26:28.133Z] [2022-08-11T16:26:28.133Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-11T16:26:28.514Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-11T16:26:28.514Z] latest: Pulling from edgex-lftools-log-publisher [2022-08-11T16:26:28.514Z] 5eb5b503b376: Pulling fs layer [2022-08-11T16:26:28.514Z] 5c69ac0246d0: Pulling fs layer [2022-08-11T16:26:28.514Z] ec43610c2a17: Pulling fs layer [2022-08-11T16:26:28.514Z] 3a2ae6a8a46f: Pulling fs layer [2022-08-11T16:26:28.514Z] 33b1e0a273af: Pulling fs layer [2022-08-11T16:26:28.514Z] 5d3b04190fa2: Pulling fs layer [2022-08-11T16:26:28.514Z] 2f39f015ded8: Pulling fs layer [2022-08-11T16:26:28.514Z] 33b1e0a273af: Waiting [2022-08-11T16:26:28.514Z] 5d3b04190fa2: Waiting [2022-08-11T16:26:28.514Z] 2f39f015ded8: Waiting [2022-08-11T16:26:28.514Z] 3a2ae6a8a46f: Waiting [2022-08-11T16:26:28.514Z] 5c69ac0246d0: Download complete [2022-08-11T16:26:28.514Z] 3a2ae6a8a46f: Download complete [2022-08-11T16:26:28.514Z] ec43610c2a17: Verifying Checksum [2022-08-11T16:26:28.514Z] ec43610c2a17: Download complete [2022-08-11T16:26:28.514Z] 33b1e0a273af: Verifying Checksum [2022-08-11T16:26:28.514Z] 33b1e0a273af: Download complete [2022-08-11T16:26:28.514Z] 5d3b04190fa2: Verifying Checksum [2022-08-11T16:26:28.514Z] 5d3b04190fa2: Download complete [2022-08-11T16:26:28.776Z] 5eb5b503b376: Verifying Checksum [2022-08-11T16:26:28.776Z] 5eb5b503b376: Download complete [2022-08-11T16:26:29.348Z] 2f39f015ded8: Download complete [2022-08-11T16:26:29.925Z] 5eb5b503b376: Pull complete [2022-08-11T16:26:30.185Z] 5c69ac0246d0: Pull complete [2022-08-11T16:26:30.445Z] ec43610c2a17: Pull complete [2022-08-11T16:26:30.445Z] 3a2ae6a8a46f: Pull complete [2022-08-11T16:26:30.705Z] 33b1e0a273af: Pull complete [2022-08-11T16:26:30.967Z] 5d3b04190fa2: Pull complete [2022-08-11T16:26:35.160Z] 2f39f015ded8: Pull complete [2022-08-11T16:26:35.160Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-08-11T16:26:35.160Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-11T16:26:35.160Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-11T16:26:35.388Z] prd-ubuntu20.04-docker-8c-8g-22515 does not seem to be running inside a container [2022-08-11T16:26:35.436Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-11T16:26:37.568Z] $ docker top e1bdcac27b816cf4bf8c7b1fa23a1dc973edb9b86616d5782bea333b93933dc0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-11T16:26:38.122Z] ---> job-cost.sh [2022-08-11T16:26:38.123Z] lf-activate-venv: SKIPPING [2022-08-11T16:26:38.123Z] INFO: No Stack... [2022-08-11T16:26:38.694Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-11T16:26:39.267Z] INFO: Archiving Costs [Pipeline] sh [2022-08-11T16:26:39.586Z] + cat /w/workspace/foundry_device-virtual-go_PR-300/archives/cost.csv [2022-08-11T16:26:39.587Z] + cut -d, -f6 [Pipeline] lock [2022-08-11T16:26:39.626Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-300-1-stack-cost] [2022-08-11T16:26:39.632Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-300-1-stack-cost] did not exist. Created. [2022-08-11T16:26:39.632Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-300-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-11T16:26:40.027Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-08-11T16:26:40.073Z] Stashed 1 file(s) [Pipeline] } [2022-08-11T16:26:40.100Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-300-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-11T16:26:40.180Z] $ docker stop --time=1 e1bdcac27b816cf4bf8c7b1fa23a1dc973edb9b86616d5782bea333b93933dc0 [2022-08-11T16:26:41.367Z] $ docker rm -f e1bdcac27b816cf4bf8c7b1fa23a1dc973edb9b86616d5782bea333b93933dc0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-08-11T16:26:48.027Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-22516 in /w/workspace/foundry_device-virtual-go_PR-300 [Pipeline] { [Pipeline] ws [2022-08-11T16:26:48.075Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2022-08-11T16:26:48.147Z] The recommended git tool is: git [2022-08-11T16:26:54.333Z] using credential edgex-jenkins-ssh [2022-08-11T16:26:54.351Z] Cloning the remote Git repository [2022-08-11T16:26:54.411Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2022-08-11T16:26:54.489Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2022-08-11T16:26:54.575Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-08-11T16:26:54.576Z] > git --version # timeout=10 [2022-08-11T16:26:54.599Z] > git --version # 'git version 2.25.1' [2022-08-11T16:26:54.601Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-11T16:26:54.692Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-11T16:26:56.556Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-08-11T16:26:56.576Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-11T16:26:56.602Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-08-11T16:26:56.680Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-08-11T16:26:56.681Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-11T16:26:56.695Z] > 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-11T16:26:57.209Z] Merging remotes/origin/main commit b155924b7e348e7f4c6bc2e32e3176dc0fde7f12 into PR head commit 823b52c7643ad1913637706eece5191282a1b1de [2022-08-11T16:26:57.435Z] Merge succeeded, producing 823b52c7643ad1913637706eece5191282a1b1de [2022-08-11T16:26:57.436Z] Checking out Revision 823b52c7643ad1913637706eece5191282a1b1de (PR-300) [2022-08-11T16:26:57.230Z] > git config core.sparsecheckout # timeout=10 [2022-08-11T16:26:57.245Z] > git checkout -f 823b52c7643ad1913637706eece5191282a1b1de # timeout=10 [2022-08-11T16:26:57.335Z] > git remote # timeout=10 [2022-08-11T16:26:57.352Z] > git config --get remote.origin.url # timeout=10 [2022-08-11T16:26:57.377Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-11T16:26:57.389Z] > git merge b155924b7e348e7f4c6bc2e32e3176dc0fde7f12 # timeout=10 [2022-08-11T16:26:57.414Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-08-11T16:26:57.446Z] > git config core.sparsecheckout # timeout=10 [2022-08-11T16:26:57.472Z] > git checkout -f 823b52c7643ad1913637706eece5191282a1b1de # timeout=10 [2022-08-11T16:27:01.591Z] Commit message: "build(snap): Upgrade snap hook to 2.4.1" [2022-08-11T16:27:01.658Z] > git --version # timeout=10 [2022-08-11T16:27:01.666Z] > git --version # 'git version 2.25.1' [2022-08-11T16:27:01.681Z] fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-11T16:27:02.769Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-08-11T16:27:02.769Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-11T16:27:02.769Z] Dload Upload Total Spent Left Speed [2022-08-11T16:27:02.769Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 77075 0 --:--:-- --:--:-- --:--:-- 77075 [Pipeline] sh [2022-08-11T16:27:03.502Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-08-11T16:27:03.914Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-08-11T16:27:03.914Z] + sudo tee /etc/docker/daemon.new [2022-08-11T16:27:03.914Z] { [2022-08-11T16:27:03.914Z] "registry-mirrors": [ [2022-08-11T16:27:03.914Z] "https://nexus3.edgexfoundry.org:10001" [2022-08-11T16:27:03.914Z] ], [2022-08-11T16:27:03.914Z] "bip": "10.250.0.254/24", [2022-08-11T16:27:03.914Z] "hosts": [ [2022-08-11T16:27:03.914Z] "tcp://0.0.0.0:5555", [2022-08-11T16:27:03.914Z] "unix:///var/run/docker.sock" [2022-08-11T16:27:03.914Z] ], [2022-08-11T16:27:03.914Z] "mtu": 1458, [2022-08-11T16:27:03.914Z] "selinux-enabled": true, [2022-08-11T16:27:03.914Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-08-11T16:27:03.914Z] } [Pipeline] sh [2022-08-11T16:27:04.267Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-08-11T16:27:04.635Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-11T16:27:23.219Z] provisioning config files... [2022-08-11T16:27:23.244Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config3821775785661105461tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-11T16:27:23.660Z] ---> docker-login.sh [2022-08-11T16:27:23.660Z] nexus3.edgexfoundry.org:10001 [2022-08-11T16:27:24.258Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-11T16:27:24.535Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-11T16:27:24.535Z] Configure a credential helper to remove this warning. See [2022-08-11T16:27:24.535Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-11T16:27:24.535Z] [2022-08-11T16:27:24.535Z] Login Succeeded [2022-08-11T16:27:24.535Z] nexus3.edgexfoundry.org:10002 [2022-08-11T16:27:24.811Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-11T16:27:25.086Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-11T16:27:25.086Z] Configure a credential helper to remove this warning. See [2022-08-11T16:27:25.086Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-11T16:27:25.086Z] [2022-08-11T16:27:25.086Z] Login Succeeded [2022-08-11T16:27:25.086Z] nexus3.edgexfoundry.org:10003 [2022-08-11T16:27:25.362Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-11T16:27:25.362Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-11T16:27:25.362Z] Configure a credential helper to remove this warning. See [2022-08-11T16:27:25.362Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-11T16:27:25.362Z] [2022-08-11T16:27:25.362Z] Login Succeeded [2022-08-11T16:27:25.362Z] nexus3.edgexfoundry.org:10004 [2022-08-11T16:27:25.636Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-11T16:27:25.909Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-11T16:27:25.909Z] Configure a credential helper to remove this warning. See [2022-08-11T16:27:25.909Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-11T16:27:25.909Z] [2022-08-11T16:27:25.909Z] Login Succeeded [2022-08-11T16:27:25.909Z] docker.io [2022-08-11T16:27:26.184Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-11T16:27:26.781Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-11T16:27:26.781Z] Configure a credential helper to remove this warning. See [2022-08-11T16:27:26.781Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-11T16:27:26.781Z] [2022-08-11T16:27:26.781Z] Login Succeeded [2022-08-11T16:27:26.781Z] ---> docker-login.sh ends [Pipeline] } [2022-08-11T16:27:26.808Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-11T16:27:27.205Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-11T16:27:27.238Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-11T16:27:27.279Z] ========================================================= [2022-08-11T16:27:27.279Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-08-11T16:27:27.279Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-11T16:27:27.779Z] + 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-11T16:27:28.383Z] Sending build context to Docker daemon 11.69MB [2022-08-11T16:27:28.383Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-08-11T16:27:28.383Z] Step 2/12 : FROM ${BASE} AS builder [2022-08-11T16:27:28.383Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-08-11T16:27:28.383Z] b3c136eddcbf: Pulling fs layer [2022-08-11T16:27:28.383Z] c0a3192eca97: Pulling fs layer [2022-08-11T16:27:28.383Z] a050256f5b6f: Pulling fs layer [2022-08-11T16:27:28.383Z] 656be50a0ddc: Pulling fs layer [2022-08-11T16:27:28.383Z] 2bbca73fdf42: Pulling fs layer [2022-08-11T16:27:28.383Z] 46d945488cbd: Pulling fs layer [2022-08-11T16:27:28.383Z] 8a5474983e97: Pulling fs layer [2022-08-11T16:27:28.383Z] 329c88fbcd65: Pulling fs layer [2022-08-11T16:27:28.383Z] 2bbca73fdf42: Waiting [2022-08-11T16:27:28.383Z] 46d945488cbd: Waiting [2022-08-11T16:27:28.383Z] 8a5474983e97: Waiting [2022-08-11T16:27:28.383Z] 329c88fbcd65: Waiting [2022-08-11T16:27:28.383Z] 656be50a0ddc: Waiting [2022-08-11T16:27:28.383Z] a050256f5b6f: Download complete [2022-08-11T16:27:28.383Z] c0a3192eca97: Verifying Checksum [2022-08-11T16:27:28.383Z] c0a3192eca97: Download complete [2022-08-11T16:27:28.383Z] 2bbca73fdf42: Download complete [2022-08-11T16:27:28.383Z] 46d945488cbd: Verifying Checksum [2022-08-11T16:27:28.383Z] 46d945488cbd: Download complete [2022-08-11T16:27:28.662Z] b3c136eddcbf: Verifying Checksum [2022-08-11T16:27:28.662Z] b3c136eddcbf: Download complete [2022-08-11T16:27:29.649Z] b3c136eddcbf: Pull complete [2022-08-11T16:27:29.649Z] 329c88fbcd65: Verifying Checksum [2022-08-11T16:27:29.649Z] 329c88fbcd65: Download complete [2022-08-11T16:27:29.928Z] c0a3192eca97: Pull complete [2022-08-11T16:27:30.530Z] a050256f5b6f: Pull complete [2022-08-11T16:27:30.805Z] 8a5474983e97: Verifying Checksum [2022-08-11T16:27:30.805Z] 8a5474983e97: Download complete [2022-08-11T16:27:31.404Z] 656be50a0ddc: Verifying Checksum [2022-08-11T16:27:31.404Z] 656be50a0ddc: Download complete [2022-08-11T16:27:43.817Z] 656be50a0ddc: Pull complete [2022-08-11T16:27:44.093Z] 2bbca73fdf42: Pull complete [2022-08-11T16:27:44.373Z] 46d945488cbd: Pull complete [2022-08-11T16:27:51.110Z] 8a5474983e97: Pull complete [2022-08-11T16:27:53.091Z] 329c88fbcd65: Pull complete [2022-08-11T16:27:53.091Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-08-11T16:27:53.091Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-08-11T16:27:53.091Z] ---> ff4287adb874 [2022-08-11T16:27:53.091Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-11T16:27:53.703Z] ---> Running in 25859b191dea [2022-08-11T16:27:53.976Z] Removing intermediate container 25859b191dea [2022-08-11T16:27:53.976Z] ---> 4ce760dc935f [2022-08-11T16:27:53.976Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-08-11T16:27:53.976Z] ---> Running in 07cd5ac07655 [2022-08-11T16:27:54.580Z] Removing intermediate container 07cd5ac07655 [2022-08-11T16:27:54.580Z] ---> 78e7dee08cbc [2022-08-11T16:27:54.580Z] Step 5/12 : WORKDIR /device-virtual-go [2022-08-11T16:27:54.580Z] ---> Running in d5bb0a1f79c9 [2022-08-11T16:27:54.861Z] Removing intermediate container d5bb0a1f79c9 [2022-08-11T16:27:54.861Z] ---> 293ffba84d14 [2022-08-11T16:27:54.861Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-11T16:27:54.861Z] ---> Running in 8bdabd563a2f [2022-08-11T16:27:57.486Z] Removing intermediate container 8bdabd563a2f [2022-08-11T16:27:57.486Z] ---> 90b34f839f9d [2022-08-11T16:27:57.486Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-11T16:27:57.486Z] ---> Running in 269d01abcd8d [2022-08-11T16:27:58.468Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-11T16:27:59.445Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-11T16:28:00.046Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-08-11T16:28:00.319Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-08-11T16:28:00.319Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-08-11T16:28:00.593Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-08-11T16:28:00.593Z] Executing busybox-1.35.0-r13.trigger [2022-08-11T16:28:00.593Z] OK: 226 MiB in 55 packages [2022-08-11T16:28:01.572Z] Removing intermediate container 269d01abcd8d [2022-08-11T16:28:01.572Z] ---> bdd060ddd33e [2022-08-11T16:28:01.572Z] Step 8/12 : COPY go.mod vendor* ./ [2022-08-11T16:28:02.174Z] ---> 7087fe5c1289 [2022-08-11T16:28:02.174Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-11T16:28:02.174Z] ---> Running in e46bb77de490 [2022-08-11T16:28:49.190Z] Removing intermediate container e46bb77de490 [2022-08-11T16:28:49.190Z] ---> c34079e6c492 [2022-08-11T16:28:49.190Z] Step 10/12 : COPY . . [2022-08-11T16:28:49.464Z] ---> f0033a431e4f [2022-08-11T16:28:49.464Z] Step 11/12 : ARG MAKE='make build' [2022-08-11T16:28:49.464Z] ---> Running in aa8dec6d519b [2022-08-11T16:28:50.086Z] Removing intermediate container aa8dec6d519b [2022-08-11T16:28:50.086Z] ---> 4c7f51f91881 [2022-08-11T16:28:50.086Z] Step 12/12 : RUN $MAKE [2022-08-11T16:28:50.086Z] ---> Running in 4db1b24893bc [2022-08-11T16:28:51.080Z] noop [2022-08-11T16:28:51.696Z] Removing intermediate container 4db1b24893bc [2022-08-11T16:28:51.696Z] ---> 5c6f1facddb3 [2022-08-11T16:28:51.696Z] Successfully built 5c6f1facddb3 [2022-08-11T16:28:51.696Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-11T16:28:52.188Z] + docker inspect -f . ci-base-image-arm64 [2022-08-11T16:28:52.188Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-11T16:28:52.500Z] prd-ubuntu20.04-docker-arm64-4c-16g-22516 does not seem to be running inside a container [2022-08-11T16:28:52.588Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-08-11T16:28:53.888Z] $ docker top 47ce40c77b2506afca6b0b26fd6879c0ce6b97658821714e84d42e60d904ded3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-11T16:28:54.854Z] + go version [2022-08-11T16:28:54.854Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-08-11T16:28:54.895Z] $ docker stop --time=1 47ce40c77b2506afca6b0b26fd6879c0ce6b97658821714e84d42e60d904ded3 [2022-08-11T16:28:56.530Z] $ docker rm -f 47ce40c77b2506afca6b0b26fd6879c0ce6b97658821714e84d42e60d904ded3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-11T16:28:57.437Z] + docker inspect -f . ci-base-image-arm64 [2022-08-11T16:28:57.437Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-11T16:28:57.753Z] prd-ubuntu20.04-docker-arm64-4c-16g-22516 does not seem to be running inside a container [2022-08-11T16:28:57.834Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-08-11T16:28:59.050Z] $ docker top 91251e32a039f0bd9b6e9e0da05c678f7fc47948a114a29391c402487c041046 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-11T16:28:59.994Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh [2022-08-11T16:29:00.725Z] + make test [2022-08-11T16:29:00.725Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-08-11T16:29:02.162Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-08-11T16:30:24.017Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-08-11T16:30:24.017Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.126s coverage: 65.7% of statements [2022-08-11T16:30:24.017Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-08-11T16:30:24.017Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-11T16:30:39.141Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-11T16:30:39.141Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-11T16:30:39.141Z] ./bin/test-attribution-txt.sh [2022-08-11T16:30:39.141Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-08-11T16:30:39.141Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-08-11T16:30:39.141Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-08-11T16:30:39.180Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-11T16:30:39.217Z] $ docker stop --time=1 91251e32a039f0bd9b6e9e0da05c678f7fc47948a114a29391c402487c041046 [2022-08-11T16:30:40.997Z] $ docker rm -f 91251e32a039f0bd9b6e9e0da05c678f7fc47948a114a29391c402487c041046 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-11T16:30:42.020Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-11T16:30:42.058Z] Warning: overwriting stash ‘coverage-report’ [2022-08-11T16:30:42.621Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-11T16:30:43.247Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-11T16:30:43.616Z] + ls -al . [2022-08-11T16:30:43.616Z] total 188 [2022-08-11T16:30:43.616Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 11 16:29 . [2022-08-11T16:30:43.616Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 11 16:26 .. [2022-08-11T16:30:43.616Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 11 16:27 .git [2022-08-11T16:30:43.616Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 11 16:26 .github [2022-08-11T16:30:43.616Z] -rw-rw-r-- 1 jenkins jenkins 337 Aug 11 16:26 .gitignore [2022-08-11T16:30:43.616Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 11 16:26 .golangci.yml [2022-08-11T16:30:43.616Z] -rw-rw-r-- 1 jenkins jenkins 8152 Aug 11 16:26 Attribution.txt [2022-08-11T16:30:43.616Z] -rw-rw-r-- 1 jenkins jenkins 9649 Aug 11 16:26 CHANGELOG.md [2022-08-11T16:30:43.616Z] -rw-rw-r-- 1 jenkins jenkins 1978 Aug 11 16:26 Dockerfile [2022-08-11T16:30:43.616Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 11 16:26 GOVERNANCE.md [2022-08-11T16:30:43.616Z] -rw-rw-r-- 1 jenkins jenkins 660 Aug 11 16:26 Jenkinsfile [2022-08-11T16:30:43.616Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 11 16:26 LICENSE [2022-08-11T16:30:43.616Z] -rw-rw-r-- 1 jenkins jenkins 2248 Aug 11 16:26 Makefile [2022-08-11T16:30:43.616Z] -rw-rw-r-- 1 jenkins jenkins 623 Aug 11 16:26 OWNERS.md [2022-08-11T16:30:43.616Z] -rw-rw-r-- 1 jenkins jenkins 2914 Aug 11 16:26 README.md [2022-08-11T16:30:43.616Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 11 16:24 VERSION [2022-08-11T16:30:43.616Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 11 16:26 bin [2022-08-11T16:30:43.616Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 11 16:26 cmd [2022-08-11T16:30:43.616Z] -rw-r--r-- 1 jenkins jenkins 44128 Aug 11 16:30 coverage.out [2022-08-11T16:30:43.616Z] -rw-rw-r-- 1 jenkins jenkins 3328 Aug 11 16:26 go.mod [2022-08-11T16:30:43.616Z] -rw-rw-r-- 1 jenkins jenkins 36202 Aug 11 16:26 go.sum [2022-08-11T16:30:43.616Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 11 16:26 internal [2022-08-11T16:30:43.616Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 11 16:26 snap [2022-08-11T16:30:43.616Z] -rw-rw-r-- 1 jenkins jenkins 235 Aug 11 16:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-11T16:30:44.114Z] + 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=823b52c7643ad1913637706eece5191282a1b1de --label arch=arm64 --label version=0.0.0 . [2022-08-11T16:30:44.722Z] Sending build context to Docker daemon 11.74MB [2022-08-11T16:30:44.722Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-08-11T16:30:44.722Z] Step 2/26 : FROM ${BASE} AS builder [2022-08-11T16:30:44.722Z] ---> 5c6f1facddb3 [2022-08-11T16:30:44.722Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-11T16:30:44.722Z] ---> Running in 6a9655ed9b80 [2022-08-11T16:30:45.015Z] Removing intermediate container 6a9655ed9b80 [2022-08-11T16:30:45.015Z] ---> f2e17a491ecb [2022-08-11T16:30:45.015Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-08-11T16:30:45.287Z] ---> Running in 01b0b640873c [2022-08-11T16:30:45.560Z] Removing intermediate container 01b0b640873c [2022-08-11T16:30:45.560Z] ---> e76808132f91 [2022-08-11T16:30:45.560Z] Step 5/26 : WORKDIR /device-virtual-go [2022-08-11T16:30:45.560Z] ---> Running in 963402fc7b00 [2022-08-11T16:30:45.837Z] Removing intermediate container 963402fc7b00 [2022-08-11T16:30:45.837Z] ---> 063d565c0672 [2022-08-11T16:30:45.837Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-11T16:30:45.837Z] ---> Running in 2bb9fd234a73 [2022-08-11T16:30:47.814Z] Removing intermediate container 2bb9fd234a73 [2022-08-11T16:30:47.814Z] ---> f1a660b89956 [2022-08-11T16:30:47.814Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-11T16:30:47.814Z] ---> Running in afc249ed2a16 [2022-08-11T16:30:48.792Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-11T16:30:49.768Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-11T16:30:50.366Z] OK: 226 MiB in 55 packages [2022-08-11T16:30:51.345Z] Removing intermediate container afc249ed2a16 [2022-08-11T16:30:51.345Z] ---> a3a1c9d7f6bd [2022-08-11T16:30:51.345Z] Step 8/26 : COPY go.mod vendor* ./ [2022-08-11T16:30:51.623Z] ---> 979cda273401 [2022-08-11T16:30:51.623Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-11T16:30:51.911Z] ---> Running in 1f14fcf1e10d [2022-08-11T16:30:53.891Z] Removing intermediate container 1f14fcf1e10d [2022-08-11T16:30:53.891Z] ---> 809524217af4 [2022-08-11T16:30:53.891Z] Step 10/26 : COPY . . [2022-08-11T16:30:54.873Z] ---> 079ff9f9ae22 [2022-08-11T16:30:54.873Z] Step 11/26 : ARG MAKE='make build' [2022-08-11T16:30:54.873Z] ---> Running in 1c944bd87e7b [2022-08-11T16:30:55.147Z] Removing intermediate container 1c944bd87e7b [2022-08-11T16:30:55.147Z] ---> e1a232c6e23d [2022-08-11T16:30:55.147Z] Step 12/26 : RUN $MAKE [2022-08-11T16:30:55.423Z] ---> Running in 67c7da8d3012 [2022-08-11T16:30:56.408Z] 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-11T16:33:03.293Z] Removing intermediate container 67c7da8d3012 [2022-08-11T16:33:03.293Z] ---> f39d5c1af067 [2022-08-11T16:33:03.293Z] Step 13/26 : FROM alpine:3.16 [2022-08-11T16:33:03.293Z] 3.16: Pulling from library/alpine [2022-08-11T16:33:03.293Z] 9b18e9b68314: Pulling fs layer [2022-08-11T16:33:03.293Z] 9b18e9b68314: Verifying Checksum [2022-08-11T16:33:03.293Z] 9b18e9b68314: Download complete [2022-08-11T16:33:03.293Z] 9b18e9b68314: Pull complete [2022-08-11T16:33:03.293Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-11T16:33:03.293Z] Status: Downloaded newer image for alpine:3.16 [2022-08-11T16:33:03.293Z] ---> a6215f271958 [2022-08-11T16:33:03.293Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-08-11T16:33:03.293Z] ---> Running in d2f7b65da4af [2022-08-11T16:33:03.293Z] Removing intermediate container d2f7b65da4af [2022-08-11T16:33:03.293Z] ---> e7269666ef17 [2022-08-11T16:33:03.293Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-11T16:33:03.293Z] ---> Running in cd5e57a81bbc [2022-08-11T16:33:03.293Z] Removing intermediate container cd5e57a81bbc [2022-08-11T16:33:03.293Z] ---> 21bc1fc8538e [2022-08-11T16:33:03.293Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-11T16:33:03.293Z] ---> Running in 368e10685bd3 [2022-08-11T16:33:03.293Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-11T16:33:03.293Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-11T16:33:03.293Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-11T16:33:03.293Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-08-11T16:33:03.293Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-11T16:33:03.293Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-11T16:33:03.293Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-11T16:33:03.293Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-11T16:33:03.293Z] Executing busybox-1.35.0-r17.trigger [2022-08-11T16:33:03.293Z] OK: 8 MiB in 20 packages [2022-08-11T16:33:03.293Z] Removing intermediate container 368e10685bd3 [2022-08-11T16:33:03.293Z] ---> ac5dd0be08b7 [2022-08-11T16:33:03.293Z] Step 17/26 : WORKDIR / [2022-08-11T16:33:03.293Z] ---> Running in 5ea7b8ee0608 [2022-08-11T16:33:03.569Z] Removing intermediate container 5ea7b8ee0608 [2022-08-11T16:33:03.569Z] ---> de811122aab4 [2022-08-11T16:33:03.569Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-08-11T16:33:04.169Z] ---> 3f3c6116427d [2022-08-11T16:33:04.169Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-08-11T16:33:04.765Z] ---> f5ccc702ec4f [2022-08-11T16:33:04.765Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-08-11T16:33:06.206Z] ---> 5dfc6b7fdc48 [2022-08-11T16:33:06.206Z] Step 21/26 : EXPOSE 59900 [2022-08-11T16:33:06.206Z] ---> Running in ef8efc8c9502 [2022-08-11T16:33:06.479Z] Removing intermediate container ef8efc8c9502 [2022-08-11T16:33:06.479Z] ---> aca60f3ee0c4 [2022-08-11T16:33:06.479Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-08-11T16:33:06.479Z] ---> Running in 4492333e7b41 [2022-08-11T16:33:06.755Z] Removing intermediate container 4492333e7b41 [2022-08-11T16:33:06.755Z] ---> dccbb4b6d0f8 [2022-08-11T16:33:06.755Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-11T16:33:07.030Z] ---> Running in 7c2f5f25b087 [2022-08-11T16:33:07.307Z] Removing intermediate container 7c2f5f25b087 [2022-08-11T16:33:07.307Z] ---> d6513eb9f2a0 [2022-08-11T16:33:07.307Z] Step 24/26 : LABEL arch=arm64 [2022-08-11T16:33:07.307Z] ---> Running in 9938f0003b1c [2022-08-11T16:33:07.580Z] Removing intermediate container 9938f0003b1c [2022-08-11T16:33:07.580Z] ---> e3dd1bbb9baa [2022-08-11T16:33:07.580Z] Step 25/26 : LABEL git_sha=823b52c7643ad1913637706eece5191282a1b1de [2022-08-11T16:33:07.580Z] ---> Running in 636b10191d64 [2022-08-11T16:33:07.858Z] Removing intermediate container 636b10191d64 [2022-08-11T16:33:07.858Z] ---> 696f73c23f9e [2022-08-11T16:33:07.858Z] Step 26/26 : LABEL version=0.0.0 [2022-08-11T16:33:07.858Z] ---> Running in 0e074104794f [2022-08-11T16:33:08.131Z] Removing intermediate container 0e074104794f [2022-08-11T16:33:08.131Z] ---> 8093a7b860ed [2022-08-11T16:33:08.131Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-11T16:33:08.131Z] Successfully built 8093a7b860ed [2022-08-11T16:33:08.131Z] 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-11T16:33:09.246Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-11T16:33:09.246Z] [2022-08-11T16:33:09.246Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-11T16:33:09.660Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-11T16:33:09.935Z] arm64: Pulling from edgex-lftools-log-publisher [2022-08-11T16:33:09.935Z] 8998bd30e6a1: Pulling fs layer [2022-08-11T16:33:09.935Z] 04944245beec: Pulling fs layer [2022-08-11T16:33:09.935Z] 699f458cf7ca: Pulling fs layer [2022-08-11T16:33:09.935Z] 765212b225bb: Pulling fs layer [2022-08-11T16:33:09.935Z] f23df028b6ca: Pulling fs layer [2022-08-11T16:33:09.935Z] d65c8cfc05b1: Pulling fs layer [2022-08-11T16:33:09.935Z] 2437ff75d9bd: Pulling fs layer [2022-08-11T16:33:09.935Z] f23df028b6ca: Waiting [2022-08-11T16:33:09.935Z] d65c8cfc05b1: Waiting [2022-08-11T16:33:09.935Z] 2437ff75d9bd: Waiting [2022-08-11T16:33:09.935Z] 04944245beec: Verifying Checksum [2022-08-11T16:33:09.935Z] 04944245beec: Download complete [2022-08-11T16:33:09.935Z] 765212b225bb: Verifying Checksum [2022-08-11T16:33:09.935Z] 765212b225bb: Download complete [2022-08-11T16:33:09.935Z] f23df028b6ca: Download complete [2022-08-11T16:33:09.935Z] d65c8cfc05b1: Verifying Checksum [2022-08-11T16:33:09.935Z] d65c8cfc05b1: Download complete [2022-08-11T16:33:10.209Z] 699f458cf7ca: Verifying Checksum [2022-08-11T16:33:10.209Z] 699f458cf7ca: Download complete [2022-08-11T16:33:10.482Z] 8998bd30e6a1: Verifying Checksum [2022-08-11T16:33:10.482Z] 8998bd30e6a1: Download complete [2022-08-11T16:33:13.118Z] 2437ff75d9bd: Verifying Checksum [2022-08-11T16:33:13.118Z] 2437ff75d9bd: Download complete [2022-08-11T16:33:14.555Z] 8998bd30e6a1: Pull complete [2022-08-11T16:33:15.156Z] 04944245beec: Pull complete [2022-08-11T16:33:16.597Z] 699f458cf7ca: Pull complete [2022-08-11T16:33:16.597Z] 765212b225bb: Pull complete [2022-08-11T16:33:17.582Z] f23df028b6ca: Pull complete [2022-08-11T16:33:17.860Z] d65c8cfc05b1: Pull complete [2022-08-11T16:33:32.938Z] 2437ff75d9bd: Pull complete [2022-08-11T16:33:32.938Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-08-11T16:33:32.938Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-11T16:33:32.938Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-11T16:33:33.294Z] prd-ubuntu20.04-docker-arm64-4c-16g-22516 does not seem to be running inside a container [2022-08-11T16:33:33.390Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-08-11T16:33:35.970Z] $ docker top 54ef7dc7e318bb73316f879dc7e00dc1b9588252acf808897347a80ede3e6a89 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-11T16:33:37.046Z] ---> job-cost.sh [2022-08-11T16:33:37.046Z] lf-activate-venv: SKIPPING [2022-08-11T16:33:37.046Z] INFO: No Stack... [2022-08-11T16:33:37.329Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-08-11T16:33:38.305Z] INFO: Archiving Costs [Pipeline] sh [2022-08-11T16:33:38.976Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2022-08-11T16:33:38.976Z] + cut -d, -f6 [Pipeline] lock [2022-08-11T16:33:39.053Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-300-1-stack-cost] [2022-08-11T16:33:39.058Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-300-1-stack-cost] did not exist. Created. [2022-08-11T16:33:39.058Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-300-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-11T16:33:39.812Z] /w/workspace/device-virtual-go/1@tmp/durable-1f152574/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-08-11T16:33:40.516Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-08-11T16:33:40.550Z] Warning: overwriting stash ‘stack-cost’ [2022-08-11T16:33:40.594Z] Stashed 1 file(s) [Pipeline] } [2022-08-11T16:33:40.608Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-300-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-11T16:33:40.691Z] $ docker stop --time=1 54ef7dc7e318bb73316f879dc7e00dc1b9588252acf808897347a80ede3e6a89 [2022-08-11T16:33:42.193Z] $ docker rm -f 54ef7dc7e318bb73316f879dc7e00dc1b9588252acf808897347a80ede3e6a89 [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-11T16:33:43.281Z] provisioning config files... [2022-08-11T16:33:43.289Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-300@tmp/config6275651770092600799tmp [Pipeline] { [Pipeline] sh [2022-08-11T16:33:43.630Z] + set +x [2022-08-11T16:33:43.630Z] + curl -s https://codecov.io/bash [2022-08-11T16:33:43.630Z] + bash -s -- [2022-08-11T16:33:43.630Z] [2022-08-11T16:33:43.630Z] _____ _ [2022-08-11T16:33:43.630Z] / ____| | | [2022-08-11T16:33:43.630Z] | | ___ __| | ___ ___ _____ __ [2022-08-11T16:33:43.630Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-08-11T16:33:43.630Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-08-11T16:33:43.630Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-08-11T16:33:43.630Z] Bash-1.0.6 [2022-08-11T16:33:43.630Z] [2022-08-11T16:33:43.630Z] [2022-08-11T16:33:43.630Z] ==> git version 2.25.1 found [2022-08-11T16:33:43.630Z] ==> 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-11T16:33:43.630Z] Release-Date: 2020-01-08 [2022-08-11T16:33:43.630Z] 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-11T16:33:43.630Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-08-11T16:33:43.630Z] ==> Jenkins CI detected. [2022-08-11T16:33:43.630Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-300 [2022-08-11T16:33:43.630Z] project root: . [2022-08-11T16:33:43.630Z] --> token set from env [2022-08-11T16:33:43.630Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-08-11T16:33:43.630Z] ==> Running gcov in . (disable via -X gcov) [2022-08-11T16:33:43.630Z] ==> Python coveragepy not found [2022-08-11T16:33:43.630Z] ==> Searching for coverage reports in: [2022-08-11T16:33:43.630Z] + . [2022-08-11T16:33:43.630Z] -> Found 1 reports [2022-08-11T16:33:43.630Z] ==> Detecting git/mercurial file structure [2022-08-11T16:33:43.630Z] ==> Reading reports [2022-08-11T16:33:43.891Z] + ./coverage.out bytes=44128 [2022-08-11T16:33:43.891Z] ==> Appending adjustments [2022-08-11T16:33:43.891Z] https://docs.codecov.io/docs/fixing-reports [2022-08-11T16:33:43.891Z] + Found adjustments [2022-08-11T16:33:43.891Z] ==> Gzipping contents [2022-08-11T16:33:43.891Z] 8.0K /tmp/codecov.zQnzo0.gz [2022-08-11T16:33:43.891Z] ==> Uploading reports [2022-08-11T16:33:43.891Z] url: https://codecov.io [2022-08-11T16:33:43.891Z] query: branch=PR-300&commit=823b52c7643ad1913637706eece5191282a1b1de&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-300%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=300&job=&cmd_args= [2022-08-11T16:33:43.891Z] -> Pinging Codecov [2022-08-11T16:33:43.891Z] 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=823b52c7643ad1913637706eece5191282a1b1de&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-300%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=300&job=&cmd_args= [2022-08-11T16:33:44.833Z] -> Uploading to [2022-08-11T16:33:44.833Z] https://storage.googleapis.com/codecov/v4/raw/2022-08-11/5E52B4B073DB2E39498172D8E973AA87/823b52c7643ad1913637706eece5191282a1b1de/1768753b-7c72-4649-b08c-df23a943c9f0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220811%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220811T163344Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f91626e904b86684f7e05e6e654b44814a15d6e85c2e9624648fa812975bf5eb [2022-08-11T16:33:45.093Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-11T16:33:45.093Z] Dload Upload Total Spent Left Speed [2022-08-11T16:33:45.093Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5479 0 0 100 5479 0 24351 --:--:-- --:--:-- --:--:-- 24351 [2022-08-11T16:33:45.093Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/823b52c7643ad1913637706eece5191282a1b1de [Pipeline] } [2022-08-11T16:33:45.118Z] 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-11T16:33:46.838Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-300/archives ] [2022-08-11T16:33:46.838Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-300/archives [2022-08-11T16:33:46.838Z] total 16 [2022-08-11T16:33:46.838Z] drwxr-xr-x 3 root root 4096 Aug 11 16:26 . [2022-08-11T16:33:46.838Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 11 16:26 .. [2022-08-11T16:33:46.838Z] drwxr-xr-x 2 root root 4096 Aug 11 16:26 cost [2022-08-11T16:33:46.838Z] -rw-r--r-- 1 root root 89 Aug 11 16:26 cost.csv [2022-08-11T16:33:46.838Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-300/archives [2022-08-11T16:33:46.838Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-300/archives [2022-08-11T16:33:46.838Z] total 16 [2022-08-11T16:33:46.838Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 11 16:26 . [2022-08-11T16:33:46.838Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 11 16:26 .. [2022-08-11T16:33:46.838Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 11 16:26 cost [2022-08-11T16:33:46.838Z] -rw-r--r-- 1 jenkins jenkins 89 Aug 11 16:26 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-08-11T16:33:47.168Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-11T16:33:48.064Z] ---> package-listing.sh [2022-08-11T16:33:48.064Z] ++ facter osfamily [2022-08-11T16:33:48.064Z] ++ tr '[:upper:]' '[:lower:]' [2022-08-11T16:33:48.326Z] + OS_FAMILY=debian [2022-08-11T16:33:48.326Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-300 [2022-08-11T16:33:48.326Z] + START_PACKAGES=/tmp/packages_start.txt [2022-08-11T16:33:48.326Z] + END_PACKAGES=/tmp/packages_end.txt [2022-08-11T16:33:48.326Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-08-11T16:33:48.326Z] + PACKAGES=/tmp/packages_start.txt [2022-08-11T16:33:48.326Z] + '[' /w/workspace/foundry_device-virtual-go_PR-300 ']' [2022-08-11T16:33:48.326Z] + PACKAGES=/tmp/packages_end.txt [2022-08-11T16:33:48.326Z] + case "${OS_FAMILY}" in [2022-08-11T16:33:48.326Z] + dpkg -l [2022-08-11T16:33:48.326Z] + grep '^ii' [2022-08-11T16:33:48.326Z] + '[' -f /tmp/packages_start.txt ']' [2022-08-11T16:33:48.326Z] + '[' -f /tmp/packages_end.txt ']' [2022-08-11T16:33:48.326Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-08-11T16:33:48.326Z] + '[' /w/workspace/foundry_device-virtual-go_PR-300 ']' [2022-08-11T16:33:48.326Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-300/archives/ [2022-08-11T16:33:48.326Z] + 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-11T16:33:48.361Z] 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-11T16:33:48.664Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-11T16:33:49.298Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-11T16:33:49.298Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-11T16:33:49.473Z] prd-ubuntu20.04-docker-8c-8g-22515 does not seem to be running inside a container [2022-08-11T16:33:49.512Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-11T16:33:49.773Z] $ docker top 0ea309621caf3d04d30c8988b9ea7a8010fee590fc2f982d34f4c1661d4b5753 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-11T16:33:50.192Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-08-11T16:33:50.506Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-08-11T16:33:50.819Z] + ls /var/log/sa-host [2022-08-11T16:33:50.819Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-11T16:33:51.041Z] provisioning config files... [2022-08-11T16:33:51.051Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-300@tmp/config1340736977680078821tmp [Pipeline] { [Pipeline] echo [2022-08-11T16:33:51.103Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-11T16:33:51.427Z] ---> create-netrc.sh [Pipeline] } [2022-08-11T16:33:51.457Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-08-11T16:33:51.866Z] ---> python-tools-install.sh [Pipeline] echo [2022-08-11T16:33:51.897Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-11T16:33:52.211Z] ---> sudo-logs.sh [2022-08-11T16:33:52.211Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-08-11T16:33:52.290Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-11T16:33:52.603Z] ---> job-cost.sh [2022-08-11T16:33:52.603Z] lf-activate-venv: SKIPPING [2022-08-11T16:33:52.603Z] DEBUG: total: 0.2199999988079071 [2022-08-11T16:33:52.603Z] INFO: Retrieving Stack Cost... [2022-08-11T16:33:53.177Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-11T16:33:53.437Z] INFO: Archiving Costs [Pipeline] echo [2022-08-11T16:33:53.472Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-11T16:33:53.791Z] ---> logs-deploy.sh [2022-08-11T16:33:53.791Z] lf-activate-venv: SKIPPING [2022-08-11T16:33:53.791Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-300/1 [2022-08-11T16:33:53.791Z] INFO: archiving workspace using pattern(s): [2022-08-11T16:33:54.730Z] Archives upload complete. [2022-08-11T16:33:54.730Z] INFO: archiving logs to Nexus