Pull request #502 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jackchenjc for edgexfoundry/device-virtual-go Obtained Jenkinsfile from 3fd58961f855ca01bb73abd8824488f44f53328e+2bd221175a2feb80dc354132039af34741a0a595 (fad65830a239eed1c4b60e0f5de966a4c479a95d) 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-ssh12234312574543802408.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-ssh13510976119377356387.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 0b81fa10a7dd14683a964f04f411324fe83f93ac The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-502/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-502/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6876431837362838626.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh696113180942605430.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-502/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-502/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4728673293713201514.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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.23 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 ‘prd-centos7-blackbox-4c-2g-24386’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-24387’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-24954’ is offline ‘prd-ubuntu20.04-docker-8c-8g-24957’ is offline ‘prd-ubuntu20.04-docker-8c-8g-24959’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-24955’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-24961 in /w/workspace/foundry_device-virtual-go_PR-502 [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-502 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/502/head:refs/remotes/origin/PR-502 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 2bd221175a2feb80dc354132039af34741a0a595 into PR head commit 3fd58961f855ca01bb73abd8824488f44f53328e Merge succeeded, producing 3fd58961f855ca01bb73abd8824488f44f53328e Checking out Revision 3fd58961f855ca01bb73abd8824488f44f53328e (PR-502) > git config core.sparsecheckout # timeout=10 > git checkout -f 3fd58961f855ca01bb73abd8824488f44f53328e # 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 2bd221175a2feb80dc354132039af34741a0a595 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3fd58961f855ca01bb73abd8824488f44f53328e # timeout=10 Commit message: "fix: Only one ldflags flag is allowed" First time build. Skipping changelog. > git rev-list --no-walk a8551d6cdd8810fd8ce31e6c743aff91f41244c5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-11-08T02:58:09.746Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-11-08T02:58:09.817Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-11-08T02:58:09.841Z] ========================================================= [2024-11-08T02:58:09.841Z] EdgeX Global Pipelines Version Info [2024-11-08T02:58:09.841Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-11-08T02:58:11.088Z] ------------------- [2024-11-08T02:58:11.088Z] stable info: [2024-11-08T02:58:11.088Z] ------------------- [2024-11-08T02:58:11.088Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-11-08T02:58:11.088Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-11-08T02:58:11.088Z] Message: update stable to v1.0.265 [2024-11-08T02:58:11.347Z] ------------------- [2024-11-08T02:58:11.347Z] experimental info: [2024-11-08T02:58:11.347Z] ------------------- [2024-11-08T02:58:11.347Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-11-08T02:58:11.347Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-11-08T02:58:11.347Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-11-08T02:58:11.428Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2024-11-08T02:58:11.451Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2024-11-08T02:58:11.473Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-11-08T02:58:11.507Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-11-08T02:58:11.530Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-11-08T02:58:11.576Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-11-08T02:58:11.599Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-11-08T02:58:11.628Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-11-08T02:58:11.687Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-11-08T02:58:11.717Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-11-08T02:58:11.745Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-11-08T02:58:11.766Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2024-11-08T02:58:11.788Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-11-08T02:58:11.813Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-11-08T02:58:11.835Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-11-08T02:58:11.864Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-11-08T02:58:11.886Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-11-08T02:58:11.910Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-11-08T02:58:11.960Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-11-08T02:58:11.982Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-11-08T02:58:12.002Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-11-08T02:58:12.026Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-11-08T02:58:12.067Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-11-08T02:58:12.110Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-11-08T02:58:12.146Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-11-08T02:58:12.170Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-11-08T02:58:12.194Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-11-08T02:58:12.221Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-502 [Pipeline] echo [2024-11-08T02:58:12.266Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-502 [Pipeline] echo [2024-11-08T02:58:12.290Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-502 [Pipeline] echo [2024-11-08T02:58:12.316Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3fd58961f855ca01bb73abd8824488f44f53328e [Pipeline] echo [2024-11-08T02:58:12.341Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3fd5896 [Pipeline] echo [2024-11-08T02:58:12.369Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-08T02:58:12.430Z] provisioning config files... [2024-11-08T02:58:12.443Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-502@tmp/config17764886013162758042tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-08T02:58:12.782Z] ---> ****-login.sh [2024-11-08T02:58:12.782Z] nexus3.edgexfoundry.org:10001 [2024-11-08T02:58:14.689Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T02:58:14.689Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T02:58:14.689Z] Configure a credential helper to remove this warning. See [2024-11-08T02:58:14.689Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T02:58:14.689Z] [2024-11-08T02:58:14.689Z] Login Succeeded [2024-11-08T02:58:14.689Z] nexus3.edgexfoundry.org:10002 [2024-11-08T02:58:14.689Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T02:58:14.689Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T02:58:14.689Z] Configure a credential helper to remove this warning. See [2024-11-08T02:58:14.689Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T02:58:14.689Z] [2024-11-08T02:58:14.690Z] Login Succeeded [2024-11-08T02:58:14.690Z] nexus3.edgexfoundry.org:10003 [2024-11-08T02:58:14.952Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T02:58:14.952Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T02:58:14.952Z] Configure a credential helper to remove this warning. See [2024-11-08T02:58:14.952Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T02:58:14.952Z] [2024-11-08T02:58:14.952Z] Login Succeeded [2024-11-08T02:58:14.952Z] nexus3.edgexfoundry.org:10004 [2024-11-08T02:58:14.952Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T02:58:14.952Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T02:58:14.952Z] Configure a credential helper to remove this warning. See [2024-11-08T02:58:14.952Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T02:58:14.952Z] [2024-11-08T02:58:14.952Z] Login Succeeded [2024-11-08T02:58:14.952Z] ****.io [2024-11-08T02:58:15.273Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T02:58:15.273Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T02:58:15.273Z] Configure a credential helper to remove this warning. See [2024-11-08T02:58:15.273Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T02:58:15.273Z] [2024-11-08T02:58:15.273Z] Login Succeeded [2024-11-08T02:58:15.273Z] ---> ****-login.sh ends [Pipeline] } [2024-11-08T02:58:15.280Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-11-08T02:58:15.689Z] + git rev-list -1 --merges 3fd58961f855ca01bb73abd8824488f44f53328e~1..3fd58961f855ca01bb73abd8824488f44f53328e [Pipeline] echo [2024-11-08T02:58:15.727Z] -----------> git rev-list -1 --merges 3fd58961f855ca01bb73abd8824488f44f53328e~1..3fd58961f855ca01bb73abd8824488f44f53328e 3fd58961f855ca01bb73abd8824488f44f53328e [false] [Pipeline] sh [2024-11-08T02:58:16.024Z] + git log --format=format:%s -1 3fd58961f855ca01bb73abd8824488f44f53328e [Pipeline] echo [2024-11-08T02:58:16.040Z] ========================================================= [2024-11-08T02:58:16.041Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-11-08T02:58:16.041Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-08T02:58:16.389Z] + git log --format=format:%s -1 3fd58961f855ca01bb73abd8824488f44f53328e [Pipeline] echo [2024-11-08T02:58:16.406Z] [semverPrep] GIT_COMMIT: 3fd58961f855ca01bb73abd8824488f44f53328e, Commit Message: fix: Only one ldflags flag is allowed [Pipeline] echo [2024-11-08T02:58:16.419Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-11-08T02:58:16.777Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-11-08T02:58:16.778Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-11-08T02:58:16.778Z] + [ -e /tmp/ssh_known_hosts ] [2024-11-08T02:58:16.778Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-11-08T02:58:16.778Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-11-08T02:58:16.778Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-11-08T02:58:16.778Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T02:58:17.146Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-08T02:58:17.146Z] [2024-11-08T02:58:17.146Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T02:58:17.461Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-08T02:58:17.461Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-11-08T02:58:17.461Z] b85a868b505f: Pulling fs layer [2024-11-08T02:58:17.461Z] e2be974225ed: Pulling fs layer [2024-11-08T02:58:17.461Z] 339a4e72a1f5: Pulling fs layer [2024-11-08T02:58:17.461Z] 988bab9f4d93: Pulling fs layer [2024-11-08T02:58:17.461Z] 1469e6f7b9e6: Pulling fs layer [2024-11-08T02:58:17.461Z] eaf3925da568: Pulling fs layer [2024-11-08T02:58:17.461Z] bab4dde63d76: Pulling fs layer [2024-11-08T02:58:17.461Z] bde34c3a00c8: Pulling fs layer [2024-11-08T02:58:17.461Z] b352a97aabf1: Pulling fs layer [2024-11-08T02:58:17.461Z] 4872d77fe225: Pulling fs layer [2024-11-08T02:58:17.461Z] 5851b861e8e6: Pulling fs layer [2024-11-08T02:58:17.461Z] bde34c3a00c8: Waiting [2024-11-08T02:58:17.461Z] 988bab9f4d93: Waiting [2024-11-08T02:58:17.461Z] 1469e6f7b9e6: Waiting [2024-11-08T02:58:17.461Z] bab4dde63d76: Waiting [2024-11-08T02:58:17.461Z] 5851b861e8e6: Waiting [2024-11-08T02:58:17.461Z] eaf3925da568: Waiting [2024-11-08T02:58:17.461Z] 4872d77fe225: Waiting [2024-11-08T02:58:17.461Z] e2be974225ed: Verifying Checksum [2024-11-08T02:58:17.461Z] e2be974225ed: Download complete [2024-11-08T02:58:17.461Z] 988bab9f4d93: Download complete [2024-11-08T02:58:17.461Z] 1469e6f7b9e6: Verifying Checksum [2024-11-08T02:58:17.461Z] 1469e6f7b9e6: Download complete [2024-11-08T02:58:17.461Z] eaf3925da568: Verifying Checksum [2024-11-08T02:58:17.461Z] eaf3925da568: Download complete [2024-11-08T02:58:17.461Z] 339a4e72a1f5: Download complete [2024-11-08T02:58:17.461Z] bde34c3a00c8: Verifying Checksum [2024-11-08T02:58:17.461Z] bde34c3a00c8: Download complete [2024-11-08T02:58:17.724Z] b352a97aabf1: Download complete [2024-11-08T02:58:17.724Z] 4872d77fe225: Download complete [2024-11-08T02:58:17.724Z] 5851b861e8e6: Verifying Checksum [2024-11-08T02:58:17.724Z] 5851b861e8e6: Download complete [2024-11-08T02:58:17.724Z] b85a868b505f: Verifying Checksum [2024-11-08T02:58:17.724Z] b85a868b505f: Download complete [2024-11-08T02:58:18.005Z] bab4dde63d76: Verifying Checksum [2024-11-08T02:58:18.005Z] bab4dde63d76: Download complete [2024-11-08T02:58:19.061Z] b85a868b505f: Pull complete [2024-11-08T02:58:19.061Z] e2be974225ed: Pull complete [2024-11-08T02:58:19.319Z] 339a4e72a1f5: Pull complete [2024-11-08T02:58:19.579Z] 988bab9f4d93: Pull complete [2024-11-08T02:58:19.838Z] 1469e6f7b9e6: Pull complete [2024-11-08T02:58:19.838Z] eaf3925da568: Pull complete [2024-11-08T02:58:21.744Z] bab4dde63d76: Pull complete [2024-11-08T02:58:21.744Z] bde34c3a00c8: Pull complete [2024-11-08T02:58:21.744Z] b352a97aabf1: Pull complete [2024-11-08T02:58:21.744Z] 4872d77fe225: Pull complete [2024-11-08T02:58:21.744Z] 5851b861e8e6: Pull complete [2024-11-08T02:58:21.744Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-11-08T02:58:21.744Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-08T02:58:21.744Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T02:58:21.899Z] prd-ubuntu20.04-docker-8c-8g-24961 does not seem to be running inside a container [2024-11-08T02:58:21.922Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-502 -v /w/workspace/foundry_device-virtual-go_PR-502:/w/workspace/foundry_device-virtual-go_PR-502:rw,z -v /w/workspace/foundry_device-virtual-go_PR-502@tmp:/w/workspace/foundry_device-virtual-go_PR-502@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-11-08T02:58:25.058Z] $ docker top 28986545d23f832fc40ce0edb7deb1fa1d3670a4eeb63c151b3a4e10a571b4b8 -eo pid,comm [2024-11-08T02:58:25.114Z] 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-11-08T02:58:25.114Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-11-08T02:58:25.177Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-08T02:58:25.177Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-08T02:58:25.278Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-08T02:58:25.277Z] $ docker exec 28986545d23f832fc40ce0edb7deb1fa1d3670a4eeb63c151b3a4e10a571b4b8 ssh-agent [2024-11-08T02:58:25.385Z] SSH_AUTH_SOCK=/tmp/ssh-SZw9qMrjPMCs/agent.33 [2024-11-08T02:58:25.385Z] SSH_AGENT_PID=39 [2024-11-08T02:58:25.416Z] Running ssh-add (command line suppressed) [2024-11-08T02:58:25.511Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-502@tmp/private_key_3453829103412237473.key (/w/workspace/foundry_device-virtual-go_PR-502@tmp/private_key_3453829103412237473.key) [2024-11-08T02:58:25.529Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-08T02:58:25.820Z] + git tag --points-at HEAD [Pipeline] } [2024-11-08T02:58:25.828Z] $ docker exec --env ******** --env ******** 28986545d23f832fc40ce0edb7deb1fa1d3670a4eeb63c151b3a4e10a571b4b8 ssh-agent -k [2024-11-08T02:58:25.924Z] unset SSH_AUTH_SOCK; [2024-11-08T02:58:25.925Z] unset SSH_AGENT_PID; [2024-11-08T02:58:25.925Z] echo Agent pid 39 killed; [2024-11-08T02:58:25.940Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-11-08T02:58:25.985Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-08T02:58:25.985Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-08T02:58:26.093Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-08T02:58:26.092Z] $ docker exec 28986545d23f832fc40ce0edb7deb1fa1d3670a4eeb63c151b3a4e10a571b4b8 ssh-agent [2024-11-08T02:58:26.201Z] SSH_AUTH_SOCK=/tmp/ssh-USlRNsH1qhYL/agent.72 [2024-11-08T02:58:26.201Z] SSH_AGENT_PID=78 [2024-11-08T02:58:26.206Z] Running ssh-add (command line suppressed) [2024-11-08T02:58:26.303Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-502@tmp/private_key_8326169928897020045.key (/w/workspace/foundry_device-virtual-go_PR-502@tmp/private_key_8326169928897020045.key) [2024-11-08T02:58:26.321Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-08T02:58:26.617Z] + git semver init [2024-11-08T02:58:26.876Z] 2024-11-08 02:58:26,799 [run_init] DEBUG init version:0.0.0 force:False [2024-11-08T02:58:26.876Z] 2024-11-08 02:58:26,800 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-502/.semver [2024-11-08T02:58:26.876Z] 2024-11-08 02:58:26,800 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-502/.semver [2024-11-08T02:58:26.876Z] 2024-11-08 02:58:26,801 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-502/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-502, universal_newlines=False, shell=None, istream=None) [2024-11-08T02:58:29.422Z] 2024-11-08 02:58:28,786 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-502/.git/info/exclude [2024-11-08T02:58:29.422Z] 2024-11-08 02:58:28,787 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-502/.semver/PR-502 with force:False [2024-11-08T02:58:29.422Z] 2024-11-08 02:58:28,787 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-502/.semver/PR-502 [2024-11-08T02:58:29.422Z] 2024-11-08 02:58:28,792 [execute] INFO git cat-file --batch-check [2024-11-08T02:58:29.422Z] 2024-11-08 02:58:28,792 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-502/.semver, universal_newlines=False, shell=None, istream=) [2024-11-08T02:58:29.422Z] 2024-11-08 02:58:28,798 [execute] INFO git cat-file --batch [2024-11-08T02:58:29.422Z] 2024-11-08 02:58:28,798 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-502/.semver, universal_newlines=False, shell=None, istream=) [2024-11-08T02:58:29.422Z] 2024-11-08 02:58:28,803 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-502/.semver/PR-502 [2024-11-08T02:58:29.422Z] 0.0.0 [Pipeline] } [2024-11-08T02:58:29.433Z] $ docker exec --env ******** --env ******** 28986545d23f832fc40ce0edb7deb1fa1d3670a4eeb63c151b3a4e10a571b4b8 ssh-agent -k [2024-11-08T02:58:29.526Z] unset SSH_AUTH_SOCK; [2024-11-08T02:58:29.527Z] unset SSH_AGENT_PID; [2024-11-08T02:58:29.527Z] echo Agent pid 78 killed; [2024-11-08T02:58:29.536Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-11-08T02:58:29.850Z] + git semver [Pipeline] } [2024-11-08T02:58:30.120Z] $ docker stop --time=1 28986545d23f832fc40ce0edb7deb1fa1d3670a4eeb63c151b3a4e10a571b4b8 [2024-11-08T02:58:31.410Z] $ docker rm -f --volumes 28986545d23f832fc40ce0edb7deb1fa1d3670a4eeb63c151b3a4e10a571b4b8 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-08T02:58:31.753Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-11-08T02:58:32.009Z] Stashed 1 file(s) [Pipeline] echo [2024-11-08T02:58:32.013Z] [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-11-08T02:58:32.217Z] provisioning config files... [2024-11-08T02:58:32.226Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-502@tmp/config1645660520363733757tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-08T02:58:32.527Z] ---> ****-login.sh [2024-11-08T02:58:32.527Z] nexus3.edgexfoundry.org:10001 [2024-11-08T02:58:32.527Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T02:58:32.527Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T02:58:32.527Z] Configure a credential helper to remove this warning. See [2024-11-08T02:58:32.527Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T02:58:32.527Z] [2024-11-08T02:58:32.527Z] Login Succeeded [2024-11-08T02:58:32.527Z] nexus3.edgexfoundry.org:10002 [2024-11-08T02:58:32.527Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T02:58:32.527Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T02:58:32.527Z] Configure a credential helper to remove this warning. See [2024-11-08T02:58:32.527Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T02:58:32.527Z] [2024-11-08T02:58:32.527Z] Login Succeeded [2024-11-08T02:58:32.527Z] nexus3.edgexfoundry.org:10003 [2024-11-08T02:58:32.786Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T02:58:32.786Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T02:58:32.786Z] Configure a credential helper to remove this warning. See [2024-11-08T02:58:32.786Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T02:58:32.786Z] [2024-11-08T02:58:32.786Z] Login Succeeded [2024-11-08T02:58:32.786Z] nexus3.edgexfoundry.org:10004 [2024-11-08T02:58:32.786Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T02:58:32.786Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T02:58:32.786Z] Configure a credential helper to remove this warning. See [2024-11-08T02:58:32.786Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T02:58:32.786Z] [2024-11-08T02:58:32.786Z] Login Succeeded [2024-11-08T02:58:32.786Z] ****.io [2024-11-08T02:58:32.786Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T02:58:33.045Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T02:58:33.045Z] Configure a credential helper to remove this warning. See [2024-11-08T02:58:33.045Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T02:58:33.045Z] [2024-11-08T02:58:33.045Z] Login Succeeded [2024-11-08T02:58:33.045Z] ---> ****-login.sh ends [Pipeline] } [2024-11-08T02:58:33.057Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-08T02:58:33.129Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-08T02:58:33.148Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-08T02:58:33.166Z] ========================================================= [2024-11-08T02:58:33.166Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-11-08T02:58:33.166Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T02:58:33.511Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-11-08T02:58:33.512Z] Sending build context to Docker daemon 37.71MB [2024-11-08T02:58:33.512Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-11-08T02:58:33.512Z] Step 2/12 : FROM ${BASE} AS builder [2024-11-08T02:58:33.770Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-11-08T02:58:33.770Z] 43c4264eed91: Pulling fs layer [2024-11-08T02:58:33.770Z] 4cc291be95ef: Pulling fs layer [2024-11-08T02:58:33.770Z] 2ac1f1163629: Pulling fs layer [2024-11-08T02:58:33.770Z] 5c3c966382ef: Pulling fs layer [2024-11-08T02:58:33.770Z] 4f4fb700ef54: Pulling fs layer [2024-11-08T02:58:33.770Z] 5d5c8e513c77: Pulling fs layer [2024-11-08T02:58:33.770Z] 9f66e0745190: Pulling fs layer [2024-11-08T02:58:33.770Z] 5c3c966382ef: Waiting [2024-11-08T02:58:33.770Z] 4f4fb700ef54: Waiting [2024-11-08T02:58:33.770Z] 5d5c8e513c77: Waiting [2024-11-08T02:58:33.770Z] 9f66e0745190: Waiting [2024-11-08T02:58:33.770Z] f49a43e4bbc0: Pulling fs layer [2024-11-08T02:58:33.770Z] 561ebcabdf7f: Pulling fs layer [2024-11-08T02:58:33.770Z] 4cc291be95ef: Verifying Checksum [2024-11-08T02:58:33.770Z] 4cc291be95ef: Download complete [2024-11-08T02:58:33.770Z] 5c3c966382ef: Verifying Checksum [2024-11-08T02:58:33.770Z] 5c3c966382ef: Download complete [2024-11-08T02:58:33.770Z] 4f4fb700ef54: Download complete [2024-11-08T02:58:33.770Z] 5d5c8e513c77: Download complete [2024-11-08T02:58:33.770Z] 43c4264eed91: Verifying Checksum [2024-11-08T02:58:33.770Z] 43c4264eed91: Download complete [2024-11-08T02:58:33.770Z] 9f66e0745190: Verifying Checksum [2024-11-08T02:58:33.770Z] 9f66e0745190: Download complete [2024-11-08T02:58:34.028Z] 43c4264eed91: Pull complete [2024-11-08T02:58:34.028Z] 561ebcabdf7f: Verifying Checksum [2024-11-08T02:58:34.029Z] 561ebcabdf7f: Download complete [2024-11-08T02:58:34.029Z] 4cc291be95ef: Pull complete [2024-11-08T02:58:34.288Z] 2ac1f1163629: Verifying Checksum [2024-11-08T02:58:34.288Z] 2ac1f1163629: Download complete [2024-11-08T02:58:34.546Z] f49a43e4bbc0: Verifying Checksum [2024-11-08T02:58:34.546Z] f49a43e4bbc0: Download complete [2024-11-08T02:58:37.829Z] 2ac1f1163629: Pull complete [2024-11-08T02:58:37.829Z] 5c3c966382ef: Pull complete [2024-11-08T02:58:37.829Z] 4f4fb700ef54: Pull complete [2024-11-08T02:58:37.829Z] 5d5c8e513c77: Pull complete [2024-11-08T02:58:37.829Z] 9f66e0745190: Pull complete [2024-11-08T02:58:40.359Z] f49a43e4bbc0: Pull complete [2024-11-08T02:58:40.359Z] 561ebcabdf7f: Pull complete [2024-11-08T02:58:40.359Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-11-08T02:58:40.359Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-11-08T02:58:40.359Z] ---> 3a752c3f9dda [2024-11-08T02:58:40.359Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-11-08T02:58:47.158Z] Still waiting to schedule task [2024-11-08T02:58:47.158Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-11-08T02:58:50.383Z] ---> Running in 36304b6b23ad [2024-11-08T02:58:50.383Z] Removing intermediate container 36304b6b23ad [2024-11-08T02:58:50.383Z] ---> 7bbb0f032556 [2024-11-08T02:58:50.383Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-11-08T02:58:50.383Z] ---> Running in 4300495d18cc [2024-11-08T02:58:50.383Z] Removing intermediate container 4300495d18cc [2024-11-08T02:58:50.383Z] ---> 9e29b50e839e [2024-11-08T02:58:50.383Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-11-08T02:58:50.383Z] ---> Running in d7bd0d2f4ab6 [2024-11-08T02:58:50.383Z] Removing intermediate container d7bd0d2f4ab6 [2024-11-08T02:58:50.383Z] ---> fb1aeac9af06 [2024-11-08T02:58:50.383Z] Step 6/12 : WORKDIR /device-virtual-go [2024-11-08T02:58:50.383Z] ---> Running in 7f7732789446 [2024-11-08T02:58:50.383Z] Removing intermediate container 7f7732789446 [2024-11-08T02:58:50.383Z] ---> 872ba763eb42 [2024-11-08T02:58:50.383Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-08T02:58:50.383Z] ---> Running in fd94d0f86ba5 [2024-11-08T02:58:50.383Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-08T02:58:50.383Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-08T02:58:50.643Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-11-08T02:58:50.643Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-11-08T02:58:50.643Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-11-08T02:58:50.643Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-11-08T02:58:50.643Z] Executing busybox-1.36.1-r29.trigger [2024-11-08T02:58:50.643Z] OK: 250 MiB in 58 packages [2024-11-08T02:58:51.579Z] Removing intermediate container fd94d0f86ba5 [2024-11-08T02:58:51.579Z] ---> 3a5636174de6 [2024-11-08T02:58:51.579Z] Step 8/12 : COPY go.mod vendor* ./ [2024-11-08T02:58:52.165Z] ---> 96f3730e9cfe [2024-11-08T02:58:52.165Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-08T02:58:52.165Z] ---> Running in 0c2423d22325 [2024-11-08T02:59:48.400Z] Removing intermediate container 0c2423d22325 [2024-11-08T02:59:48.400Z] ---> c6f7fbb5df0a [2024-11-08T02:59:48.400Z] Step 10/12 : COPY . . [2024-11-08T02:59:48.400Z] ---> c2db20bb23a9 [2024-11-08T02:59:48.400Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-08T02:59:48.400Z] ---> Running in 7c98e61a959d [2024-11-08T02:59:48.400Z] Removing intermediate container 7c98e61a959d [2024-11-08T02:59:48.400Z] ---> b92e73174441 [2024-11-08T02:59:48.400Z] Step 12/12 : RUN $MAKE [2024-11-08T02:59:48.400Z] ---> Running in fa2a2cb34d9b [2024-11-08T02:59:48.400Z] noop [2024-11-08T02:59:48.400Z] Removing intermediate container fa2a2cb34d9b [2024-11-08T02:59:48.400Z] ---> d8c147a04933 [2024-11-08T02:59:48.400Z] Successfully built d8c147a04933 [2024-11-08T02:59:48.400Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T02:59:48.728Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-08T02:59:48.728Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T02:59:48.814Z] prd-ubuntu20.04-docker-8c-8g-24961 does not seem to be running inside a container [2024-11-08T02:59:48.847Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-502 -v /w/workspace/foundry_device-virtual-go_PR-502:/w/workspace/foundry_device-virtual-go_PR-502:rw,z -v /w/workspace/foundry_device-virtual-go_PR-502@tmp:/w/workspace/foundry_device-virtual-go_PR-502@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-11-08T02:59:49.200Z] $ docker top 7cbbb7d7d667c924d743b967042f15e6cb4454d2f49b97f11a50c979bd00cd9f -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-08T02:59:49.548Z] + go version [2024-11-08T02:59:49.548Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-11-08T02:59:49.562Z] $ docker stop --time=1 7cbbb7d7d667c924d743b967042f15e6cb4454d2f49b97f11a50c979bd00cd9f [2024-11-08T02:59:50.835Z] $ docker rm -f --volumes 7cbbb7d7d667c924d743b967042f15e6cb4454d2f49b97f11a50c979bd00cd9f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T02:59:51.281Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-08T02:59:51.281Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T02:59:51.360Z] prd-ubuntu20.04-docker-8c-8g-24961 does not seem to be running inside a container [2024-11-08T02:59:51.393Z] $ 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-502 -v /w/workspace/foundry_device-virtual-go_PR-502:/w/workspace/foundry_device-virtual-go_PR-502:rw,z -v /w/workspace/foundry_device-virtual-go_PR-502@tmp:/w/workspace/foundry_device-virtual-go_PR-502@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-11-08T02:59:51.725Z] $ docker top d1d345b6b0738e74d6d79d26190f6367a86cee2722a6f2e3dde6cea88de28c31 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-08T02:59:52.072Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-502 [Pipeline] fileExists [Pipeline] sh [2024-11-08T02:59:52.373Z] + make test [2024-11-08T02:59:52.373Z] go test ./... -coverprofile=coverage.out [2024-11-08T02:59:53.746Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2024-11-08T03:00:11.810Z] github.com/edgexfoundry/device-virtual-go/cmd coverage: 0.0% of statements [2024-11-08T03:00:11.810Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.010s coverage: 58.4% of statements [2024-11-08T03:00:20.080Z] go vet ./... [2024-11-08T03:00:25.336Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-11-08T03:00:25.336Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-11-08T03:00:25.336Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-11-08T03:00:25.352Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-11-08T03:00:25.377Z] $ docker stop --time=1 d1d345b6b0738e74d6d79d26190f6367a86cee2722a6f2e3dde6cea88de28c31 [2024-11-08T03:00:31.398Z] $ docker rm -f --volumes d1d345b6b0738e74d6d79d26190f6367a86cee2722a6f2e3dde6cea88de28c31 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-08T03:00:31.935Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-11-08T03:00:31.980Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-11-08T03:00:32.455Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-08T03:00:32.743Z] + ls -al . [2024-11-08T03:00:32.743Z] total 264 [2024-11-08T03:00:32.743Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 02:59 . [2024-11-08T03:00:32.743Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 02:58 .. [2024-11-08T03:00:32.743Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 03:00 .git [2024-11-08T03:00:32.743Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 02:58 .github [2024-11-08T03:00:32.743Z] -rw-rw-r-- 1 jenkins jenkins 272 Nov 8 02:58 .gitignore [2024-11-08T03:00:32.743Z] -rw-rw-r-- 1 jenkins jenkins 199 Nov 8 02:58 .golangci.yml [2024-11-08T03:00:32.743Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 02:58 .semver [2024-11-08T03:00:32.743Z] -rw-rw-r-- 1 jenkins jenkins 18321 Nov 8 02:58 Attribution.txt [2024-11-08T03:00:32.743Z] -rw-rw-r-- 1 jenkins jenkins 15941 Nov 8 02:58 CHANGELOG.md [2024-11-08T03:00:32.743Z] -rw-rw-r-- 1 jenkins jenkins 1755 Nov 8 02:58 Dockerfile [2024-11-08T03:00:32.743Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 02:58 GOVERNANCE.md [2024-11-08T03:00:32.743Z] -rw-rw-r-- 1 jenkins jenkins 660 Nov 8 02:58 Jenkinsfile [2024-11-08T03:00:32.743Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 02:58 LICENSE [2024-11-08T03:00:32.743Z] -rw-rw-r-- 1 jenkins jenkins 2536 Nov 8 02:58 Makefile [2024-11-08T03:00:32.743Z] -rw-rw-r-- 1 jenkins jenkins 623 Nov 8 02:58 OWNERS.md [2024-11-08T03:00:32.743Z] -rw-rw-r-- 1 jenkins jenkins 4103 Nov 8 02:58 README.md [2024-11-08T03:00:32.743Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 02:58 VERSION [2024-11-08T03:00:32.743Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 02:58 bin [2024-11-08T03:00:32.743Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 02:58 cmd [2024-11-08T03:00:32.743Z] -rw-r--r-- 1 jenkins jenkins 43316 Nov 8 03:00 coverage.out [2024-11-08T03:00:32.743Z] -rw-rw-r-- 1 jenkins jenkins 6228 Nov 8 02:58 go.mod [2024-11-08T03:00:32.743Z] -rw-rw-r-- 1 jenkins jenkins 88084 Nov 8 02:58 go.sum [2024-11-08T03:00:32.743Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 02:58 internal [2024-11-08T03:00:32.743Z] -rw-rw-r-- 1 jenkins jenkins 235 Nov 8 02:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T03:00:33.065Z] + 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=3fd58961f855ca01bb73abd8824488f44f53328e --label arch=amd64 --label version=0.0.0 . [2024-11-08T03:00:33.065Z] Sending build context to Docker daemon 37.75MB [2024-11-08T03:00:33.065Z] Step 1/26 : ARG BASE=golang:1.23-alpine3.20 [2024-11-08T03:00:33.065Z] Step 2/26 : FROM ${BASE} AS builder [2024-11-08T03:00:33.065Z] ---> d8c147a04933 [2024-11-08T03:00:33.065Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-11-08T03:00:33.631Z] ---> Running in bb61050db22b [2024-11-08T03:00:33.631Z] Removing intermediate container bb61050db22b [2024-11-08T03:00:33.631Z] ---> 1be99e7daf49 [2024-11-08T03:00:33.631Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-11-08T03:00:33.631Z] ---> Running in b5b1adcff0a1 [2024-11-08T03:00:33.889Z] Removing intermediate container b5b1adcff0a1 [2024-11-08T03:00:33.889Z] ---> 2a0bf433e5df [2024-11-08T03:00:33.889Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-11-08T03:00:33.889Z] ---> Running in 12662b3c9f5f [2024-11-08T03:00:33.889Z] Removing intermediate container 12662b3c9f5f [2024-11-08T03:00:33.889Z] ---> 705a77511aaf [2024-11-08T03:00:33.889Z] Step 6/26 : WORKDIR /device-virtual-go [2024-11-08T03:00:33.889Z] ---> Running in b2c5d5b3420b [2024-11-08T03:00:33.889Z] Removing intermediate container b2c5d5b3420b [2024-11-08T03:00:33.889Z] ---> 0a71d1dec646 [2024-11-08T03:00:33.889Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-08T03:00:34.147Z] ---> Running in 877b7d140438 [2024-11-08T03:00:34.147Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-08T03:00:34.404Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-08T03:00:34.663Z] OK: 250 MiB in 58 packages [2024-11-08T03:00:34.921Z] Removing intermediate container 877b7d140438 [2024-11-08T03:00:34.921Z] ---> 89c0107e8222 [2024-11-08T03:00:34.921Z] Step 8/26 : COPY go.mod vendor* ./ [2024-11-08T03:00:35.179Z] ---> f00ee1791a06 [2024-11-08T03:00:35.179Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-08T03:00:35.179Z] ---> Running in 15694a1c34c7 [2024-11-08T03:00:36.114Z] Removing intermediate container 15694a1c34c7 [2024-11-08T03:00:36.114Z] ---> d963c4d9a40b [2024-11-08T03:00:36.114Z] Step 10/26 : COPY . . [2024-11-08T03:00:37.489Z] ---> b5d1b96eb870 [2024-11-08T03:00:37.489Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-08T03:00:37.489Z] ---> Running in 3ceec5e57840 [2024-11-08T03:00:37.489Z] Removing intermediate container 3ceec5e57840 [2024-11-08T03:00:37.489Z] ---> dcd72fc862c7 [2024-11-08T03:00:37.489Z] Step 12/26 : RUN $MAKE [2024-11-08T03:00:37.489Z] ---> Running in 8709474174ef [2024-11-08T03:00:37.489Z] 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/v4/internal/common.SDKVersion=v4.0.0-dev.2 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd [2024-11-08T03:01:15.653Z] Removing intermediate container 8709474174ef [2024-11-08T03:01:15.653Z] ---> 01075f27a496 [2024-11-08T03:01:15.653Z] Step 13/26 : FROM alpine:3.20 [2024-11-08T03:01:15.653Z] 3.20: Pulling from library/alpine [2024-11-08T03:01:15.653Z] 43c4264eed91: Already exists [2024-11-08T03:01:15.653Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-11-08T03:01:15.653Z] Status: Downloaded newer image for alpine:3.20 [2024-11-08T03:01:15.653Z] ---> 91ef0af61f39 [2024-11-08T03:01:15.653Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2024-11-08T03:01:15.653Z] ---> Running in 3befa1da7ea4 [2024-11-08T03:01:15.653Z] Removing intermediate container 3befa1da7ea4 [2024-11-08T03:01:15.653Z] ---> 045f2c8357f0 [2024-11-08T03:01:15.653Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-11-08T03:01:15.653Z] ---> Running in 622a46da81de [2024-11-08T03:01:15.653Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-08T03:01:15.653Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-08T03:01:15.653Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-11-08T03:01:15.653Z] Executing busybox-1.36.1-r29.trigger [2024-11-08T03:01:15.653Z] OK: 8 MiB in 15 packages [2024-11-08T03:01:15.653Z] Removing intermediate container 622a46da81de [2024-11-08T03:01:15.653Z] ---> ecdc0608e1bf [2024-11-08T03:01:15.653Z] Step 16/26 : RUN apk --no-cache upgrade [2024-11-08T03:01:15.653Z] ---> Running in 415b687aa94e [2024-11-08T03:01:15.653Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-08T03:01:15.653Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-08T03:01:15.653Z] Upgrading critical system libraries and apk-tools: [2024-11-08T03:01:15.653Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-11-08T03:01:15.653Z] Executing busybox-1.36.1-r29.trigger [2024-11-08T03:01:15.653Z] Continuing the upgrade transaction with new apk-tools: [2024-11-08T03:01:15.653Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-08T03:01:15.653Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-08T03:01:15.653Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-08T03:01:15.653Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-08T03:01:15.653Z] OK: 8 MiB in 15 packages [2024-11-08T03:01:15.653Z] Removing intermediate container 415b687aa94e [2024-11-08T03:01:15.653Z] ---> 7ca1d5a066b2 [2024-11-08T03:01:15.653Z] Step 17/26 : WORKDIR / [2024-11-08T03:01:15.653Z] ---> Running in d577b8dbcb1d [2024-11-08T03:01:15.653Z] Removing intermediate container d577b8dbcb1d [2024-11-08T03:01:15.653Z] ---> 1ed52059fa14 [2024-11-08T03:01:15.653Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2024-11-08T03:01:15.653Z] ---> a81e3f858dc4 [2024-11-08T03:01:15.653Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2024-11-08T03:01:15.653Z] ---> 05f24d622e93 [2024-11-08T03:01:15.653Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2024-11-08T03:01:16.587Z] ---> 070cb5e76367 [2024-11-08T03:01:16.587Z] Step 21/26 : EXPOSE 59900 [2024-11-08T03:01:16.587Z] ---> Running in 489a59a08817 [2024-11-08T03:01:16.587Z] Removing intermediate container 489a59a08817 [2024-11-08T03:01:16.587Z] ---> d34c05bbbbdf [2024-11-08T03:01:16.587Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2024-11-08T03:01:16.587Z] ---> Running in c5cc5d788dac [2024-11-08T03:01:16.587Z] Removing intermediate container c5cc5d788dac [2024-11-08T03:01:16.587Z] ---> f4e4dd36ae70 [2024-11-08T03:01:16.587Z] Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] [2024-11-08T03:01:16.587Z] ---> Running in 6e40efaa3eee [2024-11-08T03:01:16.846Z] Removing intermediate container 6e40efaa3eee [2024-11-08T03:01:16.846Z] ---> 146607310d2d [2024-11-08T03:01:16.846Z] Step 24/26 : LABEL arch=amd64 [2024-11-08T03:01:16.846Z] ---> Running in ba2fd896fdae [2024-11-08T03:01:16.846Z] Removing intermediate container ba2fd896fdae [2024-11-08T03:01:16.846Z] ---> f33733294032 [2024-11-08T03:01:16.846Z] Step 25/26 : LABEL git_sha=3fd58961f855ca01bb73abd8824488f44f53328e [2024-11-08T03:01:16.846Z] ---> Running in f920d15498c5 [2024-11-08T03:01:16.846Z] Removing intermediate container f920d15498c5 [2024-11-08T03:01:16.846Z] ---> 41a2af9dc365 [2024-11-08T03:01:16.846Z] Step 26/26 : LABEL version=0.0.0 [2024-11-08T03:01:17.105Z] ---> Running in 30fceb850a02 [2024-11-08T03:01:17.105Z] Removing intermediate container 30fceb850a02 [2024-11-08T03:01:17.105Z] ---> bfe56f5a7e04 [2024-11-08T03:01:17.105Z] [Warning] One or more build-args [ARCH] were not consumed [2024-11-08T03:01:17.105Z] Successfully built bfe56f5a7e04 [2024-11-08T03:01:17.105Z] Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T03:01:17.591Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-08T03:01:17.591Z] [2024-11-08T03:01:17.591Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T03:01:17.907Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-08T03:01:17.907Z] latest: Pulling from edgex-lftools-log-publisher [2024-11-08T03:01:17.907Z] 5eb5b503b376: Pulling fs layer [2024-11-08T03:01:17.907Z] 5c69ac0246d0: Pulling fs layer [2024-11-08T03:01:17.907Z] ec43610c2a17: Pulling fs layer [2024-11-08T03:01:17.907Z] 3a2ae6a8a46f: Pulling fs layer [2024-11-08T03:01:17.907Z] 33b1e0a273af: Pulling fs layer [2024-11-08T03:01:17.907Z] 5d3b04190fa2: Pulling fs layer [2024-11-08T03:01:17.907Z] 2f39f015ded8: Pulling fs layer [2024-11-08T03:01:17.907Z] 33b1e0a273af: Waiting [2024-11-08T03:01:17.907Z] 3a2ae6a8a46f: Waiting [2024-11-08T03:01:17.907Z] 5d3b04190fa2: Waiting [2024-11-08T03:01:17.907Z] 2f39f015ded8: Waiting [2024-11-08T03:01:17.907Z] 5c69ac0246d0: Download complete [2024-11-08T03:01:17.907Z] 3a2ae6a8a46f: Verifying Checksum [2024-11-08T03:01:17.907Z] 3a2ae6a8a46f: Download complete [2024-11-08T03:01:17.907Z] 33b1e0a273af: Verifying Checksum [2024-11-08T03:01:17.907Z] 33b1e0a273af: Download complete [2024-11-08T03:01:17.907Z] 5d3b04190fa2: Verifying Checksum [2024-11-08T03:01:17.907Z] 5d3b04190fa2: Download complete [2024-11-08T03:01:17.907Z] ec43610c2a17: Download complete [2024-11-08T03:01:18.166Z] 5eb5b503b376: Verifying Checksum [2024-11-08T03:01:18.166Z] 5eb5b503b376: Download complete [2024-11-08T03:01:18.730Z] 2f39f015ded8: Verifying Checksum [2024-11-08T03:01:18.730Z] 2f39f015ded8: Download complete [2024-11-08T03:01:19.300Z] 5eb5b503b376: Pull complete [2024-11-08T03:01:19.558Z] 5c69ac0246d0: Pull complete [2024-11-08T03:01:19.815Z] ec43610c2a17: Pull complete [2024-11-08T03:01:19.815Z] 3a2ae6a8a46f: Pull complete [2024-11-08T03:01:20.073Z] 33b1e0a273af: Pull complete [2024-11-08T03:01:20.073Z] 5d3b04190fa2: Pull complete [2024-11-08T03:01:24.261Z] 2f39f015ded8: Pull complete [2024-11-08T03:01:24.261Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-11-08T03:01:24.261Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-08T03:01:24.261Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T03:01:24.371Z] prd-ubuntu20.04-docker-8c-8g-24961 does not seem to be running inside a container [2024-11-08T03:01:24.410Z] $ 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-502 -v /w/workspace/foundry_device-virtual-go_PR-502:/w/workspace/foundry_device-virtual-go_PR-502:rw,z -v /w/workspace/foundry_device-virtual-go_PR-502@tmp:/w/workspace/foundry_device-virtual-go_PR-502@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-11-08T03:01:29.875Z] $ docker top 3bee4fdf8b142e37320643150633c3984d05416595d0ff8e628752327f45ff41 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-08T03:01:30.250Z] ---> job-cost.sh [2024-11-08T03:01:30.251Z] lf-activate-venv: SKIPPING [2024-11-08T03:01:30.251Z] INFO: No Stack... [2024-11-08T03:01:30.510Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-08T03:01:30.768Z] INFO: Archiving Costs [Pipeline] sh [2024-11-08T03:01:31.078Z] + cat /w/workspace/foundry_device-virtual-go_PR-502/archives/cost.csv [2024-11-08T03:01:31.078Z] + cut -d, -f6 [Pipeline] lock [2024-11-08T03:01:31.090Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-502-2-stack-cost] [2024-11-08T03:01:31.098Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-502-2-stack-cost] did not exist. Created. [2024-11-08T03:01:31.105Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-502-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-08T03:01:31.416Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-11-08T03:01:31.450Z] Stashed 1 file(s) [Pipeline] } [2024-11-08T03:01:31.460Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-PR-502-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-08T03:01:31.491Z] $ docker stop --time=1 3bee4fdf8b142e37320643150633c3984d05416595d0ff8e628752327f45ff41 [2024-11-08T03:01:32.642Z] $ docker rm -f --volumes 3bee4fdf8b142e37320643150633c3984d05416595d0ff8e628752327f45ff41 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-11-08T03:01:43.398Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-24967 in /w/workspace/foundry_device-virtual-go_PR-502 [Pipeline] { [Pipeline] ws [2024-11-08T03:01:43.413Z] Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout [2024-11-08T03:01:46.468Z] The recommended git tool is: git [2024-11-08T03:01:51.883Z] using credential edgex-jenkins-ssh [2024-11-08T03:01:51.906Z] Cloning the remote Git repository [2024-11-08T03:01:51.957Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2024-11-08T03:01:52.061Z] > git init /w/workspace/device-virtual-go/2 # timeout=10 [2024-11-08T03:01:52.231Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2024-11-08T03:01:52.232Z] > git --version # timeout=10 [2024-11-08T03:01:52.256Z] > git --version # 'git version 2.25.1' [2024-11-08T03:01:52.259Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-08T03:01:52.433Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-08T03:01:56.367Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2024-11-08T03:01:56.392Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-08T03:01:57.766Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2024-11-08T03:01:57.827Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2024-11-08T03:01:57.828Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-08T03:01:57.862Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/502/head:refs/remotes/origin/PR-502 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-11-08T03:01:58.474Z] Merging remotes/origin/main commit 2bd221175a2feb80dc354132039af34741a0a595 into PR head commit 3fd58961f855ca01bb73abd8824488f44f53328e [2024-11-08T03:01:58.868Z] Merge succeeded, producing 3fd58961f855ca01bb73abd8824488f44f53328e [2024-11-08T03:01:58.869Z] Checking out Revision 3fd58961f855ca01bb73abd8824488f44f53328e (PR-502) [2024-11-08T03:01:58.499Z] > git config core.sparsecheckout # timeout=10 [2024-11-08T03:01:58.605Z] > git checkout -f 3fd58961f855ca01bb73abd8824488f44f53328e # timeout=10 [2024-11-08T03:01:58.726Z] > git remote # timeout=10 [2024-11-08T03:01:58.753Z] > git config --get remote.origin.url # timeout=10 [2024-11-08T03:01:58.777Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-08T03:01:58.809Z] > git merge 2bd221175a2feb80dc354132039af34741a0a595 # timeout=10 [2024-11-08T03:01:58.843Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-11-08T03:01:58.875Z] > git config core.sparsecheckout # timeout=10 [2024-11-08T03:01:58.897Z] > git checkout -f 3fd58961f855ca01bb73abd8824488f44f53328e # timeout=10 [2024-11-08T03:02:02.788Z] Commit message: "fix: Only one ldflags flag is allowed" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-08T03:02:04.731Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-11-08T03:02:04.731Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-08T03:02:04.731Z] Dload Upload Total Spent Left Speed [2024-11-08T03:02:04.731Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 198k 0 --:--:-- --:--:-- --:--:-- 202k [Pipeline] sh [2024-11-08T03:02:05.080Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-11-08T03:02:05.421Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-11-08T03:02:05.421Z] + sudo tee /etc/docker/daemon.new [2024-11-08T03:02:05.421Z] { [2024-11-08T03:02:05.421Z] "registry-mirrors": [ [2024-11-08T03:02:05.421Z] "https://nexus3.edgexfoundry.org:10001" [2024-11-08T03:02:05.421Z] ], [2024-11-08T03:02:05.421Z] "bip": "10.250.0.254/24", [2024-11-08T03:02:05.421Z] "hosts": [ [2024-11-08T03:02:05.421Z] "tcp://0.0.0.0:5555", [2024-11-08T03:02:05.421Z] "unix:///var/run/docker.sock" [2024-11-08T03:02:05.421Z] ], [2024-11-08T03:02:05.421Z] "mtu": 1458, [2024-11-08T03:02:05.421Z] "selinux-enabled": true, [2024-11-08T03:02:05.421Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-11-08T03:02:05.421Z] } [Pipeline] sh [2024-11-08T03:02:05.759Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-11-08T03:02:06.192Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-08T03:02:24.544Z] provisioning config files... [2024-11-08T03:02:24.585Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config6490982565090241074tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-08T03:02:25.076Z] ---> ****-login.sh [2024-11-08T03:02:25.076Z] nexus3.edgexfoundry.org:10001 [2024-11-08T03:02:25.678Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T03:02:25.679Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T03:02:25.679Z] Configure a credential helper to remove this warning. See [2024-11-08T03:02:25.679Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T03:02:25.679Z] [2024-11-08T03:02:25.679Z] Login Succeeded [2024-11-08T03:02:25.679Z] nexus3.edgexfoundry.org:10002 [2024-11-08T03:02:25.949Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T03:02:26.226Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T03:02:26.226Z] Configure a credential helper to remove this warning. See [2024-11-08T03:02:26.226Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T03:02:26.226Z] [2024-11-08T03:02:26.226Z] Login Succeeded [2024-11-08T03:02:26.226Z] nexus3.edgexfoundry.org:10003 [2024-11-08T03:02:26.496Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T03:02:26.496Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T03:02:26.496Z] Configure a credential helper to remove this warning. See [2024-11-08T03:02:26.496Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T03:02:26.496Z] [2024-11-08T03:02:26.496Z] Login Succeeded [2024-11-08T03:02:26.496Z] nexus3.edgexfoundry.org:10004 [2024-11-08T03:02:26.767Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T03:02:27.037Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T03:02:27.037Z] Configure a credential helper to remove this warning. See [2024-11-08T03:02:27.037Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T03:02:27.037Z] [2024-11-08T03:02:27.037Z] Login Succeeded [2024-11-08T03:02:27.037Z] ****.io [2024-11-08T03:02:27.313Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T03:02:27.588Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T03:02:27.588Z] Configure a credential helper to remove this warning. See [2024-11-08T03:02:27.588Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T03:02:27.588Z] [2024-11-08T03:02:27.588Z] Login Succeeded [2024-11-08T03:02:27.588Z] ---> ****-login.sh ends [Pipeline] } [2024-11-08T03:02:27.609Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-08T03:02:28.224Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-08T03:02:28.244Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-08T03:02:28.267Z] ========================================================= [2024-11-08T03:02:28.267Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-11-08T03:02:28.267Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T03:02:28.670Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-11-08T03:02:29.679Z] Sending build context to Docker daemon 19.04MB [2024-11-08T03:02:29.679Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-11-08T03:02:29.679Z] Step 2/12 : FROM ${BASE} AS builder [2024-11-08T03:02:29.679Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-11-08T03:02:29.679Z] cf04c63912e1: Pulling fs layer [2024-11-08T03:02:29.679Z] 55b35a11ae5e: Pulling fs layer [2024-11-08T03:02:29.679Z] a37a00ec5f00: Pulling fs layer [2024-11-08T03:02:29.679Z] 50b3750afda1: Pulling fs layer [2024-11-08T03:02:29.679Z] 4f4fb700ef54: Pulling fs layer [2024-11-08T03:02:29.679Z] 80978eb59214: Pulling fs layer [2024-11-08T03:02:29.679Z] c9f46d7d2bd2: Pulling fs layer [2024-11-08T03:02:29.679Z] c5a475d317c9: Pulling fs layer [2024-11-08T03:02:29.679Z] 4f4fb700ef54: Waiting [2024-11-08T03:02:29.679Z] 80978eb59214: Waiting [2024-11-08T03:02:29.679Z] c9f46d7d2bd2: Waiting [2024-11-08T03:02:29.679Z] c5a475d317c9: Waiting [2024-11-08T03:02:29.679Z] 50b3750afda1: Waiting [2024-11-08T03:02:29.679Z] 55b35a11ae5e: Verifying Checksum [2024-11-08T03:02:29.679Z] 55b35a11ae5e: Download complete [2024-11-08T03:02:29.679Z] 50b3750afda1: Verifying Checksum [2024-11-08T03:02:29.679Z] 50b3750afda1: Download complete [2024-11-08T03:02:29.679Z] 4f4fb700ef54: Verifying Checksum [2024-11-08T03:02:29.679Z] 4f4fb700ef54: Download complete [2024-11-08T03:02:29.679Z] 80978eb59214: Verifying Checksum [2024-11-08T03:02:29.679Z] 80978eb59214: Download complete [2024-11-08T03:02:29.961Z] cf04c63912e1: Verifying Checksum [2024-11-08T03:02:29.961Z] cf04c63912e1: Download complete [2024-11-08T03:02:30.573Z] c5a475d317c9: Verifying Checksum [2024-11-08T03:02:30.573Z] c5a475d317c9: Download complete [2024-11-08T03:02:31.555Z] cf04c63912e1: Pull complete [2024-11-08T03:02:32.163Z] 55b35a11ae5e: Pull complete [2024-11-08T03:02:32.440Z] a37a00ec5f00: Verifying Checksum [2024-11-08T03:02:32.440Z] a37a00ec5f00: Download complete [2024-11-08T03:02:33.421Z] c9f46d7d2bd2: Verifying Checksum [2024-11-08T03:02:33.421Z] c9f46d7d2bd2: Download complete [2024-11-08T03:02:48.578Z] a37a00ec5f00: Pull complete [2024-11-08T03:02:48.578Z] 50b3750afda1: Pull complete [2024-11-08T03:02:48.578Z] 4f4fb700ef54: Pull complete [2024-11-08T03:02:48.853Z] 80978eb59214: Pull complete [2024-11-08T03:02:57.323Z] c9f46d7d2bd2: Pull complete [2024-11-08T03:02:58.732Z] c5a475d317c9: Pull complete [2024-11-08T03:02:58.732Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-11-08T03:02:58.732Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-11-08T03:02:58.732Z] ---> be29e6b0f0d4 [2024-11-08T03:02:58.732Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-11-08T03:03:01.325Z] ---> Running in 0907a56966df [2024-11-08T03:03:01.598Z] Removing intermediate container 0907a56966df [2024-11-08T03:03:01.598Z] ---> e1ea8919d363 [2024-11-08T03:03:01.598Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-11-08T03:03:01.598Z] ---> Running in 85cebb470b50 [2024-11-08T03:03:02.200Z] Removing intermediate container 85cebb470b50 [2024-11-08T03:03:02.200Z] ---> b2282b4714f4 [2024-11-08T03:03:02.200Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-11-08T03:03:02.200Z] ---> Running in 568b72612a66 [2024-11-08T03:03:02.804Z] Removing intermediate container 568b72612a66 [2024-11-08T03:03:02.804Z] ---> d632bdf38ddb [2024-11-08T03:03:02.804Z] Step 6/12 : WORKDIR /device-virtual-go [2024-11-08T03:03:02.804Z] ---> Running in 028072681ce2 [2024-11-08T03:03:03.077Z] Removing intermediate container 028072681ce2 [2024-11-08T03:03:03.077Z] ---> 3f6ad499414b [2024-11-08T03:03:03.077Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-08T03:03:03.345Z] ---> Running in 1591370b7ad9 [2024-11-08T03:03:04.767Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-08T03:03:05.042Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-08T03:03:07.030Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-11-08T03:03:07.030Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-11-08T03:03:07.030Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-11-08T03:03:07.030Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-11-08T03:03:07.030Z] Executing busybox-1.36.1-r29.trigger [2024-11-08T03:03:07.030Z] OK: 242 MiB in 58 packages [2024-11-08T03:03:08.456Z] Removing intermediate container 1591370b7ad9 [2024-11-08T03:03:08.457Z] ---> 8ab2ad420e8d [2024-11-08T03:03:08.457Z] Step 8/12 : COPY go.mod vendor* ./ [2024-11-08T03:03:08.734Z] ---> 5e6c27c431ba [2024-11-08T03:03:08.734Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-08T03:03:08.734Z] ---> Running in d3e2d8df2c02 [2024-11-08T03:05:15.610Z] Removing intermediate container d3e2d8df2c02 [2024-11-08T03:05:15.610Z] ---> dc935e957f90 [2024-11-08T03:05:15.610Z] Step 10/12 : COPY . . [2024-11-08T03:05:15.610Z] ---> 7e56eefa7da5 [2024-11-08T03:05:15.610Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-08T03:05:15.610Z] ---> Running in fd7e88f50973 [2024-11-08T03:05:15.610Z] Removing intermediate container fd7e88f50973 [2024-11-08T03:05:15.610Z] ---> 1ae8387ce237 [2024-11-08T03:05:15.610Z] Step 12/12 : RUN $MAKE [2024-11-08T03:05:15.610Z] ---> Running in abeb983862a0 [2024-11-08T03:05:15.610Z] noop [2024-11-08T03:05:15.610Z] Removing intermediate container abeb983862a0 [2024-11-08T03:05:15.610Z] ---> 115d2544ae04 [2024-11-08T03:05:15.610Z] Successfully built 115d2544ae04 [2024-11-08T03:05:15.610Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T03:05:16.014Z] + docker inspect -f . ci-base-image-arm64 [2024-11-08T03:05:16.014Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T03:05:16.326Z] prd-ubuntu20.04-docker-arm64-4c-16g-24967 does not seem to be running inside a container [2024-11-08T03:05:16.430Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-11-08T03:05:18.085Z] $ docker top c4b670a700158f3b82ebc76840ac132da3d25543b526b768b5644bf54ddeff3a -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-08T03:05:19.064Z] + go version [2024-11-08T03:05:19.064Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-11-08T03:05:19.093Z] $ docker stop --time=1 c4b670a700158f3b82ebc76840ac132da3d25543b526b768b5644bf54ddeff3a [2024-11-08T03:05:20.939Z] $ docker rm -f --volumes c4b670a700158f3b82ebc76840ac132da3d25543b526b768b5644bf54ddeff3a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T03:05:21.591Z] + docker inspect -f . ci-base-image-arm64 [2024-11-08T03:05:21.591Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T03:05:21.859Z] prd-ubuntu20.04-docker-arm64-4c-16g-24967 does not seem to be running inside a container [2024-11-08T03:05:21.959Z] $ 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/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-11-08T03:05:23.502Z] $ docker top 058cb7222428416ff780b6fb9c0706fb47e2a8d4965656cf47321abd994a3934 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-08T03:05:24.448Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/2 [Pipeline] fileExists [Pipeline] sh [2024-11-08T03:05:25.160Z] + make test [2024-11-08T03:05:25.160Z] go test ./... -coverprofile=coverage.out [2024-11-08T03:05:31.840Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2024-11-08T03:09:54.041Z] github.com/edgexfoundry/device-virtual-go/cmd coverage: 0.0% of statements [2024-11-08T03:09:54.648Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.079s coverage: 58.3% of statements [2024-11-08T03:09:56.123Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-11-08T03:09:56.123Z] go vet ./... [2024-11-08T03:11:04.157Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-11-08T03:11:04.157Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-11-08T03:11:04.157Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-11-08T03:11:04.184Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-11-08T03:11:04.211Z] $ docker stop --time=1 058cb7222428416ff780b6fb9c0706fb47e2a8d4965656cf47321abd994a3934 [2024-11-08T03:11:06.397Z] $ docker rm -f --volumes 058cb7222428416ff780b6fb9c0706fb47e2a8d4965656cf47321abd994a3934 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-08T03:11:08.491Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-11-08T03:11:08.525Z] Warning: overwriting stash ‘coverage-report’ [2024-11-08T03:11:09.396Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-08T03:11:09.846Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-08T03:11:10.190Z] + ls -al . [2024-11-08T03:11:10.190Z] total 260 [2024-11-08T03:11:10.190Z] drwxrwxr-x 7 jenkins jenkins 4096 Nov 8 03:05 . [2024-11-08T03:11:10.190Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 03:01 .. [2024-11-08T03:11:10.190Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 03:01 .git [2024-11-08T03:11:10.190Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 03:01 .github [2024-11-08T03:11:10.190Z] -rw-rw-r-- 1 jenkins jenkins 272 Nov 8 03:01 .gitignore [2024-11-08T03:11:10.190Z] -rw-rw-r-- 1 jenkins jenkins 199 Nov 8 03:01 .golangci.yml [2024-11-08T03:11:10.190Z] -rw-rw-r-- 1 jenkins jenkins 18321 Nov 8 03:01 Attribution.txt [2024-11-08T03:11:10.190Z] -rw-rw-r-- 1 jenkins jenkins 15941 Nov 8 03:01 CHANGELOG.md [2024-11-08T03:11:10.190Z] -rw-rw-r-- 1 jenkins jenkins 1755 Nov 8 03:01 Dockerfile [2024-11-08T03:11:10.190Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 03:01 GOVERNANCE.md [2024-11-08T03:11:10.190Z] -rw-rw-r-- 1 jenkins jenkins 660 Nov 8 03:01 Jenkinsfile [2024-11-08T03:11:10.190Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 03:01 LICENSE [2024-11-08T03:11:10.190Z] -rw-rw-r-- 1 jenkins jenkins 2536 Nov 8 03:01 Makefile [2024-11-08T03:11:10.190Z] -rw-rw-r-- 1 jenkins jenkins 623 Nov 8 03:01 OWNERS.md [2024-11-08T03:11:10.190Z] -rw-rw-r-- 1 jenkins jenkins 4103 Nov 8 03:01 README.md [2024-11-08T03:11:10.190Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 02:58 VERSION [2024-11-08T03:11:10.190Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 03:01 bin [2024-11-08T03:11:10.190Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 03:01 cmd [2024-11-08T03:11:10.190Z] -rw-r--r-- 1 jenkins jenkins 43316 Nov 8 03:09 coverage.out [2024-11-08T03:11:10.190Z] -rw-rw-r-- 1 jenkins jenkins 6228 Nov 8 03:01 go.mod [2024-11-08T03:11:10.190Z] -rw-rw-r-- 1 jenkins jenkins 88084 Nov 8 03:01 go.sum [2024-11-08T03:11:10.190Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 03:01 internal [2024-11-08T03:11:10.190Z] -rw-rw-r-- 1 jenkins jenkins 235 Nov 8 03:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T03:11:10.581Z] + 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=3fd58961f855ca01bb73abd8824488f44f53328e --label arch=arm64 --label version=0.0.0 . [2024-11-08T03:11:11.572Z] Sending build context to Docker daemon 19.09MB [2024-11-08T03:11:11.572Z] Step 1/26 : ARG BASE=golang:1.23-alpine3.20 [2024-11-08T03:11:11.572Z] Step 2/26 : FROM ${BASE} AS builder [2024-11-08T03:11:11.572Z] ---> 115d2544ae04 [2024-11-08T03:11:11.572Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-11-08T03:11:11.572Z] ---> Running in 3ebd7c5d66e9 [2024-11-08T03:11:12.163Z] Removing intermediate container 3ebd7c5d66e9 [2024-11-08T03:11:12.163Z] ---> 332649adb0ba [2024-11-08T03:11:12.163Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-11-08T03:11:12.163Z] ---> Running in a987fa4d5a88 [2024-11-08T03:11:12.443Z] Removing intermediate container a987fa4d5a88 [2024-11-08T03:11:12.443Z] ---> 4f14c8fd7d4a [2024-11-08T03:11:12.443Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-11-08T03:11:12.716Z] ---> Running in 481cf83cd021 [2024-11-08T03:11:12.995Z] Removing intermediate container 481cf83cd021 [2024-11-08T03:11:12.995Z] ---> 1937c7b48b40 [2024-11-08T03:11:12.995Z] Step 6/26 : WORKDIR /device-virtual-go [2024-11-08T03:11:13.270Z] ---> Running in 42c8c05c2f4d [2024-11-08T03:11:13.548Z] Removing intermediate container 42c8c05c2f4d [2024-11-08T03:11:13.548Z] ---> 1921b7508fe0 [2024-11-08T03:11:13.548Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-08T03:11:13.826Z] ---> Running in f66a99963588 [2024-11-08T03:11:15.263Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-08T03:11:15.539Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-08T03:11:18.175Z] OK: 242 MiB in 58 packages [2024-11-08T03:11:19.632Z] Removing intermediate container f66a99963588 [2024-11-08T03:11:19.632Z] ---> 244e2fbf9a41 [2024-11-08T03:11:19.632Z] Step 8/26 : COPY go.mod vendor* ./ [2024-11-08T03:11:20.231Z] ---> 773a6a654c4f [2024-11-08T03:11:20.231Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-08T03:11:20.231Z] ---> Running in 3d37d3a1c90f [2024-11-08T03:11:23.590Z] Removing intermediate container 3d37d3a1c90f [2024-11-08T03:11:23.590Z] ---> 178e26569e5a [2024-11-08T03:11:23.590Z] Step 10/26 : COPY . . [2024-11-08T03:11:24.999Z] ---> b131092a8629 [2024-11-08T03:11:24.999Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-08T03:11:24.999Z] ---> Running in 4bbd7f396bb8 [2024-11-08T03:11:25.265Z] Removing intermediate container 4bbd7f396bb8 [2024-11-08T03:11:25.265Z] ---> 046f70cf23e9 [2024-11-08T03:11:25.265Z] Step 12/26 : RUN $MAKE [2024-11-08T03:11:25.532Z] ---> Running in a12d5014f8d7 [2024-11-08T03:11:26.494Z] 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/v4/internal/common.SDKVersion=v4.0.0-dev.2 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd [2024-11-08T03:16:03.486Z] Removing intermediate container a12d5014f8d7 [2024-11-08T03:16:03.486Z] ---> dc69a707cda2 [2024-11-08T03:16:03.486Z] Step 13/26 : FROM alpine:3.20 [2024-11-08T03:16:04.071Z] 3.20: Pulling from library/alpine [2024-11-08T03:16:04.071Z] cf04c63912e1: Already exists [2024-11-08T03:16:04.337Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-11-08T03:16:04.337Z] Status: Downloaded newer image for alpine:3.20 [2024-11-08T03:16:04.337Z] ---> c157a85ed455 [2024-11-08T03:16:04.337Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2024-11-08T03:16:04.604Z] ---> Running in d122b972b498 [2024-11-08T03:16:04.870Z] Removing intermediate container d122b972b498 [2024-11-08T03:16:04.870Z] ---> 7765914ea1b6 [2024-11-08T03:16:04.870Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-11-08T03:16:05.135Z] ---> Running in 5bf59ae7ff54 [2024-11-08T03:16:06.094Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-08T03:16:06.361Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-08T03:16:08.303Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-11-08T03:16:08.303Z] Executing busybox-1.36.1-r29.trigger [2024-11-08T03:16:08.303Z] OK: 9 MiB in 15 packages [2024-11-08T03:16:09.275Z] Removing intermediate container 5bf59ae7ff54 [2024-11-08T03:16:09.275Z] ---> 70e29c667820 [2024-11-08T03:16:09.275Z] Step 16/26 : RUN apk --no-cache upgrade [2024-11-08T03:16:09.275Z] ---> Running in 7c6667f9d875 [2024-11-08T03:16:10.237Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-08T03:16:10.504Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-08T03:16:12.453Z] Upgrading critical system libraries and apk-tools: [2024-11-08T03:16:12.453Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-11-08T03:16:12.453Z] Executing busybox-1.36.1-r29.trigger [2024-11-08T03:16:12.453Z] Continuing the upgrade transaction with new apk-tools: [2024-11-08T03:16:12.453Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-08T03:16:13.035Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-08T03:16:14.444Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-08T03:16:14.717Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-08T03:16:14.717Z] OK: 9 MiB in 15 packages [2024-11-08T03:16:15.692Z] Removing intermediate container 7c6667f9d875 [2024-11-08T03:16:15.692Z] ---> acdab3362c4b [2024-11-08T03:16:15.692Z] Step 17/26 : WORKDIR / [2024-11-08T03:16:15.960Z] ---> Running in 645e9b6175f5 [2024-11-08T03:16:16.229Z] Removing intermediate container 645e9b6175f5 [2024-11-08T03:16:16.229Z] ---> f3fdf82edfd3 [2024-11-08T03:16:16.229Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2024-11-08T03:16:16.813Z] ---> 65856cdd83ca [2024-11-08T03:16:16.813Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2024-11-08T03:16:17.414Z] ---> 4d0a97bcb618 [2024-11-08T03:16:17.414Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2024-11-08T03:16:19.659Z] ---> cd19f5c02351 [2024-11-08T03:16:19.659Z] Step 21/26 : EXPOSE 59900 [2024-11-08T03:16:19.659Z] ---> Running in 1b1ec0e939af [2024-11-08T03:16:19.659Z] Removing intermediate container 1b1ec0e939af [2024-11-08T03:16:19.659Z] ---> 5797d6deacf7 [2024-11-08T03:16:19.659Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2024-11-08T03:16:19.928Z] ---> Running in 59b0461273e7 [2024-11-08T03:16:20.196Z] Removing intermediate container 59b0461273e7 [2024-11-08T03:16:20.196Z] ---> 07864fbde5a4 [2024-11-08T03:16:20.196Z] Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] [2024-11-08T03:16:20.196Z] ---> Running in 6406727ff1e7 [2024-11-08T03:16:20.784Z] Removing intermediate container 6406727ff1e7 [2024-11-08T03:16:20.784Z] ---> 4f34df0a9e4a [2024-11-08T03:16:20.784Z] Step 24/26 : LABEL arch=arm64 [2024-11-08T03:16:20.784Z] ---> Running in 61d10cb59a1c [2024-11-08T03:16:21.050Z] Removing intermediate container 61d10cb59a1c [2024-11-08T03:16:21.050Z] ---> 9dd3f08ee5fb [2024-11-08T03:16:21.050Z] Step 25/26 : LABEL git_sha=3fd58961f855ca01bb73abd8824488f44f53328e [2024-11-08T03:16:21.319Z] ---> Running in 0fd89c44a32f [2024-11-08T03:16:21.588Z] Removing intermediate container 0fd89c44a32f [2024-11-08T03:16:21.588Z] ---> 49573d0950e2 [2024-11-08T03:16:21.588Z] Step 26/26 : LABEL version=0.0.0 [2024-11-08T03:16:21.588Z] ---> Running in 5570ede1323c [2024-11-08T03:16:21.856Z] Removing intermediate container 5570ede1323c [2024-11-08T03:16:21.856Z] ---> 7c0d1a0214bd [2024-11-08T03:16:21.856Z] [Warning] One or more build-args [ARCH] were not consumed [2024-11-08T03:16:22.130Z] Successfully built 7c0d1a0214bd [2024-11-08T03:16:22.130Z] 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] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T03:16:22.628Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-08T03:16:22.628Z] [2024-11-08T03:16:22.628Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T03:16:22.971Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-08T03:16:22.971Z] arm64: Pulling from edgex-lftools-log-publisher [2024-11-08T03:16:22.971Z] 8998bd30e6a1: Pulling fs layer [2024-11-08T03:16:22.971Z] 04944245beec: Pulling fs layer [2024-11-08T03:16:22.971Z] 699f458cf7ca: Pulling fs layer [2024-11-08T03:16:22.971Z] 765212b225bb: Pulling fs layer [2024-11-08T03:16:22.971Z] f23df028b6ca: Pulling fs layer [2024-11-08T03:16:22.971Z] d65c8cfc05b1: Pulling fs layer [2024-11-08T03:16:22.971Z] 2437ff75d9bd: Pulling fs layer [2024-11-08T03:16:22.971Z] f23df028b6ca: Waiting [2024-11-08T03:16:22.971Z] 765212b225bb: Waiting [2024-11-08T03:16:22.971Z] d65c8cfc05b1: Waiting [2024-11-08T03:16:22.971Z] 2437ff75d9bd: Waiting [2024-11-08T03:16:23.240Z] 04944245beec: Verifying Checksum [2024-11-08T03:16:23.240Z] 04944245beec: Download complete [2024-11-08T03:16:23.240Z] 765212b225bb: Verifying Checksum [2024-11-08T03:16:23.240Z] 765212b225bb: Download complete [2024-11-08T03:16:23.240Z] f23df028b6ca: Download complete [2024-11-08T03:16:23.240Z] d65c8cfc05b1: Verifying Checksum [2024-11-08T03:16:23.240Z] d65c8cfc05b1: Download complete [2024-11-08T03:16:23.510Z] 699f458cf7ca: Verifying Checksum [2024-11-08T03:16:23.510Z] 699f458cf7ca: Download complete [2024-11-08T03:16:24.115Z] 8998bd30e6a1: Verifying Checksum [2024-11-08T03:16:24.115Z] 8998bd30e6a1: Download complete [2024-11-08T03:16:27.474Z] 2437ff75d9bd: Verifying Checksum [2024-11-08T03:16:27.474Z] 2437ff75d9bd: Download complete [2024-11-08T03:16:30.066Z] 8998bd30e6a1: Pull complete [2024-11-08T03:16:30.335Z] 04944245beec: Pull complete [2024-11-08T03:16:32.285Z] 699f458cf7ca: Pull complete [2024-11-08T03:16:32.552Z] 765212b225bb: Pull complete [2024-11-08T03:16:33.517Z] f23df028b6ca: Pull complete [2024-11-08T03:16:33.517Z] d65c8cfc05b1: Pull complete [2024-11-08T03:16:51.722Z] 2437ff75d9bd: Pull complete [2024-11-08T03:16:51.722Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-11-08T03:16:51.722Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-08T03:16:51.722Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T03:16:51.946Z] prd-ubuntu20.04-docker-arm64-4c-16g-24967 does not seem to be running inside a container [2024-11-08T03:16:52.009Z] $ 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/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-11-08T03:16:55.352Z] $ docker top a42c1e12e54273a5ba603280a97d75198caeccb8e09ba72c7e066c56b73bb344 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-08T03:16:56.235Z] ---> job-cost.sh [2024-11-08T03:16:56.235Z] lf-activate-venv: SKIPPING [2024-11-08T03:16:56.235Z] INFO: No Stack... [2024-11-08T03:16:56.501Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-11-08T03:16:57.477Z] INFO: Archiving Costs [Pipeline] sh [2024-11-08T03:16:58.121Z] + cat /w/workspace/device-virtual-go/2/archives/cost.csv [2024-11-08T03:16:58.121Z] + cut -d, -f6 [Pipeline] lock [2024-11-08T03:16:58.186Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-502-2-stack-cost] [2024-11-08T03:16:58.195Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-502-2-stack-cost] did not exist. Created. [2024-11-08T03:16:58.202Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-502-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-08T03:16:58.885Z] /w/workspace/device-virtual-go/2@tmp/durable-632b7b97/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-11-08T03:16:59.542Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-11-08T03:16:59.573Z] Warning: overwriting stash ‘stack-cost’ [2024-11-08T03:16:59.636Z] Stashed 1 file(s) [Pipeline] } [2024-11-08T03:16:59.645Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-PR-502-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-08T03:16:59.670Z] $ docker stop --time=1 a42c1e12e54273a5ba603280a97d75198caeccb8e09ba72c7e066c56b73bb344 [2024-11-08T03:17:01.307Z] $ docker rm -f --volumes a42c1e12e54273a5ba603280a97d75198caeccb8e09ba72c7e066c56b73bb344 [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-11-08T03:17:01.928Z] provisioning config files... [2024-11-08T03:17:01.936Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-502@tmp/config14163074622519199719tmp [Pipeline] { [Pipeline] sh [2024-11-08T03:17:02.234Z] + set +x [2024-11-08T03:17:02.234Z] + curl -s https://codecov.io/bash [2024-11-08T03:17:02.234Z] + bash -s -- [2024-11-08T03:17:02.234Z] [2024-11-08T03:17:02.234Z] _____ _ [2024-11-08T03:17:02.234Z] / ____| | | [2024-11-08T03:17:02.234Z] | | ___ __| | ___ ___ _____ __ [2024-11-08T03:17:02.234Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-11-08T03:17:02.234Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-11-08T03:17:02.234Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-11-08T03:17:02.234Z] Bash-1.0.6 [2024-11-08T03:17:02.234Z] [2024-11-08T03:17:02.234Z] [2024-11-08T03:17:02.234Z] ==> git version 2.25.1 found [2024-11-08T03:17:02.234Z] ==> 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-11-08T03:17:02.234Z] Release-Date: 2020-01-08 [2024-11-08T03:17:02.234Z] 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-11-08T03:17:02.234Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-11-08T03:17:02.234Z] ==> Jenkins CI detected. [2024-11-08T03:17:02.234Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-502 [2024-11-08T03:17:02.234Z] project root: . [2024-11-08T03:17:02.234Z] --> token set from env [2024-11-08T03:17:02.234Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-11-08T03:17:02.234Z] ==> Running gcov in . (disable via -X gcov) [2024-11-08T03:17:02.234Z] ==> Python coveragepy not found [2024-11-08T03:17:02.234Z] ==> Searching for coverage reports in: [2024-11-08T03:17:02.234Z] + . [2024-11-08T03:17:02.234Z] -> Found 1 reports [2024-11-08T03:17:02.234Z] ==> Detecting git/mercurial file structure [2024-11-08T03:17:02.234Z] ==> Reading reports [2024-11-08T03:17:02.234Z] + ./coverage.out bytes=43316 [2024-11-08T03:17:02.234Z] ==> Appending adjustments [2024-11-08T03:17:02.234Z] https://docs.codecov.io/docs/fixing-reports [2024-11-08T03:17:02.494Z] + Found adjustments [2024-11-08T03:17:02.494Z] ==> Gzipping contents [2024-11-08T03:17:02.494Z] 8.0K /tmp/codecov.uWaHd2.gz [2024-11-08T03:17:02.494Z] ==> Uploading reports [2024-11-08T03:17:02.494Z] url: https://codecov.io [2024-11-08T03:17:02.494Z] query: branch=PR-502&commit=3fd58961f855ca01bb73abd8824488f44f53328e&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-502%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=502&job=&cmd_args= [2024-11-08T03:17:02.494Z] -> Pinging Codecov [2024-11-08T03:17:02.494Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-502&commit=3fd58961f855ca01bb73abd8824488f44f53328e&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-502%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=502&job=&cmd_args= [2024-11-08T03:17:02.754Z] -> Uploading to [2024-11-08T03:17:02.754Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-virtual-go/3fd58961f855ca01bb73abd8824488f44f53328e/92f8abcf-3c34-4bed-af26-cf56c5755b13.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241108%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241108T031702Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=e33eb9933330ef54ffc0b3ed89c4a9358f820bcb342db136be7d58daff410ba5 [2024-11-08T03:17:02.754Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-08T03:17:02.754Z] Dload Upload Total Spent Left Speed [2024-11-08T03:17:03.014Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5040 0 0 100 5040 0 22400 --:--:-- --:--:-- --:--:-- 22400 [2024-11-08T03:17:03.014Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/3fd58961f855ca01bb73abd8824488f44f53328e [Pipeline] } [2024-11-08T03:17:03.022Z] 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [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-11-08T03:17:03.856Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-502/archives ] [2024-11-08T03:17:03.856Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-502/archives [2024-11-08T03:17:03.856Z] total 16 [2024-11-08T03:17:03.856Z] drwxr-xr-x 3 root root 4096 Nov 8 03:01 . [2024-11-08T03:17:03.856Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 8 03:01 .. [2024-11-08T03:17:03.856Z] drwxr-xr-x 2 root root 4096 Nov 8 03:01 cost [2024-11-08T03:17:03.856Z] -rw-r--r-- 1 root root 89 Nov 8 03:01 cost.csv [2024-11-08T03:17:03.856Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-502/archives [2024-11-08T03:17:04.440Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-502/archives [2024-11-08T03:17:04.440Z] total 16 [2024-11-08T03:17:04.440Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 03:01 . [2024-11-08T03:17:04.440Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 8 03:01 .. [2024-11-08T03:17:04.440Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 8 03:01 cost [2024-11-08T03:17:04.440Z] -rw-r--r-- 1 jenkins jenkins 89 Nov 8 03:01 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-11-08T03:17:04.736Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-08T03:17:05.601Z] ---> package-listing.sh [2024-11-08T03:17:05.601Z] ++ facter osfamily [2024-11-08T03:17:05.601Z] ++ tr '[:upper:]' '[:lower:]' [2024-11-08T03:17:05.859Z] + OS_FAMILY=debian [2024-11-08T03:17:05.859Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-502 [2024-11-08T03:17:05.859Z] + START_PACKAGES=/tmp/packages_start.txt [2024-11-08T03:17:05.859Z] + END_PACKAGES=/tmp/packages_end.txt [2024-11-08T03:17:05.859Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-11-08T03:17:05.859Z] + PACKAGES=/tmp/packages_start.txt [2024-11-08T03:17:05.859Z] + '[' /w/workspace/foundry_device-virtual-go_PR-502 ']' [2024-11-08T03:17:05.859Z] + PACKAGES=/tmp/packages_end.txt [2024-11-08T03:17:05.859Z] + case "${OS_FAMILY}" in [2024-11-08T03:17:05.859Z] + dpkg -l [2024-11-08T03:17:05.859Z] + grep '^ii' [2024-11-08T03:17:05.859Z] + '[' -f /tmp/packages_start.txt ']' [2024-11-08T03:17:05.859Z] + '[' -f /tmp/packages_end.txt ']' [2024-11-08T03:17:05.859Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-11-08T03:17:05.859Z] + '[' /w/workspace/foundry_device-virtual-go_PR-502 ']' [2024-11-08T03:17:05.859Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-502/archives/ [2024-11-08T03:17:05.859Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-502/archives/ [Pipeline] echo [2024-11-08T03:17:05.874Z] 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-502/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-11-08T03:17:06.156Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T03:17:06.714Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-08T03:17:06.714Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T03:17:06.799Z] prd-ubuntu20.04-docker-8c-8g-24961 does not seem to be running inside a container [2024-11-08T03:17:06.844Z] $ 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-502/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-502 -v /w/workspace/foundry_device-virtual-go_PR-502:/w/workspace/foundry_device-virtual-go_PR-502:rw,z -v /w/workspace/foundry_device-virtual-go_PR-502@tmp:/w/workspace/foundry_device-virtual-go_PR-502@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-11-08T03:17:07.048Z] $ docker top 299d2cfd5756ef6c7582fc6a89d919ba16fe4f4bf8da0ae8ec87b2b54142bd4d -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-08T03:17:07.378Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-11-08T03:17:08.883Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-11-08T03:17:09.204Z] + ls /var/log/sa-host [2024-11-08T03:17:09.204Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-08T03:17:09.279Z] provisioning config files... [2024-11-08T03:17:09.302Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-502@tmp/config16246991576863829665tmp [Pipeline] { [Pipeline] echo [2024-11-08T03:17:09.336Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-08T03:17:09.661Z] ---> create-netrc.sh [Pipeline] } [2024-11-08T03:17:09.668Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-11-08T03:17:10.013Z] ---> python-tools-install.sh [Pipeline] echo [2024-11-08T03:17:10.022Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-08T03:17:10.307Z] ---> sudo-logs.sh [2024-11-08T03:17:10.307Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-11-08T03:17:10.344Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-08T03:17:10.627Z] ---> job-cost.sh [2024-11-08T03:17:10.628Z] lf-activate-venv: SKIPPING [2024-11-08T03:17:10.628Z] DEBUG: total: 0.2199999988079071 [2024-11-08T03:17:10.628Z] INFO: Retrieving Stack Cost... [2024-11-08T03:17:10.887Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-08T03:17:11.455Z] INFO: Archiving Costs [Pipeline] echo [2024-11-08T03:17:11.469Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-08T03:17:11.752Z] ---> logs-deploy.sh [2024-11-08T03:17:11.752Z] lf-activate-venv: SKIPPING [2024-11-08T03:17:11.752Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-502/2 [2024-11-08T03:17:11.752Z] INFO: archiving workspace using pattern(s): [2024-11-08T03:17:12.690Z] Archives upload complete. [2024-11-08T03:17:12.690Z] INFO: archiving logs to Nexus