Pull request #465 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a1a745075326ff3a556ddd1ef5af148c9bd47a1e+924acc26038ae5c566a4069cec42ce4481862670 (51292e59154a13ff42d595b2037038a1c4f2caaa) 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-ssh16812656734862925054.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh1029127279152928813.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-465/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-465/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11850622247601623880.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-465/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2672463875339879086.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh10598681848875533309.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-465/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-465/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2246397027474959197.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-67 in /w/workspace/foundry_device-virtual-go_PR-465 [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-465 # 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 Merging remotes/origin/main commit 924acc26038ae5c566a4069cec42ce4481862670 into PR head commit a1a745075326ff3a556ddd1ef5af148c9bd47a1e Merge succeeded, producing a1a745075326ff3a556ddd1ef5af148c9bd47a1e Checking out Revision a1a745075326ff3a556ddd1ef5af148c9bd47a1e (PR-465) 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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/465/head:refs/remotes/origin/PR-465 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a1a745075326ff3a556ddd1ef5af148c9bd47a1e # 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 924acc26038ae5c566a4069cec42ce4481862670 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a1a745075326ff3a556ddd1ef5af148c9bd47a1e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-03-15T11:56:17.856Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-03-15T11:56:18.050Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-03-15T11:56:18.163Z] ========================================================= [2024-03-15T11:56:18.163Z] EdgeX Global Pipelines Version Info [2024-03-15T11:56:18.163Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-03-15T11:56:18.923Z] ------------------- [2024-03-15T11:56:18.923Z] stable info: [2024-03-15T11:56:18.923Z] ------------------- [2024-03-15T11:56:18.923Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-03-15T11:56:18.923Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-03-15T11:56:18.923Z] Message: update stable to v1.0.258 [2024-03-15T11:56:19.504Z] ------------------- [2024-03-15T11:56:19.504Z] experimental info: [2024-03-15T11:56:19.504Z] ------------------- [2024-03-15T11:56:19.504Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-03-15T11:56:19.504Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-03-15T11:56:19.504Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-03-15T11:56:19.725Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2024-03-15T11:56:19.773Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2024-03-15T11:56:19.821Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-03-15T11:56:19.868Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-03-15T11:56:19.918Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-03-15T11:56:19.964Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-03-15T11:56:20.010Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-03-15T11:56:20.068Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-03-15T11:56:20.109Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-03-15T11:56:20.159Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-03-15T11:56:20.205Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-03-15T11:56:20.257Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2024-03-15T11:56:20.309Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-03-15T11:56:20.359Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-03-15T11:56:20.411Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-03-15T11:56:20.464Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-03-15T11:56:20.530Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-03-15T11:56:20.584Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-03-15T11:56:20.633Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-03-15T11:56:20.685Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-03-15T11:56:20.738Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-03-15T11:56:20.782Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-03-15T11:56:20.832Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-03-15T11:56:20.887Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-03-15T11:56:20.941Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-03-15T11:56:20.992Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-03-15T11:56:21.039Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-03-15T11:56:21.094Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-465 [Pipeline] echo [2024-03-15T11:56:21.146Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-465 [Pipeline] echo [2024-03-15T11:56:21.198Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-465 [Pipeline] echo [2024-03-15T11:56:21.255Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a1a745075326ff3a556ddd1ef5af148c9bd47a1e [Pipeline] echo [2024-03-15T11:56:21.304Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a1a7450 [Pipeline] echo [2024-03-15T11:56:21.353Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-15T11:56:21.482Z] provisioning config files... [2024-03-15T11:56:21.496Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-465@tmp/config1029395622000240169tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-15T11:56:21.881Z] ---> ****-login.sh [2024-03-15T11:56:21.881Z] nexus3.edgexfoundry.org:10001 [2024-03-15T11:56:22.147Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-15T11:56:22.147Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-15T11:56:22.147Z] Configure a credential helper to remove this warning. See [2024-03-15T11:56:22.147Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-15T11:56:22.147Z] [2024-03-15T11:56:22.147Z] Login Succeeded [2024-03-15T11:56:22.147Z] nexus3.edgexfoundry.org:10002 [2024-03-15T11:56:22.408Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-15T11:56:22.408Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-15T11:56:22.408Z] Configure a credential helper to remove this warning. See [2024-03-15T11:56:22.408Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-15T11:56:22.408Z] [2024-03-15T11:56:22.408Z] Login Succeeded [2024-03-15T11:56:22.408Z] nexus3.edgexfoundry.org:10003 [2024-03-15T11:56:22.408Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-15T11:56:22.408Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-15T11:56:22.408Z] Configure a credential helper to remove this warning. See [2024-03-15T11:56:22.408Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-15T11:56:22.408Z] [2024-03-15T11:56:22.408Z] Login Succeeded [2024-03-15T11:56:22.408Z] nexus3.edgexfoundry.org:10004 [2024-03-15T11:56:22.670Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-15T11:56:22.670Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-15T11:56:22.671Z] Configure a credential helper to remove this warning. See [2024-03-15T11:56:22.671Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-15T11:56:22.671Z] [2024-03-15T11:56:22.671Z] Login Succeeded [2024-03-15T11:56:22.671Z] ****.io [2024-03-15T11:56:22.671Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-15T11:56:22.931Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-15T11:56:22.931Z] Configure a credential helper to remove this warning. See [2024-03-15T11:56:22.931Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-15T11:56:22.931Z] [2024-03-15T11:56:22.931Z] Login Succeeded [2024-03-15T11:56:22.931Z] ---> ****-login.sh ends [Pipeline] } [2024-03-15T11:56:22.954Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-03-15T11:56:23.606Z] + git rev-list -1 --merges a1a745075326ff3a556ddd1ef5af148c9bd47a1e~1..a1a745075326ff3a556ddd1ef5af148c9bd47a1e [Pipeline] echo [2024-03-15T11:56:23.645Z] -----------> git rev-list -1 --merges a1a745075326ff3a556ddd1ef5af148c9bd47a1e~1..a1a745075326ff3a556ddd1ef5af148c9bd47a1e a1a745075326ff3a556ddd1ef5af148c9bd47a1e [false] [Pipeline] sh [2024-03-15T11:56:23.960Z] + git log --format=format:%s -1 a1a745075326ff3a556ddd1ef5af148c9bd47a1e [Pipeline] echo [2024-03-15T11:56:23.992Z] ========================================================= [2024-03-15T11:56:23.992Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-03-15T11:56:23.992Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-15T11:56:24.446Z] + git log --format=format:%s -1 a1a745075326ff3a556ddd1ef5af148c9bd47a1e [Pipeline] echo [2024-03-15T11:56:24.480Z] [semverPrep] GIT_COMMIT: a1a745075326ff3a556ddd1ef5af148c9bd47a1e, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-03-15T11:56:24.514Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-03-15T11:56:24.928Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-03-15T11:56:24.928Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-03-15T11:56:24.928Z] + [ -e /tmp/ssh_known_hosts ] [2024-03-15T11:56:24.928Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-03-15T11:56:24.928Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-03-15T11:56:24.928Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-03-15T11:56:24.928Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-15T11:56:25.420Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-15T11:56:25.420Z] [2024-03-15T11:56:25.420Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-15T11:56:25.796Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-15T11:56:26.056Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-03-15T11:56:26.056Z] b85a868b505f: Pulling fs layer [2024-03-15T11:56:26.056Z] e2be974225ed: Pulling fs layer [2024-03-15T11:56:26.056Z] 339a4e72a1f5: Pulling fs layer [2024-03-15T11:56:26.056Z] 988bab9f4d93: Pulling fs layer [2024-03-15T11:56:26.056Z] 1469e6f7b9e6: Pulling fs layer [2024-03-15T11:56:26.056Z] eaf3925da568: Pulling fs layer [2024-03-15T11:56:26.056Z] bab4dde63d76: Pulling fs layer [2024-03-15T11:56:26.056Z] bde34c3a00c8: Pulling fs layer [2024-03-15T11:56:26.056Z] b352a97aabf1: Pulling fs layer [2024-03-15T11:56:26.056Z] 4872d77fe225: Pulling fs layer [2024-03-15T11:56:26.056Z] 5851b861e8e6: Pulling fs layer [2024-03-15T11:56:26.056Z] bab4dde63d76: Waiting [2024-03-15T11:56:26.056Z] bde34c3a00c8: Waiting [2024-03-15T11:56:26.056Z] 988bab9f4d93: Waiting [2024-03-15T11:56:26.056Z] b352a97aabf1: Waiting [2024-03-15T11:56:26.056Z] 1469e6f7b9e6: Waiting [2024-03-15T11:56:26.056Z] 4872d77fe225: Waiting [2024-03-15T11:56:26.056Z] eaf3925da568: Waiting [2024-03-15T11:56:26.056Z] 5851b861e8e6: Waiting [2024-03-15T11:56:26.056Z] e2be974225ed: Download complete [2024-03-15T11:56:26.056Z] 988bab9f4d93: Verifying Checksum [2024-03-15T11:56:26.056Z] 1469e6f7b9e6: Verifying Checksum [2024-03-15T11:56:26.056Z] 1469e6f7b9e6: Download complete [2024-03-15T11:56:26.056Z] eaf3925da568: Download complete [2024-03-15T11:56:26.056Z] 339a4e72a1f5: Verifying Checksum [2024-03-15T11:56:26.056Z] 339a4e72a1f5: Download complete [2024-03-15T11:56:26.056Z] bde34c3a00c8: Verifying Checksum [2024-03-15T11:56:26.056Z] bde34c3a00c8: Download complete [2024-03-15T11:56:26.056Z] b352a97aabf1: Download complete [2024-03-15T11:56:26.056Z] 4872d77fe225: Verifying Checksum [2024-03-15T11:56:26.056Z] 4872d77fe225: Download complete [2024-03-15T11:56:26.056Z] 5851b861e8e6: Verifying Checksum [2024-03-15T11:56:26.056Z] 5851b861e8e6: Download complete [2024-03-15T11:56:26.317Z] b85a868b505f: Verifying Checksum [2024-03-15T11:56:26.317Z] b85a868b505f: Download complete [2024-03-15T11:56:26.576Z] bab4dde63d76: Verifying Checksum [2024-03-15T11:56:26.576Z] bab4dde63d76: Download complete [2024-03-15T11:56:27.513Z] b85a868b505f: Pull complete [2024-03-15T11:56:27.773Z] e2be974225ed: Pull complete [2024-03-15T11:56:28.340Z] 339a4e72a1f5: Pull complete [2024-03-15T11:56:28.340Z] 988bab9f4d93: Pull complete [2024-03-15T11:56:28.602Z] 1469e6f7b9e6: Pull complete [2024-03-15T11:56:28.602Z] eaf3925da568: Pull complete [2024-03-15T11:56:30.509Z] bab4dde63d76: Pull complete [2024-03-15T11:56:30.509Z] bde34c3a00c8: Pull complete [2024-03-15T11:56:30.776Z] b352a97aabf1: Pull complete [2024-03-15T11:56:30.776Z] 4872d77fe225: Pull complete [2024-03-15T11:56:30.776Z] 5851b861e8e6: Pull complete [2024-03-15T11:56:31.036Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-03-15T11:56:31.036Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-15T11:56:31.036Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-15T11:56:31.316Z] prd-ubuntu20.04-docker-8c-8g-67 does not seem to be running inside a container [2024-03-15T11:56:31.344Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-465 -v /w/workspace/foundry_device-virtual-go_PR-465:/w/workspace/foundry_device-virtual-go_PR-465:rw,z -v /w/workspace/foundry_device-virtual-go_PR-465@tmp:/w/workspace/foundry_device-virtual-go_PR-465@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 [2024-03-15T11:56:34.725Z] $ docker top 9531d58a9a69d02907cced13cb7a99c2f77747b636c893c1179f9d3b8edf7b74 -eo pid,comm [2024-03-15T11:56:34.777Z] 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). [2024-03-15T11:56:34.778Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-03-15T11:56:34.930Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-03-15T11:56:34.930Z] [ssh-agent] Looking for ssh-agent implementation... [2024-03-15T11:56:35.046Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-03-15T11:56:35.045Z] $ docker exec 9531d58a9a69d02907cced13cb7a99c2f77747b636c893c1179f9d3b8edf7b74 ssh-agent [2024-03-15T11:56:35.159Z] SSH_AUTH_SOCK=/tmp/ssh-2z3ebQMkDtjk/agent.33 [2024-03-15T11:56:35.159Z] SSH_AGENT_PID=39 [2024-03-15T11:56:35.166Z] Running ssh-add (command line suppressed) [2024-03-15T11:56:35.261Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-465@tmp/private_key_16224649930129400326.key (/w/workspace/foundry_device-virtual-go_PR-465@tmp/private_key_16224649930129400326.key) [2024-03-15T11:56:35.278Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-03-15T11:56:35.616Z] + git tag --points-at HEAD [Pipeline] } [2024-03-15T11:56:35.641Z] $ docker exec --env ******** --env ******** 9531d58a9a69d02907cced13cb7a99c2f77747b636c893c1179f9d3b8edf7b74 ssh-agent -k [2024-03-15T11:56:35.730Z] unset SSH_AUTH_SOCK; [2024-03-15T11:56:35.731Z] unset SSH_AGENT_PID; [2024-03-15T11:56:35.731Z] echo Agent pid 39 killed; [2024-03-15T11:56:35.746Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-03-15T11:56:35.846Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-03-15T11:56:35.847Z] [ssh-agent] Looking for ssh-agent implementation... [2024-03-15T11:56:35.977Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-03-15T11:56:35.977Z] $ docker exec 9531d58a9a69d02907cced13cb7a99c2f77747b636c893c1179f9d3b8edf7b74 ssh-agent [2024-03-15T11:56:36.081Z] SSH_AUTH_SOCK=/tmp/ssh-KJeHeZDeorlP/agent.72 [2024-03-15T11:56:36.081Z] SSH_AGENT_PID=78 [2024-03-15T11:56:36.086Z] Running ssh-add (command line suppressed) [2024-03-15T11:56:36.198Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-465@tmp/private_key_10772611652789697539.key (/w/workspace/foundry_device-virtual-go_PR-465@tmp/private_key_10772611652789697539.key) [2024-03-15T11:56:36.215Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-03-15T11:56:36.555Z] + git semver init [2024-03-15T11:56:36.816Z] 2024-03-15 11:56:36,735 [run_init] DEBUG init version:0.0.0 force:False [2024-03-15T11:56:36.816Z] 2024-03-15 11:56:36,735 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-465/.semver [2024-03-15T11:56:36.816Z] 2024-03-15 11:56:36,736 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-465/.semver [2024-03-15T11:56:36.816Z] 2024-03-15 11:56:36,736 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-465/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-465, universal_newlines=False, shell=None, istream=None) [2024-03-15T11:56:38.196Z] 2024-03-15 11:56:38,116 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-465/.git/info/exclude [2024-03-15T11:56:38.196Z] 2024-03-15 11:56:38,117 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-465/.semver/PR-465 with force:False [2024-03-15T11:56:38.196Z] 2024-03-15 11:56:38,117 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-465/.semver/PR-465 [2024-03-15T11:56:38.196Z] 2024-03-15 11:56:38,121 [execute] INFO git cat-file --batch-check [2024-03-15T11:56:38.196Z] 2024-03-15 11:56:38,121 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-465/.semver, universal_newlines=False, shell=None, istream=) [2024-03-15T11:56:38.196Z] 2024-03-15 11:56:38,127 [execute] INFO git cat-file --batch [2024-03-15T11:56:38.196Z] 2024-03-15 11:56:38,128 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-465/.semver, universal_newlines=False, shell=None, istream=) [2024-03-15T11:56:38.196Z] 2024-03-15 11:56:38,132 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-465/.semver/PR-465 [2024-03-15T11:56:38.196Z] 0.0.0 [Pipeline] } [2024-03-15T11:56:38.218Z] $ docker exec --env ******** --env ******** 9531d58a9a69d02907cced13cb7a99c2f77747b636c893c1179f9d3b8edf7b74 ssh-agent -k [2024-03-15T11:56:38.320Z] unset SSH_AUTH_SOCK; [2024-03-15T11:56:38.321Z] unset SSH_AGENT_PID; [2024-03-15T11:56:38.321Z] echo Agent pid 78 killed; [2024-03-15T11:56:38.333Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-03-15T11:56:38.771Z] + git semver [Pipeline] } [2024-03-15T11:56:39.051Z] $ docker stop --time=1 9531d58a9a69d02907cced13cb7a99c2f77747b636c893c1179f9d3b8edf7b74 [2024-03-15T11:56:40.386Z] $ docker rm -f --volumes 9531d58a9a69d02907cced13cb7a99c2f77747b636c893c1179f9d3b8edf7b74 [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-15T11:56:40.790Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-03-15T11:56:41.105Z] Stashed 1 file(s) [Pipeline] echo [2024-03-15T11:56:41.122Z] [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 [2024-03-15T11:56:41.731Z] provisioning config files... [2024-03-15T11:56:41.745Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-465@tmp/config4708292540803081344tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-15T11:56:42.071Z] ---> ****-login.sh [2024-03-15T11:56:42.071Z] nexus3.edgexfoundry.org:10001 [2024-03-15T11:56:42.071Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-15T11:56:42.071Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-15T11:56:42.071Z] Configure a credential helper to remove this warning. See [2024-03-15T11:56:42.071Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-15T11:56:42.071Z] [2024-03-15T11:56:42.071Z] Login Succeeded [2024-03-15T11:56:42.071Z] nexus3.edgexfoundry.org:10002 [2024-03-15T11:56:42.071Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-15T11:56:42.071Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-15T11:56:42.071Z] Configure a credential helper to remove this warning. See [2024-03-15T11:56:42.071Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-15T11:56:42.071Z] [2024-03-15T11:56:42.071Z] Login Succeeded [2024-03-15T11:56:42.071Z] nexus3.edgexfoundry.org:10003 [2024-03-15T11:56:42.329Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-15T11:56:42.330Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-15T11:56:42.330Z] Configure a credential helper to remove this warning. See [2024-03-15T11:56:42.330Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-15T11:56:42.330Z] [2024-03-15T11:56:42.330Z] Login Succeeded [2024-03-15T11:56:42.330Z] nexus3.edgexfoundry.org:10004 [2024-03-15T11:56:42.330Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-15T11:56:42.330Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-15T11:56:42.330Z] Configure a credential helper to remove this warning. See [2024-03-15T11:56:42.330Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-15T11:56:42.330Z] [2024-03-15T11:56:42.330Z] Login Succeeded [2024-03-15T11:56:42.330Z] ****.io [2024-03-15T11:56:42.330Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-15T11:56:42.590Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-15T11:56:42.590Z] Configure a credential helper to remove this warning. See [2024-03-15T11:56:42.590Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-15T11:56:42.590Z] [2024-03-15T11:56:42.590Z] Login Succeeded [2024-03-15T11:56:42.590Z] ---> ****-login.sh ends [Pipeline] } [2024-03-15T11:56:42.622Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-03-15T11:56:42.824Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-15T11:56:42.870Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-15T11:56:42.914Z] ========================================================= [2024-03-15T11:56:42.914Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-03-15T11:56:42.914Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-15T11:56:43.422Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-03-15T11:56:43.422Z] Sending build context to Docker daemon 31.67MB [2024-03-15T11:56:43.422Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-03-15T11:56:43.422Z] Step 2/12 : FROM ${BASE} AS builder [2024-03-15T11:56:43.716Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-03-15T11:56:43.716Z] 7264a8db6415: Pulling fs layer [2024-03-15T11:56:43.716Z] c4d48a809fc2: Pulling fs layer [2024-03-15T11:56:43.716Z] 4f1c88b9dad5: Pulling fs layer [2024-03-15T11:56:43.716Z] ad3a456e5733: Pulling fs layer [2024-03-15T11:56:43.716Z] 69c7f0334f64: Pulling fs layer [2024-03-15T11:56:43.716Z] 1f1c1a5573a3: Pulling fs layer [2024-03-15T11:56:43.716Z] ce7588e14bc9: Pulling fs layer [2024-03-15T11:56:43.716Z] b5e4710f87ac: Pulling fs layer [2024-03-15T11:56:43.716Z] 69c7f0334f64: Waiting [2024-03-15T11:56:43.716Z] ce7588e14bc9: Waiting [2024-03-15T11:56:43.716Z] b5e4710f87ac: Waiting [2024-03-15T11:56:43.716Z] 1f1c1a5573a3: Waiting [2024-03-15T11:56:43.716Z] ad3a456e5733: Waiting [2024-03-15T11:56:43.716Z] c4d48a809fc2: Download complete [2024-03-15T11:56:43.716Z] ad3a456e5733: Verifying Checksum [2024-03-15T11:56:43.716Z] ad3a456e5733: Download complete [2024-03-15T11:56:43.716Z] 69c7f0334f64: Verifying Checksum [2024-03-15T11:56:43.716Z] 69c7f0334f64: Download complete [2024-03-15T11:56:43.717Z] 7264a8db6415: Verifying Checksum [2024-03-15T11:56:43.717Z] 7264a8db6415: Download complete [2024-03-15T11:56:43.717Z] 1f1c1a5573a3: Verifying Checksum [2024-03-15T11:56:43.717Z] 1f1c1a5573a3: Download complete [2024-03-15T11:56:43.976Z] 7264a8db6415: Pull complete [2024-03-15T11:56:43.976Z] b5e4710f87ac: Verifying Checksum [2024-03-15T11:56:43.976Z] b5e4710f87ac: Download complete [2024-03-15T11:56:43.976Z] c4d48a809fc2: Pull complete [2024-03-15T11:56:44.235Z] 4f1c88b9dad5: Verifying Checksum [2024-03-15T11:56:44.235Z] 4f1c88b9dad5: Download complete [2024-03-15T11:56:44.495Z] ce7588e14bc9: Verifying Checksum [2024-03-15T11:56:44.495Z] ce7588e14bc9: Download complete [2024-03-15T11:56:47.782Z] 4f1c88b9dad5: Pull complete [2024-03-15T11:56:47.782Z] ad3a456e5733: Pull complete [2024-03-15T11:56:47.782Z] 69c7f0334f64: Pull complete [2024-03-15T11:56:47.782Z] 1f1c1a5573a3: Pull complete [2024-03-15T11:56:49.686Z] ce7588e14bc9: Pull complete [2024-03-15T11:56:50.254Z] b5e4710f87ac: Pull complete [2024-03-15T11:56:50.254Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2024-03-15T11:56:50.254Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-03-15T11:56:50.254Z] ---> 88b5674ff536 [2024-03-15T11:56:50.254Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-03-15T11:56:55.558Z] ---> Running in 7a86142af1ad [2024-03-15T11:56:55.558Z] Removing intermediate container 7a86142af1ad [2024-03-15T11:56:55.558Z] ---> 19bf0d0f8ed0 [2024-03-15T11:56:55.558Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-03-15T11:56:55.558Z] ---> Running in 45f714467758 [2024-03-15T11:56:55.558Z] Removing intermediate container 45f714467758 [2024-03-15T11:56:55.558Z] ---> 080606ee6b78 [2024-03-15T11:56:55.558Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-03-15T11:56:55.558Z] ---> Running in 3f5fc6353dcf [2024-03-15T11:56:55.558Z] Removing intermediate container 3f5fc6353dcf [2024-03-15T11:56:55.558Z] ---> b90446316690 [2024-03-15T11:56:55.558Z] Step 6/12 : WORKDIR /device-virtual-go [2024-03-15T11:56:55.817Z] ---> Running in a70c92955085 [2024-03-15T11:56:55.817Z] Removing intermediate container a70c92955085 [2024-03-15T11:56:55.817Z] ---> 3d5b202112c5 [2024-03-15T11:56:55.817Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-03-15T11:56:55.817Z] ---> Running in e9be4965268c [2024-03-15T11:56:56.077Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-15T11:56:56.336Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-15T11:56:56.569Z] Still waiting to schedule task [2024-03-15T11:56:56.569Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-03-15T11:56:56.599Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-03-15T11:56:56.599Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-03-15T11:56:56.599Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-03-15T11:56:56.599Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-03-15T11:56:56.599Z] Executing busybox-1.36.1-r5.trigger [2024-03-15T11:56:56.599Z] OK: 268 MiB in 56 packages [2024-03-15T11:56:57.166Z] Removing intermediate container e9be4965268c [2024-03-15T11:56:57.166Z] ---> 74b986b76222 [2024-03-15T11:56:57.166Z] Step 8/12 : COPY go.mod vendor* ./ [2024-03-15T11:56:57.166Z] ---> 831203ce4e02 [2024-03-15T11:56:57.166Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-15T11:56:57.166Z] ---> Running in 66f3526353a7 [2024-03-15T11:57:35.894Z] Removing intermediate container 66f3526353a7 [2024-03-15T11:57:35.894Z] ---> 99df91a4bc74 [2024-03-15T11:57:35.894Z] Step 10/12 : COPY . . [2024-03-15T11:57:35.894Z] ---> 66a3fe53b407 [2024-03-15T11:57:35.894Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-15T11:57:35.894Z] ---> Running in 2d208cf51961 [2024-03-15T11:57:35.894Z] Removing intermediate container 2d208cf51961 [2024-03-15T11:57:35.894Z] ---> d3dfde7df003 [2024-03-15T11:57:35.894Z] Step 12/12 : RUN $MAKE [2024-03-15T11:57:35.894Z] ---> Running in ff8ec5e2065e [2024-03-15T11:57:35.894Z] noop [2024-03-15T11:57:36.155Z] Removing intermediate container ff8ec5e2065e [2024-03-15T11:57:36.155Z] ---> 333a0bb61d64 [2024-03-15T11:57:36.155Z] Successfully built 333a0bb61d64 [2024-03-15T11:57:36.155Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-15T11:57:36.611Z] + docker inspect -f . ci-base-image-x86_64 [2024-03-15T11:57:36.611Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-15T11:57:36.769Z] prd-ubuntu20.04-docker-8c-8g-67 does not seem to be running inside a container [2024-03-15T11:57:36.793Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-465 -v /w/workspace/foundry_device-virtual-go_PR-465:/w/workspace/foundry_device-virtual-go_PR-465:rw,z -v /w/workspace/foundry_device-virtual-go_PR-465@tmp:/w/workspace/foundry_device-virtual-go_PR-465@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 [2024-03-15T11:57:37.117Z] $ docker top b76c5f8bfea4a3a24b693a55d1340147a79b1b5ca116bc51cc347fed2a0c93ca -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-15T11:57:37.523Z] + go version [2024-03-15T11:57:37.523Z] go version go1.21.0 linux/amd64 [Pipeline] } [2024-03-15T11:57:37.554Z] $ docker stop --time=1 b76c5f8bfea4a3a24b693a55d1340147a79b1b5ca116bc51cc347fed2a0c93ca [2024-03-15T11:57:38.817Z] $ docker rm -f --volumes b76c5f8bfea4a3a24b693a55d1340147a79b1b5ca116bc51cc347fed2a0c93ca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-15T11:57:39.571Z] + docker inspect -f . ci-base-image-x86_64 [2024-03-15T11:57:39.571Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-15T11:57:39.733Z] prd-ubuntu20.04-docker-8c-8g-67 does not seem to be running inside a container [2024-03-15T11:57:39.760Z] $ 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-465 -v /w/workspace/foundry_device-virtual-go_PR-465:/w/workspace/foundry_device-virtual-go_PR-465:rw,z -v /w/workspace/foundry_device-virtual-go_PR-465@tmp:/w/workspace/foundry_device-virtual-go_PR-465@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 [2024-03-15T11:57:40.085Z] $ docker top 8188d38bd8f08e8c516517dcc7122ab7f8fe0d40b554e1b376b8bb8dacbf0a9a -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-15T11:57:40.493Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-465 [Pipeline] fileExists [Pipeline] sh [2024-03-15T11:57:40.856Z] + make test [2024-03-15T11:57:40.856Z] go test ./... -coverprofile=coverage.out [2024-03-15T11:57:42.255Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2024-03-15T11:57:52.229Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2024-03-15T11:57:52.229Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.013s coverage: 58.6% of statements [2024-03-15T11:57:57.500Z] go vet ./... [2024-03-15T11:58:00.784Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-03-15T11:58:00.784Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-03-15T11:58:00.784Z] ./bin/test-attribution-txt.sh [2024-03-15T11:58:00.784Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo [2024-03-15T11:58:00.826Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-03-15T11:58:00.854Z] $ docker stop --time=1 8188d38bd8f08e8c516517dcc7122ab7f8fe0d40b554e1b376b8bb8dacbf0a9a [2024-03-15T11:58:04.440Z] $ docker rm -f --volumes 8188d38bd8f08e8c516517dcc7122ab7f8fe0d40b554e1b376b8bb8dacbf0a9a [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-15T11:58:04.969Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-03-15T11:58:05.046Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-03-15T11:58:05.757Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-03-15T11:58:06.070Z] + ls -al . [2024-03-15T11:58:06.070Z] total 200 [2024-03-15T11:58:06.070Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 11:57 . [2024-03-15T11:58:06.070Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 11:56 .. [2024-03-15T11:58:06.070Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 11:57 .git [2024-03-15T11:58:06.070Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 11:56 .github [2024-03-15T11:58:06.070Z] -rw-rw-r-- 1 jenkins jenkins 272 Mar 15 11:56 .gitignore [2024-03-15T11:58:06.070Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 15 11:56 .golangci.yml [2024-03-15T11:58:06.070Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 11:56 .semver [2024-03-15T11:58:06.070Z] -rw-rw-r-- 1 jenkins jenkins 9708 Mar 15 11:56 Attribution.txt [2024-03-15T11:58:06.070Z] -rw-rw-r-- 1 jenkins jenkins 15941 Mar 15 11:56 CHANGELOG.md [2024-03-15T11:58:06.070Z] -rw-rw-r-- 1 jenkins jenkins 1755 Mar 15 11:56 Dockerfile [2024-03-15T11:58:06.070Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 11:56 GOVERNANCE.md [2024-03-15T11:58:06.070Z] -rw-rw-r-- 1 jenkins jenkins 660 Mar 15 11:56 Jenkinsfile [2024-03-15T11:58:06.070Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 15 11:56 LICENSE [2024-03-15T11:58:06.070Z] -rw-rw-r-- 1 jenkins jenkins 1953 Mar 15 11:56 Makefile [2024-03-15T11:58:06.070Z] -rw-rw-r-- 1 jenkins jenkins 623 Mar 15 11:56 OWNERS.md [2024-03-15T11:58:06.070Z] -rw-rw-r-- 1 jenkins jenkins 4103 Mar 15 11:56 README.md [2024-03-15T11:58:06.070Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 11:56 VERSION [2024-03-15T11:58:06.070Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 11:56 bin [2024-03-15T11:58:06.070Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 11:56 cmd [2024-03-15T11:58:06.070Z] -rw-r--r-- 1 jenkins jenkins 43063 Mar 15 11:57 coverage.out [2024-03-15T11:58:06.070Z] -rw-rw-r-- 1 jenkins jenkins 3683 Mar 15 11:56 go.mod [2024-03-15T11:58:06.070Z] -rw-rw-r-- 1 jenkins jenkins 35612 Mar 15 11:56 go.sum [2024-03-15T11:58:06.070Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 11:56 internal [2024-03-15T11:58:06.070Z] -rw-rw-r-- 1 jenkins jenkins 235 Mar 15 11:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-15T11:58:06.485Z] + 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=a1a745075326ff3a556ddd1ef5af148c9bd47a1e --label arch=amd64 --label version=0.0.0 . [2024-03-15T11:58:06.486Z] Sending build context to Docker daemon 31.71MB [2024-03-15T11:58:06.486Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-03-15T11:58:06.486Z] Step 2/26 : FROM ${BASE} AS builder [2024-03-15T11:58:06.486Z] ---> 333a0bb61d64 [2024-03-15T11:58:06.486Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-03-15T11:58:07.054Z] ---> Running in 536f907c2e13 [2024-03-15T11:58:07.054Z] Removing intermediate container 536f907c2e13 [2024-03-15T11:58:07.054Z] ---> 18ab7d53ace5 [2024-03-15T11:58:07.054Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-03-15T11:58:07.054Z] ---> Running in 2b0e8582c9ef [2024-03-15T11:58:07.054Z] Removing intermediate container 2b0e8582c9ef [2024-03-15T11:58:07.054Z] ---> 5e1031c9fc87 [2024-03-15T11:58:07.054Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-03-15T11:58:07.313Z] ---> Running in 9f972ae174da [2024-03-15T11:58:07.313Z] Removing intermediate container 9f972ae174da [2024-03-15T11:58:07.313Z] ---> 8bef020ee45d [2024-03-15T11:58:07.313Z] Step 6/26 : WORKDIR /device-virtual-go [2024-03-15T11:58:07.313Z] ---> Running in aa82f2305687 [2024-03-15T11:58:07.313Z] Removing intermediate container aa82f2305687 [2024-03-15T11:58:07.313Z] ---> 7f7c240df7ab [2024-03-15T11:58:07.313Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-03-15T11:58:07.313Z] ---> Running in 4945767ecd65 [2024-03-15T11:58:07.573Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-15T11:58:07.833Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-15T11:58:08.092Z] OK: 268 MiB in 56 packages [2024-03-15T11:58:08.351Z] Removing intermediate container 4945767ecd65 [2024-03-15T11:58:08.351Z] ---> 898ad69300ca [2024-03-15T11:58:08.351Z] Step 8/26 : COPY go.mod vendor* ./ [2024-03-15T11:58:08.611Z] ---> d91dcd739b3c [2024-03-15T11:58:08.611Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-15T11:58:08.611Z] ---> Running in 3a7b65d02bfc [2024-03-15T11:58:09.178Z] Removing intermediate container 3a7b65d02bfc [2024-03-15T11:58:09.178Z] ---> 679367a880d0 [2024-03-15T11:58:09.178Z] Step 10/26 : COPY . . [2024-03-15T11:58:10.112Z] ---> 447bfc3c4fe3 [2024-03-15T11:58:10.112Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-15T11:58:10.112Z] ---> Running in 61691323e20f [2024-03-15T11:58:10.112Z] Removing intermediate container 61691323e20f [2024-03-15T11:58:10.112Z] ---> 31bce7a856e4 [2024-03-15T11:58:10.112Z] Step 12/26 : RUN $MAKE [2024-03-15T11:58:10.112Z] ---> Running in 2b8f5405c3f4 [2024-03-15T11:58:10.370Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.11" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2024-03-15T11:58:28.456Z] Removing intermediate container 2b8f5405c3f4 [2024-03-15T11:58:28.456Z] ---> 87c8f053df7f [2024-03-15T11:58:28.456Z] Step 13/26 : FROM alpine:3.18 [2024-03-15T11:58:29.023Z] 3.18: Pulling from library/alpine [2024-03-15T11:58:29.023Z] 619be1103602: Pulling fs layer [2024-03-15T11:58:29.282Z] 619be1103602: Verifying Checksum [2024-03-15T11:58:29.282Z] 619be1103602: Download complete [2024-03-15T11:58:29.541Z] 619be1103602: Pull complete [2024-03-15T11:58:29.541Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-03-15T11:58:29.541Z] Status: Downloaded newer image for alpine:3.18 [2024-03-15T11:58:29.541Z] ---> d3782b16ccc9 [2024-03-15T11:58:29.541Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2024-03-15T11:58:29.541Z] ---> Running in da115c9f6e1d [2024-03-15T11:58:29.541Z] Removing intermediate container da115c9f6e1d [2024-03-15T11:58:29.541Z] ---> 185156ba47c9 [2024-03-15T11:58:29.541Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-03-15T11:58:29.541Z] ---> Running in e1f6bc06ca8f [2024-03-15T11:58:29.799Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-15T11:58:30.058Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-15T11:58:30.058Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-03-15T11:58:30.058Z] Executing busybox-1.36.1-r5.trigger [2024-03-15T11:58:30.058Z] OK: 7 MiB in 16 packages [2024-03-15T11:58:30.623Z] Removing intermediate container e1f6bc06ca8f [2024-03-15T11:58:30.623Z] ---> 960ac1b8cf91 [2024-03-15T11:58:30.623Z] Step 16/26 : RUN apk --no-cache upgrade [2024-03-15T11:58:30.623Z] ---> Running in 1f7886708851 [2024-03-15T11:58:30.623Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-15T11:58:30.881Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-15T11:58:31.138Z] OK: 7 MiB in 16 packages [2024-03-15T11:58:31.396Z] Removing intermediate container 1f7886708851 [2024-03-15T11:58:31.396Z] ---> a71ff366c211 [2024-03-15T11:58:31.396Z] Step 17/26 : WORKDIR / [2024-03-15T11:58:31.396Z] ---> Running in 34ee606a30f2 [2024-03-15T11:58:31.396Z] Removing intermediate container 34ee606a30f2 [2024-03-15T11:58:31.396Z] ---> 1a9fdb22dada [2024-03-15T11:58:31.396Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2024-03-15T11:58:31.444Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-68 in /w/workspace/foundry_device-virtual-go_PR-465 [Pipeline] { [Pipeline] ws [2024-03-15T11:58:31.506Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2024-03-15T11:58:31.654Z] ---> 3ede761cab98 [2024-03-15T11:58:31.654Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2024-03-15T11:58:31.654Z] ---> 7aadd5944262 [2024-03-15T11:58:31.654Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2024-03-15T11:58:32.220Z] ---> 02c0e2e38ac6 [2024-03-15T11:58:32.220Z] Step 21/26 : EXPOSE 59900 [2024-03-15T11:58:32.220Z] ---> Running in 6919cf472e5d [2024-03-15T11:58:32.478Z] Removing intermediate container 6919cf472e5d [2024-03-15T11:58:32.478Z] ---> 877743700ed5 [2024-03-15T11:58:32.478Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2024-03-15T11:58:32.478Z] ---> Running in c6e3291c9059 [2024-03-15T11:58:32.478Z] Removing intermediate container c6e3291c9059 [2024-03-15T11:58:32.478Z] ---> 44fa529bd144 [2024-03-15T11:58:32.478Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-03-15T11:58:32.478Z] ---> Running in b68fdb867774 [2024-03-15T11:58:32.478Z] Removing intermediate container b68fdb867774 [2024-03-15T11:58:32.478Z] ---> ea81fc6ad104 [2024-03-15T11:58:32.478Z] Step 24/26 : LABEL arch=amd64 [2024-03-15T11:58:32.478Z] ---> Running in 6b8bbad91f17 [2024-03-15T11:58:32.739Z] Removing intermediate container 6b8bbad91f17 [2024-03-15T11:58:32.739Z] ---> 4530253822c4 [2024-03-15T11:58:32.739Z] Step 25/26 : LABEL git_sha=a1a745075326ff3a556ddd1ef5af148c9bd47a1e [2024-03-15T11:58:32.739Z] ---> Running in 383a0b1f73bd [2024-03-15T11:58:32.739Z] Removing intermediate container 383a0b1f73bd [2024-03-15T11:58:32.739Z] ---> 13f0e3bfdc09 [2024-03-15T11:58:32.739Z] Step 26/26 : LABEL version=0.0.0 [2024-03-15T11:58:32.739Z] ---> Running in afbd08f0571f [2024-03-15T11:58:32.739Z] Removing intermediate container afbd08f0571f [2024-03-15T11:58:32.739Z] ---> 04fe0e9159e7 [2024-03-15T11:58:32.739Z] [Warning] One or more build-args [ARCH] were not consumed [2024-03-15T11:58:32.739Z] Successfully built 04fe0e9159e7 [2024-03-15T11:58:32.739Z] Successfully tagged device-virtual:latest [2024-03-15T11:58:34.606Z] The recommended git tool is: git [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 [2024-03-15T11:58:35.557Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-15T11:58:35.557Z] [2024-03-15T11:58:35.557Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-15T11:58:35.940Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-15T11:58:35.941Z] latest: Pulling from edgex-lftools-log-publisher [2024-03-15T11:58:35.941Z] 5eb5b503b376: Pulling fs layer [2024-03-15T11:58:35.941Z] 5c69ac0246d0: Pulling fs layer [2024-03-15T11:58:35.941Z] ec43610c2a17: Pulling fs layer [2024-03-15T11:58:35.941Z] 3a2ae6a8a46f: Pulling fs layer [2024-03-15T11:58:35.941Z] 33b1e0a273af: Pulling fs layer [2024-03-15T11:58:35.941Z] 5d3b04190fa2: Pulling fs layer [2024-03-15T11:58:35.941Z] 2f39f015ded8: Pulling fs layer [2024-03-15T11:58:35.941Z] 33b1e0a273af: Waiting [2024-03-15T11:58:35.941Z] 5d3b04190fa2: Waiting [2024-03-15T11:58:35.941Z] 2f39f015ded8: Waiting [2024-03-15T11:58:35.941Z] 3a2ae6a8a46f: Waiting [2024-03-15T11:58:35.941Z] 5c69ac0246d0: Download complete [2024-03-15T11:58:35.941Z] 3a2ae6a8a46f: Verifying Checksum [2024-03-15T11:58:35.941Z] 3a2ae6a8a46f: Download complete [2024-03-15T11:58:35.941Z] 33b1e0a273af: Verifying Checksum [2024-03-15T11:58:35.941Z] 33b1e0a273af: Download complete [2024-03-15T11:58:35.941Z] 5d3b04190fa2: Verifying Checksum [2024-03-15T11:58:35.941Z] 5d3b04190fa2: Download complete [2024-03-15T11:58:35.941Z] ec43610c2a17: Verifying Checksum [2024-03-15T11:58:35.941Z] ec43610c2a17: Download complete [2024-03-15T11:58:36.199Z] 5eb5b503b376: Verifying Checksum [2024-03-15T11:58:36.199Z] 5eb5b503b376: Download complete [2024-03-15T11:58:36.764Z] 2f39f015ded8: Verifying Checksum [2024-03-15T11:58:36.764Z] 2f39f015ded8: Download complete [2024-03-15T11:58:37.333Z] 5eb5b503b376: Pull complete [2024-03-15T11:58:37.333Z] 5c69ac0246d0: Pull complete [2024-03-15T11:58:37.899Z] ec43610c2a17: Pull complete [2024-03-15T11:58:37.899Z] 3a2ae6a8a46f: Pull complete [2024-03-15T11:58:38.158Z] 33b1e0a273af: Pull complete [2024-03-15T11:58:38.158Z] 5d3b04190fa2: Pull complete [2024-03-15T11:58:39.408Z] using credential edgex-jenkins-ssh [2024-03-15T11:58:39.427Z] Cloning the remote Git repository [2024-03-15T11:58:39.469Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2024-03-15T11:58:39.575Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2024-03-15T11:58:39.722Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2024-03-15T11:58:39.723Z] > git --version # timeout=10 [2024-03-15T11:58:39.743Z] > git --version # 'git version 2.25.1' [2024-03-15T11:58:39.745Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-15T11:58:39.900Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-03-15T11:58:42.349Z] 2f39f015ded8: Pull complete [2024-03-15T11:58:42.349Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-03-15T11:58:42.349Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-15T11:58:42.349Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-15T11:58:42.586Z] prd-ubuntu20.04-docker-8c-8g-67 does not seem to be running inside a container [2024-03-15T11:58:42.610Z] $ 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-465 -v /w/workspace/foundry_device-virtual-go_PR-465:/w/workspace/foundry_device-virtual-go_PR-465:rw,z -v /w/workspace/foundry_device-virtual-go_PR-465@tmp:/w/workspace/foundry_device-virtual-go_PR-465@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 [2024-03-15T11:58:42.431Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2024-03-15T11:58:42.452Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-03-15T11:58:43.276Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2024-03-15T11:58:43.314Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2024-03-15T11:58:43.315Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-15T11:58:43.335Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/465/head:refs/remotes/origin/PR-465 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-03-15T11:58:43.834Z] Merging remotes/origin/main commit 924acc26038ae5c566a4069cec42ce4481862670 into PR head commit a1a745075326ff3a556ddd1ef5af148c9bd47a1e [2024-03-15T11:58:44.110Z] Merge succeeded, producing a1a745075326ff3a556ddd1ef5af148c9bd47a1e [2024-03-15T11:58:44.110Z] Checking out Revision a1a745075326ff3a556ddd1ef5af148c9bd47a1e (PR-465) [2024-03-15T11:58:44.594Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2024-03-15T11:58:44.637Z] > git --version # timeout=10 [2024-03-15T11:58:44.646Z] > git --version # 'git version 2.25.1' [2024-03-15T11:58:44.661Z] fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-03-15T11:58:43.858Z] > git config core.sparsecheckout # timeout=10 [2024-03-15T11:58:43.924Z] > git checkout -f a1a745075326ff3a556ddd1ef5af148c9bd47a1e # timeout=10 [2024-03-15T11:58:44.008Z] > git remote # timeout=10 [2024-03-15T11:58:44.025Z] > git config --get remote.origin.url # timeout=10 [2024-03-15T11:58:44.052Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-15T11:58:44.069Z] > git merge 924acc26038ae5c566a4069cec42ce4481862670 # timeout=10 [2024-03-15T11:58:44.095Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-03-15T11:58:44.115Z] > git config core.sparsecheckout # timeout=10 [2024-03-15T11:58:44.128Z] > git checkout -f a1a745075326ff3a556ddd1ef5af148c9bd47a1e # timeout=10 [2024-03-15T11:58:46.961Z] $ docker top 5986211be7b099228c9f12367b00c3824e9a69e5d8e7e61cf25d82f1f025ca8b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-15T11:58:47.414Z] ---> job-cost.sh [2024-03-15T11:58:47.414Z] lf-activate-venv: SKIPPING [2024-03-15T11:58:47.414Z] INFO: No Stack... [2024-03-15T11:58:47.673Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-03-15T11:58:48.241Z] INFO: Archiving Costs [Pipeline] sh [2024-03-15T11:58:48.551Z] + cat /w/workspace/foundry_device-virtual-go_PR-465/archives/cost.csv [2024-03-15T11:58:48.551Z] + cut -d, -f6 [Pipeline] lock [2024-03-15T11:58:48.590Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-465-1-stack-cost] [2024-03-15T11:58:48.595Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-465-1-stack-cost] did not exist. Created. [2024-03-15T11:58:48.600Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-465-1-stack-cost] [Pipeline] { [Pipeline] unstash [2024-03-15T11:58:48.684Z] [2024-03-15T11:58:48.684Z] GitHub has been notified of this commit’s build result [2024-03-15T11:58:48.684Z] [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-15T11:58:49.014Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-03-15T11:58:49.298Z] Stashed 1 file(s) [Pipeline] } [2024-03-15T11:58:49.329Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-465-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-03-15T11:58:49.410Z] $ docker stop --time=1 5986211be7b099228c9f12367b00c3824e9a69e5d8e7e61cf25d82f1f025ca8b [2024-03-15T11:58:49.516Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-03-15T11:58:49.516Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-03-15T11:58:49.516Z] Dload Upload Total Spent Left Speed [2024-03-15T11:58:49.516Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 99k 0 --:--:-- --:--:-- --:--:-- 99k [2024-03-15T11:58:50.556Z] $ docker rm -f --volumes 5986211be7b099228c9f12367b00c3824e9a69e5d8e7e61cf25d82f1f025ca8b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-03-15T11:58:50.994Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-03-15T11:58:51.325Z] + sudo tee /etc/docker/daemon.new [2024-03-15T11:58:51.326Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-03-15T11:58:51.326Z] { [2024-03-15T11:58:51.326Z] "registry-mirrors": [ [2024-03-15T11:58:51.326Z] "https://nexus3.edgexfoundry.org:10001" [2024-03-15T11:58:51.326Z] ], [2024-03-15T11:58:51.326Z] "bip": "10.250.0.254/24", [2024-03-15T11:58:51.326Z] "hosts": [ [2024-03-15T11:58:51.326Z] "tcp://0.0.0.0:5555", [2024-03-15T11:58:51.326Z] "unix:///var/run/docker.sock" [2024-03-15T11:58:51.326Z] ], [2024-03-15T11:58:51.326Z] "mtu": 1458, [2024-03-15T11:58:51.326Z] "selinux-enabled": true, [2024-03-15T11:58:51.326Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-03-15T11:58:51.326Z] } [Pipeline] sh [2024-03-15T11:58:51.673Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-03-15T11:58:52.018Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-15T11:59:10.338Z] provisioning config files... [2024-03-15T11:59:10.360Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config3742454225041867763tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-15T11:59:10.847Z] ---> ****-login.sh [2024-03-15T11:59:10.847Z] nexus3.edgexfoundry.org:10001 [2024-03-15T11:59:11.434Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-15T11:59:11.435Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-15T11:59:11.435Z] Configure a credential helper to remove this warning. See [2024-03-15T11:59:11.435Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-15T11:59:11.435Z] [2024-03-15T11:59:11.435Z] Login Succeeded [2024-03-15T11:59:11.435Z] nexus3.edgexfoundry.org:10002 [2024-03-15T11:59:11.706Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-15T11:59:11.706Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-15T11:59:11.706Z] Configure a credential helper to remove this warning. See [2024-03-15T11:59:11.707Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-15T11:59:11.707Z] [2024-03-15T11:59:11.707Z] Login Succeeded [2024-03-15T11:59:11.707Z] nexus3.edgexfoundry.org:10003 [2024-03-15T11:59:11.976Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-15T11:59:12.251Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-15T11:59:12.251Z] Configure a credential helper to remove this warning. See [2024-03-15T11:59:12.251Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-15T11:59:12.251Z] [2024-03-15T11:59:12.251Z] Login Succeeded [2024-03-15T11:59:12.251Z] nexus3.edgexfoundry.org:10004 [2024-03-15T11:59:12.251Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-15T11:59:12.522Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-15T11:59:12.522Z] Configure a credential helper to remove this warning. See [2024-03-15T11:59:12.522Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-15T11:59:12.522Z] [2024-03-15T11:59:12.522Z] Login Succeeded [2024-03-15T11:59:12.522Z] ****.io [2024-03-15T11:59:12.791Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-15T11:59:13.059Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-15T11:59:13.059Z] Configure a credential helper to remove this warning. See [2024-03-15T11:59:13.059Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-15T11:59:13.059Z] [2024-03-15T11:59:13.059Z] Login Succeeded [2024-03-15T11:59:13.059Z] ---> ****-login.sh ends [Pipeline] } [2024-03-15T11:59:13.091Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-03-15T11:59:13.502Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-15T11:59:13.544Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-15T11:59:13.582Z] ========================================================= [2024-03-15T11:59:13.582Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-03-15T11:59:13.582Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-15T11:59:14.086Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-03-15T11:59:14.674Z] Sending build context to Docker daemon 15.98MB [2024-03-15T11:59:14.674Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-03-15T11:59:14.674Z] Step 2/12 : FROM ${BASE} AS builder [2024-03-15T11:59:14.674Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-03-15T11:59:14.674Z] 9fda8d8052c6: Pulling fs layer [2024-03-15T11:59:14.674Z] 5d54e960e981: Pulling fs layer [2024-03-15T11:59:14.674Z] c4a7e357bf2a: Pulling fs layer [2024-03-15T11:59:14.674Z] f0e02332f6b5: Pulling fs layer [2024-03-15T11:59:14.674Z] 872ee5b61b7b: Pulling fs layer [2024-03-15T11:59:14.674Z] f0e02332f6b5: Waiting [2024-03-15T11:59:14.674Z] 0c6a40ed1a82: Pulling fs layer [2024-03-15T11:59:14.674Z] 94ae7d8d031c: Pulling fs layer [2024-03-15T11:59:14.674Z] 872ee5b61b7b: Waiting [2024-03-15T11:59:14.674Z] 0c6a40ed1a82: Waiting [2024-03-15T11:59:14.674Z] 94ae7d8d031c: Waiting [2024-03-15T11:59:14.674Z] 5d54e960e981: Download complete [2024-03-15T11:59:14.945Z] f0e02332f6b5: Verifying Checksum [2024-03-15T11:59:14.945Z] f0e02332f6b5: Download complete [2024-03-15T11:59:14.945Z] 872ee5b61b7b: Verifying Checksum [2024-03-15T11:59:14.945Z] 872ee5b61b7b: Download complete [2024-03-15T11:59:14.945Z] 9fda8d8052c6: Verifying Checksum [2024-03-15T11:59:14.945Z] 9fda8d8052c6: Download complete [2024-03-15T11:59:15.230Z] 94ae7d8d031c: Verifying Checksum [2024-03-15T11:59:15.230Z] 94ae7d8d031c: Download complete [2024-03-15T11:59:15.819Z] 9fda8d8052c6: Pull complete [2024-03-15T11:59:16.406Z] 5d54e960e981: Pull complete [2024-03-15T11:59:16.674Z] c4a7e357bf2a: Verifying Checksum [2024-03-15T11:59:16.674Z] c4a7e357bf2a: Download complete [2024-03-15T11:59:17.632Z] 0c6a40ed1a82: Verifying Checksum [2024-03-15T11:59:17.632Z] 0c6a40ed1a82: Download complete [2024-03-15T11:59:29.941Z] c4a7e357bf2a: Pull complete [2024-03-15T11:59:29.941Z] f0e02332f6b5: Pull complete [2024-03-15T11:59:29.941Z] 872ee5b61b7b: Pull complete [2024-03-15T11:59:38.154Z] 0c6a40ed1a82: Pull complete [2024-03-15T11:59:40.102Z] 94ae7d8d031c: Pull complete [2024-03-15T11:59:40.102Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2024-03-15T11:59:40.102Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-03-15T11:59:40.102Z] ---> 86de565de09d [2024-03-15T11:59:40.102Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-03-15T11:59:42.039Z] ---> Running in 5fcd23e9a13d [2024-03-15T11:59:42.039Z] Removing intermediate container 5fcd23e9a13d [2024-03-15T11:59:42.039Z] ---> d72b4e666bcb [2024-03-15T11:59:42.039Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-03-15T11:59:42.305Z] ---> Running in af331ddcd578 [2024-03-15T11:59:42.572Z] Removing intermediate container af331ddcd578 [2024-03-15T11:59:42.573Z] ---> 9945556a655e [2024-03-15T11:59:42.573Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-03-15T11:59:42.573Z] ---> Running in 7329fd1ef6bd [2024-03-15T11:59:42.842Z] Removing intermediate container 7329fd1ef6bd [2024-03-15T11:59:42.842Z] ---> ae7c5df983e1 [2024-03-15T11:59:42.842Z] Step 6/12 : WORKDIR /device-virtual-go [2024-03-15T11:59:42.842Z] ---> Running in 8fd7dcff85c1 [2024-03-15T11:59:43.113Z] Removing intermediate container 8fd7dcff85c1 [2024-03-15T11:59:43.113Z] ---> 68ede2f45cdf [2024-03-15T11:59:43.113Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-03-15T11:59:43.379Z] ---> Running in eafd4061d7d0 [2024-03-15T11:59:44.337Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-15T11:59:44.923Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-15T11:59:45.889Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-03-15T11:59:45.889Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-03-15T11:59:45.889Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-03-15T11:59:45.889Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-03-15T11:59:45.889Z] Executing busybox-1.36.1-r5.trigger [2024-03-15T11:59:45.889Z] OK: 271 MiB in 56 packages [2024-03-15T11:59:46.849Z] Removing intermediate container eafd4061d7d0 [2024-03-15T11:59:46.849Z] ---> be6763c14e5f [2024-03-15T11:59:46.849Z] Step 8/12 : COPY go.mod vendor* ./ [2024-03-15T11:59:47.437Z] ---> 07070cd1b4e3 [2024-03-15T11:59:47.437Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-15T11:59:47.437Z] ---> Running in 78ca2ec8109f [2024-03-15T12:00:43.831Z] Removing intermediate container 78ca2ec8109f [2024-03-15T12:00:43.831Z] ---> 51420bba6441 [2024-03-15T12:00:43.831Z] Step 10/12 : COPY . . [2024-03-15T12:00:45.243Z] ---> e5d9f62eb754 [2024-03-15T12:00:45.243Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-15T12:00:45.243Z] ---> Running in d5f4ca629e97 [2024-03-15T12:00:45.510Z] Removing intermediate container d5f4ca629e97 [2024-03-15T12:00:45.510Z] ---> 3a1c904cf85a [2024-03-15T12:00:45.510Z] Step 12/12 : RUN $MAKE [2024-03-15T12:00:45.510Z] ---> Running in 57c23a39d356 [2024-03-15T12:00:46.465Z] noop [2024-03-15T12:00:47.044Z] Removing intermediate container 57c23a39d356 [2024-03-15T12:00:47.044Z] ---> 27078693550d [2024-03-15T12:00:47.044Z] Successfully built 27078693550d [2024-03-15T12:00:47.044Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-15T12:00:47.523Z] + docker inspect -f . ci-base-image-arm64 [2024-03-15T12:00:47.524Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-15T12:00:47.808Z] prd-ubuntu20.04-docker-arm64-4c-16g-68 does not seem to be running inside a container [2024-03-15T12:00:47.870Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-03-15T12:00:49.049Z] $ docker top 11bd744b1f1148501ca98501240f0914f6c3d2d5e4ad38a2f1f346fc8b1dab78 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-15T12:00:49.929Z] + go version [2024-03-15T12:00:49.929Z] go version go1.21.0 linux/arm64 [Pipeline] } [2024-03-15T12:00:49.967Z] $ docker stop --time=1 11bd744b1f1148501ca98501240f0914f6c3d2d5e4ad38a2f1f346fc8b1dab78 [2024-03-15T12:00:51.571Z] $ docker rm -f --volumes 11bd744b1f1148501ca98501240f0914f6c3d2d5e4ad38a2f1f346fc8b1dab78 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-15T12:00:52.443Z] + docker inspect -f . ci-base-image-arm64 [2024-03-15T12:00:52.443Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-15T12:00:52.895Z] prd-ubuntu20.04-docker-arm64-4c-16g-68 does not seem to be running inside a container [2024-03-15T12:00:52.955Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-03-15T12:00:54.163Z] $ docker top fbf1c4557ff238304974cefd0428d1320c68230db763baf664ee0020efd0c9e4 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-15T12:00:54.851Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh [2024-03-15T12:00:55.590Z] + make test [2024-03-15T12:00:55.590Z] go test ./... -coverprofile=coverage.out [2024-03-15T12:00:58.944Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2024-03-15T12:02:35.602Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2024-03-15T12:02:35.602Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.066s coverage: 58.4% of statements [2024-03-15T12:02:35.602Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-03-15T12:02:35.602Z] go vet ./... [2024-03-15T12:02:42.238Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-03-15T12:02:42.238Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-03-15T12:02:42.238Z] ./bin/test-attribution-txt.sh [2024-03-15T12:02:42.238Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo [2024-03-15T12:02:42.280Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-03-15T12:02:42.317Z] $ docker stop --time=1 fbf1c4557ff238304974cefd0428d1320c68230db763baf664ee0020efd0c9e4 [2024-03-15T12:02:44.190Z] $ docker rm -f --volumes fbf1c4557ff238304974cefd0428d1320c68230db763baf664ee0020efd0c9e4 [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-15T12:02:45.377Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-03-15T12:02:45.413Z] Warning: overwriting stash ‘coverage-report’ [2024-03-15T12:02:45.876Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-15T12:02:46.518Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-03-15T12:02:47.009Z] + ls -al . [2024-03-15T12:02:47.009Z] total 196 [2024-03-15T12:02:47.009Z] drwxrwxr-x 7 jenkins jenkins 4096 Mar 15 12:00 . [2024-03-15T12:02:47.009Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 11:58 .. [2024-03-15T12:02:47.009Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 11:58 .git [2024-03-15T12:02:47.010Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 11:58 .github [2024-03-15T12:02:47.010Z] -rw-rw-r-- 1 jenkins jenkins 272 Mar 15 11:58 .gitignore [2024-03-15T12:02:47.010Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 15 11:58 .golangci.yml [2024-03-15T12:02:47.010Z] -rw-rw-r-- 1 jenkins jenkins 9708 Mar 15 11:58 Attribution.txt [2024-03-15T12:02:47.010Z] -rw-rw-r-- 1 jenkins jenkins 15941 Mar 15 11:58 CHANGELOG.md [2024-03-15T12:02:47.010Z] -rw-rw-r-- 1 jenkins jenkins 1755 Mar 15 11:58 Dockerfile [2024-03-15T12:02:47.010Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 11:58 GOVERNANCE.md [2024-03-15T12:02:47.010Z] -rw-rw-r-- 1 jenkins jenkins 660 Mar 15 11:58 Jenkinsfile [2024-03-15T12:02:47.010Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 15 11:58 LICENSE [2024-03-15T12:02:47.010Z] -rw-rw-r-- 1 jenkins jenkins 1953 Mar 15 11:58 Makefile [2024-03-15T12:02:47.010Z] -rw-rw-r-- 1 jenkins jenkins 623 Mar 15 11:58 OWNERS.md [2024-03-15T12:02:47.010Z] -rw-rw-r-- 1 jenkins jenkins 4103 Mar 15 11:58 README.md [2024-03-15T12:02:47.010Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 11:56 VERSION [2024-03-15T12:02:47.010Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 11:58 bin [2024-03-15T12:02:47.010Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 11:58 cmd [2024-03-15T12:02:47.010Z] -rw-r--r-- 1 jenkins jenkins 43063 Mar 15 12:02 coverage.out [2024-03-15T12:02:47.010Z] -rw-rw-r-- 1 jenkins jenkins 3683 Mar 15 11:58 go.mod [2024-03-15T12:02:47.010Z] -rw-rw-r-- 1 jenkins jenkins 35612 Mar 15 11:58 go.sum [2024-03-15T12:02:47.010Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 11:58 internal [2024-03-15T12:02:47.010Z] -rw-rw-r-- 1 jenkins jenkins 235 Mar 15 11:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-15T12:02:47.440Z] + 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=a1a745075326ff3a556ddd1ef5af148c9bd47a1e --label arch=arm64 --label version=0.0.0 . [2024-03-15T12:02:48.035Z] Sending build context to Docker daemon 16.02MB [2024-03-15T12:02:48.035Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-03-15T12:02:48.035Z] Step 2/26 : FROM ${BASE} AS builder [2024-03-15T12:02:48.035Z] ---> 27078693550d [2024-03-15T12:02:48.035Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-03-15T12:02:48.035Z] ---> Running in 29497a879202 [2024-03-15T12:02:48.302Z] Removing intermediate container 29497a879202 [2024-03-15T12:02:48.302Z] ---> d68c08d283a8 [2024-03-15T12:02:48.302Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-03-15T12:02:48.582Z] ---> Running in 6416fc1cbaad [2024-03-15T12:02:48.848Z] Removing intermediate container 6416fc1cbaad [2024-03-15T12:02:48.848Z] ---> fbbee6d24b99 [2024-03-15T12:02:48.849Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-03-15T12:02:48.849Z] ---> Running in d95df0fb76f4 [2024-03-15T12:02:49.116Z] Removing intermediate container d95df0fb76f4 [2024-03-15T12:02:49.116Z] ---> b79f0af5006a [2024-03-15T12:02:49.116Z] Step 6/26 : WORKDIR /device-virtual-go [2024-03-15T12:02:49.116Z] ---> Running in f4021b428c78 [2024-03-15T12:02:49.383Z] Removing intermediate container f4021b428c78 [2024-03-15T12:02:49.383Z] ---> a6793aa365e9 [2024-03-15T12:02:49.383Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-03-15T12:02:49.654Z] ---> Running in ea4b2c20f903 [2024-03-15T12:02:50.611Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-15T12:02:50.883Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-15T12:02:51.852Z] OK: 271 MiB in 56 packages [2024-03-15T12:02:52.813Z] Removing intermediate container ea4b2c20f903 [2024-03-15T12:02:52.813Z] ---> ddabb46923d2 [2024-03-15T12:02:52.813Z] Step 8/26 : COPY go.mod vendor* ./ [2024-03-15T12:02:53.394Z] ---> 796d2cc70587 [2024-03-15T12:02:53.394Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-15T12:02:53.394Z] ---> Running in f5f623c41847 [2024-03-15T12:02:55.328Z] Removing intermediate container f5f623c41847 [2024-03-15T12:02:55.328Z] ---> 4768b3505dc1 [2024-03-15T12:02:55.328Z] Step 10/26 : COPY . . [2024-03-15T12:02:56.734Z] ---> dd0447719d87 [2024-03-15T12:02:56.734Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-15T12:02:56.734Z] ---> Running in b04c1e549f6b [2024-03-15T12:02:56.734Z] Removing intermediate container b04c1e549f6b [2024-03-15T12:02:56.734Z] ---> b56e3d6b7138 [2024-03-15T12:02:56.734Z] Step 12/26 : RUN $MAKE [2024-03-15T12:02:57.000Z] ---> Running in e917f48a219c [2024-03-15T12:02:57.969Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.11" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2024-03-15T12:04:34.598Z] Removing intermediate container e917f48a219c [2024-03-15T12:04:34.598Z] ---> 4286fb1dbde1 [2024-03-15T12:04:34.598Z] Step 13/26 : FROM alpine:3.18 [2024-03-15T12:04:34.598Z] 3.18: Pulling from library/alpine [2024-03-15T12:04:34.598Z] c6b39de5b339: Pulling fs layer [2024-03-15T12:04:34.598Z] c6b39de5b339: Verifying Checksum [2024-03-15T12:04:34.598Z] c6b39de5b339: Download complete [2024-03-15T12:04:34.864Z] c6b39de5b339: Pull complete [2024-03-15T12:04:34.864Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-03-15T12:04:34.864Z] Status: Downloaded newer image for alpine:3.18 [2024-03-15T12:04:34.864Z] ---> 33abbf032149 [2024-03-15T12:04:34.864Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2024-03-15T12:04:35.129Z] ---> Running in 57d4520faacd [2024-03-15T12:04:35.394Z] Removing intermediate container 57d4520faacd [2024-03-15T12:04:35.394Z] ---> bc6f677f9ed6 [2024-03-15T12:04:35.394Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-03-15T12:04:35.394Z] ---> Running in 4b4fee0c63d1 [2024-03-15T12:04:36.354Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-15T12:04:36.936Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-15T12:04:37.889Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-03-15T12:04:37.889Z] Executing busybox-1.36.1-r5.trigger [2024-03-15T12:04:37.889Z] OK: 8 MiB in 16 packages [2024-03-15T12:04:38.852Z] Removing intermediate container 4b4fee0c63d1 [2024-03-15T12:04:38.852Z] ---> 640a1f158770 [2024-03-15T12:04:38.852Z] Step 16/26 : RUN apk --no-cache upgrade [2024-03-15T12:04:38.852Z] ---> Running in 4a52a12519ef [2024-03-15T12:04:39.817Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-15T12:04:40.085Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-15T12:04:41.052Z] OK: 8 MiB in 16 packages [2024-03-15T12:04:41.638Z] Removing intermediate container 4a52a12519ef [2024-03-15T12:04:41.638Z] ---> f73415e459fa [2024-03-15T12:04:41.638Z] Step 17/26 : WORKDIR / [2024-03-15T12:04:41.638Z] ---> Running in 72a2fea989e4 [2024-03-15T12:04:41.906Z] Removing intermediate container 72a2fea989e4 [2024-03-15T12:04:41.907Z] ---> 78a515946334 [2024-03-15T12:04:41.907Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2024-03-15T12:04:42.490Z] ---> dc810a0e73aa [2024-03-15T12:04:42.490Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2024-03-15T12:04:43.073Z] ---> 57bb1bd0b8d7 [2024-03-15T12:04:43.073Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2024-03-15T12:04:44.482Z] ---> fe8ba2bfb9a3 [2024-03-15T12:04:44.482Z] Step 21/26 : EXPOSE 59900 [2024-03-15T12:04:44.482Z] ---> Running in fe1812402aae [2024-03-15T12:04:44.482Z] Removing intermediate container fe1812402aae [2024-03-15T12:04:44.483Z] ---> ea8272a2e677 [2024-03-15T12:04:44.483Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2024-03-15T12:04:44.750Z] ---> Running in ebce32c0ff74 [2024-03-15T12:04:44.750Z] Removing intermediate container ebce32c0ff74 [2024-03-15T12:04:44.750Z] ---> a75935732b81 [2024-03-15T12:04:44.750Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-03-15T12:04:45.016Z] ---> Running in e0a24c12c7c3 [2024-03-15T12:04:45.283Z] Removing intermediate container e0a24c12c7c3 [2024-03-15T12:04:45.283Z] ---> 637a33f0f66e [2024-03-15T12:04:45.283Z] Step 24/26 : LABEL arch=arm64 [2024-03-15T12:04:45.283Z] ---> Running in 51ed35ad1f8d [2024-03-15T12:04:45.557Z] Removing intermediate container 51ed35ad1f8d [2024-03-15T12:04:45.558Z] ---> 4a8d3a85a591 [2024-03-15T12:04:45.558Z] Step 25/26 : LABEL git_sha=a1a745075326ff3a556ddd1ef5af148c9bd47a1e [2024-03-15T12:04:45.558Z] ---> Running in d34b953efa15 [2024-03-15T12:04:45.823Z] Removing intermediate container d34b953efa15 [2024-03-15T12:04:45.823Z] ---> 6f2f1278527d [2024-03-15T12:04:45.823Z] Step 26/26 : LABEL version=0.0.0 [2024-03-15T12:04:46.088Z] ---> Running in 8e2e4446a62e [2024-03-15T12:04:46.356Z] Removing intermediate container 8e2e4446a62e [2024-03-15T12:04:46.356Z] ---> 5ae009b66f10 [2024-03-15T12:04:46.356Z] [Warning] One or more build-args [ARCH] were not consumed [2024-03-15T12:04:46.356Z] Successfully built 5ae009b66f10 [2024-03-15T12:04:46.356Z] 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 [2024-03-15T12:04:47.196Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-15T12:04:47.196Z] [2024-03-15T12:04:47.196Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-15T12:04:47.593Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-15T12:04:47.593Z] arm64: Pulling from edgex-lftools-log-publisher [2024-03-15T12:04:47.593Z] 8998bd30e6a1: Pulling fs layer [2024-03-15T12:04:47.593Z] 04944245beec: Pulling fs layer [2024-03-15T12:04:47.593Z] 699f458cf7ca: Pulling fs layer [2024-03-15T12:04:47.593Z] 765212b225bb: Pulling fs layer [2024-03-15T12:04:47.593Z] f23df028b6ca: Pulling fs layer [2024-03-15T12:04:47.593Z] d65c8cfc05b1: Pulling fs layer [2024-03-15T12:04:47.593Z] 2437ff75d9bd: Pulling fs layer [2024-03-15T12:04:47.593Z] 765212b225bb: Waiting [2024-03-15T12:04:47.593Z] f23df028b6ca: Waiting [2024-03-15T12:04:47.593Z] 2437ff75d9bd: Waiting [2024-03-15T12:04:47.593Z] d65c8cfc05b1: Waiting [2024-03-15T12:04:47.859Z] 04944245beec: Verifying Checksum [2024-03-15T12:04:47.859Z] 04944245beec: Download complete [2024-03-15T12:04:47.859Z] 765212b225bb: Verifying Checksum [2024-03-15T12:04:47.859Z] 765212b225bb: Download complete [2024-03-15T12:04:47.859Z] f23df028b6ca: Verifying Checksum [2024-03-15T12:04:47.859Z] f23df028b6ca: Download complete [2024-03-15T12:04:47.859Z] d65c8cfc05b1: Verifying Checksum [2024-03-15T12:04:47.859Z] d65c8cfc05b1: Download complete [2024-03-15T12:04:48.126Z] 699f458cf7ca: Verifying Checksum [2024-03-15T12:04:48.126Z] 699f458cf7ca: Download complete [2024-03-15T12:04:48.393Z] 8998bd30e6a1: Verifying Checksum [2024-03-15T12:04:48.393Z] 8998bd30e6a1: Download complete [2024-03-15T12:04:50.977Z] 2437ff75d9bd: Verifying Checksum [2024-03-15T12:04:50.977Z] 2437ff75d9bd: Download complete [2024-03-15T12:04:52.922Z] 8998bd30e6a1: Pull complete [2024-03-15T12:04:53.189Z] 04944245beec: Pull complete [2024-03-15T12:04:55.127Z] 699f458cf7ca: Pull complete [2024-03-15T12:04:55.127Z] 765212b225bb: Pull complete [2024-03-15T12:04:56.084Z] f23df028b6ca: Pull complete [2024-03-15T12:04:56.084Z] d65c8cfc05b1: Pull complete [2024-03-15T12:05:14.271Z] 2437ff75d9bd: Pull complete [2024-03-15T12:05:14.272Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-03-15T12:05:14.272Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-15T12:05:14.272Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-15T12:05:14.593Z] prd-ubuntu20.04-docker-arm64-4c-16g-68 does not seem to be running inside a container [2024-03-15T12:05:14.649Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-03-15T12:05:17.222Z] $ docker top 16cc8a4c0cfb88ef2f426c91065b3d7c02e347e1aed58d00b9f5781a9ecdd3c9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-15T12:05:18.121Z] ---> job-cost.sh [2024-03-15T12:05:18.121Z] lf-activate-venv: SKIPPING [2024-03-15T12:05:18.121Z] INFO: No Stack... [2024-03-15T12:05:18.385Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-03-15T12:05:19.338Z] INFO: Archiving Costs [Pipeline] sh [2024-03-15T12:05:19.999Z] + + cat /w/workspace/device-virtual-go/1/archives/cost.csvcut [2024-03-15T12:05:19.999Z] -d, -f6 [Pipeline] lock [2024-03-15T12:05:20.072Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-465-1-stack-cost] [2024-03-15T12:05:20.080Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-465-1-stack-cost] did not exist. Created. [2024-03-15T12:05:20.085Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-465-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-03-15T12:05:20.484Z] /w/workspace/device-virtual-go/1@tmp/durable-1797ad74/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-03-15T12:05:21.156Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-03-15T12:05:21.488Z] Warning: overwriting stash ‘stack-cost’ [2024-03-15T12:05:21.532Z] Stashed 1 file(s) [Pipeline] } [2024-03-15T12:05:21.547Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-465-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-03-15T12:05:21.626Z] $ docker stop --time=1 16cc8a4c0cfb88ef2f426c91065b3d7c02e347e1aed58d00b9f5781a9ecdd3c9 [2024-03-15T12:05:23.091Z] $ docker rm -f --volumes 16cc8a4c0cfb88ef2f426c91065b3d7c02e347e1aed58d00b9f5781a9ecdd3c9 [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 [2024-03-15T12:05:24.158Z] provisioning config files... [2024-03-15T12:05:24.177Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-465@tmp/config7032890100259025068tmp [Pipeline] { [Pipeline] sh [2024-03-15T12:05:24.546Z] + set +x [2024-03-15T12:05:24.546Z] + curl -s https://codecov.io/bash [2024-03-15T12:05:24.546Z] + bash -s -- [2024-03-15T12:05:24.546Z] [2024-03-15T12:05:24.546Z] _____ _ [2024-03-15T12:05:24.546Z] / ____| | | [2024-03-15T12:05:24.546Z] | | ___ __| | ___ ___ _____ __ [2024-03-15T12:05:24.546Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-03-15T12:05:24.546Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-03-15T12:05:24.546Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-03-15T12:05:24.546Z] Bash-1.0.6 [2024-03-15T12:05:24.546Z] [2024-03-15T12:05:24.546Z] [2024-03-15T12:05:24.546Z] ==> git version 2.25.1 found [2024-03-15T12:05:24.547Z] ==> 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 [2024-03-15T12:05:24.547Z] Release-Date: 2020-01-08 [2024-03-15T12:05:24.547Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-03-15T12:05:24.547Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-03-15T12:05:24.547Z] ==> Jenkins CI detected. [2024-03-15T12:05:24.547Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-465 [2024-03-15T12:05:24.547Z] project root: . [2024-03-15T12:05:24.547Z] --> token set from env [2024-03-15T12:05:24.547Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-03-15T12:05:24.547Z] ==> Running gcov in . (disable via -X gcov) [2024-03-15T12:05:24.547Z] ==> Python coveragepy not found [2024-03-15T12:05:24.547Z] ==> Searching for coverage reports in: [2024-03-15T12:05:24.547Z] + . [2024-03-15T12:05:24.825Z] -> Found 1 reports [2024-03-15T12:05:24.825Z] ==> Detecting git/mercurial file structure [2024-03-15T12:05:24.825Z] ==> Reading reports [2024-03-15T12:05:24.825Z] + ./coverage.out bytes=43063 [2024-03-15T12:05:24.825Z] ==> Appending adjustments [2024-03-15T12:05:24.825Z] https://docs.codecov.io/docs/fixing-reports [2024-03-15T12:05:24.825Z] + Found adjustments [2024-03-15T12:05:24.825Z] ==> Gzipping contents [2024-03-15T12:05:24.825Z] 8.0K /tmp/codecov.mPFLJE.gz [2024-03-15T12:05:24.825Z] ==> Uploading reports [2024-03-15T12:05:24.825Z] url: https://codecov.io [2024-03-15T12:05:24.825Z] query: branch=PR-465&commit=a1a745075326ff3a556ddd1ef5af148c9bd47a1e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-465%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=465&job=&cmd_args= [2024-03-15T12:05:24.825Z] -> Pinging Codecov [2024-03-15T12:05:24.825Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-465&commit=a1a745075326ff3a556ddd1ef5af148c9bd47a1e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-465%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=465&job=&cmd_args= [2024-03-15T12:05:25.083Z] -> Uploading to [2024-03-15T12:05:25.083Z] https://storage.googleapis.com/codecov/v4/raw/2024-03-15/5E52B4B073DB2E39498172D8E973AA87/a1a745075326ff3a556ddd1ef5af148c9bd47a1e/926ab8bf-0750-4c3d-ac47-c795a66d7e86.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240315%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240315T120524Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fd305a4f30bad69057fb090b4fc5c6db98f19885b52728a72fb78fbad41a2ae5 [2024-03-15T12:05:25.083Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-03-15T12:05:25.083Z] Dload Upload Total Spent Left Speed [2024-03-15T12:05:25.365Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4998 0 0 100 4998 0 18649 --:--:-- --:--:-- --:--:-- 18649 [2024-03-15T12:05:25.365Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/a1a745075326ff3a556ddd1ef5af148c9bd47a1e [Pipeline] } [2024-03-15T12:05:25.394Z] 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 [2024-03-15T12:05:27.228Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-465/archives ] [2024-03-15T12:05:27.228Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-465/archives [2024-03-15T12:05:27.228Z] total 16 [2024-03-15T12:05:27.228Z] drwxr-xr-x 3 root root 4096 Mar 15 11:58 . [2024-03-15T12:05:27.228Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 15 11:58 .. [2024-03-15T12:05:27.228Z] drwxr-xr-x 2 root root 4096 Mar 15 11:58 cost [2024-03-15T12:05:27.228Z] -rw-r--r-- 1 root root 89 Mar 15 11:58 cost.csv [2024-03-15T12:05:27.228Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-465/archives [2024-03-15T12:05:27.228Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-465/archives [2024-03-15T12:05:27.228Z] total 16 [2024-03-15T12:05:27.228Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 11:58 . [2024-03-15T12:05:27.228Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 15 11:58 .. [2024-03-15T12:05:27.228Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 15 11:58 cost [2024-03-15T12:05:27.228Z] -rw-r--r-- 1 jenkins jenkins 89 Mar 15 11:58 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-03-15T12:05:27.556Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-15T12:05:28.442Z] ---> package-listing.sh [2024-03-15T12:05:28.443Z] ++ facter osfamily [2024-03-15T12:05:28.443Z] ++ tr '[:upper:]' '[:lower:]' [2024-03-15T12:05:28.701Z] + OS_FAMILY=debian [2024-03-15T12:05:28.701Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-465 [2024-03-15T12:05:28.701Z] + START_PACKAGES=/tmp/packages_start.txt [2024-03-15T12:05:28.701Z] + END_PACKAGES=/tmp/packages_end.txt [2024-03-15T12:05:28.701Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-03-15T12:05:28.701Z] + PACKAGES=/tmp/packages_start.txt [2024-03-15T12:05:28.701Z] + '[' /w/workspace/foundry_device-virtual-go_PR-465 ']' [2024-03-15T12:05:28.701Z] + PACKAGES=/tmp/packages_end.txt [2024-03-15T12:05:28.701Z] + case "${OS_FAMILY}" in [2024-03-15T12:05:28.701Z] + dpkg -l [2024-03-15T12:05:28.701Z] + grep '^ii' [2024-03-15T12:05:28.701Z] + '[' -f /tmp/packages_start.txt ']' [2024-03-15T12:05:28.701Z] + '[' -f /tmp/packages_end.txt ']' [2024-03-15T12:05:28.701Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-03-15T12:05:28.701Z] + '[' /w/workspace/foundry_device-virtual-go_PR-465 ']' [2024-03-15T12:05:28.701Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-465/archives/ [2024-03-15T12:05:28.701Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-465/archives/ [Pipeline] echo [2024-03-15T12:05:28.736Z] 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-465/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-03-15T12:05:29.027Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-15T12:05:29.668Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-15T12:05:29.668Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-15T12:05:29.842Z] prd-ubuntu20.04-docker-8c-8g-67 does not seem to be running inside a container [2024-03-15T12:05:29.867Z] $ 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-465/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-465 -v /w/workspace/foundry_device-virtual-go_PR-465:/w/workspace/foundry_device-virtual-go_PR-465:rw,z -v /w/workspace/foundry_device-virtual-go_PR-465@tmp:/w/workspace/foundry_device-virtual-go_PR-465@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 [2024-03-15T12:05:30.056Z] $ docker top 2446e75ca310b76022b6407c1c11bb8d73baaad9d7ca50581226f132421e8fa9 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-15T12:05:30.453Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-03-15T12:05:30.760Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-03-15T12:05:31.067Z] + ls /var/log/sa-host [2024-03-15T12:05:31.067Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-15T12:05:31.280Z] provisioning config files... [2024-03-15T12:05:31.781Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-465@tmp/config14815523981302733021tmp [Pipeline] { [Pipeline] echo [2024-03-15T12:05:32.185Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-15T12:05:32.488Z] ---> create-netrc.sh [Pipeline] } [2024-03-15T12:05:32.515Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-03-15T12:05:32.930Z] ---> python-tools-install.sh [Pipeline] echo [2024-03-15T12:05:32.963Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-15T12:05:33.273Z] ---> sudo-logs.sh [2024-03-15T12:05:33.273Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-03-15T12:05:33.366Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-15T12:05:33.675Z] ---> job-cost.sh [2024-03-15T12:05:33.675Z] lf-activate-venv: SKIPPING [2024-03-15T12:05:33.675Z] DEBUG: total: 0.2199999988079071 [2024-03-15T12:05:33.675Z] INFO: Retrieving Stack Cost... [2024-03-15T12:05:33.935Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-03-15T12:05:34.501Z] INFO: Archiving Costs [Pipeline] echo [2024-03-15T12:05:34.541Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-15T12:05:34.850Z] ---> logs-deploy.sh [2024-03-15T12:05:34.850Z] lf-activate-venv: SKIPPING [2024-03-15T12:05:34.850Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-465/1 [2024-03-15T12:05:34.850Z] INFO: archiving workspace using pattern(s): [2024-03-15T12:05:35.786Z] Archives upload complete. [2024-03-15T12:05:35.786Z] INFO: archiving logs to Nexus