Pull request #332 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e194606d8286d5d13aabe6b401bb795eccf3f1e5+ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80 (1c4def4e121f973495fc08eff2d4e8a347ccb0d8) 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-ssh5733853461135237861.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh16665154380132476120.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-332/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-332/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9283834046644185307.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-332/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4586215035287134219.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6350350722211026115.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-332/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-332/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3768792248807158661.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-3348 in /w/workspace/foundry_device-virtual-go_PR-332 [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-332 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Merging remotes/origin/main commit ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80 into PR head commit e194606d8286d5d13aabe6b401bb795eccf3f1e5 Merge succeeded, producing e194606d8286d5d13aabe6b401bb795eccf3f1e5 Checking out Revision e194606d8286d5d13aabe6b401bb795eccf3f1e5 (PR-332) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/332/head:refs/remotes/origin/PR-332 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e194606d8286d5d13aabe6b401bb795eccf3f1e5 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e194606d8286d5d13aabe6b401bb795eccf3f1e5 # timeout=10 [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-23T11:03:28.240Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-23T11:03:28.425Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-23T11:03:28.527Z] ========================================================= [2023-01-23T11:03:28.527Z] EdgeX Global Pipelines Version Info [2023-01-23T11:03:28.527Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-23T11:03:29.271Z] ------------------- [2023-01-23T11:03:29.271Z] stable info: [2023-01-23T11:03:29.271Z] ------------------- [2023-01-23T11:03:29.271Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-23T11:03:29.271Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-23T11:03:29.271Z] Message: update stable to v1.0.244 [2023-01-23T11:03:29.865Z] ------------------- [2023-01-23T11:03:29.865Z] experimental info: [2023-01-23T11:03:29.865Z] ------------------- [2023-01-23T11:03:29.865Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-23T11:03:29.865Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-23T11:03:29.865Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-23T11:03:30.147Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2023-01-23T11:03:30.183Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2023-01-23T11:03:30.219Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-23T11:03:30.256Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-23T11:03:30.297Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-23T11:03:30.334Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-23T11:03:30.370Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-23T11:03:30.412Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-23T11:03:30.445Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-23T11:03:30.486Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-23T11:03:30.523Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-23T11:03:30.559Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2023-01-23T11:03:30.596Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-23T11:03:30.635Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-23T11:03:30.676Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-23T11:03:30.714Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-23T11:03:30.750Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-23T11:03:30.786Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-23T11:03:30.824Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-23T11:03:30.861Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-23T11:03:30.898Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-01-23T11:03:30.936Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-01-23T11:03:30.974Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-23T11:03:31.016Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-23T11:03:31.058Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-23T11:03:31.101Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-23T11:03:31.138Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-23T11:03:31.178Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-332 [Pipeline] echo [2023-01-23T11:03:31.218Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-332 [Pipeline] echo [2023-01-23T11:03:31.255Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-332 [Pipeline] echo [2023-01-23T11:03:31.295Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e194606d8286d5d13aabe6b401bb795eccf3f1e5 [Pipeline] echo [2023-01-23T11:03:31.335Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e194606 [Pipeline] echo [2023-01-23T11:03:31.373Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-23T11:03:31.480Z] provisioning config files... [2023-01-23T11:03:31.493Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-332@tmp/config1741576574077480105tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-23T11:03:31.847Z] ---> docker-login.sh [2023-01-23T11:03:31.847Z] nexus3.edgexfoundry.org:10001 [2023-01-23T11:03:32.107Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T11:03:32.107Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T11:03:32.107Z] Configure a credential helper to remove this warning. See [2023-01-23T11:03:32.107Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T11:03:32.107Z] [2023-01-23T11:03:32.107Z] Login Succeeded [2023-01-23T11:03:32.107Z] nexus3.edgexfoundry.org:10002 [2023-01-23T11:03:32.107Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T11:03:32.369Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T11:03:32.369Z] Configure a credential helper to remove this warning. See [2023-01-23T11:03:32.369Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T11:03:32.369Z] [2023-01-23T11:03:32.369Z] Login Succeeded [2023-01-23T11:03:32.369Z] nexus3.edgexfoundry.org:10003 [2023-01-23T11:03:32.369Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T11:03:32.369Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T11:03:32.369Z] Configure a credential helper to remove this warning. See [2023-01-23T11:03:32.369Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T11:03:32.369Z] [2023-01-23T11:03:32.369Z] Login Succeeded [2023-01-23T11:03:32.369Z] nexus3.edgexfoundry.org:10004 [2023-01-23T11:03:32.369Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T11:03:32.630Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T11:03:32.630Z] Configure a credential helper to remove this warning. See [2023-01-23T11:03:32.630Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T11:03:32.630Z] [2023-01-23T11:03:32.630Z] Login Succeeded [2023-01-23T11:03:32.630Z] docker.io [2023-01-23T11:03:32.630Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T11:03:32.890Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T11:03:32.890Z] Configure a credential helper to remove this warning. See [2023-01-23T11:03:32.890Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T11:03:32.890Z] [2023-01-23T11:03:32.890Z] Login Succeeded [2023-01-23T11:03:32.890Z] ---> docker-login.sh ends [Pipeline] } [2023-01-23T11:03:32.917Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-23T11:03:33.520Z] + git rev-list -1 --merges e194606d8286d5d13aabe6b401bb795eccf3f1e5~1..e194606d8286d5d13aabe6b401bb795eccf3f1e5 [Pipeline] echo [2023-01-23T11:03:33.583Z] -----------> git rev-list -1 --merges e194606d8286d5d13aabe6b401bb795eccf3f1e5~1..e194606d8286d5d13aabe6b401bb795eccf3f1e5 e194606d8286d5d13aabe6b401bb795eccf3f1e5 [false] [Pipeline] sh [2023-01-23T11:03:33.888Z] + git log --format=format:%s -1 e194606d8286d5d13aabe6b401bb795eccf3f1e5 [Pipeline] echo [2023-01-23T11:03:33.922Z] ========================================================= [2023-01-23T11:03:33.922Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-23T11:03:33.922Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-23T11:03:34.333Z] + git log --format=format:%s -1 e194606d8286d5d13aabe6b401bb795eccf3f1e5 [Pipeline] echo [2023-01-23T11:03:34.365Z] [semverPrep] GIT_COMMIT: e194606d8286d5d13aabe6b401bb795eccf3f1e5, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-01-23T11:03:34.391Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-23T11:03:34.758Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-23T11:03:34.759Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-23T11:03:34.759Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-23T11:03:34.759Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-23T11:03:34.759Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-23T11:03:34.759Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-23T11:03:34.759Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T11:03:35.174Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-23T11:03:35.174Z] [2023-01-23T11:03:35.174Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T11:03:35.543Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-23T11:03:35.543Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-23T11:03:35.543Z] b85a868b505f: Pulling fs layer [2023-01-23T11:03:35.543Z] e2be974225ed: Pulling fs layer [2023-01-23T11:03:35.543Z] 339a4e72a1f5: Pulling fs layer [2023-01-23T11:03:35.543Z] 988bab9f4d93: Pulling fs layer [2023-01-23T11:03:35.543Z] 1469e6f7b9e6: Pulling fs layer [2023-01-23T11:03:35.543Z] eaf3925da568: Pulling fs layer [2023-01-23T11:03:35.543Z] bab4dde63d76: Pulling fs layer [2023-01-23T11:03:35.543Z] bde34c3a00c8: Pulling fs layer [2023-01-23T11:03:35.543Z] b352a97aabf1: Pulling fs layer [2023-01-23T11:03:35.543Z] 4872d77fe225: Pulling fs layer [2023-01-23T11:03:35.543Z] 5851b861e8e6: Pulling fs layer [2023-01-23T11:03:35.543Z] 988bab9f4d93: Waiting [2023-01-23T11:03:35.543Z] 1469e6f7b9e6: Waiting [2023-01-23T11:03:35.543Z] bde34c3a00c8: Waiting [2023-01-23T11:03:35.543Z] b352a97aabf1: Waiting [2023-01-23T11:03:35.543Z] bab4dde63d76: Waiting [2023-01-23T11:03:35.543Z] eaf3925da568: Waiting [2023-01-23T11:03:35.543Z] 4872d77fe225: Waiting [2023-01-23T11:03:35.543Z] 5851b861e8e6: Waiting [2023-01-23T11:03:35.543Z] e2be974225ed: Download complete [2023-01-23T11:03:35.806Z] 988bab9f4d93: Verifying Checksum [2023-01-23T11:03:35.806Z] 988bab9f4d93: Download complete [2023-01-23T11:03:35.806Z] 339a4e72a1f5: Verifying Checksum [2023-01-23T11:03:35.806Z] 339a4e72a1f5: Download complete [2023-01-23T11:03:35.806Z] eaf3925da568: Download complete [2023-01-23T11:03:35.806Z] 1469e6f7b9e6: Verifying Checksum [2023-01-23T11:03:35.806Z] 1469e6f7b9e6: Download complete [2023-01-23T11:03:35.806Z] bde34c3a00c8: Verifying Checksum [2023-01-23T11:03:35.806Z] bde34c3a00c8: Download complete [2023-01-23T11:03:35.806Z] b352a97aabf1: Verifying Checksum [2023-01-23T11:03:35.806Z] b352a97aabf1: Download complete [2023-01-23T11:03:35.806Z] 4872d77fe225: Verifying Checksum [2023-01-23T11:03:35.806Z] 4872d77fe225: Download complete [2023-01-23T11:03:36.067Z] 5851b861e8e6: Verifying Checksum [2023-01-23T11:03:36.067Z] 5851b861e8e6: Download complete [2023-01-23T11:03:36.067Z] b85a868b505f: Verifying Checksum [2023-01-23T11:03:36.067Z] b85a868b505f: Download complete [2023-01-23T11:03:36.325Z] bab4dde63d76: Verifying Checksum [2023-01-23T11:03:36.325Z] bab4dde63d76: Download complete [2023-01-23T11:03:37.260Z] b85a868b505f: Pull complete [2023-01-23T11:03:37.519Z] e2be974225ed: Pull complete [2023-01-23T11:03:37.779Z] 339a4e72a1f5: Pull complete [2023-01-23T11:03:37.779Z] 988bab9f4d93: Pull complete [2023-01-23T11:03:38.349Z] 1469e6f7b9e6: Pull complete [2023-01-23T11:03:38.349Z] eaf3925da568: Pull complete [2023-01-23T11:03:40.262Z] bab4dde63d76: Pull complete [2023-01-23T11:03:40.262Z] bde34c3a00c8: Pull complete [2023-01-23T11:03:40.262Z] b352a97aabf1: Pull complete [2023-01-23T11:03:40.262Z] 4872d77fe225: Pull complete [2023-01-23T11:03:40.523Z] 5851b861e8e6: Pull complete [2023-01-23T11:03:40.523Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-23T11:03:40.523Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-23T11:03:40.523Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-23T11:03:40.739Z] prd-ubuntu20.04-docker-8c-8g-3348 does not seem to be running inside a container [2023-01-23T11:03:40.773Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-332 -v /w/workspace/foundry_device-virtual-go_PR-332:/w/workspace/foundry_device-virtual-go_PR-332:rw,z -v /w/workspace/foundry_device-virtual-go_PR-332@tmp:/w/workspace/foundry_device-virtual-go_PR-332@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-23T11:03:42.139Z] $ docker top 7bbb0c79a7d02388d7d479ffaf7dccef27969bf290db10f768a35a9461bc0296 -eo pid,comm [2023-01-23T11:03:42.192Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-01-23T11:03:42.192Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-23T11:03:42.324Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-23T11:03:42.324Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-23T11:03:42.448Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-23T11:03:42.453Z] $ docker exec 7bbb0c79a7d02388d7d479ffaf7dccef27969bf290db10f768a35a9461bc0296 ssh-agent [2023-01-23T11:03:42.557Z] SSH_AUTH_SOCK=/tmp/ssh-1wfQcTiA3HcZ/agent.33 [2023-01-23T11:03:42.557Z] SSH_AGENT_PID=39 [2023-01-23T11:03:42.564Z] Running ssh-add (command line suppressed) [2023-01-23T11:03:42.674Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-332@tmp/private_key_1542932079738411922.key (/w/workspace/foundry_device-virtual-go_PR-332@tmp/private_key_1542932079738411922.key) [2023-01-23T11:03:42.686Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-23T11:03:43.015Z] + git tag --points-at HEAD [Pipeline] } [2023-01-23T11:03:43.044Z] $ docker exec --env ******** --env ******** 7bbb0c79a7d02388d7d479ffaf7dccef27969bf290db10f768a35a9461bc0296 ssh-agent -k [2023-01-23T11:03:43.159Z] unset SSH_AUTH_SOCK; [2023-01-23T11:03:43.159Z] unset SSH_AGENT_PID; [2023-01-23T11:03:43.160Z] echo Agent pid 39 killed; [2023-01-23T11:03:43.166Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-23T11:03:43.249Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-23T11:03:43.249Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-23T11:03:43.374Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-23T11:03:43.379Z] $ docker exec 7bbb0c79a7d02388d7d479ffaf7dccef27969bf290db10f768a35a9461bc0296 ssh-agent [2023-01-23T11:03:43.492Z] SSH_AUTH_SOCK=/tmp/ssh-DPqEmZmZXfQ8/agent.71 [2023-01-23T11:03:43.492Z] SSH_AGENT_PID=77 [2023-01-23T11:03:43.497Z] Running ssh-add (command line suppressed) [2023-01-23T11:03:43.619Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-332@tmp/private_key_10669699241622922326.key (/w/workspace/foundry_device-virtual-go_PR-332@tmp/private_key_10669699241622922326.key) [2023-01-23T11:03:43.633Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-23T11:03:43.972Z] + git semver init [2023-01-23T11:03:44.232Z] 2023-01-23 11:03:44,168 [run_init] DEBUG init version:0.0.0 force:False [2023-01-23T11:03:44.232Z] 2023-01-23 11:03:44,169 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-332/.semver [2023-01-23T11:03:44.232Z] 2023-01-23 11:03:44,169 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-332/.semver [2023-01-23T11:03:44.232Z] 2023-01-23 11:03:44,170 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-332/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-332, universal_newlines=False, shell=None, istream=None) [2023-01-23T11:03:45.615Z] 2023-01-23 11:03:45,279 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-332/.git/info/exclude [2023-01-23T11:03:45.615Z] 2023-01-23 11:03:45,279 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-332/.semver/PR-332 with force:False [2023-01-23T11:03:45.615Z] 2023-01-23 11:03:45,280 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-332/.semver/PR-332 [2023-01-23T11:03:45.615Z] 2023-01-23 11:03:45,284 [execute] INFO git cat-file --batch-check [2023-01-23T11:03:45.615Z] 2023-01-23 11:03:45,284 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-332/.semver, universal_newlines=False, shell=None, istream=) [2023-01-23T11:03:45.615Z] 2023-01-23 11:03:45,291 [execute] INFO git cat-file --batch [2023-01-23T11:03:45.615Z] 2023-01-23 11:03:45,291 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-332/.semver, universal_newlines=False, shell=None, istream=) [2023-01-23T11:03:45.615Z] 2023-01-23 11:03:45,297 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-332/.semver/PR-332 [2023-01-23T11:03:45.615Z] 0.0.0 [Pipeline] } [2023-01-23T11:03:45.644Z] $ docker exec --env ******** --env ******** 7bbb0c79a7d02388d7d479ffaf7dccef27969bf290db10f768a35a9461bc0296 ssh-agent -k [2023-01-23T11:03:45.749Z] unset SSH_AUTH_SOCK; [2023-01-23T11:03:45.750Z] unset SSH_AGENT_PID; [2023-01-23T11:03:45.750Z] echo Agent pid 77 killed; [2023-01-23T11:03:45.758Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-23T11:03:46.173Z] + git semver [Pipeline] } [2023-01-23T11:03:46.460Z] $ docker stop --time=1 7bbb0c79a7d02388d7d479ffaf7dccef27969bf290db10f768a35a9461bc0296 [2023-01-23T11:03:47.779Z] $ docker rm -f --volumes 7bbb0c79a7d02388d7d479ffaf7dccef27969bf290db10f768a35a9461bc0296 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-23T11:03:48.187Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-23T11:03:48.454Z] Stashed 1 file(s) [Pipeline] echo [2023-01-23T11:03:48.472Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-23T11:03:49.081Z] provisioning config files... [2023-01-23T11:03:49.092Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-332@tmp/config17796595317175493150tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-23T11:03:49.434Z] ---> docker-login.sh [2023-01-23T11:03:49.434Z] nexus3.edgexfoundry.org:10001 [2023-01-23T11:03:49.434Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T11:03:49.434Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T11:03:49.434Z] Configure a credential helper to remove this warning. See [2023-01-23T11:03:49.434Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T11:03:49.434Z] [2023-01-23T11:03:49.434Z] Login Succeeded [2023-01-23T11:03:49.434Z] nexus3.edgexfoundry.org:10002 [2023-01-23T11:03:49.434Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T11:03:49.434Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T11:03:49.434Z] Configure a credential helper to remove this warning. See [2023-01-23T11:03:49.434Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T11:03:49.434Z] [2023-01-23T11:03:49.434Z] Login Succeeded [2023-01-23T11:03:49.434Z] nexus3.edgexfoundry.org:10003 [2023-01-23T11:03:49.693Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T11:03:49.693Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T11:03:49.693Z] Configure a credential helper to remove this warning. See [2023-01-23T11:03:49.693Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T11:03:49.693Z] [2023-01-23T11:03:49.693Z] Login Succeeded [2023-01-23T11:03:49.693Z] nexus3.edgexfoundry.org:10004 [2023-01-23T11:03:49.693Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T11:03:49.693Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T11:03:49.693Z] Configure a credential helper to remove this warning. See [2023-01-23T11:03:49.693Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T11:03:49.693Z] [2023-01-23T11:03:49.693Z] Login Succeeded [2023-01-23T11:03:49.693Z] docker.io [2023-01-23T11:03:49.953Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T11:03:50.212Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T11:03:50.212Z] Configure a credential helper to remove this warning. See [2023-01-23T11:03:50.212Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T11:03:50.212Z] [2023-01-23T11:03:50.212Z] Login Succeeded [2023-01-23T11:03:50.212Z] ---> docker-login.sh ends [Pipeline] } [2023-01-23T11:03:50.241Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-23T11:03:50.427Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-23T11:03:50.465Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-23T11:03:50.496Z] ========================================================= [2023-01-23T11:03:50.496Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-23T11:03:50.496Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T11:03:50.983Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-23T11:03:50.983Z] Sending build context to Docker daemon 23.34MB [2023-01-23T11:03:50.983Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-23T11:03:50.983Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-23T11:03:51.250Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-23T11:03:51.250Z] 213ec9aee27d: Pulling fs layer [2023-01-23T11:03:51.250Z] 4583459ba037: Pulling fs layer [2023-01-23T11:03:51.250Z] 93c1e223e6f2: Pulling fs layer [2023-01-23T11:03:51.250Z] 53926ce57604: Pulling fs layer [2023-01-23T11:03:51.250Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-23T11:03:51.250Z] 22ff95d597cd: Pulling fs layer [2023-01-23T11:03:51.250Z] 12d6caf4c0d1: Pulling fs layer [2023-01-23T11:03:51.250Z] 96b7cbca73a9: Pulling fs layer [2023-01-23T11:03:51.250Z] a7acece74701: Pulling fs layer [2023-01-23T11:03:51.250Z] 21b2b0c7a3f4: Waiting [2023-01-23T11:03:51.250Z] 53926ce57604: Waiting [2023-01-23T11:03:51.250Z] 12d6caf4c0d1: Waiting [2023-01-23T11:03:51.250Z] 96b7cbca73a9: Waiting [2023-01-23T11:03:51.250Z] 22ff95d597cd: Waiting [2023-01-23T11:03:51.250Z] a7acece74701: Waiting [2023-01-23T11:03:51.250Z] 93c1e223e6f2: Download complete [2023-01-23T11:03:51.250Z] 4583459ba037: Verifying Checksum [2023-01-23T11:03:51.250Z] 4583459ba037: Download complete [2023-01-23T11:03:51.250Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-23T11:03:51.250Z] 21b2b0c7a3f4: Download complete [2023-01-23T11:03:51.250Z] 22ff95d597cd: Download complete [2023-01-23T11:03:51.250Z] 213ec9aee27d: Download complete [2023-01-23T11:03:51.250Z] 12d6caf4c0d1: Download complete [2023-01-23T11:03:51.512Z] 213ec9aee27d: Pull complete [2023-01-23T11:03:51.512Z] 4583459ba037: Pull complete [2023-01-23T11:03:51.512Z] 93c1e223e6f2: Pull complete [2023-01-23T11:03:52.510Z] a7acece74701: Verifying Checksum [2023-01-23T11:03:52.510Z] a7acece74701: Download complete [2023-01-23T11:03:52.510Z] 53926ce57604: Verifying Checksum [2023-01-23T11:03:52.510Z] 53926ce57604: Download complete [2023-01-23T11:03:52.510Z] 96b7cbca73a9: Verifying Checksum [2023-01-23T11:03:52.510Z] 96b7cbca73a9: Download complete [2023-01-23T11:03:56.691Z] 53926ce57604: Pull complete [2023-01-23T11:03:56.691Z] 21b2b0c7a3f4: Pull complete [2023-01-23T11:03:56.691Z] 22ff95d597cd: Pull complete [2023-01-23T11:03:56.691Z] 12d6caf4c0d1: Pull complete [2023-01-23T11:03:58.588Z] 96b7cbca73a9: Pull complete [2023-01-23T11:03:59.521Z] a7acece74701: Pull complete [2023-01-23T11:03:59.521Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-23T11:03:59.521Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-23T11:03:59.521Z] ---> db6d94c90886 [2023-01-23T11:03:59.521Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-23T11:04:00.900Z] ---> Running in 7ec1fecb57a8 [2023-01-23T11:04:01.160Z] Removing intermediate container 7ec1fecb57a8 [2023-01-23T11:04:01.160Z] ---> 1dfe7fd2548d [2023-01-23T11:04:01.160Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-23T11:04:01.160Z] ---> Running in 4363037c486c [2023-01-23T11:04:01.160Z] Removing intermediate container 4363037c486c [2023-01-23T11:04:01.160Z] ---> c3e71211204e [2023-01-23T11:04:01.160Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-01-23T11:04:01.418Z] ---> Running in 509b57924851 [2023-01-23T11:04:01.418Z] Removing intermediate container 509b57924851 [2023-01-23T11:04:01.418Z] ---> 874108d0fb71 [2023-01-23T11:04:01.418Z] Step 6/12 : WORKDIR /device-virtual-go [2023-01-23T11:04:01.418Z] ---> Running in df97bf732072 [2023-01-23T11:04:01.418Z] Removing intermediate container df97bf732072 [2023-01-23T11:04:01.418Z] ---> 11323f1206fd [2023-01-23T11:04:01.418Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-23T11:04:01.418Z] ---> Running in 53d219265689 [2023-01-23T11:04:01.985Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-23T11:04:01.985Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-23T11:04:02.245Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-23T11:04:02.245Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-23T11:04:02.245Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-23T11:04:02.245Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-23T11:04:02.245Z] Executing busybox-1.35.0-r17.trigger [2023-01-23T11:04:02.245Z] OK: 216 MiB in 55 packages [2023-01-23T11:04:02.811Z] Removing intermediate container 53d219265689 [2023-01-23T11:04:02.811Z] ---> 69e35fa0195a [2023-01-23T11:04:02.811Z] Step 8/12 : COPY go.mod vendor* ./ [2023-01-23T11:04:02.811Z] ---> 90d87c9d226f [2023-01-23T11:04:02.811Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-23T11:04:02.811Z] ---> Running in b50a77872805 [2023-01-23T11:04:03.903Z] Still waiting to schedule task [2023-01-23T11:04:03.903Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-3350’ is offline [2023-01-23T11:04:41.531Z] Removing intermediate container b50a77872805 [2023-01-23T11:04:41.531Z] ---> 3e454b624ace [2023-01-23T11:04:41.531Z] Step 10/12 : COPY . . [2023-01-23T11:04:41.531Z] ---> 3b9d1ca47ac9 [2023-01-23T11:04:41.531Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-23T11:04:41.531Z] ---> Running in f3e4ec76daa5 [2023-01-23T11:04:41.531Z] Removing intermediate container f3e4ec76daa5 [2023-01-23T11:04:41.531Z] ---> 06b09519cff8 [2023-01-23T11:04:41.531Z] Step 12/12 : RUN $MAKE [2023-01-23T11:04:41.531Z] ---> Running in c99345481dc0 [2023-01-23T11:04:41.531Z] noop [2023-01-23T11:04:41.531Z] Removing intermediate container c99345481dc0 [2023-01-23T11:04:41.531Z] ---> 0f3c48e78c5d [2023-01-23T11:04:41.531Z] Successfully built 0f3c48e78c5d [2023-01-23T11:04:41.531Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T11:04:41.962Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-23T11:04:41.962Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-23T11:04:42.109Z] prd-ubuntu20.04-docker-8c-8g-3348 does not seem to be running inside a container [2023-01-23T11:04:42.143Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-332 -v /w/workspace/foundry_device-virtual-go_PR-332:/w/workspace/foundry_device-virtual-go_PR-332:rw,z -v /w/workspace/foundry_device-virtual-go_PR-332@tmp:/w/workspace/foundry_device-virtual-go_PR-332@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-23T11:04:42.506Z] $ docker top 8859bc51f2c758b5614a8667d6e2a94ab4f416cd4fbd1e114104eae8cdca5102 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-23T11:04:42.901Z] + go version [2023-01-23T11:04:42.902Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-23T11:04:42.934Z] $ docker stop --time=1 8859bc51f2c758b5614a8667d6e2a94ab4f416cd4fbd1e114104eae8cdca5102 [2023-01-23T11:04:44.224Z] $ docker rm -f --volumes 8859bc51f2c758b5614a8667d6e2a94ab4f416cd4fbd1e114104eae8cdca5102 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T11:04:44.946Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-23T11:04:44.946Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-23T11:04:45.103Z] prd-ubuntu20.04-docker-8c-8g-3348 does not seem to be running inside a container [2023-01-23T11:04:45.140Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-virtual-go_PR-332 -v /w/workspace/foundry_device-virtual-go_PR-332:/w/workspace/foundry_device-virtual-go_PR-332:rw,z -v /w/workspace/foundry_device-virtual-go_PR-332@tmp:/w/workspace/foundry_device-virtual-go_PR-332@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-23T11:04:45.486Z] $ docker top 96862670ced8539082808fffcb7f85b01c9b2e76f4768c4b4461f72933bd668b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-23T11:04:45.876Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-332 [Pipeline] fileExists [Pipeline] sh [2023-01-23T11:04:46.241Z] + make test [2023-01-23T11:04:46.241Z] go test ./... -coverprofile=coverage.out [2023-01-23T11:04:46.500Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-01-23T11:04:56.789Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-01-23T11:04:56.789Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.042s coverage: 65.7% of statements [2023-01-23T11:05:04.896Z] 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." [2023-01-23T11:05:04.896Z] go vet ./... [2023-01-23T11:05:07.424Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-23T11:05:07.424Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-23T11:05:07.424Z] ./bin/test-attribution-txt.sh [2023-01-23T11:05:07.424Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-01-23T11:05:07.424Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-01-23T11:05:07.470Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-23T11:05:07.505Z] $ docker stop --time=1 96862670ced8539082808fffcb7f85b01c9b2e76f4768c4b4461f72933bd668b [2023-01-23T11:05:09.538Z] $ docker rm -f --volumes 96862670ced8539082808fffcb7f85b01c9b2e76f4768c4b4461f72933bd668b [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-23T11:05:10.059Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-23T11:05:10.131Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-23T11:05:10.833Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-23T11:05:11.145Z] + ls -al . [2023-01-23T11:05:11.145Z] total 196 [2023-01-23T11:05:11.145Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 23 11:04 . [2023-01-23T11:05:11.145Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 23 11:03 .. [2023-01-23T11:05:11.145Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 23 11:04 .git [2023-01-23T11:05:11.145Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 23 11:03 .github [2023-01-23T11:05:11.145Z] -rw-rw-r-- 1 jenkins jenkins 337 Jan 23 11:03 .gitignore [2023-01-23T11:05:11.145Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 23 11:03 .golangci.yml [2023-01-23T11:05:11.145Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 23 11:03 .semver [2023-01-23T11:05:11.145Z] -rw-rw-r-- 1 jenkins jenkins 8423 Jan 23 11:03 Attribution.txt [2023-01-23T11:05:11.145Z] -rw-rw-r-- 1 jenkins jenkins 11367 Jan 23 11:03 CHANGELOG.md [2023-01-23T11:05:11.145Z] -rw-rw-r-- 1 jenkins jenkins 1646 Jan 23 11:03 Dockerfile [2023-01-23T11:05:11.145Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 23 11:03 GOVERNANCE.md [2023-01-23T11:05:11.145Z] -rw-rw-r-- 1 jenkins jenkins 660 Jan 23 11:03 Jenkinsfile [2023-01-23T11:05:11.145Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 23 11:03 LICENSE [2023-01-23T11:05:11.145Z] -rw-rw-r-- 1 jenkins jenkins 1661 Jan 23 11:03 Makefile [2023-01-23T11:05:11.145Z] -rw-rw-r-- 1 jenkins jenkins 623 Jan 23 11:03 OWNERS.md [2023-01-23T11:05:11.145Z] -rw-rw-r-- 1 jenkins jenkins 3578 Jan 23 11:03 README.md [2023-01-23T11:05:11.145Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 23 11:03 VERSION [2023-01-23T11:05:11.145Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 23 11:03 bin [2023-01-23T11:05:11.145Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 23 11:03 cmd [2023-01-23T11:05:11.145Z] -rw-r--r-- 1 jenkins jenkins 44128 Jan 23 11:04 coverage.out [2023-01-23T11:05:11.145Z] -rw-rw-r-- 1 jenkins jenkins 3306 Jan 23 11:03 go.mod [2023-01-23T11:05:11.145Z] -rw-rw-r-- 1 jenkins jenkins 34165 Jan 23 11:03 go.sum [2023-01-23T11:05:11.145Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 23 11:03 internal [2023-01-23T11:05:11.145Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 23 11:03 snap [2023-01-23T11:05:11.145Z] -rw-rw-r-- 1 jenkins jenkins 235 Jan 23 11:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T11:05:11.535Z] + 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=e194606d8286d5d13aabe6b401bb795eccf3f1e5 --label arch=amd64 --label version=0.0.0 . [2023-01-23T11:05:11.535Z] Sending build context to Docker daemon 23.38MB [2023-01-23T11:05:11.535Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-01-23T11:05:11.535Z] Step 2/25 : FROM ${BASE} AS builder [2023-01-23T11:05:11.535Z] ---> 0f3c48e78c5d [2023-01-23T11:05:11.535Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-23T11:05:11.794Z] ---> Running in 2775fc1675a6 [2023-01-23T11:05:11.794Z] Removing intermediate container 2775fc1675a6 [2023-01-23T11:05:11.794Z] ---> f7651308b6bc [2023-01-23T11:05:11.794Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-01-23T11:05:12.053Z] ---> Running in 28de0258417e [2023-01-23T11:05:12.053Z] Removing intermediate container 28de0258417e [2023-01-23T11:05:12.053Z] ---> 18016e1a5db9 [2023-01-23T11:05:12.053Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-01-23T11:05:12.053Z] ---> Running in 21c3ebf9d72d [2023-01-23T11:05:12.053Z] Removing intermediate container 21c3ebf9d72d [2023-01-23T11:05:12.053Z] ---> 6a06f01b9d51 [2023-01-23T11:05:12.053Z] Step 6/25 : WORKDIR /device-virtual-go [2023-01-23T11:05:12.053Z] ---> Running in f29fdd1373f3 [2023-01-23T11:05:12.313Z] Removing intermediate container f29fdd1373f3 [2023-01-23T11:05:12.313Z] ---> 7c639da63a15 [2023-01-23T11:05:12.313Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-23T11:05:12.313Z] ---> Running in c5d8fa423702 [2023-01-23T11:05:12.572Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-23T11:05:12.572Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-23T11:05:12.832Z] OK: 216 MiB in 55 packages [2023-01-23T11:05:13.091Z] Removing intermediate container c5d8fa423702 [2023-01-23T11:05:13.091Z] ---> 0ed1521da979 [2023-01-23T11:05:13.091Z] Step 8/25 : COPY go.mod vendor* ./ [2023-01-23T11:05:13.350Z] ---> e7868c81182f [2023-01-23T11:05:13.350Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-23T11:05:13.350Z] ---> Running in 7c8749dd0f6a [2023-01-23T11:05:14.288Z] Removing intermediate container 7c8749dd0f6a [2023-01-23T11:05:14.288Z] ---> 86a9e2f332a4 [2023-01-23T11:05:14.288Z] Step 10/25 : COPY . . [2023-01-23T11:05:14.860Z] ---> 69b993eecc62 [2023-01-23T11:05:14.860Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-23T11:05:14.860Z] ---> Running in 7b22741d2e26 [2023-01-23T11:05:14.860Z] Removing intermediate container 7b22741d2e26 [2023-01-23T11:05:14.860Z] ---> 0c4d12085265 [2023-01-23T11:05:14.860Z] Step 12/25 : RUN $MAKE [2023-01-23T11:05:14.860Z] ---> Running in 3279ae873661 [2023-01-23T11:05:15.119Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-01-23T11:05:37.254Z] Removing intermediate container 3279ae873661 [2023-01-23T11:05:37.254Z] ---> 6e2074c5af56 [2023-01-23T11:05:37.254Z] Step 13/25 : FROM alpine:3.16 [2023-01-23T11:05:37.254Z] 3.16: Pulling from library/alpine [2023-01-23T11:05:37.254Z] ca7dd9ec2225: Pulling fs layer [2023-01-23T11:05:37.254Z] ca7dd9ec2225: Download complete [2023-01-23T11:05:37.254Z] ca7dd9ec2225: Pull complete [2023-01-23T11:05:37.254Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-23T11:05:37.254Z] Status: Downloaded newer image for alpine:3.16 [2023-01-23T11:05:37.254Z] ---> bfe296a52501 [2023-01-23T11:05:37.254Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-01-23T11:05:37.254Z] ---> Running in eb6429b25485 [2023-01-23T11:05:37.254Z] Removing intermediate container eb6429b25485 [2023-01-23T11:05:37.254Z] ---> 81aa6216ffd3 [2023-01-23T11:05:37.254Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-01-23T11:05:37.254Z] ---> Running in 7d4b4a165e58 [2023-01-23T11:05:37.254Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-23T11:05:37.255Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-23T11:05:37.255Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-23T11:05:37.255Z] Executing busybox-1.35.0-r17.trigger [2023-01-23T11:05:37.255Z] OK: 6 MiB in 15 packages [2023-01-23T11:05:37.255Z] Removing intermediate container 7d4b4a165e58 [2023-01-23T11:05:37.255Z] ---> dfd00943c1c1 [2023-01-23T11:05:37.255Z] Step 16/25 : WORKDIR / [2023-01-23T11:05:37.255Z] ---> Running in 8b19bf92e517 [2023-01-23T11:05:37.255Z] Removing intermediate container 8b19bf92e517 [2023-01-23T11:05:37.255Z] ---> aaa225261a4e [2023-01-23T11:05:37.255Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-01-23T11:05:37.255Z] ---> 00e1045ada6a [2023-01-23T11:05:37.255Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-01-23T11:05:37.255Z] ---> 700eb6d12a18 [2023-01-23T11:05:37.255Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-01-23T11:05:37.827Z] ---> 5a73c0c74b0a [2023-01-23T11:05:37.827Z] Step 20/25 : EXPOSE 59900 [2023-01-23T11:05:37.827Z] ---> Running in a5683f27d694 [2023-01-23T11:05:37.827Z] Removing intermediate container a5683f27d694 [2023-01-23T11:05:37.827Z] ---> f61559d1922a [2023-01-23T11:05:37.827Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-01-23T11:05:38.085Z] ---> Running in c68ee8bd163f [2023-01-23T11:05:38.085Z] Removing intermediate container c68ee8bd163f [2023-01-23T11:05:38.085Z] ---> cd1d8cff7092 [2023-01-23T11:05:38.085Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-23T11:05:38.085Z] ---> Running in 2a3b167b6332 [2023-01-23T11:05:38.085Z] Removing intermediate container 2a3b167b6332 [2023-01-23T11:05:38.085Z] ---> 158c651a7df5 [2023-01-23T11:05:38.085Z] Step 23/25 : LABEL arch=amd64 [2023-01-23T11:05:38.085Z] ---> Running in 69f79bbe8af6 [2023-01-23T11:05:38.343Z] Removing intermediate container 69f79bbe8af6 [2023-01-23T11:05:38.343Z] ---> 591358b1a203 [2023-01-23T11:05:38.343Z] Step 24/25 : LABEL git_sha=e194606d8286d5d13aabe6b401bb795eccf3f1e5 [2023-01-23T11:05:38.343Z] ---> Running in f468034fbf7d [2023-01-23T11:05:38.343Z] Removing intermediate container f468034fbf7d [2023-01-23T11:05:38.343Z] ---> ad7651b6cb57 [2023-01-23T11:05:38.343Z] Step 25/25 : LABEL version=0.0.0 [2023-01-23T11:05:38.343Z] ---> Running in 24991790906d [2023-01-23T11:05:38.603Z] Removing intermediate container 24991790906d [2023-01-23T11:05:38.603Z] ---> e3f3ed4a8d7a [2023-01-23T11:05:38.603Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-23T11:05:38.603Z] Successfully built e3f3ed4a8d7a [2023-01-23T11:05:38.603Z] 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 [2023-01-23T11:05:39.523Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-23T11:05:39.524Z] [2023-01-23T11:05:39.524Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T11:05:39.890Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-23T11:05:39.890Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-23T11:05:39.890Z] 5eb5b503b376: Pulling fs layer [2023-01-23T11:05:39.890Z] 5c69ac0246d0: Pulling fs layer [2023-01-23T11:05:39.890Z] ec43610c2a17: Pulling fs layer [2023-01-23T11:05:39.890Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-23T11:05:39.890Z] 33b1e0a273af: Pulling fs layer [2023-01-23T11:05:39.890Z] 5d3b04190fa2: Pulling fs layer [2023-01-23T11:05:39.890Z] 2f39f015ded8: Pulling fs layer [2023-01-23T11:05:39.890Z] 3a2ae6a8a46f: Waiting [2023-01-23T11:05:39.890Z] 33b1e0a273af: Waiting [2023-01-23T11:05:39.890Z] 2f39f015ded8: Waiting [2023-01-23T11:05:39.890Z] 5d3b04190fa2: Waiting [2023-01-23T11:05:39.890Z] 5c69ac0246d0: Verifying Checksum [2023-01-23T11:05:39.890Z] 5c69ac0246d0: Download complete [2023-01-23T11:05:39.890Z] 3a2ae6a8a46f: Verifying Checksum [2023-01-23T11:05:39.890Z] 3a2ae6a8a46f: Download complete [2023-01-23T11:05:40.151Z] 33b1e0a273af: Verifying Checksum [2023-01-23T11:05:40.151Z] 33b1e0a273af: Download complete [2023-01-23T11:05:40.151Z] 5d3b04190fa2: Verifying Checksum [2023-01-23T11:05:40.151Z] 5d3b04190fa2: Download complete [2023-01-23T11:05:40.151Z] ec43610c2a17: Verifying Checksum [2023-01-23T11:05:40.151Z] ec43610c2a17: Download complete [2023-01-23T11:05:40.409Z] 5eb5b503b376: Verifying Checksum [2023-01-23T11:05:40.975Z] 2f39f015ded8: Download complete [2023-01-23T11:05:41.916Z] 5eb5b503b376: Pull complete [2023-01-23T11:05:41.916Z] 5c69ac0246d0: Pull complete [2023-01-23T11:05:42.498Z] ec43610c2a17: Pull complete [2023-01-23T11:05:42.498Z] 3a2ae6a8a46f: Pull complete [2023-01-23T11:05:42.756Z] 33b1e0a273af: Pull complete [2023-01-23T11:05:42.756Z] 5d3b04190fa2: Pull complete [2023-01-23T11:05:48.082Z] 2f39f015ded8: Pull complete [2023-01-23T11:05:48.082Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-23T11:05:48.082Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-23T11:05:48.082Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-23T11:05:48.287Z] prd-ubuntu20.04-docker-8c-8g-3348 does not seem to be running inside a container [2023-01-23T11:05:48.326Z] $ 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-332 -v /w/workspace/foundry_device-virtual-go_PR-332:/w/workspace/foundry_device-virtual-go_PR-332:rw,z -v /w/workspace/foundry_device-virtual-go_PR-332@tmp:/w/workspace/foundry_device-virtual-go_PR-332@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-23T11:05:51.109Z] $ docker top 9915770513b40729298930950be10c99ab70b38e09537a24d686f1b88606e7dd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-23T11:05:51.548Z] ---> job-cost.sh [2023-01-23T11:05:51.548Z] lf-activate-venv: SKIPPING [2023-01-23T11:05:51.548Z] INFO: No Stack... [2023-01-23T11:05:51.806Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-23T11:05:52.065Z] INFO: Archiving Costs [Pipeline] sh [2023-01-23T11:05:52.381Z] + cat /w/workspace/foundry_device-virtual-go_PR-332/archives/cost.csv [2023-01-23T11:05:52.381Z] + cut -d, -f6 [Pipeline] lock [2023-01-23T11:05:52.425Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-332-1-stack-cost] [2023-01-23T11:05:52.430Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-332-1-stack-cost] did not exist. Created. [2023-01-23T11:05:52.430Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-332-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-23T11:05:52.810Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-23T11:05:52.854Z] Stashed 1 file(s) [Pipeline] } [2023-01-23T11:05:52.885Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-332-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-23T11:05:52.966Z] $ docker stop --time=1 9915770513b40729298930950be10c99ab70b38e09537a24d686f1b88606e7dd [2023-01-23T11:05:54.144Z] $ docker rm -f --volumes 9915770513b40729298930950be10c99ab70b38e09537a24d686f1b88606e7dd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-23T11:06:16.688Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-3351 in /w/workspace/foundry_device-virtual-go_PR-332 [Pipeline] { [Pipeline] ws [2023-01-23T11:06:16.748Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2023-01-23T11:06:16.829Z] The recommended git tool is: git [2023-01-23T11:06:22.112Z] using credential edgex-jenkins-ssh [2023-01-23T11:06:22.128Z] Cloning the remote Git repository [2023-01-23T11:06:22.179Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2023-01-23T11:06:22.261Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2023-01-23T11:06:22.446Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-01-23T11:06:22.448Z] > git --version # timeout=10 [2023-01-23T11:06:22.473Z] > git --version # 'git version 2.25.1' [2023-01-23T11:06:22.476Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-23T11:06:22.543Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-23T11:06:24.595Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-01-23T11:06:24.625Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-23T11:06:25.474Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-01-23T11:06:25.517Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-01-23T11:06:25.518Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-23T11:06:25.535Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/332/head:refs/remotes/origin/PR-332 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-23T11:06:26.053Z] Merging remotes/origin/main commit ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80 into PR head commit e194606d8286d5d13aabe6b401bb795eccf3f1e5 [2023-01-23T11:06:26.293Z] Merge succeeded, producing e194606d8286d5d13aabe6b401bb795eccf3f1e5 [2023-01-23T11:06:26.293Z] Checking out Revision e194606d8286d5d13aabe6b401bb795eccf3f1e5 (PR-332) [2023-01-23T11:06:26.770Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-01-23T11:06:26.819Z] > git --version # timeout=10 [2023-01-23T11:06:26.830Z] > git --version # 'git version 2.25.1' [2023-01-23T11:06:26.842Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-23T11:06:26.075Z] > git config core.sparsecheckout # timeout=10 [2023-01-23T11:06:26.094Z] > git checkout -f e194606d8286d5d13aabe6b401bb795eccf3f1e5 # timeout=10 [2023-01-23T11:06:26.183Z] > git remote # timeout=10 [2023-01-23T11:06:26.204Z] > git config --get remote.origin.url # timeout=10 [2023-01-23T11:06:26.229Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-23T11:06:26.243Z] > git merge ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80 # timeout=10 [2023-01-23T11:06:26.277Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-23T11:06:26.302Z] > git config core.sparsecheckout # timeout=10 [2023-01-23T11:06:26.315Z] > git checkout -f e194606d8286d5d13aabe6b401bb795eccf3f1e5 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-23T11:06:28.038Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-23T11:06:28.038Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-23T11:06:28.038Z] Dload Upload Total Spent Left Speed [2023-01-23T11:06:28.038Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 191k 0 --:--:-- --:--:-- --:--:-- 191k [Pipeline] sh [2023-01-23T11:06:28.681Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-23T11:06:29.026Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-23T11:06:29.026Z] + sudo tee /etc/docker/daemon.new [2023-01-23T11:06:29.026Z] { [2023-01-23T11:06:29.026Z] "registry-mirrors": [ [2023-01-23T11:06:29.026Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-23T11:06:29.026Z] ], [2023-01-23T11:06:29.026Z] "bip": "10.250.0.254/24", [2023-01-23T11:06:29.026Z] "hosts": [ [2023-01-23T11:06:29.026Z] "tcp://0.0.0.0:5555", [2023-01-23T11:06:29.026Z] "unix:///var/run/docker.sock" [2023-01-23T11:06:29.026Z] ], [2023-01-23T11:06:29.026Z] "mtu": 1458, [2023-01-23T11:06:29.026Z] "selinux-enabled": true, [2023-01-23T11:06:29.026Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-23T11:06:29.026Z] } [Pipeline] sh [2023-01-23T11:06:29.369Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-23T11:06:29.722Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-23T11:06:48.058Z] provisioning config files... [2023-01-23T11:06:48.090Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config10303307626369063222tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-23T11:06:48.496Z] ---> docker-login.sh [2023-01-23T11:06:48.497Z] nexus3.edgexfoundry.org:10001 [2023-01-23T11:06:49.094Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T11:06:49.094Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T11:06:49.094Z] Configure a credential helper to remove this warning. See [2023-01-23T11:06:49.094Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T11:06:49.094Z] [2023-01-23T11:06:49.094Z] Login Succeeded [2023-01-23T11:06:49.094Z] nexus3.edgexfoundry.org:10002 [2023-01-23T11:06:49.366Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T11:06:49.636Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T11:06:49.636Z] Configure a credential helper to remove this warning. See [2023-01-23T11:06:49.636Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T11:06:49.636Z] [2023-01-23T11:06:49.636Z] Login Succeeded [2023-01-23T11:06:49.636Z] nexus3.edgexfoundry.org:10003 [2023-01-23T11:06:49.906Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T11:06:49.906Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T11:06:49.906Z] Configure a credential helper to remove this warning. See [2023-01-23T11:06:49.906Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T11:06:49.906Z] [2023-01-23T11:06:49.906Z] Login Succeeded [2023-01-23T11:06:49.906Z] nexus3.edgexfoundry.org:10004 [2023-01-23T11:06:50.184Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T11:06:50.453Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T11:06:50.453Z] Configure a credential helper to remove this warning. See [2023-01-23T11:06:50.453Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T11:06:50.453Z] [2023-01-23T11:06:50.453Z] Login Succeeded [2023-01-23T11:06:50.453Z] docker.io [2023-01-23T11:06:50.723Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T11:06:50.992Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T11:06:50.992Z] Configure a credential helper to remove this warning. See [2023-01-23T11:06:50.992Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T11:06:50.992Z] [2023-01-23T11:06:50.992Z] Login Succeeded [2023-01-23T11:06:50.992Z] ---> docker-login.sh ends [Pipeline] } [2023-01-23T11:06:51.020Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-23T11:06:51.419Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-23T11:06:51.456Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-23T11:06:51.491Z] ========================================================= [2023-01-23T11:06:51.491Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-23T11:06:51.491Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T11:06:52.005Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-23T11:06:52.274Z] Sending build context to Docker daemon 11.82MB [2023-01-23T11:06:52.274Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-23T11:06:52.274Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-23T11:06:52.544Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-23T11:06:52.544Z] 9b18e9b68314: Pulling fs layer [2023-01-23T11:06:52.544Z] 35d82f9e3411: Pulling fs layer [2023-01-23T11:06:52.544Z] e16973657156: Pulling fs layer [2023-01-23T11:06:52.544Z] fc693d55d65f: Pulling fs layer [2023-01-23T11:06:52.544Z] 7e9fc2657dce: Pulling fs layer [2023-01-23T11:06:52.544Z] dda99020689f: Pulling fs layer [2023-01-23T11:06:52.544Z] db1c61fa0a46: Pulling fs layer [2023-01-23T11:06:52.544Z] 891c053d2c06: Pulling fs layer [2023-01-23T11:06:52.544Z] fc693d55d65f: Waiting [2023-01-23T11:06:52.544Z] 7e9fc2657dce: Waiting [2023-01-23T11:06:52.544Z] dda99020689f: Waiting [2023-01-23T11:06:52.544Z] db1c61fa0a46: Waiting [2023-01-23T11:06:52.544Z] 891c053d2c06: Waiting [2023-01-23T11:06:52.544Z] e16973657156: Verifying Checksum [2023-01-23T11:06:52.544Z] e16973657156: Download complete [2023-01-23T11:06:52.544Z] 35d82f9e3411: Verifying Checksum [2023-01-23T11:06:52.544Z] 35d82f9e3411: Download complete [2023-01-23T11:06:52.544Z] 7e9fc2657dce: Download complete [2023-01-23T11:06:52.544Z] dda99020689f: Verifying Checksum [2023-01-23T11:06:52.544Z] dda99020689f: Download complete [2023-01-23T11:06:52.544Z] 9b18e9b68314: Verifying Checksum [2023-01-23T11:06:52.544Z] 9b18e9b68314: Download complete [2023-01-23T11:06:53.515Z] 9b18e9b68314: Pull complete [2023-01-23T11:06:53.515Z] 891c053d2c06: Verifying Checksum [2023-01-23T11:06:53.515Z] 891c053d2c06: Download complete [2023-01-23T11:06:54.930Z] db1c61fa0a46: Verifying Checksum [2023-01-23T11:06:54.930Z] db1c61fa0a46: Download complete [2023-01-23T11:06:55.521Z] fc693d55d65f: Download complete [2023-01-23T11:06:56.487Z] 35d82f9e3411: Pull complete [2023-01-23T11:06:56.487Z] e16973657156: Pull complete [2023-01-23T11:07:11.508Z] fc693d55d65f: Pull complete [2023-01-23T11:07:11.508Z] 7e9fc2657dce: Pull complete [2023-01-23T11:07:11.509Z] dda99020689f: Pull complete [2023-01-23T11:07:16.967Z] db1c61fa0a46: Pull complete [2023-01-23T11:07:18.388Z] 891c053d2c06: Pull complete [2023-01-23T11:07:18.388Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-23T11:07:18.388Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-23T11:07:18.388Z] ---> f96f9c87975a [2023-01-23T11:07:18.388Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-23T11:07:20.332Z] ---> Running in 6a5bdb2a0bf9 [2023-01-23T11:07:20.332Z] Removing intermediate container 6a5bdb2a0bf9 [2023-01-23T11:07:20.332Z] ---> b4887efa85c0 [2023-01-23T11:07:20.332Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-23T11:07:20.332Z] ---> Running in eee145b1e2d8 [2023-01-23T11:07:20.915Z] Removing intermediate container eee145b1e2d8 [2023-01-23T11:07:20.915Z] ---> 5b5dd26daf4c [2023-01-23T11:07:20.915Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-01-23T11:07:20.915Z] ---> Running in ed5d427fa745 [2023-01-23T11:07:21.188Z] Removing intermediate container ed5d427fa745 [2023-01-23T11:07:21.188Z] ---> 0309b0e4c8b0 [2023-01-23T11:07:21.188Z] Step 6/12 : WORKDIR /device-virtual-go [2023-01-23T11:07:21.188Z] ---> Running in 68d0ea9bcfb7 [2023-01-23T11:07:21.458Z] Removing intermediate container 68d0ea9bcfb7 [2023-01-23T11:07:21.458Z] ---> d0cc8dcd717e [2023-01-23T11:07:21.458Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-23T11:07:21.458Z] ---> Running in 0de1ab408319 [2023-01-23T11:07:22.869Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-23T11:07:23.136Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-23T11:07:24.098Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-23T11:07:24.098Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-23T11:07:24.098Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-23T11:07:24.098Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-23T11:07:24.098Z] Executing busybox-1.35.0-r17.trigger [2023-01-23T11:07:24.365Z] OK: 226 MiB in 55 packages [2023-01-23T11:07:25.339Z] Removing intermediate container 0de1ab408319 [2023-01-23T11:07:25.339Z] ---> a3fd7b9062ac [2023-01-23T11:07:25.339Z] Step 8/12 : COPY go.mod vendor* ./ [2023-01-23T11:07:25.607Z] ---> 3e7b1bbc8457 [2023-01-23T11:07:25.607Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-23T11:07:25.889Z] ---> Running in 47b5ad4d6e81 [2023-01-23T11:08:22.316Z] Removing intermediate container 47b5ad4d6e81 [2023-01-23T11:08:22.316Z] ---> 12dcf42a5d6d [2023-01-23T11:08:22.316Z] Step 10/12 : COPY . . [2023-01-23T11:08:22.316Z] ---> f4d68ca23e36 [2023-01-23T11:08:22.316Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-23T11:08:22.316Z] ---> Running in b515ce51908b [2023-01-23T11:08:22.583Z] Removing intermediate container b515ce51908b [2023-01-23T11:08:22.583Z] ---> a750d18d4e70 [2023-01-23T11:08:22.583Z] Step 12/12 : RUN $MAKE [2023-01-23T11:08:22.851Z] ---> Running in dd8f42b466cc [2023-01-23T11:08:23.819Z] noop [2023-01-23T11:08:24.403Z] Removing intermediate container dd8f42b466cc [2023-01-23T11:08:24.403Z] ---> 2bc6793797d5 [2023-01-23T11:08:24.403Z] Successfully built 2bc6793797d5 [2023-01-23T11:08:24.403Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T11:08:24.868Z] + docker inspect -f . ci-base-image-arm64 [2023-01-23T11:08:24.868Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-23T11:08:25.119Z] prd-ubuntu20.04-docker-arm64-4c-16g-3351 does not seem to be running inside a container [2023-01-23T11:08:25.188Z] $ 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 ******** ci-base-image-arm64 cat [2023-01-23T11:08:28.236Z] $ docker top 5a589e1ae8f6e40d0ec6e94455e192bafc2e5c1556c62b1f021ec4ae8e65bf13 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-23T11:08:29.095Z] + go version [2023-01-23T11:08:29.095Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-23T11:08:29.128Z] $ docker stop --time=1 5a589e1ae8f6e40d0ec6e94455e192bafc2e5c1556c62b1f021ec4ae8e65bf13 [2023-01-23T11:08:30.739Z] $ docker rm -f --volumes 5a589e1ae8f6e40d0ec6e94455e192bafc2e5c1556c62b1f021ec4ae8e65bf13 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T11:08:31.598Z] + docker inspect -f . ci-base-image-arm64 [2023-01-23T11:08:31.598Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-23T11:08:31.853Z] prd-ubuntu20.04-docker-arm64-4c-16g-3351 does not seem to be running inside a container [2023-01-23T11:08:31.915Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-23T11:08:32.999Z] $ docker top ecf4c0e125c8dc97d4e9f33705cbbea95e2c5ff75fdd7ae6cf0ae1ffa2249334 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-23T11:08:33.536Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh [2023-01-23T11:08:33.926Z] + make test [2023-01-23T11:08:33.926Z] go test ./... -coverprofile=coverage.out [2023-01-23T11:08:35.867Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-01-23T11:09:57.481Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-01-23T11:09:57.481Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.119s coverage: 65.7% of statements [2023-01-23T11:09:57.481Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-23T11:09:57.481Z] go vet ./... [2023-01-23T11:10:09.797Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-23T11:10:09.797Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-23T11:10:09.797Z] ./bin/test-attribution-txt.sh [2023-01-23T11:10:09.797Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-01-23T11:10:09.797Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-01-23T11:10:09.835Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-23T11:10:09.863Z] $ docker stop --time=1 ecf4c0e125c8dc97d4e9f33705cbbea95e2c5ff75fdd7ae6cf0ae1ffa2249334 [2023-01-23T11:10:11.588Z] $ docker rm -f --volumes ecf4c0e125c8dc97d4e9f33705cbbea95e2c5ff75fdd7ae6cf0ae1ffa2249334 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-23T11:10:12.528Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-23T11:10:12.565Z] Warning: overwriting stash ‘coverage-report’ [2023-01-23T11:10:13.019Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-23T11:10:13.639Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-23T11:10:13.983Z] + ls -al . [2023-01-23T11:10:13.984Z] total 192 [2023-01-23T11:10:13.984Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 23 11:08 . [2023-01-23T11:10:13.984Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 23 11:06 .. [2023-01-23T11:10:13.984Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 23 11:06 .git [2023-01-23T11:10:13.984Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 23 11:06 .github [2023-01-23T11:10:13.984Z] -rw-rw-r-- 1 jenkins jenkins 337 Jan 23 11:06 .gitignore [2023-01-23T11:10:13.984Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 23 11:06 .golangci.yml [2023-01-23T11:10:13.984Z] -rw-rw-r-- 1 jenkins jenkins 8423 Jan 23 11:06 Attribution.txt [2023-01-23T11:10:13.984Z] -rw-rw-r-- 1 jenkins jenkins 11367 Jan 23 11:06 CHANGELOG.md [2023-01-23T11:10:13.984Z] -rw-rw-r-- 1 jenkins jenkins 1646 Jan 23 11:06 Dockerfile [2023-01-23T11:10:13.984Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 23 11:06 GOVERNANCE.md [2023-01-23T11:10:13.984Z] -rw-rw-r-- 1 jenkins jenkins 660 Jan 23 11:06 Jenkinsfile [2023-01-23T11:10:13.984Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 23 11:06 LICENSE [2023-01-23T11:10:13.984Z] -rw-rw-r-- 1 jenkins jenkins 1661 Jan 23 11:06 Makefile [2023-01-23T11:10:13.984Z] -rw-rw-r-- 1 jenkins jenkins 623 Jan 23 11:06 OWNERS.md [2023-01-23T11:10:13.984Z] -rw-rw-r-- 1 jenkins jenkins 3578 Jan 23 11:06 README.md [2023-01-23T11:10:13.984Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 23 11:03 VERSION [2023-01-23T11:10:13.984Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 23 11:06 bin [2023-01-23T11:10:13.984Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 23 11:06 cmd [2023-01-23T11:10:13.984Z] -rw-r--r-- 1 jenkins jenkins 44128 Jan 23 11:09 coverage.out [2023-01-23T11:10:13.984Z] -rw-rw-r-- 1 jenkins jenkins 3306 Jan 23 11:06 go.mod [2023-01-23T11:10:13.984Z] -rw-rw-r-- 1 jenkins jenkins 34165 Jan 23 11:06 go.sum [2023-01-23T11:10:13.984Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 23 11:06 internal [2023-01-23T11:10:13.984Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 23 11:06 snap [2023-01-23T11:10:13.984Z] -rw-rw-r-- 1 jenkins jenkins 235 Jan 23 11:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T11:10:14.397Z] + 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=e194606d8286d5d13aabe6b401bb795eccf3f1e5 --label arch=arm64 --label version=0.0.0 . [2023-01-23T11:10:14.671Z] Sending build context to Docker daemon 11.87MB [2023-01-23T11:10:14.671Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-01-23T11:10:14.671Z] Step 2/25 : FROM ${BASE} AS builder [2023-01-23T11:10:14.671Z] ---> 2bc6793797d5 [2023-01-23T11:10:14.671Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-23T11:10:14.936Z] ---> Running in be49a1571160 [2023-01-23T11:10:15.202Z] Removing intermediate container be49a1571160 [2023-01-23T11:10:15.202Z] ---> acf354e9f65a [2023-01-23T11:10:15.202Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-01-23T11:10:15.202Z] ---> Running in 4599186f5185 [2023-01-23T11:10:15.467Z] Removing intermediate container 4599186f5185 [2023-01-23T11:10:15.467Z] ---> 857ec3eb0c7e [2023-01-23T11:10:15.467Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-01-23T11:10:15.467Z] ---> Running in 8b781a4bb387 [2023-01-23T11:10:15.733Z] Removing intermediate container 8b781a4bb387 [2023-01-23T11:10:15.733Z] ---> 885c27b24cf2 [2023-01-23T11:10:15.733Z] Step 6/25 : WORKDIR /device-virtual-go [2023-01-23T11:10:15.733Z] ---> Running in 6012e875e243 [2023-01-23T11:10:15.999Z] Removing intermediate container 6012e875e243 [2023-01-23T11:10:15.999Z] ---> 7f31a4b8ad53 [2023-01-23T11:10:15.999Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-23T11:10:15.999Z] ---> Running in c79fa63f9f23 [2023-01-23T11:10:16.962Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-23T11:10:17.226Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-23T11:10:18.633Z] OK: 226 MiB in 55 packages [2023-01-23T11:10:19.212Z] Removing intermediate container c79fa63f9f23 [2023-01-23T11:10:19.212Z] ---> 1b4ba7af791e [2023-01-23T11:10:19.212Z] Step 8/25 : COPY go.mod vendor* ./ [2023-01-23T11:10:21.785Z] ---> 1dbe53658638 [2023-01-23T11:10:21.785Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-23T11:10:22.050Z] ---> Running in 747340f8ee9e [2023-01-23T11:10:24.625Z] Removing intermediate container 747340f8ee9e [2023-01-23T11:10:24.625Z] ---> 97ca8f0893f5 [2023-01-23T11:10:24.625Z] Step 10/25 : COPY . . [2023-01-23T11:10:25.584Z] ---> cf8e30a3530f [2023-01-23T11:10:25.584Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-23T11:10:25.584Z] ---> Running in 35527958635f [2023-01-23T11:10:25.851Z] Removing intermediate container 35527958635f [2023-01-23T11:10:25.851Z] ---> 2006cfd7964c [2023-01-23T11:10:25.851Z] Step 12/25 : RUN $MAKE [2023-01-23T11:10:25.851Z] ---> Running in ffc858e1f1ca [2023-01-23T11:10:26.814Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-01-23T11:12:48.482Z] Removing intermediate container ffc858e1f1ca [2023-01-23T11:12:48.482Z] ---> 1818e4f4410e [2023-01-23T11:12:48.482Z] Step 13/25 : FROM alpine:3.16 [2023-01-23T11:12:48.482Z] 3.16: Pulling from library/alpine [2023-01-23T11:12:48.482Z] 6875df1f5354: Pulling fs layer [2023-01-23T11:12:48.482Z] 6875df1f5354: Download complete [2023-01-23T11:12:48.482Z] 6875df1f5354: Pull complete [2023-01-23T11:12:48.482Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-23T11:12:48.482Z] Status: Downloaded newer image for alpine:3.16 [2023-01-23T11:12:48.482Z] ---> 2b4661558fb8 [2023-01-23T11:12:48.482Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-01-23T11:12:48.482Z] ---> Running in 79813f6f2603 [2023-01-23T11:12:48.482Z] Removing intermediate container 79813f6f2603 [2023-01-23T11:12:48.482Z] ---> 8c41355c2cda [2023-01-23T11:12:48.482Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-01-23T11:12:48.482Z] ---> Running in c26f5fc01c59 [2023-01-23T11:12:48.482Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-23T11:12:48.482Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-23T11:12:48.482Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-23T11:12:48.482Z] Executing busybox-1.35.0-r17.trigger [2023-01-23T11:12:48.482Z] OK: 5 MiB in 15 packages [2023-01-23T11:12:48.482Z] Removing intermediate container c26f5fc01c59 [2023-01-23T11:12:48.482Z] ---> 322edf6430eb [2023-01-23T11:12:48.482Z] Step 16/25 : WORKDIR / [2023-01-23T11:12:48.482Z] ---> Running in f5ab5c3b564d [2023-01-23T11:12:48.482Z] Removing intermediate container f5ab5c3b564d [2023-01-23T11:12:48.482Z] ---> eb8814289e6c [2023-01-23T11:12:48.482Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-01-23T11:12:48.482Z] ---> 9ab61664e87f [2023-01-23T11:12:48.482Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-01-23T11:12:48.482Z] ---> b65c89bbc7e6 [2023-01-23T11:12:48.482Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-01-23T11:12:48.482Z] ---> 9ab21c1db741 [2023-01-23T11:12:48.482Z] Step 20/25 : EXPOSE 59900 [2023-01-23T11:12:48.482Z] ---> Running in cef5599524a4 [2023-01-23T11:12:48.747Z] Removing intermediate container cef5599524a4 [2023-01-23T11:12:48.747Z] ---> 0e4af095135c [2023-01-23T11:12:48.747Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-01-23T11:12:48.747Z] ---> Running in 8262ab8f0853 [2023-01-23T11:12:49.013Z] Removing intermediate container 8262ab8f0853 [2023-01-23T11:12:49.013Z] ---> e0a5841f5401 [2023-01-23T11:12:49.013Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-23T11:12:49.282Z] ---> Running in e0cef13a3b76 [2023-01-23T11:12:49.553Z] Removing intermediate container e0cef13a3b76 [2023-01-23T11:12:49.554Z] ---> e1238ee8aeb2 [2023-01-23T11:12:49.554Z] Step 23/25 : LABEL arch=arm64 [2023-01-23T11:12:49.554Z] ---> Running in 2ccfdfc9b15e [2023-01-23T11:12:49.819Z] Removing intermediate container 2ccfdfc9b15e [2023-01-23T11:12:49.819Z] ---> 6dc37b16bf7f [2023-01-23T11:12:49.819Z] Step 24/25 : LABEL git_sha=e194606d8286d5d13aabe6b401bb795eccf3f1e5 [2023-01-23T11:12:49.819Z] ---> Running in d948132f0c1b [2023-01-23T11:12:50.084Z] Removing intermediate container d948132f0c1b [2023-01-23T11:12:50.084Z] ---> 97c7fabc858e [2023-01-23T11:12:50.084Z] Step 25/25 : LABEL version=0.0.0 [2023-01-23T11:12:50.084Z] ---> Running in a79c55553db6 [2023-01-23T11:12:50.350Z] Removing intermediate container a79c55553db6 [2023-01-23T11:12:50.350Z] ---> fb2fcd02a8ea [2023-01-23T11:12:50.350Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-23T11:12:50.350Z] Successfully built fb2fcd02a8ea [2023-01-23T11:12:50.350Z] 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 [2023-01-23T11:12:51.167Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-23T11:12:51.168Z] [2023-01-23T11:12:51.168Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T11:12:51.572Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-23T11:12:51.572Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-23T11:12:51.572Z] 8998bd30e6a1: Pulling fs layer [2023-01-23T11:12:51.572Z] 04944245beec: Pulling fs layer [2023-01-23T11:12:51.572Z] 699f458cf7ca: Pulling fs layer [2023-01-23T11:12:51.572Z] 765212b225bb: Pulling fs layer [2023-01-23T11:12:51.572Z] f23df028b6ca: Pulling fs layer [2023-01-23T11:12:51.572Z] d65c8cfc05b1: Pulling fs layer [2023-01-23T11:12:51.572Z] 2437ff75d9bd: Pulling fs layer [2023-01-23T11:12:51.572Z] f23df028b6ca: Waiting [2023-01-23T11:12:51.572Z] d65c8cfc05b1: Waiting [2023-01-23T11:12:51.572Z] 765212b225bb: Waiting [2023-01-23T11:12:51.572Z] 2437ff75d9bd: Waiting [2023-01-23T11:12:51.847Z] 04944245beec: Verifying Checksum [2023-01-23T11:12:51.847Z] 04944245beec: Download complete [2023-01-23T11:12:51.847Z] 765212b225bb: Verifying Checksum [2023-01-23T11:12:51.847Z] 765212b225bb: Download complete [2023-01-23T11:12:51.847Z] f23df028b6ca: Download complete [2023-01-23T11:12:51.847Z] d65c8cfc05b1: Verifying Checksum [2023-01-23T11:12:51.847Z] d65c8cfc05b1: Download complete [2023-01-23T11:12:52.117Z] 699f458cf7ca: Verifying Checksum [2023-01-23T11:12:52.117Z] 699f458cf7ca: Download complete [2023-01-23T11:12:52.390Z] 8998bd30e6a1: Verifying Checksum [2023-01-23T11:12:52.390Z] 8998bd30e6a1: Download complete [2023-01-23T11:12:54.350Z] 2437ff75d9bd: Verifying Checksum [2023-01-23T11:12:54.350Z] 2437ff75d9bd: Download complete [2023-01-23T11:12:56.300Z] 8998bd30e6a1: Pull complete [2023-01-23T11:12:56.567Z] 04944245beec: Pull complete [2023-01-23T11:12:57.976Z] 699f458cf7ca: Pull complete [2023-01-23T11:12:58.243Z] 765212b225bb: Pull complete [2023-01-23T11:12:58.824Z] f23df028b6ca: Pull complete [2023-01-23T11:12:59.089Z] d65c8cfc05b1: Pull complete [2023-01-23T11:13:14.064Z] 2437ff75d9bd: Pull complete [2023-01-23T11:13:14.064Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-23T11:13:14.064Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-23T11:13:14.064Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-23T11:13:14.373Z] prd-ubuntu20.04-docker-arm64-4c-16g-3351 does not seem to be running inside a container [2023-01-23T11:13:14.427Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-01-23T11:13:16.883Z] $ docker top db986740d7716f1e9534f43c67af01a862afff915c68da124b9bfcdd764e4322 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-23T11:13:17.465Z] ---> job-cost.sh [2023-01-23T11:13:17.731Z] lf-activate-venv: SKIPPING [2023-01-23T11:13:17.731Z] INFO: No Stack... [2023-01-23T11:13:18.312Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-23T11:13:18.892Z] INFO: Archiving Costs [Pipeline] sh [2023-01-23T11:13:19.645Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2023-01-23T11:13:19.645Z] + cut -d, -f6 [Pipeline] lock [2023-01-23T11:13:19.738Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-332-1-stack-cost] [2023-01-23T11:13:19.744Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-332-1-stack-cost] did not exist. Created. [2023-01-23T11:13:19.744Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-332-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-23T11:13:20.486Z] /w/workspace/device-virtual-go/1@tmp/durable-2c425398/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-23T11:13:20.864Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-23T11:13:20.906Z] Warning: overwriting stash ‘stack-cost’ [2023-01-23T11:13:20.953Z] Stashed 1 file(s) [Pipeline] } [2023-01-23T11:13:20.967Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-332-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-23T11:13:21.041Z] $ docker stop --time=1 db986740d7716f1e9534f43c67af01a862afff915c68da124b9bfcdd764e4322 [2023-01-23T11:13:22.506Z] $ docker rm -f --volumes db986740d7716f1e9534f43c67af01a862afff915c68da124b9bfcdd764e4322 [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 [2023-01-23T11:13:23.516Z] provisioning config files... [2023-01-23T11:13:23.524Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-332@tmp/config7391959168124738708tmp [Pipeline] { [Pipeline] sh [2023-01-23T11:13:23.864Z] + set +x [2023-01-23T11:13:23.864Z] + bash -s -- [2023-01-23T11:13:23.864Z] + curl -s https://codecov.io/bash [2023-01-23T11:13:23.864Z] [2023-01-23T11:13:23.864Z] _____ _ [2023-01-23T11:13:23.864Z] / ____| | | [2023-01-23T11:13:23.864Z] | | ___ __| | ___ ___ _____ __ [2023-01-23T11:13:23.864Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-23T11:13:23.864Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-23T11:13:23.864Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-23T11:13:23.864Z] Bash-1.0.6 [2023-01-23T11:13:23.864Z] [2023-01-23T11:13:23.864Z] [2023-01-23T11:13:23.864Z] ==> git version 2.25.1 found [2023-01-23T11:13:23.864Z] ==> 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 [2023-01-23T11:13:23.864Z] Release-Date: 2020-01-08 [2023-01-23T11:13:23.864Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-01-23T11:13:23.864Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-23T11:13:23.864Z] ==> Jenkins CI detected. [2023-01-23T11:13:23.864Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-332 [2023-01-23T11:13:23.864Z] project root: . [2023-01-23T11:13:23.864Z] --> token set from env [2023-01-23T11:13:23.864Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-23T11:13:23.864Z] ==> Running gcov in . (disable via -X gcov) [2023-01-23T11:13:23.864Z] ==> Python coveragepy not found [2023-01-23T11:13:23.864Z] ==> Searching for coverage reports in: [2023-01-23T11:13:23.864Z] + . [2023-01-23T11:13:23.864Z] -> Found 1 reports [2023-01-23T11:13:23.864Z] ==> Detecting git/mercurial file structure [2023-01-23T11:13:23.864Z] ==> Reading reports [2023-01-23T11:13:24.124Z] + ./coverage.out bytes=44128 [2023-01-23T11:13:24.124Z] ==> Appending adjustments [2023-01-23T11:13:24.124Z] https://docs.codecov.io/docs/fixing-reports [2023-01-23T11:13:24.124Z] + Found adjustments [2023-01-23T11:13:24.124Z] ==> Gzipping contents [2023-01-23T11:13:24.124Z] 8.0K /tmp/codecov.tGHm3P.gz [2023-01-23T11:13:24.124Z] ==> Uploading reports [2023-01-23T11:13:24.124Z] url: https://codecov.io [2023-01-23T11:13:24.124Z] query: branch=PR-332&commit=e194606d8286d5d13aabe6b401bb795eccf3f1e5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-332%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=332&job=&cmd_args= [2023-01-23T11:13:24.124Z] -> Pinging Codecov [2023-01-23T11:13:24.124Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-332&commit=e194606d8286d5d13aabe6b401bb795eccf3f1e5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-332%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=332&job=&cmd_args= [2023-01-23T11:13:24.383Z] -> Uploading to [2023-01-23T11:13:24.383Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-23/5E52B4B073DB2E39498172D8E973AA87/e194606d8286d5d13aabe6b401bb795eccf3f1e5/9c78fc9f-bb54-4408-9d1c-1039f743c838.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230123%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230123T111324Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cdedbcd3557177ef305ba97da2477e33e71fb504e9b49f175edff5668c8027ae [2023-01-23T11:13:24.383Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-23T11:13:24.383Z] Dload Upload Total Spent Left Speed [2023-01-23T11:13:24.642Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5481 0 0 100 5481 0 22371 --:--:-- --:--:-- --:--:-- 22371 [2023-01-23T11:13:24.642Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/e194606d8286d5d13aabe6b401bb795eccf3f1e5 [Pipeline] } [2023-01-23T11:13:24.671Z] 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 [2023-01-23T11:13:26.455Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-332/archives ] [2023-01-23T11:13:26.455Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-332/archives [2023-01-23T11:13:26.455Z] total 16 [2023-01-23T11:13:26.455Z] drwxr-xr-x 3 root root 4096 Jan 23 11:05 . [2023-01-23T11:13:26.455Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 23 11:05 .. [2023-01-23T11:13:26.455Z] drwxr-xr-x 2 root root 4096 Jan 23 11:05 cost [2023-01-23T11:13:26.455Z] -rw-r--r-- 1 root root 89 Jan 23 11:05 cost.csv [2023-01-23T11:13:26.455Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-332/archives [2023-01-23T11:13:26.455Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-332/archives [2023-01-23T11:13:26.455Z] total 16 [2023-01-23T11:13:26.455Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 23 11:05 . [2023-01-23T11:13:26.455Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 23 11:05 .. [2023-01-23T11:13:26.455Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 23 11:05 cost [2023-01-23T11:13:26.455Z] -rw-r--r-- 1 jenkins jenkins 89 Jan 23 11:05 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-23T11:13:26.782Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-23T11:13:27.669Z] ---> package-listing.sh [2023-01-23T11:13:27.669Z] ++ facter osfamily [2023-01-23T11:13:27.669Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-23T11:13:27.928Z] + OS_FAMILY=debian [2023-01-23T11:13:27.928Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-332 [2023-01-23T11:13:27.928Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-23T11:13:27.928Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-23T11:13:27.928Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-23T11:13:27.928Z] + PACKAGES=/tmp/packages_start.txt [2023-01-23T11:13:27.928Z] + '[' /w/workspace/foundry_device-virtual-go_PR-332 ']' [2023-01-23T11:13:27.928Z] + PACKAGES=/tmp/packages_end.txt [2023-01-23T11:13:27.928Z] + case "${OS_FAMILY}" in [2023-01-23T11:13:27.928Z] + dpkg -l [2023-01-23T11:13:27.928Z] + grep '^ii' [2023-01-23T11:13:27.928Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-23T11:13:27.928Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-23T11:13:27.928Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-23T11:13:27.928Z] + '[' /w/workspace/foundry_device-virtual-go_PR-332 ']' [2023-01-23T11:13:27.928Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-332/archives/ [2023-01-23T11:13:27.928Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-332/archives/ [Pipeline] echo [2023-01-23T11:13:27.965Z] 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-332/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-23T11:13:28.258Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T11:13:28.879Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-23T11:13:28.879Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-23T11:13:29.021Z] prd-ubuntu20.04-docker-8c-8g-3348 does not seem to be running inside a container [2023-01-23T11:13:29.055Z] $ 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-332/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-332 -v /w/workspace/foundry_device-virtual-go_PR-332:/w/workspace/foundry_device-virtual-go_PR-332:rw,z -v /w/workspace/foundry_device-virtual-go_PR-332@tmp:/w/workspace/foundry_device-virtual-go_PR-332@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-23T11:13:29.255Z] $ docker top aca6738a111dc954b3e05bb5f76ae43c5866a76de917bd7b3709c9d10b3b43ea -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-23T11:13:29.639Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-23T11:13:29.952Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-23T11:13:30.271Z] + ls /var/log/sa-host [2023-01-23T11:13:30.271Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-23T11:13:30.402Z] provisioning config files... [2023-01-23T11:13:30.411Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-332@tmp/config265579121567734163tmp [Pipeline] { [Pipeline] echo [2023-01-23T11:13:30.457Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-23T11:13:30.768Z] ---> create-netrc.sh [Pipeline] } [2023-01-23T11:13:30.796Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-23T11:13:31.185Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-23T11:13:31.218Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-23T11:13:31.525Z] ---> sudo-logs.sh [2023-01-23T11:13:31.525Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-23T11:13:31.614Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-23T11:13:31.924Z] ---> job-cost.sh [2023-01-23T11:13:31.924Z] lf-activate-venv: SKIPPING [2023-01-23T11:13:31.924Z] DEBUG: total: 0.2199999988079071 [2023-01-23T11:13:31.924Z] INFO: Retrieving Stack Cost... [2023-01-23T11:13:32.183Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-23T11:13:32.752Z] INFO: Archiving Costs [Pipeline] echo [2023-01-23T11:13:32.788Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-23T11:13:33.107Z] ---> logs-deploy.sh [2023-01-23T11:13:33.107Z] lf-activate-venv: SKIPPING [2023-01-23T11:13:33.107Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-332/1 [2023-01-23T11:13:33.107Z] INFO: archiving workspace using pattern(s): [2023-01-23T11:13:34.044Z] Archives upload complete. [2023-01-23T11:13:34.044Z] INFO: archiving logs to Nexus