Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 91ab2d1966be996543f139896746dd83b19c5706 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-ssh10348885071881903204.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh18266603034385420382.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 590556114a56c6d90cc8043840e039c2f74196dc 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/main/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/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2082594455836603600.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > 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-ssh6604098814096086817.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/main/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/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4104868393984013704.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.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-6759’ is offline Running on prd-ubuntu20.04-docker-8c-8g-6761 in /w/workspace/exfoundry_device-virtual-go_main [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/exfoundry_device-virtual-go_main # 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 Avoid second fetch Checking out Revision 91ab2d1966be996543f139896746dd83b19c5706 (main) Commit message: "Merge pull request #482 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.29" > git config core.sparsecheckout # timeout=10 > git checkout -f 91ab2d1966be996543f139896746dd83b19c5706 # timeout=10 > git rev-list --no-walk 3bb026eb44965f8cd89cc0032dcda78f92059a39 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:41:36 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:41:36 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:41:36 ========================================================= 11:41:36 EdgeX Global Pipelines Version Info 11:41:36 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:41:37 ------------------- 11:41:37 stable info: 11:41:37 ------------------- 11:41:37 Commited By: Ginny Guan ginny@iotechsys.com 11:41:37 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 11:41:37 Message: update stable to v1.0.260 11:41:37 ------------------- 11:41:37 experimental info: 11:41:37 ------------------- 11:41:37 Commited By: Ginny Guan ginny@iotechsys.com 11:41:37 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 11:41:37 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:41:37 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 11:41:37 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 11:41:37 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:41:37 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:41:37 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:41:37 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 11:41:37 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 11:41:38 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 11:41:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:41:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:41:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:41:38 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 11:41:38 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:41:38 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:41:38 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:41:38 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 11:41:38 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:41:38 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:41:38 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:41:38 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:41:38 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 11:41:38 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 11:41:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:41:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:41:38 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:41:38 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:41:38 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 11:41:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 11:41:38 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 11:41:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 11:41:38 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 91ab2d1966be996543f139896746dd83b19c5706 [Pipeline] echo 11:41:38 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 91ab2d1 [Pipeline] echo 11:41:38 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:41:38 provisioning config files... 11:41:38 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config17967954224943024261tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:41:38 ---> ****-login.sh 11:41:38 nexus3.edgexfoundry.org:10001 11:41:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:41:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:41:39 Configure a credential helper to remove this warning. See 11:41:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:41:39 11:41:39 Login Succeeded 11:41:39 nexus3.edgexfoundry.org:10002 11:41:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:41:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:41:39 Configure a credential helper to remove this warning. See 11:41:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:41:39 11:41:39 Login Succeeded 11:41:39 nexus3.edgexfoundry.org:10003 11:41:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:41:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:41:39 Configure a credential helper to remove this warning. See 11:41:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:41:39 11:41:39 Login Succeeded 11:41:39 nexus3.edgexfoundry.org:10004 11:41:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:41:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:41:39 Configure a credential helper to remove this warning. See 11:41:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:41:39 11:41:39 Login Succeeded 11:41:39 ****.io 11:41:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:41:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:41:39 Configure a credential helper to remove this warning. See 11:41:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:41:39 11:41:39 Login Succeeded 11:41:39 ---> ****-login.sh ends [Pipeline] } 11:41:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 11:41:40 + git rev-list -1 --merges 91ab2d1966be996543f139896746dd83b19c5706~1..91ab2d1966be996543f139896746dd83b19c5706 [Pipeline] echo 11:41:40 -----------> git rev-list -1 --merges 91ab2d1966be996543f139896746dd83b19c5706~1..91ab2d1966be996543f139896746dd83b19c5706 91ab2d1966be996543f139896746dd83b19c5706 11:41:40 91ab2d1966be996543f139896746dd83b19c5706 [false] [Pipeline] sh 11:41:40 + git log --format=format:%s -1 91ab2d1966be996543f139896746dd83b19c5706 [Pipeline] echo 11:41:40 ========================================================= 11:41:40 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 11:41:40 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:41:41 + git log --format=format:%s -1 91ab2d1966be996543f139896746dd83b19c5706 [Pipeline] echo 11:41:41 [semverPrep] GIT_COMMIT: 91ab2d1966be996543f139896746dd83b19c5706, Commit Message: Merge pull request #482 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.29 [Pipeline] echo 11:41:41 [semverPrep] This is not a build commit. [Pipeline] sh 11:41:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:41:41 + grep -v github /etc/ssh/ssh_known_hosts 11:41:41 + [ -e /tmp/ssh_known_hosts ] 11:41:41 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 11:41:41 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 11:41:41 + sudo tee -a /etc/ssh/ssh_known_hosts 11:41:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:41:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:41:41 11:41:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:41:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:41:42 0.1.4: Pulling from edgex-devops/py-git-semver 11:41:42 b85a868b505f: Pulling fs layer 11:41:42 e2be974225ed: Pulling fs layer 11:41:42 339a4e72a1f5: Pulling fs layer 11:41:42 988bab9f4d93: Pulling fs layer 11:41:42 1469e6f7b9e6: Pulling fs layer 11:41:42 eaf3925da568: Pulling fs layer 11:41:42 bab4dde63d76: Pulling fs layer 11:41:42 bde34c3a00c8: Pulling fs layer 11:41:42 b352a97aabf1: Pulling fs layer 11:41:42 4872d77fe225: Pulling fs layer 11:41:42 5851b861e8e6: Pulling fs layer 11:41:42 bab4dde63d76: Waiting 11:41:42 bde34c3a00c8: Waiting 11:41:42 eaf3925da568: Waiting 11:41:42 b352a97aabf1: Waiting 11:41:42 5851b861e8e6: Waiting 11:41:42 4872d77fe225: Waiting 11:41:42 1469e6f7b9e6: Waiting 11:41:42 988bab9f4d93: Waiting 11:41:42 e2be974225ed: Download complete 11:41:42 988bab9f4d93: Verifying Checksum 11:41:42 988bab9f4d93: Download complete 11:41:42 1469e6f7b9e6: Verifying Checksum 11:41:42 1469e6f7b9e6: Download complete 11:41:42 eaf3925da568: Verifying Checksum 11:41:42 eaf3925da568: Download complete 11:41:42 339a4e72a1f5: Verifying Checksum 11:41:42 339a4e72a1f5: Download complete 11:41:42 bde34c3a00c8: Download complete 11:41:42 b352a97aabf1: Verifying Checksum 11:41:42 b352a97aabf1: Download complete 11:41:42 4872d77fe225: Download complete 11:41:42 5851b861e8e6: Verifying Checksum 11:41:42 5851b861e8e6: Download complete 11:41:42 b85a868b505f: Verifying Checksum 11:41:42 b85a868b505f: Download complete 11:41:42 bab4dde63d76: Verifying Checksum 11:41:42 bab4dde63d76: Download complete 11:41:43 b85a868b505f: Pull complete 11:41:43 e2be974225ed: Pull complete 11:41:44 339a4e72a1f5: Pull complete 11:41:44 988bab9f4d93: Pull complete 11:41:44 1469e6f7b9e6: Pull complete 11:41:44 eaf3925da568: Pull complete 11:41:46 bab4dde63d76: Pull complete 11:41:46 bde34c3a00c8: Pull complete 11:41:46 b352a97aabf1: Pull complete 11:41:46 4872d77fe225: Pull complete 11:41:46 5851b861e8e6: Pull complete 11:41:46 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 11:41:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:41:46 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:41:46 prd-ubuntu20.04-docker-8c-8g-6761 does not seem to be running inside a container 11:41:46 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 11:41:49 $ docker top e3c2b58abd7c6eccf897e332d0ab2a449dfb5043f8111954335aac18e70c117e -eo pid,comm 11:41:49 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). 11:41:49 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:41:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:41:49 [ssh-agent] Looking for ssh-agent implementation... 11:41:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:41:49 $ docker exec e3c2b58abd7c6eccf897e332d0ab2a449dfb5043f8111954335aac18e70c117e ssh-agent 11:41:49 SSH_AUTH_SOCK=/tmp/ssh-3ITPbOjt0LQ0/agent.32 11:41:49 SSH_AGENT_PID=38 11:41:49 Running ssh-add (command line suppressed) 11:41:50 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4563867439651719442.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4563867439651719442.key) 11:41:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:41:50 + git tag --points-at HEAD [Pipeline] } 11:41:50 $ docker exec --env ******** --env ******** e3c2b58abd7c6eccf897e332d0ab2a449dfb5043f8111954335aac18e70c117e ssh-agent -k 11:41:50 unset SSH_AUTH_SOCK; 11:41:50 unset SSH_AGENT_PID; 11:41:50 echo Agent pid 38 killed; 11:41:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:41:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:41:50 [ssh-agent] Looking for ssh-agent implementation... 11:41:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:41:50 $ docker exec e3c2b58abd7c6eccf897e332d0ab2a449dfb5043f8111954335aac18e70c117e ssh-agent 11:41:50 SSH_AUTH_SOCK=/tmp/ssh-KgGLRe5lGBpx/agent.71 11:41:50 SSH_AGENT_PID=78 11:41:50 Running ssh-add (command line suppressed) 11:41:50 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_17472733728874367078.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_17472733728874367078.key) 11:41:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:41:51 + git semver init 11:41:51 2024-07-30 11:41:51,347 [run_init] DEBUG init version:0.0.0 force:False 11:41:51 2024-07-30 11:41:51,348 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver 11:41:51 2024-07-30 11:41:51,349 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver 11:41:51 2024-07-30 11:41:51,349 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/exfoundry_device-virtual-go_main/.semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 11:41:53 2024-07-30 11:41:53,423 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude 11:41:53 2024-07-30 11:41:53,423 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False 11:41:53 2024-07-30 11:41:53,423 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 11:41:53 2024-07-30 11:41:53,424 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 11:41:53 3.2.0-dev.20 [Pipeline] } 11:41:53 $ docker exec --env ******** --env ******** e3c2b58abd7c6eccf897e332d0ab2a449dfb5043f8111954335aac18e70c117e ssh-agent -k 11:41:54 unset SSH_AUTH_SOCK; 11:41:54 unset SSH_AGENT_PID; 11:41:54 echo Agent pid 78 killed; 11:41:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:41:54 + git semver [Pipeline] } 11:41:54 $ docker stop --time=1 e3c2b58abd7c6eccf897e332d0ab2a449dfb5043f8111954335aac18e70c117e 11:41:55 $ docker rm -f --volumes e3c2b58abd7c6eccf897e332d0ab2a449dfb5043f8111954335aac18e70c117e [Pipeline] // withDockerContainer [Pipeline] sh 11:41:56 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:41:56 Stashed 1 file(s) [Pipeline] echo 11:41:56 [edgeXSemver]: initialized semver on version 3.2.0-dev.20 [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 11:41:56 provisioning config files... 11:41:56 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5864785652301483094tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:41:57 ---> ****-login.sh 11:41:57 nexus3.edgexfoundry.org:10001 11:41:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:41:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:41:57 Configure a credential helper to remove this warning. See 11:41:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:41:57 11:41:57 Login Succeeded 11:41:57 nexus3.edgexfoundry.org:10002 11:41:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:41:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:41:57 Configure a credential helper to remove this warning. See 11:41:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:41:57 11:41:57 Login Succeeded 11:41:57 nexus3.edgexfoundry.org:10003 11:41:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:41:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:41:57 Configure a credential helper to remove this warning. See 11:41:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:41:57 11:41:57 Login Succeeded 11:41:57 nexus3.edgexfoundry.org:10004 11:41:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:41:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:41:57 Configure a credential helper to remove this warning. See 11:41:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:41:57 11:41:57 Login Succeeded 11:41:57 ****.io 11:41:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:41:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:41:57 Configure a credential helper to remove this warning. See 11:41:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:41:57 11:41:57 Login Succeeded 11:41:57 ---> ****-login.sh ends [Pipeline] } 11:41:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:41:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 11:41:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 11:41:57 ========================================================= 11:41:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 11:41:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:41:58 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 11:41:58 Sending build context to Docker daemon 37.56MB 11:41:58 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 11:41:58 Step 2/12 : FROM ${BASE} AS builder 11:41:58 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 11:41:58 619be1103602: Pulling fs layer 11:41:58 7862e08f4a3e: Pulling fs layer 11:41:58 5df492c9dc93: Pulling fs layer 11:41:58 7629e6793208: Pulling fs layer 11:41:58 4f4fb700ef54: Pulling fs layer 11:41:58 fb5054dd5b73: Pulling fs layer 11:41:58 eeca6798cff9: Pulling fs layer 11:41:58 aa269ceb94a6: Pulling fs layer 11:41:58 ada007ff1a6a: Pulling fs layer 11:41:58 7629e6793208: Waiting 11:41:58 4f4fb700ef54: Waiting 11:41:58 fb5054dd5b73: Waiting 11:41:58 ada007ff1a6a: Waiting 11:41:58 aa269ceb94a6: Waiting 11:41:58 7862e08f4a3e: Download complete 11:41:58 7629e6793208: Download complete 11:41:58 4f4fb700ef54: Download complete 11:41:58 619be1103602: Verifying Checksum 11:41:58 619be1103602: Download complete 11:41:58 fb5054dd5b73: Verifying Checksum 11:41:58 fb5054dd5b73: Download complete 11:41:58 eeca6798cff9: Verifying Checksum 11:41:58 eeca6798cff9: Download complete 11:41:58 619be1103602: Pull complete 11:41:58 ada007ff1a6a: Verifying Checksum 11:41:58 ada007ff1a6a: Download complete 11:41:58 7862e08f4a3e: Pull complete 11:41:58 5df492c9dc93: Download complete 11:41:59 aa269ceb94a6: Verifying Checksum 11:41:59 aa269ceb94a6: Download complete 11:42:02 5df492c9dc93: Pull complete 11:42:02 7629e6793208: Pull complete 11:42:02 4f4fb700ef54: Pull complete 11:42:02 fb5054dd5b73: Pull complete 11:42:02 eeca6798cff9: Pull complete 11:42:04 aa269ceb94a6: Pull complete 11:42:04 ada007ff1a6a: Pull complete 11:42:04 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 11:42:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 11:42:04 ---> f489d0715acc 11:42:04 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:42:10 ---> Running in 573a6326e30a 11:42:10 Removing intermediate container 573a6326e30a 11:42:10 ---> 8e213dcd548f 11:42:10 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 11:42:10 ---> Running in a12519d46bbe 11:42:10 Removing intermediate container a12519d46bbe 11:42:10 ---> 89e0bb0030f3 11:42:10 Step 5/12 : ARG ADD_BUILD_TAGS="" 11:42:10 ---> Running in 9c072ee80937 11:42:10 Removing intermediate container 9c072ee80937 11:42:10 ---> 735c8ff6ebbf 11:42:10 Step 6/12 : WORKDIR /device-virtual-go 11:42:10 ---> Running in 9feb17f707d1 11:42:10 Removing intermediate container 9feb17f707d1 11:42:10 ---> c7dcd1ccd909 11:42:10 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:42:10 ---> Running in 05dbf4e0e122 11:42:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:42:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:42:10 (1/4) Installing openssh-keygen (9.3_p2-r2) 11:42:10 (2/4) Installing libedit (20221030.3.1-r1) 11:42:10 (3/4) Installing openssh-client-common (9.3_p2-r2) 11:42:10 (4/4) Installing openssh-client-default (9.3_p2-r2) 11:42:10 Executing busybox-1.36.1-r5.trigger 11:42:10 OK: 268 MiB in 56 packages 11:42:11 Removing intermediate container 05dbf4e0e122 11:42:11 ---> 1717de225730 11:42:11 Step 8/12 : COPY go.mod vendor* ./ 11:42:11 ---> f7fb3090afc8 11:42:11 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:42:11 ---> Running in b087bb85eccc 11:42:11 Still waiting to schedule task 11:42:11 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 11:43:07 Removing intermediate container b087bb85eccc 11:43:07 ---> a32cf7c3bf4b 11:43:07 Step 10/12 : COPY . . 11:43:07 ---> a57d1580e5a9 11:43:07 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:43:07 ---> Running in 02bc3608f66b 11:43:07 Removing intermediate container 02bc3608f66b 11:43:07 ---> 0e7ce7f86a69 11:43:07 Step 12/12 : RUN $MAKE 11:43:07 ---> Running in f53b648b9272 11:43:07 noop 11:43:07 Removing intermediate container f53b648b9272 11:43:07 ---> ace9b51f9b7b 11:43:07 Successfully built ace9b51f9b7b 11:43:07 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:43:08 + docker inspect -f . ci-base-image-x86_64 11:43:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:43:08 prd-ubuntu20.04-docker-8c-8g-6761 does not seem to be running inside a container 11:43:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@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 ******** ci-base-image-x86_64 cat 11:43:08 $ docker top 7ab4cddce4e3144c0fa186bf4f39fe216d1b3174869046e3132ca23055a9d5c2 -eo pid,comm [Pipeline] { [Pipeline] sh 11:43:08 + go version 11:43:08 go version go1.21.9 linux/amd64 [Pipeline] } 11:43:08 $ docker stop --time=1 7ab4cddce4e3144c0fa186bf4f39fe216d1b3174869046e3132ca23055a9d5c2 11:43:10 $ docker rm -f --volumes 7ab4cddce4e3144c0fa186bf4f39fe216d1b3174869046e3132ca23055a9d5c2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:43:10 + docker inspect -f . ci-base-image-x86_64 11:43:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:43:10 prd-ubuntu20.04-docker-8c-8g-6761 does not seem to be running inside a container 11:43:10 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@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 ******** ci-base-image-x86_64 cat 11:43:11 $ docker top 2550c4a99611dfdf05f799e6ddbde44cb91710e91201176ae87cc173f0ea78e4 -eo pid,comm [Pipeline] { [Pipeline] sh 11:43:11 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh 11:43:11 + make test 11:43:11 go test ./... -coverprofile=coverage.out 11:43:13 ? github.com/edgexfoundry/device-virtual-go [no test files] 11:43:31 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 11:43:31 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.011s coverage: 58.4% of statements 11:43:41 go vet ./... 11:43:44 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6762 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 11:43:44 Running in /w/workspace/device-virtual-go/176 [Pipeline] { [Pipeline] checkout 11:43:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:43:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:43:46 ./bin/test-attribution-txt.sh 11:43:46 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [Pipeline] echo 11:43:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] 11:43:47 The recommended git tool is: git [Pipeline] } 11:43:47 $ docker stop --time=1 2550c4a99611dfdf05f799e6ddbde44cb91710e91201176ae87cc173f0ea78e4 11:43:52 using credential edgex-jenkins-ssh 11:43:52 Cloning the remote Git repository 11:43:52 $ docker rm -f --volumes 2550c4a99611dfdf05f799e6ddbde44cb91710e91201176ae87cc173f0ea78e4 [Pipeline] // withDockerContainer [Pipeline] sh 11:43:52 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 11:43:52 > git init /w/workspace/device-virtual-go/176 # timeout=10 11:43:52 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 11:43:52 > git --version # timeout=10 11:43:52 > git --version # 'git version 2.25.1' 11:43:52 using GIT_SSH to set credentials SSH Credentials for GitHub 11:43:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:43:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:43:53 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 11:43:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:43:53 + ls -al . 11:43:53 total 276 11:43:53 drwxrwxr-x 8 jenkins jenkins 4096 Jul 30 11:43 . 11:43:53 drwxrwxr-x 4 jenkins jenkins 4096 Jul 30 11:41 .. 11:43:53 drwxrwxr-x 8 jenkins jenkins 4096 Jul 30 11:43 .git 11:43:53 drwxrwxr-x 3 jenkins jenkins 4096 Jul 30 11:41 .github 11:43:53 -rw-rw-r-- 1 jenkins jenkins 272 Jul 30 11:41 .gitignore 11:43:53 -rw-rw-r-- 1 jenkins jenkins 41 Jul 30 11:41 .golangci.yml 11:43:53 drwxr-xr-x 3 jenkins jenkins 4096 Jul 30 11:41 .semver 11:43:53 -rw-rw-r-- 1 jenkins jenkins 17933 Jul 30 11:41 Attribution.txt 11:43:53 -rw-rw-r-- 1 jenkins jenkins 15941 Jul 30 11:41 CHANGELOG.md 11:43:53 -rw-rw-r-- 1 jenkins jenkins 1755 Jul 30 11:41 Dockerfile 11:43:53 -rw-rw-r-- 1 jenkins jenkins 677 Jul 30 11:41 GOVERNANCE.md 11:43:53 -rw-rw-r-- 1 jenkins jenkins 660 Jul 30 11:41 Jenkinsfile 11:43:53 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 30 11:41 LICENSE 11:43:53 -rw-rw-r-- 1 jenkins jenkins 1953 Jul 30 11:41 Makefile 11:43:53 -rw-rw-r-- 1 jenkins jenkins 623 Jul 30 11:41 OWNERS.md 11:43:53 -rw-rw-r-- 1 jenkins jenkins 4103 Jul 30 11:41 README.md 11:43:53 -rw-rw-r-- 1 jenkins jenkins 12 Jul 30 11:41 VERSION 11:43:53 drwxrwxr-x 2 jenkins jenkins 4096 Jul 30 11:41 bin 11:43:53 drwxrwxr-x 3 jenkins jenkins 4096 Jul 30 11:41 cmd 11:43:53 -rw-r--r-- 1 jenkins jenkins 43247 Jul 30 11:43 coverage.out 11:43:53 -rw-rw-r-- 1 jenkins jenkins 6923 Jul 30 11:41 go.mod 11:43:53 -rw-rw-r-- 1 jenkins jenkins 101673 Jul 30 11:41 go.sum 11:43:53 drwxrwxr-x 3 jenkins jenkins 4096 Jul 30 11:41 internal 11:43:53 -rw-rw-r-- 1 jenkins jenkins 235 Jul 30 11:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:43:54 + 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=91ab2d1966be996543f139896746dd83b19c5706 --label arch=amd64 --label version=3.2.0-dev.20 . 11:43:54 Sending build context to Docker daemon 37.6MB 11:43:54 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 11:43:54 Step 2/26 : FROM ${BASE} AS builder 11:43:54 ---> ace9b51f9b7b 11:43:54 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:43:55 ---> Running in 49552bf6814a 11:43:55 Removing intermediate container 49552bf6814a 11:43:55 ---> 3b68532bbc98 11:43:55 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 11:43:55 ---> Running in 79ba566f9d05 11:43:55 Removing intermediate container 79ba566f9d05 11:43:55 ---> 822b808ef662 11:43:55 Step 5/26 : ARG ADD_BUILD_TAGS="" 11:43:55 ---> Running in 1bda5da8baf2 11:43:55 Removing intermediate container 1bda5da8baf2 11:43:55 ---> 60c339a870df 11:43:55 Step 6/26 : WORKDIR /device-virtual-go 11:43:55 ---> Running in ca5740f15e46 11:43:55 Removing intermediate container ca5740f15e46 11:43:55 ---> 244ca77b0feb 11:43:55 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:43:55 ---> Running in c3dbaadb7a0a 11:43:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:43:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:43:56 OK: 268 MiB in 56 packages 11:43:56 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 11:43:56 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:43:56 Removing intermediate container c3dbaadb7a0a 11:43:56 ---> 4217ba83d899 11:43:56 Step 8/26 : COPY go.mod vendor* ./ 11:43:56 ---> 548e7b42bc08 11:43:56 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:43:56 ---> Running in b476ba67512e 11:43:57 Avoid second fetch 11:43:57 Checking out Revision 91ab2d1966be996543f139896746dd83b19c5706 (main) 11:43:57 Removing intermediate container b476ba67512e 11:43:57 ---> 6a06acb2a222 11:43:57 Step 10/26 : COPY . . 11:43:57 Commit message: "Merge pull request #482 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.29" 11:43:57 > git config core.sparsecheckout # timeout=10 11:43:57 > git checkout -f 91ab2d1966be996543f139896746dd83b19c5706 # timeout=10 11:43:58 ---> c1c2e53647f8 11:43:58 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:43:59 ---> Running in 30031380f943 11:43:59 Removing intermediate container 30031380f943 11:43:59 ---> 1d4c424fed53 11:43:59 Step 12/26 : RUN $MAKE 11:43:59 ---> Running in f789b3733024 11:44:00 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-virtual-go.Version=3.2.0-dev.20 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.29" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:44:02 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 11:44:02 % Total % Received % Xferd Average Speed Time Time Time Current 11:44:02 Dload Upload Total Spent Left Speed 11:44:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 96451 0 --:--:-- --:--:-- --:--:-- 96451 [Pipeline] sh 11:44:02 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 11:44:03 + sudo tee /etc/docker/daemon.new 11:44:03 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 11:44:03 { 11:44:03 "registry-mirrors": [ 11:44:03 "https://nexus3.edgexfoundry.org:10001" 11:44:03 ], 11:44:03 "bip": "10.250.0.254/24", 11:44:03 "hosts": [ 11:44:03 "tcp://0.0.0.0:5555", 11:44:03 "unix:///var/run/docker.sock" 11:44:03 ], 11:44:03 "mtu": 1458, 11:44:03 "selinux-enabled": true, 11:44:03 "seccomp-profile": "/etc/docker/seccomp.json" 11:44:03 } [Pipeline] sh 11:44:03 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 11:44:03 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:44:22 provisioning config files... 11:44:22 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/176@tmp/config5958080103727761814tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:44:22 ---> ****-login.sh 11:44:22 nexus3.edgexfoundry.org:10001 11:44:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:44:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:44:23 Configure a credential helper to remove this warning. See 11:44:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:44:23 11:44:23 Login Succeeded 11:44:23 nexus3.edgexfoundry.org:10002 11:44:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:44:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:44:23 Configure a credential helper to remove this warning. See 11:44:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:44:23 11:44:23 Login Succeeded 11:44:23 nexus3.edgexfoundry.org:10003 11:44:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:44:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:44:23 Configure a credential helper to remove this warning. See 11:44:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:44:23 11:44:23 Login Succeeded 11:44:23 nexus3.edgexfoundry.org:10004 11:44:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:44:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:44:24 Configure a credential helper to remove this warning. See 11:44:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:44:24 11:44:24 Login Succeeded 11:44:24 ****.io 11:44:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:44:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:44:24 Configure a credential helper to remove this warning. See 11:44:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:44:24 11:44:24 Login Succeeded 11:44:24 ---> ****-login.sh ends [Pipeline] } 11:44:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:44:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 11:44:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 11:44:25 ========================================================= 11:44:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 11:44:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:44:25 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 11:44:25 Sending build context to Docker daemon 18.96MB 11:44:25 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 11:44:25 Step 2/12 : FROM ${BASE} AS builder 11:44:25 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 11:44:25 c6b39de5b339: Pulling fs layer 11:44:25 a69c41024577: Pulling fs layer 11:44:25 d6de4b400683: Pulling fs layer 11:44:25 35cb2a7552d0: Pulling fs layer 11:44:25 4f4fb700ef54: Pulling fs layer 11:44:25 464afbd9ba4c: Pulling fs layer 11:44:25 00f215d4a9da: Pulling fs layer 11:44:25 d496ad576159: Pulling fs layer 11:44:25 4f4fb700ef54: Waiting 11:44:25 00f215d4a9da: Waiting 11:44:25 d496ad576159: Waiting 11:44:25 464afbd9ba4c: Waiting 11:44:25 35cb2a7552d0: Waiting 11:44:26 a69c41024577: Verifying Checksum 11:44:26 a69c41024577: Download complete 11:44:26 35cb2a7552d0: Verifying Checksum 11:44:26 35cb2a7552d0: Download complete 11:44:26 4f4fb700ef54: Verifying Checksum 11:44:26 4f4fb700ef54: Download complete 11:44:26 464afbd9ba4c: Verifying Checksum 11:44:26 464afbd9ba4c: Download complete 11:44:26 c6b39de5b339: Download complete 11:44:26 d496ad576159: Verifying Checksum 11:44:26 d496ad576159: Download complete 11:44:27 c6b39de5b339: Pull complete 11:44:27 a69c41024577: Pull complete 11:44:28 d6de4b400683: Download complete 11:44:29 00f215d4a9da: Verifying Checksum 11:44:29 00f215d4a9da: Download complete 11:44:38 Removing intermediate container f789b3733024 11:44:38 ---> f4bcbe75ba0d 11:44:38 Step 13/26 : FROM alpine:3.18 11:44:38 3.18: Pulling from library/alpine 11:44:38 930bdd4d222e: Pulling fs layer 11:44:38 930bdd4d222e: Download complete 11:44:38 930bdd4d222e: Pull complete 11:44:38 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 11:44:38 Status: Downloaded newer image for alpine:3.18 11:44:38 ---> 18f865063206 11:44:38 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 11:44:38 ---> Running in 2b9edf46bed1 11:44:38 Removing intermediate container 2b9edf46bed1 11:44:38 ---> d531c86a2baa 11:44:38 Step 15/26 : RUN apk add --update --no-cache dumb-init 11:44:38 ---> Running in 2c5c3c3f4dba 11:44:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:44:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:44:38 (1/1) Installing dumb-init (1.2.5-r2) 11:44:38 Executing busybox-1.36.1-r7.trigger 11:44:38 OK: 7 MiB in 16 packages 11:44:38 Removing intermediate container 2c5c3c3f4dba 11:44:38 ---> b30ac4a78191 11:44:38 Step 16/26 : RUN apk --no-cache upgrade 11:44:38 ---> Running in fd250185de44 11:44:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:44:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:44:39 OK: 7 MiB in 16 packages 11:44:39 Removing intermediate container fd250185de44 11:44:39 ---> fa7e6e9e959a 11:44:39 Step 17/26 : WORKDIR / 11:44:39 ---> Running in 2e7b1b66f114 11:44:40 Removing intermediate container 2e7b1b66f114 11:44:40 ---> 6434f83a4d4c 11:44:40 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 11:44:40 ---> 6cb1810c0594 11:44:40 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 11:44:40 ---> 4361c8cccecf 11:44:40 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 11:44:41 d6de4b400683: Pull complete 11:44:41 35cb2a7552d0: Pull complete 11:44:41 4f4fb700ef54: Pull complete 11:44:41 464afbd9ba4c: Pull complete 11:44:42 ---> 8f671525bad1 11:44:42 Step 21/26 : EXPOSE 59900 11:44:42 ---> Running in 291d99d2458d 11:44:42 Removing intermediate container 291d99d2458d 11:44:42 ---> ec0670723445 11:44:42 Step 22/26 : ENTRYPOINT ["/device-virtual"] 11:44:42 ---> Running in 3ab719cff559 11:44:42 Removing intermediate container 3ab719cff559 11:44:42 ---> 9891977aea57 11:44:42 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 11:44:42 ---> Running in 44a52a655d34 11:44:43 Removing intermediate container 44a52a655d34 11:44:43 ---> cf856bfe572a 11:44:43 Step 24/26 : LABEL arch=amd64 11:44:43 ---> Running in 00e168861f19 11:44:43 Removing intermediate container 00e168861f19 11:44:43 ---> cd58e236ac6a 11:44:43 Step 25/26 : LABEL git_sha=91ab2d1966be996543f139896746dd83b19c5706 11:44:44 ---> Running in e1f436847aeb 11:44:44 Removing intermediate container e1f436847aeb 11:44:44 ---> c91b2ce303af 11:44:44 Step 26/26 : LABEL version=3.2.0-dev.20 11:44:44 ---> Running in a522fbcf9832 11:44:44 Removing intermediate container a522fbcf9832 11:44:44 ---> 2a454239fb17 11:44:44 [Warning] One or more build-args [ARCH] were not consumed 11:44:44 Successfully built 2a454239fb17 11:44:44 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:44:45 provisioning config files... 11:44:45 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config18143671127614897786tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:44:45 ---> ****-login.sh 11:44:45 nexus3.edgexfoundry.org:10001 11:44:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:44:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:44:45 Configure a credential helper to remove this warning. See 11:44:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:44:45 11:44:45 Login Succeeded 11:44:45 nexus3.edgexfoundry.org:10002 11:44:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:44:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:44:45 Configure a credential helper to remove this warning. See 11:44:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:44:45 11:44:45 Login Succeeded 11:44:45 nexus3.edgexfoundry.org:10003 11:44:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:44:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:44:45 Configure a credential helper to remove this warning. See 11:44:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:44:45 11:44:45 Login Succeeded 11:44:45 nexus3.edgexfoundry.org:10004 11:44:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:44:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:44:45 Configure a credential helper to remove this warning. See 11:44:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:44:45 11:44:45 Login Succeeded 11:44:45 ****.io 11:44:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:44:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:44:45 Configure a credential helper to remove this warning. See 11:44:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:44:45 11:44:45 Login Succeeded 11:44:45 ---> ****-login.sh ends [Pipeline] } 11:44:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:44:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 11:44:46 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 11:44:46 91ab2d1966be996543f139896746dd83b19c5706 11:44:46 latest 11:44:46 3.2.0-dev.20 11:44:46 91ab2d1966be996543f139896746dd83b19c5706-3.2.0-dev.20 11:44:46 main 11:44:46 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:44:46 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:91ab2d1966be996543f139896746dd83b19c5706 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:44:46 + docker push nexus3.edgexfoundry.org:10004/device-virtual:91ab2d1966be996543f139896746dd83b19c5706 11:44:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 11:44:46 ea1529903df9: Preparing 11:44:46 57a59cd7b6e9: Preparing 11:44:46 bc3c9d5a3b85: Preparing 11:44:46 206b45da8919: Preparing 11:44:46 26eb8d47dea1: Preparing 11:44:46 ce7f800efff9: Preparing 11:44:46 ce7f800efff9: Waiting 11:44:46 57a59cd7b6e9: Pushed 11:44:46 206b45da8919: Pushed 11:44:46 26eb8d47dea1: Pushed 11:44:46 bc3c9d5a3b85: Pushed 11:44:46 ce7f800efff9: Layer already exists 11:44:49 ea1529903df9: Pushed 11:44:49 91ab2d1966be996543f139896746dd83b19c5706: digest: sha256:4809f0a36f596734a665946fe039e45a0600dcf57214b34953ce0c3ca656dfb4 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:44:50 00f215d4a9da: Pull complete 11:44:50 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:44:50 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 11:44:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 11:44:50 ea1529903df9: Preparing 11:44:50 57a59cd7b6e9: Preparing 11:44:50 bc3c9d5a3b85: Preparing 11:44:50 206b45da8919: Preparing 11:44:50 26eb8d47dea1: Preparing 11:44:50 ce7f800efff9: Preparing 11:44:50 ce7f800efff9: Waiting 11:44:50 ea1529903df9: Layer already exists 11:44:50 206b45da8919: Layer already exists 11:44:50 bc3c9d5a3b85: Layer already exists 11:44:50 57a59cd7b6e9: Layer already exists 11:44:50 26eb8d47dea1: Layer already exists 11:44:50 ce7f800efff9: Layer already exists 11:44:50 latest: digest: sha256:4809f0a36f596734a665946fe039e45a0600dcf57214b34953ce0c3ca656dfb4 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:44:50 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.2.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:44:51 + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.2.0-dev.20 11:44:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 11:44:51 ea1529903df9: Preparing 11:44:51 57a59cd7b6e9: Preparing 11:44:51 bc3c9d5a3b85: Preparing 11:44:51 206b45da8919: Preparing 11:44:51 26eb8d47dea1: Preparing 11:44:51 ce7f800efff9: Preparing 11:44:51 ce7f800efff9: Waiting 11:44:51 57a59cd7b6e9: Layer already exists 11:44:51 bc3c9d5a3b85: Layer already exists 11:44:51 ea1529903df9: Layer already exists 11:44:51 206b45da8919: Layer already exists 11:44:51 26eb8d47dea1: Layer already exists 11:44:51 ce7f800efff9: Layer already exists 11:44:51 3.2.0-dev.20: digest: sha256:4809f0a36f596734a665946fe039e45a0600dcf57214b34953ce0c3ca656dfb4 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:44:51 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:91ab2d1966be996543f139896746dd83b19c5706-3.2.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:44:51 + docker push nexus3.edgexfoundry.org:10004/device-virtual:91ab2d1966be996543f139896746dd83b19c5706-3.2.0-dev.20 11:44:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 11:44:51 ea1529903df9: Preparing 11:44:51 57a59cd7b6e9: Preparing 11:44:51 bc3c9d5a3b85: Preparing 11:44:51 206b45da8919: Preparing 11:44:51 26eb8d47dea1: Preparing 11:44:51 ce7f800efff9: Preparing 11:44:51 ce7f800efff9: Waiting 11:44:51 206b45da8919: Layer already exists 11:44:51 26eb8d47dea1: Layer already exists 11:44:51 ea1529903df9: Layer already exists 11:44:51 57a59cd7b6e9: Layer already exists 11:44:51 bc3c9d5a3b85: Layer already exists 11:44:51 ce7f800efff9: Layer already exists 11:44:51 91ab2d1966be996543f139896746dd83b19c5706-3.2.0-dev.20: digest: sha256:4809f0a36f596734a665946fe039e45a0600dcf57214b34953ce0c3ca656dfb4 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:44:51 d496ad576159: Pull complete 11:44:51 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 11:44:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 11:44:51 ---> f246e2811388 11:44:51 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:44:52 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:44:52 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 11:44:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 11:44:52 ea1529903df9: Preparing 11:44:52 57a59cd7b6e9: Preparing 11:44:52 bc3c9d5a3b85: Preparing 11:44:52 206b45da8919: Preparing 11:44:52 26eb8d47dea1: Preparing 11:44:52 ce7f800efff9: Preparing 11:44:52 ce7f800efff9: Waiting 11:44:52 ea1529903df9: Layer already exists 11:44:52 26eb8d47dea1: Layer already exists 11:44:52 57a59cd7b6e9: Layer already exists 11:44:52 bc3c9d5a3b85: Layer already exists 11:44:52 206b45da8919: Layer already exists 11:44:52 ce7f800efff9: Layer already exists 11:44:52 main: digest: sha256:4809f0a36f596734a665946fe039e45a0600dcf57214b34953ce0c3ca656dfb4 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:44:52 ===================================================== [Pipeline] echo 11:44:52 taggedImages: 11:44:52 - nexus3.edgexfoundry.org:10004/device-virtual:91ab2d1966be996543f139896746dd83b19c5706 11:44:52 - nexus3.edgexfoundry.org:10004/device-virtual:latest 11:44:52 - nexus3.edgexfoundry.org:10004/device-virtual:3.2.0-dev.20 11:44:52 - nexus3.edgexfoundry.org:10004/device-virtual:91ab2d1966be996543f139896746dd83b19c5706-3.2.0-dev.20 11:44:52 - nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // script [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 11:44:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:44:52 11:44:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:44:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:44:53 latest: Pulling from edgex-lftools-log-publisher 11:44:53 5eb5b503b376: Pulling fs layer 11:44:53 5c69ac0246d0: Pulling fs layer 11:44:53 ec43610c2a17: Pulling fs layer 11:44:53 3a2ae6a8a46f: Pulling fs layer 11:44:53 33b1e0a273af: Pulling fs layer 11:44:53 5d3b04190fa2: Pulling fs layer 11:44:53 2f39f015ded8: Pulling fs layer 11:44:53 5d3b04190fa2: Waiting 11:44:53 2f39f015ded8: Waiting 11:44:53 3a2ae6a8a46f: Waiting 11:44:53 33b1e0a273af: Waiting 11:44:53 5c69ac0246d0: Download complete 11:44:53 3a2ae6a8a46f: Download complete 11:44:53 ---> Running in 7cd73dfb7743 11:44:53 33b1e0a273af: Verifying Checksum 11:44:53 33b1e0a273af: Download complete 11:44:53 5d3b04190fa2: Verifying Checksum 11:44:53 5d3b04190fa2: Download complete 11:44:53 ec43610c2a17: Verifying Checksum 11:44:53 ec43610c2a17: Download complete 11:44:53 5eb5b503b376: Verifying Checksum 11:44:53 5eb5b503b376: Download complete 11:44:53 Removing intermediate container 7cd73dfb7743 11:44:53 ---> 87497b69b30c 11:44:53 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 11:44:53 ---> Running in bd211e8de776 11:44:54 2f39f015ded8: Download complete 11:44:54 Removing intermediate container bd211e8de776 11:44:54 ---> fc874b659ce4 11:44:54 Step 5/12 : ARG ADD_BUILD_TAGS="" 11:44:54 ---> Running in 38041305f474 11:44:54 Removing intermediate container 38041305f474 11:44:54 ---> 6e9afc9c6f84 11:44:54 Step 6/12 : WORKDIR /device-virtual-go 11:44:54 5eb5b503b376: Pull complete 11:44:54 ---> Running in c5dfdc07cdfa 11:44:54 5c69ac0246d0: Pull complete 11:44:54 Removing intermediate container c5dfdc07cdfa 11:44:54 ---> 3da5a19c00a8 11:44:54 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:44:54 ---> Running in 78f54c5a0c73 11:44:55 ec43610c2a17: Pull complete 11:44:55 3a2ae6a8a46f: Pull complete 11:44:55 33b1e0a273af: Pull complete 11:44:55 5d3b04190fa2: Pull complete 11:44:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 11:44:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 11:44:57 (1/4) Installing openssh-keygen (9.3_p2-r2) 11:44:57 (2/4) Installing libedit (20221030.3.1-r1) 11:44:57 (3/4) Installing openssh-client-common (9.3_p2-r2) 11:44:57 (4/4) Installing openssh-client-default (9.3_p2-r2) 11:44:57 Executing busybox-1.36.1-r5.trigger 11:44:57 OK: 271 MiB in 56 packages 11:44:58 Removing intermediate container 78f54c5a0c73 11:44:58 ---> 5b3f7cb9432c 11:44:58 Step 8/12 : COPY go.mod vendor* ./ 11:44:59 ---> f5b65012a540 11:44:59 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:44:59 ---> Running in 043243ab787c 11:44:59 2f39f015ded8: Pull complete 11:45:00 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 11:45:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:45:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:45:00 prd-ubuntu20.04-docker-8c-8g-6761 does not seem to be running inside a container 11:45:00 $ 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/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:45:06 $ docker top 7218836349a33a2c7b5c3449e7c429048f25a00f44a933968bd4abd83b6a8210 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:45:07 ---> job-cost.sh 11:45:07 lf-activate-venv: SKIPPING 11:45:07 INFO: No Stack... 11:45:07 INFO: Retrieving Pricing Info for: v3-standard-8 11:45:07 INFO: Archiving Costs [Pipeline] sh 11:45:08 + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv 11:45:08 + cut -d, -f6 [Pipeline] lock 11:45:08 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-main-176-stack-cost] 11:45:08 Resource [jenkins-edgexfoundry-device-virtual-go-main-176-stack-cost] did not exist. Created. 11:45:08 Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-main-176-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:45:08 + echo total: 0.2199999988079071 [Pipeline] stash 11:45:08 Stashed 1 file(s) [Pipeline] } 11:45:08 Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-main-176-stack-cost] [Pipeline] // lock [Pipeline] } 11:45:08 $ docker stop --time=1 7218836349a33a2c7b5c3449e7c429048f25a00f44a933968bd4abd83b6a8210 11:45:09 $ docker rm -f --volumes 7218836349a33a2c7b5c3449e7c429048f25a00f44a933968bd4abd83b6a8210 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 11:46:50 Removing intermediate container 043243ab787c 11:46:50 ---> 2f30df904d50 11:46:50 Step 10/12 : COPY . . 11:46:50 ---> e9f86e927fef 11:46:50 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:46:50 ---> Running in 7321b7b0ea4f 11:46:50 Removing intermediate container 7321b7b0ea4f 11:46:50 ---> 3ecf16bfe590 11:46:50 Step 12/12 : RUN $MAKE 11:46:50 ---> Running in 373605b7add2 11:46:50 noop 11:46:50 Removing intermediate container 373605b7add2 11:46:50 ---> 3fe661c32576 11:46:50 Successfully built 3fe661c32576 11:46:50 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:46:51 + docker inspect -f . ci-base-image-arm64 11:46:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:46:51 prd-ubuntu20.04-docker-arm64-4c-16g-6762 does not seem to be running inside a container 11:46:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/176 -v /w/workspace/device-virtual-go/176:/w/workspace/device-virtual-go/176:rw,z -v /w/workspace/device-virtual-go/176@tmp:/w/workspace/device-virtual-go/176@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 ******** ci-base-image-arm64 cat 11:46:52 $ docker top 49b2ac21d208ab6dd444d73438be7cb171348fac7ce237c7b22501841963d1f3 -eo pid,comm [Pipeline] { [Pipeline] sh 11:46:53 + go version 11:46:53 go version go1.21.9 linux/arm64 [Pipeline] } 11:46:53 $ docker stop --time=1 49b2ac21d208ab6dd444d73438be7cb171348fac7ce237c7b22501841963d1f3 11:46:55 $ docker rm -f --volumes 49b2ac21d208ab6dd444d73438be7cb171348fac7ce237c7b22501841963d1f3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:46:55 + docker inspect -f . ci-base-image-arm64 11:46:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:46:55 prd-ubuntu20.04-docker-arm64-4c-16g-6762 does not seem to be running inside a container 11:46:55 $ 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/176 -v /w/workspace/device-virtual-go/176:/w/workspace/device-virtual-go/176:rw,z -v /w/workspace/device-virtual-go/176@tmp:/w/workspace/device-virtual-go/176@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 ******** ci-base-image-arm64 cat 11:46:57 $ docker top 9355bdec5b29ef6509ab732771615335561ee7bad6bc4c8e979204bf2cd43ac1 -eo pid,comm [Pipeline] { [Pipeline] sh 11:46:57 + git config --global --add safe.directory /w/workspace/device-virtual-go/176 [Pipeline] fileExists [Pipeline] sh 11:46:58 + make test 11:46:58 go test ./... -coverprofile=coverage.out 11:47:03 ? github.com/edgexfoundry/device-virtual-go [no test files] 11:50:40 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 11:50:40 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.057s coverage: 58.3% of statements 11:50:40 WARNING: Linting skipped (not on x86_64 or linter not installed) 11:50:40 go vet ./... 11:51:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:51:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:51:19 ./bin/test-attribution-txt.sh 11:51:20 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [Pipeline] echo 11:51:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 11:51:20 $ docker stop --time=1 9355bdec5b29ef6509ab732771615335561ee7bad6bc4c8e979204bf2cd43ac1 11:51:21 $ docker rm -f --volumes 9355bdec5b29ef6509ab732771615335561ee7bad6bc4c8e979204bf2cd43ac1 [Pipeline] // withDockerContainer [Pipeline] sh 11:51:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:51:23 Warning: overwriting stash ‘coverage-report’ 11:51:23 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:51:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:51:24 + ls -al . 11:51:24 total 272 11:51:24 drwxrwxr-x 7 jenkins jenkins 4096 Jul 30 11:47 . 11:51:24 drwxrwxr-x 4 jenkins jenkins 4096 Jul 30 11:43 .. 11:51:24 drwxrwxr-x 8 jenkins jenkins 4096 Jul 30 11:44 .git 11:51:24 drwxrwxr-x 3 jenkins jenkins 4096 Jul 30 11:43 .github 11:51:24 -rw-rw-r-- 1 jenkins jenkins 272 Jul 30 11:43 .gitignore 11:51:24 -rw-rw-r-- 1 jenkins jenkins 41 Jul 30 11:43 .golangci.yml 11:51:24 -rw-rw-r-- 1 jenkins jenkins 17933 Jul 30 11:43 Attribution.txt 11:51:24 -rw-rw-r-- 1 jenkins jenkins 15941 Jul 30 11:43 CHANGELOG.md 11:51:24 -rw-rw-r-- 1 jenkins jenkins 1755 Jul 30 11:43 Dockerfile 11:51:24 -rw-rw-r-- 1 jenkins jenkins 677 Jul 30 11:43 GOVERNANCE.md 11:51:24 -rw-rw-r-- 1 jenkins jenkins 660 Jul 30 11:43 Jenkinsfile 11:51:24 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 30 11:43 LICENSE 11:51:24 -rw-rw-r-- 1 jenkins jenkins 1953 Jul 30 11:43 Makefile 11:51:24 -rw-rw-r-- 1 jenkins jenkins 623 Jul 30 11:43 OWNERS.md 11:51:24 -rw-rw-r-- 1 jenkins jenkins 4103 Jul 30 11:43 README.md 11:51:24 -rw-rw-r-- 1 jenkins jenkins 12 Jul 30 11:41 VERSION 11:51:24 drwxrwxr-x 2 jenkins jenkins 4096 Jul 30 11:43 bin 11:51:24 drwxrwxr-x 3 jenkins jenkins 4096 Jul 30 11:43 cmd 11:51:24 -rw-r--r-- 1 jenkins jenkins 43247 Jul 30 11:50 coverage.out 11:51:24 -rw-rw-r-- 1 jenkins jenkins 6923 Jul 30 11:43 go.mod 11:51:24 -rw-rw-r-- 1 jenkins jenkins 101673 Jul 30 11:43 go.sum 11:51:24 drwxrwxr-x 3 jenkins jenkins 4096 Jul 30 11:43 internal 11:51:24 -rw-rw-r-- 1 jenkins jenkins 235 Jul 30 11:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:51:24 + 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=91ab2d1966be996543f139896746dd83b19c5706 --label arch=arm64 --label version=3.2.0-dev.20 . 11:51:25 Sending build context to Docker daemon 19.01MB 11:51:25 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 11:51:25 Step 2/26 : FROM ${BASE} AS builder 11:51:25 ---> 3fe661c32576 11:51:25 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:51:25 ---> Running in 2c169350981f 11:51:26 Removing intermediate container 2c169350981f 11:51:26 ---> 87390f33fcb3 11:51:26 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 11:51:26 ---> Running in 480b1d2af01f 11:51:26 Removing intermediate container 480b1d2af01f 11:51:26 ---> 37531e395ca5 11:51:26 Step 5/26 : ARG ADD_BUILD_TAGS="" 11:51:26 ---> Running in e8a8165c3947 11:51:26 Removing intermediate container e8a8165c3947 11:51:26 ---> 37df26cc2019 11:51:26 Step 6/26 : WORKDIR /device-virtual-go 11:51:26 ---> Running in 4ccd85f63ce6 11:51:27 Removing intermediate container 4ccd85f63ce6 11:51:27 ---> e0a47d9bd2c0 11:51:27 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:51:27 ---> Running in 1edddac62a05 11:51:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 11:51:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 11:51:29 OK: 271 MiB in 56 packages 11:51:30 Removing intermediate container 1edddac62a05 11:51:30 ---> ad99afb1f7c7 11:51:30 Step 8/26 : COPY go.mod vendor* ./ 11:51:30 ---> ad3e57e09865 11:51:30 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:51:30 ---> Running in 41ff7660bb8b 11:51:33 Removing intermediate container 41ff7660bb8b 11:51:33 ---> 67dc66c4b57f 11:51:33 Step 10/26 : COPY . . 11:51:34 ---> 00a6c5525d23 11:51:34 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:51:34 ---> Running in 81dd599699f3 11:51:35 Removing intermediate container 81dd599699f3 11:51:35 ---> c6931986bda6 11:51:35 Step 12/26 : RUN $MAKE 11:51:35 ---> Running in 3cbb11bc8e7e 11:51:36 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-virtual-go.Version=3.2.0-dev.20 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.29" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 11:54:57 Removing intermediate container 3cbb11bc8e7e 11:54:57 ---> aa9afc838e23 11:54:57 Step 13/26 : FROM alpine:3.18 11:54:57 3.18: Pulling from library/alpine 11:54:57 4983c3fe2029: Pulling fs layer 11:54:57 4983c3fe2029: Verifying Checksum 11:54:57 4983c3fe2029: Download complete 11:54:57 4983c3fe2029: Pull complete 11:54:57 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 11:54:57 Status: Downloaded newer image for alpine:3.18 11:54:57 ---> a0237000ae83 11:54:57 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 11:54:57 ---> Running in 362fdbf338d3 11:54:57 Removing intermediate container 362fdbf338d3 11:54:57 ---> 9aec32c404e2 11:54:57 Step 15/26 : RUN apk add --update --no-cache dumb-init 11:54:57 ---> Running in 2214f9c38ccd 11:54:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 11:54:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 11:54:57 (1/1) Installing dumb-init (1.2.5-r2) 11:54:57 Executing busybox-1.36.1-r7.trigger 11:54:57 OK: 8 MiB in 16 packages 11:54:57 Removing intermediate container 2214f9c38ccd 11:54:57 ---> 6d83b83ac92f 11:54:57 Step 16/26 : RUN apk --no-cache upgrade 11:54:57 ---> Running in ed55ab7b4412 11:54:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 11:54:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 11:54:58 OK: 8 MiB in 16 packages 11:54:58 Removing intermediate container ed55ab7b4412 11:54:58 ---> c21516ce1a91 11:54:58 Step 17/26 : WORKDIR / 11:54:58 ---> Running in c7658fad7b6b 11:54:59 Removing intermediate container c7658fad7b6b 11:54:59 ---> 60b41e4c399f 11:54:59 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 11:54:59 ---> d5b37ce1f869 11:54:59 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 11:55:00 ---> 2fefc14d78a3 11:55:00 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 11:55:02 ---> 6b6ca16c5c46 11:55:02 Step 21/26 : EXPOSE 59900 11:55:02 ---> Running in f9ca6eb6413c 11:55:02 Removing intermediate container f9ca6eb6413c 11:55:02 ---> 5ed036ee3a9b 11:55:02 Step 22/26 : ENTRYPOINT ["/device-virtual"] 11:55:02 ---> Running in 99cc10ae3f16 11:55:02 Removing intermediate container 99cc10ae3f16 11:55:02 ---> a0a6ce804d0f 11:55:02 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 11:55:02 ---> Running in cbe31f20e911 11:55:03 Removing intermediate container cbe31f20e911 11:55:03 ---> 95dd59f6770c 11:55:03 Step 24/26 : LABEL arch=arm64 11:55:03 ---> Running in 9dacd06916f2 11:55:03 Removing intermediate container 9dacd06916f2 11:55:03 ---> e7e172f5264a 11:55:03 Step 25/26 : LABEL git_sha=91ab2d1966be996543f139896746dd83b19c5706 11:55:03 ---> Running in 219d40bc19c5 11:55:03 Removing intermediate container 219d40bc19c5 11:55:03 ---> c24d64e9dfb6 11:55:03 Step 26/26 : LABEL version=3.2.0-dev.20 11:55:03 ---> Running in 010972287d55 11:55:03 Removing intermediate container 010972287d55 11:55:03 ---> dcecd532b2e9 11:55:03 [Warning] One or more build-args [ARCH] were not consumed 11:55:04 Successfully built dcecd532b2e9 11:55:04 Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:55:04 provisioning config files... 11:55:04 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/176@tmp/config17288420600002461639tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:55:04 ---> ****-login.sh 11:55:04 nexus3.edgexfoundry.org:10001 11:55:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:55:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:55:04 Configure a credential helper to remove this warning. See 11:55:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:55:04 11:55:04 Login Succeeded 11:55:04 nexus3.edgexfoundry.org:10002 11:55:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:55:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:55:05 Configure a credential helper to remove this warning. See 11:55:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:55:05 11:55:05 Login Succeeded 11:55:05 nexus3.edgexfoundry.org:10003 11:55:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:55:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:55:05 Configure a credential helper to remove this warning. See 11:55:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:55:05 11:55:05 Login Succeeded 11:55:05 nexus3.edgexfoundry.org:10004 11:55:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:55:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:55:06 Configure a credential helper to remove this warning. See 11:55:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:55:06 11:55:06 Login Succeeded 11:55:06 ****.io 11:55:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:55:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:55:06 Configure a credential helper to remove this warning. See 11:55:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:55:06 11:55:06 Login Succeeded 11:55:06 ---> ****-login.sh ends [Pipeline] } 11:55:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:55:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 11:55:06 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 11:55:06 91ab2d1966be996543f139896746dd83b19c5706 11:55:06 latest 11:55:06 3.2.0-dev.20 11:55:06 91ab2d1966be996543f139896746dd83b19c5706-3.2.0-dev.20 11:55:06 main 11:55:06 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:55:07 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:91ab2d1966be996543f139896746dd83b19c5706 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:55:07 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:91ab2d1966be996543f139896746dd83b19c5706 11:55:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 11:55:07 6d7046f0533f: Preparing 11:55:07 a43d336c3ba0: Preparing 11:55:07 4c0171807a62: Preparing 11:55:07 b986305e0347: Preparing 11:55:07 91f93fbae55e: Preparing 11:55:07 3c20671a5817: Preparing 11:55:07 3c20671a5817: Waiting 11:55:07 91f93fbae55e: Pushed 11:55:07 b986305e0347: Pushed 11:55:07 a43d336c3ba0: Pushed 11:55:07 4c0171807a62: Pushed 11:55:07 3c20671a5817: Layer already exists 11:55:14 6d7046f0533f: Pushed 11:55:14 91ab2d1966be996543f139896746dd83b19c5706: digest: sha256:80b1da47b9727881960639a3636e1c2795aa5bfeb3f5339768b2d9f4bbae331c size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:55:14 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:55:15 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 11:55:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 11:55:15 6d7046f0533f: Preparing 11:55:15 a43d336c3ba0: Preparing 11:55:15 4c0171807a62: Preparing 11:55:15 b986305e0347: Preparing 11:55:15 91f93fbae55e: Preparing 11:55:15 3c20671a5817: Preparing 11:55:15 3c20671a5817: Waiting 11:55:15 91f93fbae55e: Layer already exists 11:55:15 4c0171807a62: Layer already exists 11:55:15 6d7046f0533f: Layer already exists 11:55:15 b986305e0347: Layer already exists 11:55:15 a43d336c3ba0: Layer already exists 11:55:15 3c20671a5817: Layer already exists 11:55:15 latest: digest: sha256:80b1da47b9727881960639a3636e1c2795aa5bfeb3f5339768b2d9f4bbae331c size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:55:15 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.2.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:55:16 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.2.0-dev.20 11:55:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 11:55:16 6d7046f0533f: Preparing 11:55:16 a43d336c3ba0: Preparing 11:55:16 4c0171807a62: Preparing 11:55:16 b986305e0347: Preparing 11:55:16 91f93fbae55e: Preparing 11:55:16 3c20671a5817: Preparing 11:55:16 3c20671a5817: Waiting 11:55:16 91f93fbae55e: Layer already exists 11:55:16 a43d336c3ba0: Layer already exists 11:55:16 4c0171807a62: Layer already exists 11:55:16 b986305e0347: Layer already exists 11:55:16 6d7046f0533f: Layer already exists 11:55:16 3c20671a5817: Layer already exists 11:55:16 3.2.0-dev.20: digest: sha256:80b1da47b9727881960639a3636e1c2795aa5bfeb3f5339768b2d9f4bbae331c size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:55:16 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:91ab2d1966be996543f139896746dd83b19c5706-3.2.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:55:17 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:91ab2d1966be996543f139896746dd83b19c5706-3.2.0-dev.20 11:55:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 11:55:17 6d7046f0533f: Preparing 11:55:17 a43d336c3ba0: Preparing 11:55:17 4c0171807a62: Preparing 11:55:17 b986305e0347: Preparing 11:55:17 91f93fbae55e: Preparing 11:55:17 3c20671a5817: Preparing 11:55:17 3c20671a5817: Waiting 11:55:17 a43d336c3ba0: Layer already exists 11:55:17 4c0171807a62: Layer already exists 11:55:17 6d7046f0533f: Layer already exists 11:55:17 91f93fbae55e: Layer already exists 11:55:17 b986305e0347: Layer already exists 11:55:17 3c20671a5817: Layer already exists 11:55:17 91ab2d1966be996543f139896746dd83b19c5706-3.2.0-dev.20: digest: sha256:80b1da47b9727881960639a3636e1c2795aa5bfeb3f5339768b2d9f4bbae331c size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:55:17 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:55:18 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 11:55:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 11:55:18 6d7046f0533f: Preparing 11:55:18 a43d336c3ba0: Preparing 11:55:18 4c0171807a62: Preparing 11:55:18 b986305e0347: Preparing 11:55:18 91f93fbae55e: Preparing 11:55:18 3c20671a5817: Preparing 11:55:18 3c20671a5817: Waiting 11:55:18 91f93fbae55e: Layer already exists 11:55:18 4c0171807a62: Layer already exists 11:55:18 6d7046f0533f: Layer already exists 11:55:18 b986305e0347: Layer already exists 11:55:18 a43d336c3ba0: Layer already exists 11:55:18 3c20671a5817: Layer already exists 11:55:18 main: digest: sha256:80b1da47b9727881960639a3636e1c2795aa5bfeb3f5339768b2d9f4bbae331c size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:55:18 ===================================================== [Pipeline] echo 11:55:18 taggedImages: 11:55:18 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:91ab2d1966be996543f139896746dd83b19c5706 11:55:18 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 11:55:18 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.2.0-dev.20 11:55:18 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:91ab2d1966be996543f139896746dd83b19c5706-3.2.0-dev.20 11:55:18 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:55:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:55:18 11:55:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:55:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:55:19 arm64: Pulling from edgex-lftools-log-publisher 11:55:19 8998bd30e6a1: Pulling fs layer 11:55:19 04944245beec: Pulling fs layer 11:55:19 699f458cf7ca: Pulling fs layer 11:55:19 765212b225bb: Pulling fs layer 11:55:19 f23df028b6ca: Pulling fs layer 11:55:19 d65c8cfc05b1: Pulling fs layer 11:55:19 2437ff75d9bd: Pulling fs layer 11:55:19 f23df028b6ca: Waiting 11:55:19 d65c8cfc05b1: Waiting 11:55:19 2437ff75d9bd: Waiting 11:55:19 765212b225bb: Waiting 11:55:19 04944245beec: Verifying Checksum 11:55:19 04944245beec: Download complete 11:55:19 765212b225bb: Verifying Checksum 11:55:19 765212b225bb: Download complete 11:55:19 f23df028b6ca: Verifying Checksum 11:55:19 f23df028b6ca: Download complete 11:55:19 d65c8cfc05b1: Verifying Checksum 11:55:19 d65c8cfc05b1: Download complete 11:55:19 699f458cf7ca: Verifying Checksum 11:55:19 699f458cf7ca: Download complete 11:55:20 8998bd30e6a1: Verifying Checksum 11:55:20 8998bd30e6a1: Download complete 11:55:22 2437ff75d9bd: Verifying Checksum 11:55:22 2437ff75d9bd: Download complete 11:55:24 8998bd30e6a1: Pull complete 11:55:25 04944245beec: Pull complete 11:55:26 699f458cf7ca: Pull complete 11:55:26 765212b225bb: Pull complete 11:55:27 f23df028b6ca: Pull complete 11:55:27 d65c8cfc05b1: Pull complete 11:55:46 2437ff75d9bd: Pull complete 11:55:46 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 11:55:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:55:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:55:46 prd-ubuntu20.04-docker-arm64-4c-16g-6762 does not seem to be running inside a container 11:55:46 $ 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/176 -v /w/workspace/device-virtual-go/176:/w/workspace/device-virtual-go/176:rw,z -v /w/workspace/device-virtual-go/176@tmp:/w/workspace/device-virtual-go/176@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 11:55:48 $ docker top 83a513702962b50685147983c3dc5a3181cb85dea13e31c1e0f4637f6ea38836 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:55:49 ---> job-cost.sh 11:55:49 lf-activate-venv: SKIPPING 11:55:49 INFO: No Stack... 11:55:49 INFO: Retrieving Pricing Info for: v3-standard-4 11:55:50 INFO: Archiving Costs [Pipeline] sh 11:55:51 + cat /w/workspace/device-virtual-go/176/archives/cost.csv 11:55:51 + cut -d, -f6 [Pipeline] lock 11:55:51 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-main-176-stack-cost] 11:55:51 Resource [jenkins-edgexfoundry-device-virtual-go-main-176-stack-cost] did not exist. Created. 11:55:51 Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-main-176-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:55:52 /w/workspace/device-virtual-go/176@tmp/durable-64a5dd1d/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 11:55:52 + echo total: 0.10999999940395355 [Pipeline] stash 11:55:52 Warning: overwriting stash ‘stack-cost’ 11:55:53 Stashed 1 file(s) [Pipeline] } 11:55:53 Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-main-176-stack-cost] [Pipeline] // lock [Pipeline] } 11:55:53 $ docker stop --time=1 83a513702962b50685147983c3dc5a3181cb85dea13e31c1e0f4637f6ea38836 11:55:54 $ docker rm -f --volumes 83a513702962b50685147983c3dc5a3181cb85dea13e31c1e0f4637f6ea38836 [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 11:55:55 provisioning config files... 11:55:55 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config16644287141843806592tmp [Pipeline] { [Pipeline] sh 11:55:55 + set +x 11:55:55 + + curl -s https://codecov.io/bash 11:55:55 bash -s -- 11:55:55 11:55:55 _____ _ 11:55:55 / ____| | | 11:55:55 | | ___ __| | ___ ___ _____ __ 11:55:55 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 11:55:55 | |___| (_) | (_| | __/ (_| (_) \ V / 11:55:55 \_____\___/ \__,_|\___|\___\___/ \_/ 11:55:55 Bash-1.0.6 11:55:55 11:55:55 11:55:55 ==> git version 2.25.1 found 11:55:55 ==> 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 11:55:55 Release-Date: 2020-01-08 11:55:55 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 11:55:55 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 11:55:55 ==> Jenkins CI detected. 11:55:55 current dir:  /w/workspace/exfoundry_device-virtual-go_main 11:55:55 project root: . 11:55:55 --> token set from env 11:55:55 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 11:55:55 ==> Running gcov in . (disable via -X gcov) 11:55:55 ==> Python coveragepy not found 11:55:55 ==> Searching for coverage reports in: 11:55:55 + . 11:55:55 -> Found 1 reports 11:55:55 ==> Detecting git/mercurial file structure 11:55:55 ==> Reading reports 11:55:55 + ./coverage.out bytes=43247 11:55:55 ==> Appending adjustments 11:55:55 https://docs.codecov.io/docs/fixing-reports 11:55:55 + Found adjustments 11:55:55 ==> Gzipping contents 11:55:55 8.0K /tmp/codecov.qpszmv.gz 11:55:55 ==> Uploading reports 11:55:55 url: https://codecov.io 11:55:55 query: branch=main&commit=91ab2d1966be996543f139896746dd83b19c5706&build=176&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F176%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 11:55:55 -> Pinging Codecov 11:55:55 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=91ab2d1966be996543f139896746dd83b19c5706&build=176&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F176%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 11:55:55 -> Uploading to 11:55:55 https://storage.googleapis.com/codecov/v4/raw/2024-07-30/5E52B4B073DB2E39498172D8E973AA87/91ab2d1966be996543f139896746dd83b19c5706/5e97165f-ef6b-4729-98ce-71f4c50859db.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240730%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240730T115555Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6309f5f4a9a6c1fb5ecea15867a6ccb4009bf02b265741c3b62b57af866ee5bc 11:55:55 % Total % Received % Xferd Average Speed Time Time Time Current 11:55:55 Dload Upload Total Spent Left Speed 11:55:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5022 0 0 100 5022 0 6687 --:--:-- --:--:-- --:--:-- 6687 11:55:56 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/91ab2d1966be996543f139896746dd83b19c5706 [Pipeline] } 11:55:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 11:55:56 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 11:55:56 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:55:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 11:55:57 11:55:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:55:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 11:55:57 latest: Pulling from edgex-devops/edgex-snyk-go 11:55:57 619be1103602: Already exists 11:55:57 f8ea3408117e: Pulling fs layer 11:55:57 91320369b822: Pulling fs layer 11:55:57 0406650e8295: Pulling fs layer 11:55:57 4f4fb700ef54: Pulling fs layer 11:55:57 96d80e3f36e1: Pulling fs layer 11:55:57 bcf3aedb951c: Pulling fs layer 11:55:57 96d80e3f36e1: Waiting 11:55:57 bcf3aedb951c: Waiting 11:55:57 4f4fb700ef54: Waiting 11:55:57 0406650e8295: Verifying Checksum 11:55:57 0406650e8295: Download complete 11:55:57 f8ea3408117e: Verifying Checksum 11:55:57 4f4fb700ef54: Verifying Checksum 11:55:57 4f4fb700ef54: Download complete 11:55:57 f8ea3408117e: Pull complete 11:55:57 96d80e3f36e1: Verifying Checksum 11:55:57 96d80e3f36e1: Download complete 11:55:57 91320369b822: Verifying Checksum 11:55:57 91320369b822: Download complete 11:55:58 bcf3aedb951c: Verifying Checksum 11:55:58 bcf3aedb951c: Download complete 11:56:01 91320369b822: Pull complete 11:56:01 0406650e8295: Pull complete 11:56:01 4f4fb700ef54: Pull complete 11:56:01 96d80e3f36e1: Pull complete 11:56:04 bcf3aedb951c: Pull complete 11:56:04 Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 11:56:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 11:56:04 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:56:04 prd-ubuntu20.04-docker-8c-8g-6761 does not seem to be running inside a container 11:56:04 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 11:56:09 $ docker top 5ceed9d3bf508c46d101a3ce043b974a956be6a72f8b75c4cabf9463efa9d1b1 -eo pid,comm [Pipeline] { [Pipeline] sh 11:56:09 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] echo 11:56:09 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh 11:56:10 + set -o pipefail 11:56:10 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' 11:56:20 11:56:20 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 11:56:20 11:56:20 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/4c51b4af-f1e0-4b23-b385-fd75a099f123/history/2826559f-f47d-4a68-ab00-0424347eb84c 11:56:20 11:56:20 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 11:56:20 11:56:20 11:56:20 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 11:56:20 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 11:56:20 $ docker stop --time=1 5ceed9d3bf508c46d101a3ce043b974a956be6a72f8b75c4cabf9463efa9d1b1 11:56:24 $ docker rm -f --volumes 5ceed9d3bf508c46d101a3ce043b974a956be6a72f8b75c4cabf9463efa9d1b1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [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) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:56:25 + git log --format=format:%s -1 91ab2d1966be996543f139896746dd83b19c5706 [Pipeline] sh 11:56:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:56:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:56:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:56:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:56:26 prd-ubuntu20.04-docker-8c-8g-6761 does not seem to be running inside a container 11:56:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 11:56:26 $ docker top 1a928dff52949836e24b1cf427cd8b040a4a1687242d81d91e1803ab2ae35c92 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:56:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:56:26 [ssh-agent] Looking for ssh-agent implementation... 11:56:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:56:27 $ docker exec 1a928dff52949836e24b1cf427cd8b040a4a1687242d81d91e1803ab2ae35c92 ssh-agent 11:56:27 SSH_AUTH_SOCK=/tmp/ssh-BLQ7jeRPvygt/agent.32 11:56:27 SSH_AGENT_PID=38 11:56:27 Running ssh-add (command line suppressed) 11:56:27 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_975687372350572488.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_975687372350572488.key) 11:56:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:56:27 + git semver tag 11:56:27 2024-07-30 11:56:27,736 [run_tag] DEBUG tag force:False 11:56:27 2024-07-30 11:56:27,736 [check_head_tag] DEBUG check head tag 11:56:27 2024-07-30 11:56:27,737 [execute] INFO git cat-file --batch-check 11:56:27 2024-07-30 11:56:27,737 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 11:56:27 2024-07-30 11:56:27,741 [execute] INFO git cat-file --batch 11:56:27 2024-07-30 11:56:27,741 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 11:56:27 2024-07-30 11:56:27,761 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 11:56:27 2024-07-30 11:56:27,761 [execute] INFO git tag -a v3.2.0-dev.20 -m v3.2.0-dev.20 11:56:27 2024-07-30 11:56:27,762 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.20', '-m', 'v3.2.0-dev.20'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 11:56:27 2024-07-30 11:56:27,766 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 11:56:27 3.2.0-dev.20 [Pipeline] } 11:56:27 $ docker exec --env ******** --env ******** 1a928dff52949836e24b1cf427cd8b040a4a1687242d81d91e1803ab2ae35c92 ssh-agent -k 11:56:27 unset SSH_AUTH_SOCK; 11:56:27 unset SSH_AGENT_PID; 11:56:27 echo Agent pid 38 killed; 11:56:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:56:28 + git semver [Pipeline] } 11:56:28 $ docker stop --time=1 1a928dff52949836e24b1cf427cd8b040a4a1687242d81d91e1803ab2ae35c92 11:56:29 $ docker rm -f --volumes 1a928dff52949836e24b1cf427cd8b040a4a1687242d81d91e1803ab2ae35c92 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:56:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:56:30 11:56:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:56:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:56:30 0.23.1-centos7: Pulling from edgex-lftools 11:56:30 ab5ef0e58194: Pulling fs layer 11:56:30 9712f1f96733: Pulling fs layer 11:56:30 63f879dbbcfc: Pulling fs layer 11:56:30 0d9ebad4ef96: Pulling fs layer 11:56:30 e9a5061849ea: Pulling fs layer 11:56:30 d747dcd14b5f: Pulling fs layer 11:56:30 0d9ebad4ef96: Waiting 11:56:30 e9a5061849ea: Waiting 11:56:30 2de7ff778b66: Pulling fs layer 11:56:30 d747dcd14b5f: Waiting 11:56:30 2de7ff778b66: Waiting 11:56:30 9712f1f96733: Verifying Checksum 11:56:30 9712f1f96733: Download complete 11:56:30 63f879dbbcfc: Download complete 11:56:31 e9a5061849ea: Verifying Checksum 11:56:31 e9a5061849ea: Download complete 11:56:31 d747dcd14b5f: Download complete 11:56:31 0d9ebad4ef96: Verifying Checksum 11:56:31 0d9ebad4ef96: Download complete 11:56:31 ab5ef0e58194: Download complete 11:56:31 2de7ff778b66: Verifying Checksum 11:56:31 2de7ff778b66: Download complete 11:56:33 ab5ef0e58194: Pull complete 11:56:33 9712f1f96733: Pull complete 11:56:34 63f879dbbcfc: Pull complete 11:56:37 0d9ebad4ef96: Pull complete 11:56:37 e9a5061849ea: Pull complete 11:56:37 d747dcd14b5f: Pull complete 11:56:38 2de7ff778b66: Pull complete 11:56:38 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 11:56:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:56:38 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:56:38 prd-ubuntu20.04-docker-8c-8g-6761 does not seem to be running inside a container 11:56:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 11:56:43 $ docker top 67bcf2119b1a660b596e7774393399bd08bdda0ee1219d7ce7e376966ce22273 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 11:56:43 provisioning config files... 11:56:43 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config6854444825577738574tmp 11:56:43 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config16390032820142579621tmp 11:56:43 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config3505006620944156004tmp [Pipeline] { [Pipeline] echo 11:56:43 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 11:56:43 ---> sigul-configuration.sh 11:56:43 gpg: directory `/root/.gnupg' created 11:56:43 gpg: new configuration file `/root/.gnupg/gpg.conf' created 11:56:43 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 11:56:43 gpg: keyring `/root/.gnupg/secring.gpg' created 11:56:43 gpg: keyring `/root/.gnupg/pubring.gpg' created 11:56:43 gpg: CAST5 encrypted data 11:56:43 gpg: encrypted with 1 passphrase 11:56:43 gpg: WARNING: message was not integrity protected [Pipeline] sh 11:56:44 + mkdir /home/jenkins 11:56:44 + mkdir /home/jenkins/sigul [Pipeline] sh 11:56:44 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 11:56:44 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 11:56:44 ---> sigul-install.sh 11:56:44 Sigul already installed; skipping installation. [Pipeline] sh 11:56:45 + git tag --list 11:56:45 v1.0.0 11:56:45 v1.1.0 11:56:45 v1.1.1 11:56:45 v1.2.1 11:56:45 v1.2.2 11:56:45 v1.2.3 11:56:45 v1.3.0 11:56:45 v1.3.1 11:56:45 v2.0.0 11:56:45 v2.1.0 11:56:45 v2.1.1 11:56:45 v2.2.0 11:56:45 v2.3.0 11:56:45 v3.0 11:56:45 v3.0.0 11:56:45 v3.1 11:56:45 v3.1.0 11:56:45 v3.1.0-dev.1 11:56:45 v3.1.0-dev.10 11:56:45 v3.1.0-dev.11 11:56:45 v3.1.0-dev.12 11:56:45 v3.1.0-dev.13 11:56:45 v3.1.0-dev.14 11:56:45 v3.1.0-dev.15 11:56:45 v3.1.0-dev.16 11:56:45 v3.1.0-dev.17 11:56:45 v3.1.0-dev.18 11:56:45 v3.1.0-dev.19 11:56:45 v3.1.0-dev.2 11:56:45 v3.1.0-dev.20 11:56:45 v3.1.0-dev.21 11:56:45 v3.1.0-dev.22 11:56:45 v3.1.0-dev.23 11:56:45 v3.1.0-dev.24 11:56:45 v3.1.0-dev.25 11:56:45 v3.1.0-dev.26 11:56:45 v3.1.0-dev.27 11:56:45 v3.1.0-dev.28 11:56:45 v3.1.0-dev.29 11:56:45 v3.1.0-dev.3 11:56:45 v3.1.0-dev.30 11:56:45 v3.1.0-dev.4 11:56:45 v3.1.0-dev.5 11:56:45 v3.1.0-dev.6 11:56:45 v3.1.0-dev.7 11:56:45 v3.1.0-dev.8 11:56:45 v3.1.0-dev.9 11:56:45 v3.1.1 11:56:45 v3.1.1-dev.1 11:56:45 v3.2.0-dev.1 11:56:45 v3.2.0-dev.10 11:56:45 v3.2.0-dev.11 11:56:45 v3.2.0-dev.12 11:56:45 v3.2.0-dev.13 11:56:45 v3.2.0-dev.14 11:56:45 v3.2.0-dev.15 11:56:45 v3.2.0-dev.16 11:56:45 v3.2.0-dev.17 11:56:45 v3.2.0-dev.18 11:56:45 v3.2.0-dev.19 11:56:45 v3.2.0-dev.2 11:56:45 v3.2.0-dev.20 11:56:45 v3.2.0-dev.3 11:56:45 v3.2.0-dev.4 11:56:45 v3.2.0-dev.5 11:56:45 v3.2.0-dev.6 11:56:45 v3.2.0-dev.7 11:56:45 v3.2.0-dev.8 11:56:45 v3.2.0-dev.9 [Pipeline] sh 11:56:45 + lftools sign git-tag v3.2.0-dev.20 11:56:45 Signing Git tag with Sigul... 11:56:45 Signing v3.2.0-dev.20 [Pipeline] echo 11:56:46 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 11:56:46 ---> sigul-configuration-cleanup.sh [Pipeline] } 11:56:46 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 11:56:46 $ docker stop --time=1 67bcf2119b1a660b596e7774393399bd08bdda0ee1219d7ce7e376966ce22273 11:56:48 $ docker rm -f --volumes 67bcf2119b1a660b596e7774393399bd08bdda0ee1219d7ce7e376966ce22273 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 11:56:48 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:56:48 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:56:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:56:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:56:49 prd-ubuntu20.04-docker-8c-8g-6761 does not seem to be running inside a container 11:56:49 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 11:56:49 $ docker top b31d53c0cbb04faea061a2622df6b307292d6d003a38f6eabe58c9a70aa6f730 -eo pid,comm 11:56:49 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). 11:56:49 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:56:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:56:49 [ssh-agent] Looking for ssh-agent implementation... 11:56:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:56:49 $ docker exec b31d53c0cbb04faea061a2622df6b307292d6d003a38f6eabe58c9a70aa6f730 ssh-agent 11:56:49 SSH_AUTH_SOCK=/tmp/ssh-V7Wic3uy7DTQ/agent.33 11:56:49 SSH_AGENT_PID=39 11:56:49 Running ssh-add (command line suppressed) 11:56:49 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_17355189934969708888.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_17355189934969708888.key) 11:56:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:56:50 + git semver bump pre 11:56:50 2024-07-30 11:56:50,346 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 11:56:50 2024-07-30 11:56:50,346 [bump_version] DEBUG bumping version:3.2.0-dev.20 on axis:pre with prefix:dev 11:56:50 2024-07-30 11:56:50,346 [bump_version] DEBUG bumped version:3.2.0-dev.21 11:56:50 2024-07-30 11:56:50,346 [write_version] DEBUG write version:3.2.0-dev.21 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True 11:56:50 2024-07-30 11:56:50,346 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 11:56:50 2024-07-30 11:56:50,346 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main 11:56:50 2024-07-30 11:56:50,348 [execute] INFO git cat-file --batch-check 11:56:50 2024-07-30 11:56:50,348 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 11:56:50 2024-07-30 11:56:50,353 [execute] INFO git cat-file --batch 11:56:50 2024-07-30 11:56:50,354 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 11:56:50 2024-07-30 11:56:50,358 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 11:56:50 3.2.0-dev.21 [Pipeline] } 11:56:50 $ docker exec --env ******** --env ******** b31d53c0cbb04faea061a2622df6b307292d6d003a38f6eabe58c9a70aa6f730 ssh-agent -k 11:56:50 unset SSH_AUTH_SOCK; 11:56:50 unset SSH_AGENT_PID; 11:56:50 echo Agent pid 39 killed; 11:56:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:56:50 + git semver [Pipeline] } 11:56:51 $ docker stop --time=1 b31d53c0cbb04faea061a2622df6b307292d6d003a38f6eabe58c9a70aa6f730 11:56:52 $ docker rm -f --volumes b31d53c0cbb04faea061a2622df6b307292d6d003a38f6eabe58c9a70aa6f730 [Pipeline] // withDockerContainer [Pipeline] sh 11:56:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:56:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:56:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:56:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:56:53 prd-ubuntu20.04-docker-8c-8g-6761 does not seem to be running inside a container 11:56:53 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 11:56:53 $ docker top d6908dda604861468f4a42fdafecd5e29a5e5751eaa73f2e4a8d820567bff71b -eo pid,comm 11:56:53 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). 11:56:53 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:56:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:56:53 [ssh-agent] Looking for ssh-agent implementation... 11:56:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:56:53 $ docker exec d6908dda604861468f4a42fdafecd5e29a5e5751eaa73f2e4a8d820567bff71b ssh-agent 11:56:53 SSH_AUTH_SOCK=/tmp/ssh-HHY8uC3AsgYG/agent.32 11:56:53 SSH_AGENT_PID=38 11:56:53 Running ssh-add (command line suppressed) 11:56:53 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8435969833699184687.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8435969833699184687.key) 11:56:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:56:54 + git semver push 11:56:54 2024-07-30 11:56:54,441 [run_push] DEBUG push 11:56:54 2024-07-30 11:56:54,441 [execute] INFO git cat-file --batch-check 11:56:54 2024-07-30 11:56:54,442 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 11:56:54 2024-07-30 11:56:54,445 [execute] INFO git rev-list 54a2ddf895251cd487e62120f8edf76bc5c0994b -- 11:56:54 2024-07-30 11:56:54,445 [execute] DEBUG Popen(['git', 'rev-list', '54a2ddf895251cd487e62120f8edf76bc5c0994b', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 11:56:54 2024-07-30 11:56:54,456 [execute] INFO git fetch -v origin 11:56:54 2024-07-30 11:56:54,456 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) 11:56:55 2024-07-30 11:56:54,944 [run_push] DEBUG no remote changes detected 11:56:55 2024-07-30 11:56:54,944 [execute] INFO git push origin semver 11:56:55 2024-07-30 11:56:54,945 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 11:56:56 2024-07-30 11:56:55,780 [run_push] DEBUG push all version tags 11:56:56 2024-07-30 11:56:55,780 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 11:56:56 2024-07-30 11:56:55,781 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 11:56:56 2024-07-30 11:56:56,475 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 11:56:56 3.2.0-dev.21 [Pipeline] } 11:56:56 $ docker exec --env ******** --env ******** d6908dda604861468f4a42fdafecd5e29a5e5751eaa73f2e4a8d820567bff71b ssh-agent -k 11:56:56 unset SSH_AUTH_SOCK; 11:56:56 unset SSH_AGENT_PID; 11:56:56 echo Agent pid 38 killed; 11:56:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:56:57 + git semver [Pipeline] } 11:56:57 $ docker stop --time=1 d6908dda604861468f4a42fdafecd5e29a5e5751eaa73f2e4a8d820567bff71b 11:56:58 $ docker rm -f --volumes d6908dda604861468f4a42fdafecd5e29a5e5751eaa73f2e4a8d820567bff71b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" 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 11:56:59 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 11:56:59 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 11:56:59 total 16 11:56:59 drwxr-xr-x 3 root root 4096 Jul 30 11:45 . 11:56:59 drwxrwxr-x 9 jenkins jenkins 4096 Jul 30 11:56 .. 11:56:59 drwxr-xr-x 2 root root 4096 Jul 30 11:45 cost 11:56:59 -rw-r--r-- 1 root root 89 Jul 30 11:45 cost.csv 11:56:59 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 11:56:59 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 11:56:59 total 16 11:56:59 drwxr-xr-x 3 jenkins jenkins 4096 Jul 30 11:45 . 11:56:59 drwxrwxr-x 9 jenkins jenkins 4096 Jul 30 11:56 .. 11:56:59 drwxr-xr-x 2 jenkins jenkins 4096 Jul 30 11:45 cost 11:56:59 -rw-r--r-- 1 jenkins jenkins 89 Jul 30 11:45 cost.csv [Pipeline] libraryResource [Pipeline] sh 11:56:59 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:57:00 ---> package-listing.sh 11:57:00 ++ facter osfamily 11:57:00 ++ tr '[:upper:]' '[:lower:]' 11:57:00 + OS_FAMILY=debian 11:57:00 + workspace=/w/workspace/exfoundry_device-virtual-go_main 11:57:00 + START_PACKAGES=/tmp/packages_start.txt 11:57:00 + END_PACKAGES=/tmp/packages_end.txt 11:57:00 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:57:00 + PACKAGES=/tmp/packages_start.txt 11:57:00 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 11:57:00 + PACKAGES=/tmp/packages_end.txt 11:57:00 + case "${OS_FAMILY}" in 11:57:00 + dpkg -l 11:57:00 + grep '^ii' 11:57:00 + '[' -f /tmp/packages_start.txt ']' 11:57:00 + '[' -f /tmp/packages_end.txt ']' 11:57:00 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:57:00 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 11:57:00 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 11:57:00 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 11:57:00 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/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 11:57:01 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:57:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:57:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:57:01 prd-ubuntu20.04-docker-8c-8g-6761 does not seem to be running inside a container 11:57:01 $ 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/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:57:01 $ docker top 79c695631e7f73d866180d768685389c320fc790335ed0ef6c12a66a05e24de5 -eo pid,comm [Pipeline] { [Pipeline] sh 11:57:02 + touch /tmp/pre-build-complete [Pipeline] sh 11:57:02 + mkdir -p /var/log/sysstat [Pipeline] sh 11:57:02 + ls /var/log/sa-host 11:57:02 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:57:03 provisioning config files... 11:57:03 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7964656916512954314tmp [Pipeline] { [Pipeline] echo 11:57:03 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:57:03 ---> create-netrc.sh [Pipeline] } 11:57:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:57:03 ---> python-tools-install.sh [Pipeline] echo 11:57:03 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:57:03 ---> sudo-logs.sh 11:57:03 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 11:57:04 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:57:04 ---> job-cost.sh 11:57:04 lf-activate-venv: SKIPPING 11:57:04 DEBUG: total: 0.2199999988079071 11:57:04 INFO: Retrieving Stack Cost... 11:57:04 INFO: Retrieving Pricing Info for: v3-standard-8 11:57:04 INFO: Archiving Costs [Pipeline] echo 11:57:04 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:57:05 ---> logs-deploy.sh 11:57:05 lf-activate-venv: SKIPPING 11:57:05 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/176 11:57:05 INFO: archiving workspace using pattern(s): 11:57:06 Archives upload complete. 11:57:06 INFO: archiving logs to Nexus