Push event to branch dependabot-daily Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 27042ad94e32903ce54c6bea518efcfbb814133f 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-ssh45755788880159883.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh15606072636140697859.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 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/dependabot-daily/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/dependabot-daily/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1369829036893469214.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/dependabot-daily/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12092009796341216642.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh14228652108578355192.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/dependabot-daily/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/dependabot-daily/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1321891001787553338.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a 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.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-517 in /w/workspace/vice-virtual-go_dependabot-daily [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/vice-virtual-go_dependabot-daily # 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 Avoid second fetch Checking out Revision 27042ad94e32903ce54c6bea518efcfbb814133f (dependabot-daily) > 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 Commit message: "ci: Change dependabot gomod schedule to daily" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:42:58 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:42:58 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:42:58 ========================================================= 15:42:58 EdgeX Global Pipelines Version Info 15:42:58 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 27042ad94e32903ce54c6bea518efcfbb814133f # timeout=10 15:42:59 ------------------- 15:42:59 stable info: 15:42:59 ------------------- 15:42:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:42:59 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 15:42:59 Message: update stable to v1.0.245 15:43:00 ------------------- 15:43:00 experimental info: 15:43:00 ------------------- 15:43:00 Commited By: **** collab-it+edgex@linuxfoundation.org 15:43:00 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 15:43:00 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:43:00 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 15:43:00 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 15:43:00 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:43:00 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:43:00 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:43:00 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 15:43:00 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:43:00 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:43:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:43:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:43:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:43:00 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 15:43:00 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:43:00 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:43:01 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:43:01 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:43:01 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:43:01 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:43:01 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:43:01 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:43:01 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:43:01 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:43:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:43:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:43:01 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:43:01 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:43:01 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:43:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = dependabot-daily [Pipeline] echo 15:43:01 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = dependabot-daily [Pipeline] echo 15:43:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = dependabot-daily [Pipeline] echo 15:43:01 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 27042ad94e32903ce54c6bea518efcfbb814133f [Pipeline] echo 15:43:01 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 27042ad [Pipeline] echo 15:43:01 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:43:01 provisioning config files... 15:43:01 copy managed file [device-virtual-go-settings] to file:/w/workspace/vice-virtual-go_dependabot-daily@tmp/config16994784770784079128tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:43:02 ---> docker-login.sh 15:43:02 nexus3.edgexfoundry.org:10001 15:43:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:43:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:43:02 Configure a credential helper to remove this warning. See 15:43:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:43:02 15:43:02 Login Succeeded 15:43:02 nexus3.edgexfoundry.org:10002 15:43:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:43:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:43:02 Configure a credential helper to remove this warning. See 15:43:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:43:02 15:43:02 Login Succeeded 15:43:02 nexus3.edgexfoundry.org:10003 15:43:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:43:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:43:02 Configure a credential helper to remove this warning. See 15:43:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:43:02 15:43:02 Login Succeeded 15:43:02 nexus3.edgexfoundry.org:10004 15:43:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:43:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:43:02 Configure a credential helper to remove this warning. See 15:43:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:43:02 15:43:02 Login Succeeded 15:43:02 docker.io 15:43:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:43:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:43:03 Configure a credential helper to remove this warning. See 15:43:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:43:03 15:43:03 Login Succeeded 15:43:03 ---> docker-login.sh ends [Pipeline] } 15:43:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:43:03 + git rev-list -1 --merges 27042ad94e32903ce54c6bea518efcfbb814133f~1..27042ad94e32903ce54c6bea518efcfbb814133f [Pipeline] echo 15:43:03 -----------> git rev-list -1 --merges 27042ad94e32903ce54c6bea518efcfbb814133f~1..27042ad94e32903ce54c6bea518efcfbb814133f 27042ad94e32903ce54c6bea518efcfbb814133f [false] [Pipeline] sh 15:43:04 + git log --format=format:%s -1 27042ad94e32903ce54c6bea518efcfbb814133f [Pipeline] echo 15:43:04 ========================================================= 15:43:04 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:43:04 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:43:04 + git log --format=format:%s -1 27042ad94e32903ce54c6bea518efcfbb814133f [Pipeline] echo 15:43:04 [semverPrep] GIT_COMMIT: 27042ad94e32903ce54c6bea518efcfbb814133f, Commit Message: ci: Change dependabot gomod schedule to daily [Pipeline] echo 15:43:04 [semverPrep] This is not a build commit. [Pipeline] sh 15:43:05 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:43:05 + grep -v github /etc/ssh/ssh_known_hosts 15:43:05 + [ -e /tmp/ssh_known_hosts ] 15:43:05 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:43:05 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=+ 15:43:05 sudo tee -a /etc/ssh/ssh_known_hosts 15:43:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:43:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:43:05 15:43:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:43:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:43:05 0.1.4: Pulling from edgex-devops/py-git-semver 15:43:05 b85a868b505f: Pulling fs layer 15:43:05 e2be974225ed: Pulling fs layer 15:43:05 339a4e72a1f5: Pulling fs layer 15:43:05 988bab9f4d93: Pulling fs layer 15:43:05 1469e6f7b9e6: Pulling fs layer 15:43:05 eaf3925da568: Pulling fs layer 15:43:05 bab4dde63d76: Pulling fs layer 15:43:05 bde34c3a00c8: Pulling fs layer 15:43:05 b352a97aabf1: Pulling fs layer 15:43:05 4872d77fe225: Pulling fs layer 15:43:05 5851b861e8e6: Pulling fs layer 15:43:05 988bab9f4d93: Waiting 15:43:05 1469e6f7b9e6: Waiting 15:43:05 bde34c3a00c8: Waiting 15:43:05 eaf3925da568: Waiting 15:43:05 bab4dde63d76: Waiting 15:43:05 4872d77fe225: Waiting 15:43:05 e2be974225ed: Verifying Checksum 15:43:05 e2be974225ed: Download complete 15:43:05 988bab9f4d93: Verifying Checksum 15:43:05 988bab9f4d93: Download complete 15:43:06 339a4e72a1f5: Verifying Checksum 15:43:06 339a4e72a1f5: Download complete 15:43:06 1469e6f7b9e6: Verifying Checksum 15:43:06 1469e6f7b9e6: Download complete 15:43:06 eaf3925da568: Verifying Checksum 15:43:06 eaf3925da568: Download complete 15:43:06 bde34c3a00c8: Verifying Checksum 15:43:06 bde34c3a00c8: Download complete 15:43:06 b352a97aabf1: Verifying Checksum 15:43:06 b352a97aabf1: Download complete 15:43:06 4872d77fe225: Download complete 15:43:06 b85a868b505f: Verifying Checksum 15:43:06 b85a868b505f: Download complete 15:43:06 5851b861e8e6: Verifying Checksum 15:43:06 5851b861e8e6: Download complete 15:43:06 bab4dde63d76: Verifying Checksum 15:43:06 bab4dde63d76: Download complete 15:43:07 b85a868b505f: Pull complete 15:43:07 e2be974225ed: Pull complete 15:43:07 339a4e72a1f5: Pull complete 15:43:08 988bab9f4d93: Pull complete 15:43:08 1469e6f7b9e6: Pull complete 15:43:08 eaf3925da568: Pull complete 15:43:10 bab4dde63d76: Pull complete 15:43:10 bde34c3a00c8: Pull complete 15:43:11 b352a97aabf1: Pull complete 15:43:11 4872d77fe225: Pull complete 15:43:11 5851b861e8e6: Pull complete 15:43:11 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 15:43:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:43:11 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:43:11 prd-ubuntu20.04-docker-8c-8g-517 does not seem to be running inside a container 15:43:11 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/vice-virtual-go_dependabot-daily -v /w/workspace/vice-virtual-go_dependabot-daily:/w/workspace/vice-virtual-go_dependabot-daily:rw,z -v /w/workspace/vice-virtual-go_dependabot-daily@tmp:/w/workspace/vice-virtual-go_dependabot-daily@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:43:14 $ docker top 5bbb47f3c0e47f62a87bdf1f05908a2857c817bb748dc968506a0bb4a2943680 -eo pid,comm 15:43:14 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). 15:43:14 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:43:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:43:14 [ssh-agent] Looking for ssh-agent implementation... 15:43:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:43:14 $ docker exec 5bbb47f3c0e47f62a87bdf1f05908a2857c817bb748dc968506a0bb4a2943680 ssh-agent 15:43:14 SSH_AUTH_SOCK=/tmp/ssh-O5FxDnPu9nCS/agent.31 15:43:14 SSH_AGENT_PID=37 15:43:14 Running ssh-add (command line suppressed) 15:43:14 Identity added: /w/workspace/vice-virtual-go_dependabot-daily@tmp/private_key_5104009324540110011.key (/w/workspace/vice-virtual-go_dependabot-daily@tmp/private_key_5104009324540110011.key) 15:43:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:43:15 + git tag --points-at HEAD [Pipeline] } 15:43:15 $ docker exec --env ******** --env ******** 5bbb47f3c0e47f62a87bdf1f05908a2857c817bb748dc968506a0bb4a2943680 ssh-agent -k 15:43:15 unset SSH_AUTH_SOCK; 15:43:15 unset SSH_AGENT_PID; 15:43:15 echo Agent pid 37 killed; 15:43:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:43:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:43:15 [ssh-agent] Looking for ssh-agent implementation... 15:43:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:43:15 $ docker exec 5bbb47f3c0e47f62a87bdf1f05908a2857c817bb748dc968506a0bb4a2943680 ssh-agent 15:43:15 SSH_AUTH_SOCK=/tmp/ssh-bNk6sKswWWF4/agent.69 15:43:15 SSH_AGENT_PID=75 15:43:15 Running ssh-add (command line suppressed) 15:43:15 Identity added: /w/workspace/vice-virtual-go_dependabot-daily@tmp/private_key_4762571951435849545.key (/w/workspace/vice-virtual-go_dependabot-daily@tmp/private_key_4762571951435849545.key) 15:43:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:43:16 + git semver init 15:43:16 2023-03-15 15:43:16,409 [run_init] DEBUG init version:0.0.0 force:False 15:43:16 2023-03-15 15:43:16,410 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/vice-virtual-go_dependabot-daily/.semver 15:43:16 2023-03-15 15:43:16,410 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/vice-virtual-go_dependabot-daily/.semver 15:43:16 2023-03-15 15:43:16,410 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/vice-virtual-go_dependabot-daily/.semver'], cwd=/w/workspace/vice-virtual-go_dependabot-daily, universal_newlines=False, shell=None, istream=None) 15:43:17 2023-03-15 15:43:17,404 [append_file] DEBUG append to file:/w/workspace/vice-virtual-go_dependabot-daily/.git/info/exclude 15:43:17 2023-03-15 15:43:17,404 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/vice-virtual-go_dependabot-daily/.semver/dependabot-daily with force:False 15:43:17 2023-03-15 15:43:17,405 [write_file] DEBUG write to file:/w/workspace/vice-virtual-go_dependabot-daily/.semver/dependabot-daily 15:43:17 2023-03-15 15:43:17,409 [execute] INFO git cat-file --batch-check 15:43:17 2023-03-15 15:43:17,409 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/vice-virtual-go_dependabot-daily/.semver, universal_newlines=False, shell=None, istream=) 15:43:17 2023-03-15 15:43:17,415 [execute] INFO git cat-file --batch 15:43:17 2023-03-15 15:43:17,415 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/vice-virtual-go_dependabot-daily/.semver, universal_newlines=False, shell=None, istream=) 15:43:17 2023-03-15 15:43:17,420 [read_version] DEBUG read version from /w/workspace/vice-virtual-go_dependabot-daily/.semver/dependabot-daily 15:43:17 0.0.0 [Pipeline] } 15:43:17 $ docker exec --env ******** --env ******** 5bbb47f3c0e47f62a87bdf1f05908a2857c817bb748dc968506a0bb4a2943680 ssh-agent -k 15:43:17 unset SSH_AUTH_SOCK; 15:43:17 unset SSH_AGENT_PID; 15:43:17 echo Agent pid 75 killed; 15:43:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:43:18 + git semver [Pipeline] } 15:43:18 $ docker stop --time=1 5bbb47f3c0e47f62a87bdf1f05908a2857c817bb748dc968506a0bb4a2943680 15:43:19 $ docker rm -f --volumes 5bbb47f3c0e47f62a87bdf1f05908a2857c817bb748dc968506a0bb4a2943680 [Pipeline] // withDockerContainer [Pipeline] sh 15:43:20 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:43:20 Stashed 1 file(s) [Pipeline] echo 15:43:20 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:43:21 provisioning config files... 15:43:21 copy managed file [device-virtual-go-settings] to file:/w/workspace/vice-virtual-go_dependabot-daily@tmp/config6715979995525876753tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:43:21 ---> docker-login.sh 15:43:21 nexus3.edgexfoundry.org:10001 15:43:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:43:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:43:21 Configure a credential helper to remove this warning. See 15:43:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:43:21 15:43:21 Login Succeeded 15:43:21 nexus3.edgexfoundry.org:10002 15:43:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:43:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:43:21 Configure a credential helper to remove this warning. See 15:43:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:43:21 15:43:21 Login Succeeded 15:43:21 nexus3.edgexfoundry.org:10003 15:43:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:43:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:43:21 Configure a credential helper to remove this warning. See 15:43:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:43:21 15:43:21 Login Succeeded 15:43:21 nexus3.edgexfoundry.org:10004 15:43:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:43:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:43:21 Configure a credential helper to remove this warning. See 15:43:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:43:21 15:43:21 Login Succeeded 15:43:21 docker.io 15:43:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:43:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:43:22 Configure a credential helper to remove this warning. See 15:43:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:43:22 15:43:22 Login Succeeded 15:43:22 ---> docker-login.sh ends [Pipeline] } 15:43:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:43:22 [edgeX.isLTS] Checking if [dependabot-daily] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:43:22 [edgeX.isLTS] Checking if [dependabot-daily] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:43:22 ========================================================= 15:43:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 15:43:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:43:23 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 15:43:23 Sending build context to Docker daemon 23.45MB 15:43:23 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 15:43:23 Step 2/12 : FROM ${BASE} AS builder 15:43:23 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 15:43:23 63b65145d645: Pulling fs layer 15:43:23 a2d21d5440eb: Pulling fs layer 15:43:23 935e6c44a52c: Pulling fs layer 15:43:23 94cc34f8dd06: Pulling fs layer 15:43:23 30dea6a524f1: Pulling fs layer 15:43:23 a2aff8979fd8: Pulling fs layer 15:43:23 6808be2612f2: Pulling fs layer 15:43:23 f25807f1079a: Pulling fs layer 15:43:23 a2aff8979fd8: Waiting 15:43:23 94cc34f8dd06: Waiting 15:43:23 30dea6a524f1: Waiting 15:43:23 6808be2612f2: Waiting 15:43:23 f25807f1079a: Waiting 15:43:23 a2d21d5440eb: Verifying Checksum 15:43:23 a2d21d5440eb: Download complete 15:43:23 94cc34f8dd06: Verifying Checksum 15:43:23 94cc34f8dd06: Download complete 15:43:23 30dea6a524f1: Verifying Checksum 15:43:23 30dea6a524f1: Download complete 15:43:23 63b65145d645: Download complete 15:43:23 a2aff8979fd8: Verifying Checksum 15:43:23 a2aff8979fd8: Download complete 15:43:23 63b65145d645: Pull complete 15:43:23 a2d21d5440eb: Pull complete 15:43:23 f25807f1079a: Verifying Checksum 15:43:23 f25807f1079a: Download complete 15:43:24 935e6c44a52c: Verifying Checksum 15:43:24 935e6c44a52c: Download complete 15:43:24 6808be2612f2: Verifying Checksum 15:43:27 935e6c44a52c: Pull complete 15:43:27 94cc34f8dd06: Pull complete 15:43:27 30dea6a524f1: Pull complete 15:43:27 a2aff8979fd8: Pull complete 15:43:29 6808be2612f2: Pull complete 15:43:30 f25807f1079a: Pull complete 15:43:30 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 15:43:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 15:43:30 ---> 3b553350e43f 15:43:30 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:43:33 ---> Running in 819ba50cb840 15:43:33 Removing intermediate container 819ba50cb840 15:43:33 ---> 517c3e3c7f10 15:43:33 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 15:43:33 ---> Running in ca4706cb32e0 15:43:33 Removing intermediate container ca4706cb32e0 15:43:33 ---> 0df9ba314129 15:43:33 Step 5/12 : ARG ADD_BUILD_TAGS="" 15:43:33 ---> Running in 665a46ecf406 15:43:34 Removing intermediate container 665a46ecf406 15:43:34 ---> aec2e3eb5aa7 15:43:34 Step 6/12 : WORKDIR /device-virtual-go 15:43:34 ---> Running in 09cb9a6e1ba9 15:43:34 Removing intermediate container 09cb9a6e1ba9 15:43:34 ---> 7987272b9dd6 15:43:34 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:43:34 ---> Running in ba75c483b0fb 15:43:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 15:43:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 15:43:34 (1/4) Installing openssh-keygen (9.1_p1-r2) 15:43:34 (2/4) Installing libedit (20221030.3.1-r0) 15:43:34 (3/4) Installing openssh-client-common (9.1_p1-r2) 15:43:34 (4/4) Installing openssh-client-default (9.1_p1-r2) 15:43:34 Executing busybox-1.35.0-r29.trigger 15:43:34 OK: 269 MiB in 57 packages 15:43:35 Removing intermediate container ba75c483b0fb 15:43:35 ---> 760d47b5b949 15:43:35 Step 8/12 : COPY go.mod vendor* ./ 15:43:35 ---> f6b5f88b8582 15:43:35 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:43:35 ---> Running in 3718bfbb0880 15:43:36 Still waiting to schedule task 15:43:36 ‘prd-ubuntu20.04-docker-8c-8g-497’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 15:43:36 ‘prd-ubuntu20.04-docker-8c-8g-498’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 15:43:36 ‘prd-ubuntu20.04-docker-arm64-4c-16g-503’ is offline 15:43:36 ‘prd-ubuntu20.04-docker-arm64-4c-16g-504’ is offline 15:43:36 ‘prd-ubuntu20.04-docker-arm64-4c-16g-518’ is offline 15:43:57 Removing intermediate container 3718bfbb0880 15:43:57 ---> b7862b0276e3 15:43:57 Step 10/12 : COPY . . 15:43:57 ---> 63a35cc20f10 15:43:57 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:43:57 ---> Running in 9239ba1dc7eb 15:43:57 Removing intermediate container 9239ba1dc7eb 15:43:57 ---> 879aa3452178 15:43:57 Step 12/12 : RUN $MAKE 15:43:57 ---> Running in 0bf4a6baa79f 15:43:57 noop 15:43:57 Removing intermediate container 0bf4a6baa79f 15:43:57 ---> 960a6a93ea7d 15:43:57 Successfully built 960a6a93ea7d 15:43:57 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:43:57 + docker inspect -f . ci-base-image-x86_64 15:43:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:43:57 prd-ubuntu20.04-docker-8c-8g-517 does not seem to be running inside a container 15:43:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/vice-virtual-go_dependabot-daily -v /w/workspace/vice-virtual-go_dependabot-daily:/w/workspace/vice-virtual-go_dependabot-daily:rw,z -v /w/workspace/vice-virtual-go_dependabot-daily@tmp:/w/workspace/vice-virtual-go_dependabot-daily@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 ******** ci-base-image-x86_64 cat 15:43:58 $ docker top cbaedb809f08a612cb1a6281cc9db970717ee86a3b0f1bb60b5e22ef4e28c4bf -eo pid,comm [Pipeline] { [Pipeline] sh 15:43:58 + go version 15:43:58 go version go1.20.2 linux/amd64 [Pipeline] } 15:43:58 $ docker stop --time=1 cbaedb809f08a612cb1a6281cc9db970717ee86a3b0f1bb60b5e22ef4e28c4bf 15:43:59 $ docker rm -f --volumes cbaedb809f08a612cb1a6281cc9db970717ee86a3b0f1bb60b5e22ef4e28c4bf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:44:00 + docker inspect -f . ci-base-image-x86_64 15:44:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:44:00 prd-ubuntu20.04-docker-8c-8g-517 does not seem to be running inside a container 15:44:00 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/vice-virtual-go_dependabot-daily -v /w/workspace/vice-virtual-go_dependabot-daily:/w/workspace/vice-virtual-go_dependabot-daily:rw,z -v /w/workspace/vice-virtual-go_dependabot-daily@tmp:/w/workspace/vice-virtual-go_dependabot-daily@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 ******** ci-base-image-x86_64 cat 15:44:01 $ docker top c54a1aa642820d477f0b1294ca1a49248c18707b08591dbce8c0ba16aa12a4f4 -eo pid,comm [Pipeline] { [Pipeline] sh 15:44:01 + git config --global --add safe.directory /w/workspace/vice-virtual-go_dependabot-daily [Pipeline] fileExists [Pipeline] sh 15:44:01 + make test 15:44:01 go test ./... -coverprofile=coverage.out 15:44:06 ? github.com/edgexfoundry/device-virtual-go [no test files] 15:44:16 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 15:44:16 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.035s coverage: 65.7% of statements 15:44:20 go vet ./... 15:44:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:44:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:44:23 ./bin/test-attribution-txt.sh [Pipeline] echo 15:44:23 [edgeX.isLTS] Checking if [dependabot-daily] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:44:23 $ docker stop --time=1 c54a1aa642820d477f0b1294ca1a49248c18707b08591dbce8c0ba16aa12a4f4 15:44:25 $ docker rm -f --volumes c54a1aa642820d477f0b1294ca1a49248c18707b08591dbce8c0ba16aa12a4f4 [Pipeline] // withDockerContainer [Pipeline] sh 15:44:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:44:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:44:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:44:27 + ls -al . 15:44:27 total 192 15:44:27 drwxrwxr-x 9 jenkins jenkins 4096 Mar 15 15:44 . 15:44:27 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 15:42 .. 15:44:27 drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 15:43 .git 15:44:27 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 15:42 .github 15:44:27 -rw-rw-r-- 1 jenkins jenkins 337 Mar 15 15:42 .gitignore 15:44:27 -rw-rw-r-- 1 jenkins jenkins 41 Mar 15 15:42 .golangci.yml 15:44:27 drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 15:43 .semver 15:44:27 -rw-rw-r-- 1 jenkins jenkins 8641 Mar 15 15:42 Attribution.txt 15:44:27 -rw-rw-r-- 1 jenkins jenkins 11367 Mar 15 15:42 CHANGELOG.md 15:44:27 -rw-rw-r-- 1 jenkins jenkins 1646 Mar 15 15:42 Dockerfile 15:44:27 -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 15:42 GOVERNANCE.md 15:44:27 -rw-rw-r-- 1 jenkins jenkins 660 Mar 15 15:42 Jenkinsfile 15:44:27 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 15 15:42 LICENSE 15:44:27 -rw-rw-r-- 1 jenkins jenkins 1696 Mar 15 15:42 Makefile 15:44:27 -rw-rw-r-- 1 jenkins jenkins 623 Mar 15 15:42 OWNERS.md 15:44:27 -rw-rw-r-- 1 jenkins jenkins 3578 Mar 15 15:42 README.md 15:44:27 -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 15:43 VERSION 15:44:27 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 15:42 bin 15:44:27 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 15:42 cmd 15:44:27 -rw-r--r-- 1 jenkins jenkins 44311 Mar 15 15:44 coverage.out 15:44:27 -rw-rw-r-- 1 jenkins jenkins 3253 Mar 15 15:42 go.mod 15:44:27 -rw-rw-r-- 1 jenkins jenkins 30608 Mar 15 15:42 go.sum 15:44:27 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 15:42 internal 15:44:27 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 15:42 snap 15:44:27 -rw-rw-r-- 1 jenkins jenkins 235 Mar 15 15:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:44:27 + 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=27042ad94e32903ce54c6bea518efcfbb814133f --label arch=amd64 --label version=0.0.0 . 15:44:27 Sending build context to Docker daemon 23.5MB 15:44:27 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 15:44:27 Step 2/25 : FROM ${BASE} AS builder 15:44:27 ---> 960a6a93ea7d 15:44:27 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:44:27 ---> Running in 848b0c9ebc2c 15:44:27 Removing intermediate container 848b0c9ebc2c 15:44:27 ---> 6ae57cd5692e 15:44:27 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 15:44:27 ---> Running in c3da3940f93d 15:44:27 Removing intermediate container c3da3940f93d 15:44:27 ---> 0eae1ca823a8 15:44:27 Step 5/25 : ARG ADD_BUILD_TAGS="" 15:44:27 ---> Running in 4775d9a234e2 15:44:28 Removing intermediate container 4775d9a234e2 15:44:28 ---> b044263330da 15:44:28 Step 6/25 : WORKDIR /device-virtual-go 15:44:28 ---> Running in 1ebd52c9d571 15:44:28 Removing intermediate container 1ebd52c9d571 15:44:28 ---> f74c92031b5b 15:44:28 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:44:28 ---> Running in d8d999d93d81 15:44:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 15:44:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 15:44:29 OK: 269 MiB in 57 packages 15:44:29 Removing intermediate container d8d999d93d81 15:44:29 ---> 3fadf61f9ccb 15:44:29 Step 8/25 : COPY go.mod vendor* ./ 15:44:29 ---> 4983aff35913 15:44:29 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:44:29 ---> Running in 43c5b0f012d5 15:44:30 Removing intermediate container 43c5b0f012d5 15:44:30 ---> 92808311e6d2 15:44:30 Step 10/25 : COPY . . 15:44:30 ---> 4e6a230913f4 15:44:30 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:44:30 ---> Running in 6dd52c692b40 15:44:30 Removing intermediate container 6dd52c692b40 15:44:30 ---> 22a8d205c55e 15:44:30 Step 12/25 : RUN $MAKE 15:44:30 ---> Running in f6f7c7134bc1 15:44:31 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 15:44:49 Removing intermediate container f6f7c7134bc1 15:44:49 ---> 34ca8e5cfd64 15:44:49 Step 13/25 : FROM alpine:3.17 15:44:49 3.17: Pulling from library/alpine 15:44:49 63b65145d645: Already exists 15:44:49 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 15:44:49 Status: Downloaded newer image for alpine:3.17 15:44:49 ---> b2aa39c304c2 15:44:49 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 15:44:49 ---> Running in bbfae87ce150 15:44:49 Removing intermediate container bbfae87ce150 15:44:49 ---> 283e87a6b848 15:44:49 Step 15/25 : RUN apk add --update --no-cache dumb-init 15:44:49 ---> Running in 95a3e5baa11a 15:44:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 15:44:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 15:44:50 (1/1) Installing dumb-init (1.2.5-r2) 15:44:50 Executing busybox-1.35.0-r29.trigger 15:44:50 OK: 7 MiB in 16 packages 15:44:50 Removing intermediate container 95a3e5baa11a 15:44:50 ---> 6c643e3fae22 15:44:50 Step 16/25 : WORKDIR / 15:44:50 ---> Running in f21731667b12 15:44:50 Removing intermediate container f21731667b12 15:44:50 ---> 7d149943b05e 15:44:50 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 15:44:50 ---> 44996d4e45c1 15:44:50 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 15:44:50 ---> cd1f4770f03c 15:44:50 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 15:44:51 ---> 6217c870bea4 15:44:51 Step 20/25 : EXPOSE 59900 15:44:51 ---> Running in 60ce40e8cffa 15:44:51 Removing intermediate container 60ce40e8cffa 15:44:51 ---> f39432f7ccdf 15:44:51 Step 21/25 : ENTRYPOINT ["/device-virtual"] 15:44:51 ---> Running in d22ea84a5521 15:44:51 Removing intermediate container d22ea84a5521 15:44:51 ---> 9958e2df2204 15:44:51 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 15:44:51 ---> Running in 5cc7ad69fb63 15:44:51 Removing intermediate container 5cc7ad69fb63 15:44:51 ---> 2e4fbe828366 15:44:51 Step 23/25 : LABEL arch=amd64 15:44:51 ---> Running in 132f440b5787 15:44:51 Removing intermediate container 132f440b5787 15:44:51 ---> 3a20e1ed637c 15:44:51 Step 24/25 : LABEL git_sha=27042ad94e32903ce54c6bea518efcfbb814133f 15:44:51 ---> Running in c5c8faefcffd 15:44:51 Removing intermediate container c5c8faefcffd 15:44:51 ---> 1206fc17de5e 15:44:51 Step 25/25 : LABEL version=0.0.0 15:44:51 ---> Running in d09f7ed0ad8e 15:44:51 Removing intermediate container d09f7ed0ad8e 15:44:51 ---> e7afd0ec5f10 15:44:51 [Warning] One or more build-args [ARCH] were not consumed 15:44:51 Successfully built e7afd0ec5f10 15:44:51 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:44:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:44:52 15:44:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:44:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:44:52 latest: Pulling from edgex-lftools-log-publisher 15:44:52 5eb5b503b376: Pulling fs layer 15:44:52 5c69ac0246d0: Pulling fs layer 15:44:52 ec43610c2a17: Pulling fs layer 15:44:52 3a2ae6a8a46f: Pulling fs layer 15:44:52 33b1e0a273af: Pulling fs layer 15:44:52 5d3b04190fa2: Pulling fs layer 15:44:52 2f39f015ded8: Pulling fs layer 15:44:52 3a2ae6a8a46f: Waiting 15:44:52 33b1e0a273af: Waiting 15:44:52 5d3b04190fa2: Waiting 15:44:52 2f39f015ded8: Waiting 15:44:52 5c69ac0246d0: Download complete 15:44:52 3a2ae6a8a46f: Download complete 15:44:53 33b1e0a273af: Verifying Checksum 15:44:53 33b1e0a273af: Download complete 15:44:53 5d3b04190fa2: Verifying Checksum 15:44:53 ec43610c2a17: Verifying Checksum 15:44:53 ec43610c2a17: Download complete 15:44:53 5d3b04190fa2: Download complete 15:44:53 5eb5b503b376: Verifying Checksum 15:44:53 5eb5b503b376: Download complete 15:44:53 2f39f015ded8: Download complete 15:44:54 5eb5b503b376: Pull complete 15:44:54 5c69ac0246d0: Pull complete 15:44:54 ec43610c2a17: Pull complete 15:44:54 3a2ae6a8a46f: Pull complete 15:44:55 33b1e0a273af: Pull complete 15:44:55 5d3b04190fa2: Pull complete 15:44:59 2f39f015ded8: Pull complete 15:44:59 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:44:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:44:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:44:59 prd-ubuntu20.04-docker-8c-8g-517 does not seem to be running inside a container 15:44:59 $ 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/vice-virtual-go_dependabot-daily -v /w/workspace/vice-virtual-go_dependabot-daily:/w/workspace/vice-virtual-go_dependabot-daily:rw,z -v /w/workspace/vice-virtual-go_dependabot-daily@tmp:/w/workspace/vice-virtual-go_dependabot-daily@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:45:01 $ docker top 70aba6b718fa49d12cf52bf1184604c11a4bd422460e8f3e399440ae52b49352 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:45:02 ---> job-cost.sh 15:45:02 lf-activate-venv: SKIPPING 15:45:02 INFO: No Stack... 15:45:02 INFO: Retrieving Pricing Info for: v3-standard-8 15:45:02 INFO: Archiving Costs [Pipeline] sh 15:45:03 + cat /w/workspace/vice-virtual-go_dependabot-daily/archives/cost.csv 15:45:03 + cut -d, -f6 [Pipeline] lock 15:45:03 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-dependabot-daily-1-stack-cost] 15:45:03 Resource [jenkins-edgexfoundry-device-virtual-go-dependabot-daily-1-stack-cost] did not exist. Created. 15:45:03 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-dependabot-daily-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:45:03 + echo total: 0.2199999988079071 [Pipeline] stash 15:45:03 Stashed 1 file(s) [Pipeline] } 15:45:03 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-dependabot-daily-1-stack-cost] [Pipeline] // lock [Pipeline] } 15:45:03 $ docker stop --time=1 70aba6b718fa49d12cf52bf1184604c11a4bd422460e8f3e399440ae52b49352 15:45:05 $ docker rm -f --volumes 70aba6b718fa49d12cf52bf1184604c11a4bd422460e8f3e399440ae52b49352 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:46:14 Running on prd-ubuntu20.04-docker-arm64-4c-16g-531 in /w/workspace/vice-virtual-go_dependabot-daily [Pipeline] { [Pipeline] ws 15:46:14 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 15:46:14 The recommended git tool is: git 15:46:24 using credential edgex-jenkins-ssh 15:46:24 Cloning the remote Git repository 15:46:24 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 15:46:24 > git init /w/workspace/device-virtual-go/1 # timeout=10 15:46:25 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 15:46:25 > git --version # timeout=10 15:46:25 > git --version # 'git version 2.25.1' 15:46:25 using GIT_SSH to set credentials SSH Credentials for GitHub 15:46:25 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:46:27 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 15:46:27 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:46:28 Avoid second fetch 15:46:28 Checking out Revision 27042ad94e32903ce54c6bea518efcfbb814133f (dependabot-daily) 15:46:29 Commit message: "ci: Change dependabot gomod schedule to daily" 15:46:29 > git --version # timeout=10 15:46:29 > git --version # 'git version 2.25.1' 15:46:29 fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:46:28 > git config core.sparsecheckout # timeout=10 15:46:28 > git checkout -f 27042ad94e32903ce54c6bea518efcfbb814133f # timeout=10 15:46:30 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:46:30 % Total % Received % Xferd Average Speed Time Time Time Current 15:46:30 Dload Upload Total Spent Left Speed 15:46:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 188k 0 --:--:-- --:--:-- --:--:-- 191k [Pipeline] sh 15:46:31 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:46:31 + sudo tee /etc/docker/daemon.new 15:46:31 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:46:31 { 15:46:31 "registry-mirrors": [ 15:46:31 "https://nexus3.edgexfoundry.org:10001" 15:46:31 ], 15:46:31 "bip": "10.250.0.254/24", 15:46:31 "hosts": [ 15:46:31 "tcp://0.0.0.0:5555", 15:46:31 "unix:///var/run/docker.sock" 15:46:31 ], 15:46:31 "mtu": 1458, 15:46:31 "selinux-enabled": true, 15:46:31 "seccomp-profile": "/etc/docker/seccomp.json" 15:46:31 } [Pipeline] sh 15:46:32 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:46:32 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:46:50 provisioning config files... 15:46:50 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config7208912562507069616tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:46:51 ---> docker-login.sh 15:46:51 nexus3.edgexfoundry.org:10001 15:46:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:46:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:46:51 Configure a credential helper to remove this warning. See 15:46:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:46:51 15:46:51 Login Succeeded 15:46:51 nexus3.edgexfoundry.org:10002 15:46:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:46:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:46:52 Configure a credential helper to remove this warning. See 15:46:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:46:52 15:46:52 Login Succeeded 15:46:52 nexus3.edgexfoundry.org:10003 15:46:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:46:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:46:52 Configure a credential helper to remove this warning. See 15:46:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:46:52 15:46:52 Login Succeeded 15:46:52 nexus3.edgexfoundry.org:10004 15:46:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:46:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:46:53 Configure a credential helper to remove this warning. See 15:46:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:46:53 15:46:53 Login Succeeded 15:46:53 docker.io 15:46:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:46:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:46:53 Configure a credential helper to remove this warning. See 15:46:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:46:53 15:46:53 Login Succeeded 15:46:53 ---> docker-login.sh ends [Pipeline] } 15:46:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:46:54 [edgeX.isLTS] Checking if [dependabot-daily] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:46:54 [edgeX.isLTS] Checking if [dependabot-daily] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:46:54 ========================================================= 15:46:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 15:46:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:46:54 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 15:46:55 Sending build context to Docker daemon 11.87MB 15:46:55 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 15:46:55 Step 2/12 : FROM ${BASE} AS builder 15:46:55 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:46:55 af6eaf76a39c: Pulling fs layer 15:46:55 55522c791124: Pulling fs layer 15:46:55 ce5c4a1c91eb: Pulling fs layer 15:46:55 169dfbe0d373: Pulling fs layer 15:46:55 e1ff8fa3b103: Pulling fs layer 15:46:55 52ebb69f0ebf: Pulling fs layer 15:46:55 5abe8eddf0d5: Pulling fs layer 15:46:55 e1ff8fa3b103: Waiting 15:46:55 52ebb69f0ebf: Waiting 15:46:55 5abe8eddf0d5: Waiting 15:46:55 169dfbe0d373: Waiting 15:46:55 55522c791124: Verifying Checksum 15:46:55 55522c791124: Download complete 15:46:55 169dfbe0d373: Verifying Checksum 15:46:55 169dfbe0d373: Download complete 15:46:55 e1ff8fa3b103: Verifying Checksum 15:46:55 e1ff8fa3b103: Download complete 15:46:55 af6eaf76a39c: Verifying Checksum 15:46:56 af6eaf76a39c: Pull complete 15:46:56 5abe8eddf0d5: Verifying Checksum 15:46:56 5abe8eddf0d5: Download complete 15:46:57 55522c791124: Pull complete 15:46:58 ce5c4a1c91eb: Download complete 15:46:58 52ebb69f0ebf: Verifying Checksum 15:46:58 52ebb69f0ebf: Download complete 15:47:10 ce5c4a1c91eb: Pull complete 15:47:10 169dfbe0d373: Pull complete 15:47:10 e1ff8fa3b103: Pull complete 15:47:17 52ebb69f0ebf: Pull complete 15:47:20 5abe8eddf0d5: Pull complete 15:47:20 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 15:47:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 15:47:20 ---> 6cb57ee374ae 15:47:20 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:47:22 ---> Running in 8bad9d8a73c0 15:47:22 Removing intermediate container 8bad9d8a73c0 15:47:22 ---> 361f0ae1e841 15:47:22 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 15:47:22 ---> Running in 3847b37faadc 15:47:23 Removing intermediate container 3847b37faadc 15:47:23 ---> 3aa5b9e6a3bc 15:47:23 Step 5/12 : ARG ADD_BUILD_TAGS="" 15:47:23 ---> Running in 2663fe76070c 15:47:23 Removing intermediate container 2663fe76070c 15:47:23 ---> e8be4f2f1999 15:47:23 Step 6/12 : WORKDIR /device-virtual-go 15:47:23 ---> Running in b2b6870c0ce9 15:47:23 Removing intermediate container b2b6870c0ce9 15:47:23 ---> ae70559b15ca 15:47:23 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:47:23 ---> Running in 0014d0e0e6e6 15:47:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 15:47:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 15:47:27 (1/4) Installing openssh-keygen (9.1_p1-r2) 15:47:27 (2/4) Installing libedit (20221030.3.1-r0) 15:47:27 (3/4) Installing openssh-client-common (9.1_p1-r2) 15:47:27 (4/4) Installing openssh-client-default (9.1_p1-r2) 15:47:27 Executing busybox-1.35.0-r29.trigger 15:47:27 OK: 268 MiB in 57 packages 15:47:29 Removing intermediate container 0014d0e0e6e6 15:47:29 ---> 486eb1b0a834 15:47:29 Step 8/12 : COPY go.mod vendor* ./ 15:47:29 ---> 40204953fb31 15:47:29 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:47:29 ---> Running in e8a6bb19cb6d 15:48:37 Removing intermediate container e8a6bb19cb6d 15:48:37 ---> 60875ea050e8 15:48:37 Step 10/12 : COPY . . 15:48:37 ---> d5f16f7ce660 15:48:37 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:48:37 ---> Running in 61ca0a419345 15:48:37 Removing intermediate container 61ca0a419345 15:48:37 ---> 73e59b018ca9 15:48:37 Step 12/12 : RUN $MAKE 15:48:37 ---> Running in e67419e82cad 15:48:37 noop 15:48:37 Removing intermediate container e67419e82cad 15:48:37 ---> 30240d4f279a 15:48:37 Successfully built 30240d4f279a 15:48:37 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:48:38 + docker inspect -f . ci-base-image-arm64 15:48:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:48:38 prd-ubuntu20.04-docker-arm64-4c-16g-531 does not seem to be running inside a container 15:48:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:48:39 $ docker top 62b1a50eab09493d2e2f52a119bc9cb01498e7f3db461156f89c0653c3dc42b3 -eo pid,comm [Pipeline] { [Pipeline] sh 15:48:40 + go version 15:48:40 go version go1.20.2 linux/arm64 [Pipeline] } 15:48:40 $ docker stop --time=1 62b1a50eab09493d2e2f52a119bc9cb01498e7f3db461156f89c0653c3dc42b3 15:48:42 $ docker rm -f --volumes 62b1a50eab09493d2e2f52a119bc9cb01498e7f3db461156f89c0653c3dc42b3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:48:43 + docker inspect -f . ci-base-image-arm64 15:48:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:48:43 prd-ubuntu20.04-docker-arm64-4c-16g-531 does not seem to be running inside a container 15:48:43 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:48:45 $ docker top 3d82d9f1fc9147683a46a050e81139efc620c996dcffa0700a4492445d9fdb60 -eo pid,comm [Pipeline] { [Pipeline] sh 15:48:46 + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh 15:48:47 + make test 15:48:47 go test ./... -coverprofile=coverage.out 15:49:34 ? github.com/edgexfoundry/device-virtual-go [no test files] 15:52:26 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 15:52:26 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.153s coverage: 65.7% of statements 15:52:26 WARNING: Linting skipped (not on x86_64 or linter not installed) 15:52:26 go vet ./... 15:52:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:52:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:52:58 ./bin/test-attribution-txt.sh [Pipeline] echo 15:52:58 [edgeX.isLTS] Checking if [dependabot-daily] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:52:58 $ docker stop --time=1 3d82d9f1fc9147683a46a050e81139efc620c996dcffa0700a4492445d9fdb60 15:53:00 $ docker rm -f --volumes 3d82d9f1fc9147683a46a050e81139efc620c996dcffa0700a4492445d9fdb60 [Pipeline] // withDockerContainer [Pipeline] sh 15:53:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:53:02 Warning: overwriting stash ‘coverage-report’ 15:53:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:53:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:53:04 + ls -al . 15:53:04 total 188 15:53:04 drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 15:48 . 15:53:04 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 15:46 .. 15:53:04 drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 15:46 .git 15:53:04 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 15:46 .github 15:53:04 -rw-rw-r-- 1 jenkins jenkins 337 Mar 15 15:46 .gitignore 15:53:04 -rw-rw-r-- 1 jenkins jenkins 41 Mar 15 15:46 .golangci.yml 15:53:04 -rw-rw-r-- 1 jenkins jenkins 8641 Mar 15 15:46 Attribution.txt 15:53:04 -rw-rw-r-- 1 jenkins jenkins 11367 Mar 15 15:46 CHANGELOG.md 15:53:04 -rw-rw-r-- 1 jenkins jenkins 1646 Mar 15 15:46 Dockerfile 15:53:04 -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 15:46 GOVERNANCE.md 15:53:04 -rw-rw-r-- 1 jenkins jenkins 660 Mar 15 15:46 Jenkinsfile 15:53:04 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 15 15:46 LICENSE 15:53:04 -rw-rw-r-- 1 jenkins jenkins 1696 Mar 15 15:46 Makefile 15:53:04 -rw-rw-r-- 1 jenkins jenkins 623 Mar 15 15:46 OWNERS.md 15:53:04 -rw-rw-r-- 1 jenkins jenkins 3578 Mar 15 15:46 README.md 15:53:04 -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 15:43 VERSION 15:53:04 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 15:46 bin 15:53:04 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 15:46 cmd 15:53:04 -rw-r--r-- 1 jenkins jenkins 44311 Mar 15 15:52 coverage.out 15:53:04 -rw-rw-r-- 1 jenkins jenkins 3253 Mar 15 15:46 go.mod 15:53:04 -rw-rw-r-- 1 jenkins jenkins 30608 Mar 15 15:46 go.sum 15:53:04 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 15:46 internal 15:53:04 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 15:46 snap 15:53:04 -rw-rw-r-- 1 jenkins jenkins 235 Mar 15 15:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:53:04 + 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=27042ad94e32903ce54c6bea518efcfbb814133f --label arch=arm64 --label version=0.0.0 . 15:53:05 Sending build context to Docker daemon 11.92MB 15:53:05 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 15:53:05 Step 2/25 : FROM ${BASE} AS builder 15:53:05 ---> 30240d4f279a 15:53:05 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:53:05 ---> Running in cb0f6566e44c 15:53:05 Removing intermediate container cb0f6566e44c 15:53:05 ---> 4e237f8693c0 15:53:05 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 15:53:05 ---> Running in 7c6cf24c9589 15:53:06 Removing intermediate container 7c6cf24c9589 15:53:06 ---> b06060864553 15:53:06 Step 5/25 : ARG ADD_BUILD_TAGS="" 15:53:06 ---> Running in 6003e8dd1c1e 15:53:06 Removing intermediate container 6003e8dd1c1e 15:53:06 ---> fbb9940ced12 15:53:06 Step 6/25 : WORKDIR /device-virtual-go 15:53:06 ---> Running in 2c486af9f068 15:53:06 Removing intermediate container 2c486af9f068 15:53:06 ---> 29c65dfe6307 15:53:06 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:53:07 ---> Running in b394c7abd948 15:53:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 15:53:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 15:53:10 OK: 268 MiB in 57 packages 15:53:11 Removing intermediate container b394c7abd948 15:53:11 ---> 5c7a1b500e22 15:53:11 Step 8/25 : COPY go.mod vendor* ./ 15:53:11 ---> 475f4ac8ac67 15:53:11 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:53:11 ---> Running in c7f7c74b6e9c 15:53:15 Removing intermediate container c7f7c74b6e9c 15:53:15 ---> 5558ff0fc606 15:53:15 Step 10/25 : COPY . . 15:53:16 ---> 7700b0cff64a 15:53:16 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:53:16 ---> Running in b151df644ee8 15:53:16 Removing intermediate container b151df644ee8 15:53:16 ---> dd4e9cd41a5b 15:53:16 Step 12/25 : RUN $MAKE 15:53:16 ---> Running in fb78c3ef0037 15:53:18 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 15:56:10 Removing intermediate container fb78c3ef0037 15:56:10 ---> 2cc6af6328da 15:56:10 Step 13/25 : FROM alpine:3.17 15:56:10 3.17: Pulling from library/alpine 15:56:10 af6eaf76a39c: Already exists 15:56:10 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 15:56:10 Status: Downloaded newer image for alpine:3.17 15:56:10 ---> d74e625d9115 15:56:10 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 15:56:10 ---> Running in 88965e6231f4 15:56:10 Removing intermediate container 88965e6231f4 15:56:10 ---> 2e8c744ffdfd 15:56:10 Step 15/25 : RUN apk add --update --no-cache dumb-init 15:56:10 ---> Running in a6b9c0469b26 15:56:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 15:56:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 15:56:10 (1/1) Installing dumb-init (1.2.5-r2) 15:56:10 Executing busybox-1.35.0-r29.trigger 15:56:10 OK: 8 MiB in 16 packages 15:56:10 Removing intermediate container a6b9c0469b26 15:56:10 ---> 96bd10996c8e 15:56:10 Step 16/25 : WORKDIR / 15:56:10 ---> Running in ca5cbb9119f9 15:56:10 Removing intermediate container ca5cbb9119f9 15:56:10 ---> cc4c28c670ec 15:56:10 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 15:56:11 ---> 8c0e1245df79 15:56:11 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 15:56:11 ---> 7ee739817050 15:56:11 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 15:56:13 ---> ad2422fc9f6a 15:56:13 Step 20/25 : EXPOSE 59900 15:56:13 ---> Running in 645ddda8b626 15:56:13 Removing intermediate container 645ddda8b626 15:56:13 ---> fc87a1756a21 15:56:13 Step 21/25 : ENTRYPOINT ["/device-virtual"] 15:56:13 ---> Running in b173d2627736 15:56:14 Removing intermediate container b173d2627736 15:56:14 ---> 3f78761a5fc8 15:56:14 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 15:56:14 ---> Running in 8eab2ef82037 15:56:14 Removing intermediate container 8eab2ef82037 15:56:14 ---> 53fcf727fbf5 15:56:14 Step 23/25 : LABEL arch=arm64 15:56:14 ---> Running in e0d7c51d133e 15:56:15 Removing intermediate container e0d7c51d133e 15:56:15 ---> 1f6b7bfa3f0e 15:56:15 Step 24/25 : LABEL git_sha=27042ad94e32903ce54c6bea518efcfbb814133f 15:56:15 ---> Running in 67a850ffc4dd 15:56:15 Removing intermediate container 67a850ffc4dd 15:56:15 ---> 4afca96fd502 15:56:15 Step 25/25 : LABEL version=0.0.0 15:56:15 ---> Running in 056a0e12ced3 15:56:16 Removing intermediate container 056a0e12ced3 15:56:16 ---> b687121cc800 15:56:16 [Warning] One or more build-args [ARCH] were not consumed 15:56:16 Successfully built b687121cc800 15:56:16 Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:56:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:56:17 15:56:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:56:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:56:18 arm64: Pulling from edgex-lftools-log-publisher 15:56:18 8998bd30e6a1: Pulling fs layer 15:56:18 04944245beec: Pulling fs layer 15:56:18 699f458cf7ca: Pulling fs layer 15:56:18 765212b225bb: Pulling fs layer 15:56:18 f23df028b6ca: Pulling fs layer 15:56:18 d65c8cfc05b1: Pulling fs layer 15:56:18 2437ff75d9bd: Pulling fs layer 15:56:18 f23df028b6ca: Waiting 15:56:18 d65c8cfc05b1: Waiting 15:56:18 2437ff75d9bd: Waiting 15:56:18 765212b225bb: Waiting 15:56:18 04944245beec: Verifying Checksum 15:56:18 04944245beec: Download complete 15:56:18 765212b225bb: Verifying Checksum 15:56:18 765212b225bb: Download complete 15:56:18 f23df028b6ca: Verifying Checksum 15:56:18 f23df028b6ca: Download complete 15:56:18 d65c8cfc05b1: Verifying Checksum 15:56:18 d65c8cfc05b1: Download complete 15:56:18 699f458cf7ca: Verifying Checksum 15:56:18 699f458cf7ca: Download complete 15:56:18 8998bd30e6a1: Verifying Checksum 15:56:18 8998bd30e6a1: Download complete 15:56:20 2437ff75d9bd: Verifying Checksum 15:56:20 2437ff75d9bd: Download complete 15:56:22 8998bd30e6a1: Pull complete 15:56:23 04944245beec: Pull complete 15:56:24 699f458cf7ca: Pull complete 15:56:25 765212b225bb: Pull complete 15:56:26 f23df028b6ca: Pull complete 15:56:26 d65c8cfc05b1: Pull complete 15:56:44 2437ff75d9bd: Pull complete 15:56:44 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:56:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:56:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:56:44 prd-ubuntu20.04-docker-arm64-4c-16g-531 does not seem to be running inside a container 15:56:44 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 15:56:48 $ docker top 50c9b1f27300904020dda3cfc7c21845dc8f3c6e87f134ba3199d6374c373670 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:56:49 ---> job-cost.sh 15:56:49 lf-activate-venv: SKIPPING 15:56:49 INFO: No Stack... 15:56:49 INFO: Retrieving Pricing Info for: v3-standard-4 15:56:50 INFO: Archiving Costs [Pipeline] sh 15:56:51 + cat /w/workspace/device-virtual-go/1/archives/cost.csv 15:56:51 + cut -d, -f6 [Pipeline] lock 15:56:51 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-dependabot-daily-1-stack-cost] 15:56:51 Resource [jenkins-edgexfoundry-device-virtual-go-dependabot-daily-1-stack-cost] did not exist. Created. 15:56:51 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-dependabot-daily-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:56:52 /w/workspace/device-virtual-go/1@tmp/durable-d66dfeeb/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:56:52 + echo total: 0.10999999940395355 [Pipeline] stash 15:56:53 Warning: overwriting stash ‘stack-cost’ 15:56:53 Stashed 1 file(s) [Pipeline] } 15:56:53 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-dependabot-daily-1-stack-cost] [Pipeline] // lock [Pipeline] } 15:56:53 $ docker stop --time=1 50c9b1f27300904020dda3cfc7c21845dc8f3c6e87f134ba3199d6374c373670 15:56:54 $ docker rm -f --volumes 50c9b1f27300904020dda3cfc7c21845dc8f3c6e87f134ba3199d6374c373670 [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 15:56:55 provisioning config files... 15:56:55 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/vice-virtual-go_dependabot-daily@tmp/config7138909980591094028tmp [Pipeline] { [Pipeline] sh 15:56:56 + set +x 15:56:56 + curl -s https://codecov.io/bash 15:56:56 + bash -s -- 15:56:56 15:56:56 _____ _ 15:56:56 / ____| | | 15:56:56 | | ___ __| | ___ ___ _____ __ 15:56:56 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:56:56 | |___| (_) | (_| | __/ (_| (_) \ V / 15:56:56 \_____\___/ \__,_|\___|\___\___/ \_/ 15:56:56 Bash-1.0.6 15:56:56 15:56:56 15:56:56 ==> git version 2.25.1 found 15:56:56 ==> 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 15:56:56 Release-Date: 2020-01-08 15:56:56 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 15:56:56 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 15:56:56 ==> Jenkins CI detected. 15:56:56 current dir:  /w/workspace/vice-virtual-go_dependabot-daily 15:56:56 project root: . 15:56:56 --> token set from env 15:56:56 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:56:56 ==> Running gcov in . (disable via -X gcov) 15:56:56 ==> Python coveragepy not found 15:56:56 ==> Searching for coverage reports in: 15:56:56 + . 15:56:56 -> Found 1 reports 15:56:56 ==> Detecting git/mercurial file structure 15:56:56 ==> Reading reports 15:56:56 + ./coverage.out bytes=44311 15:56:56 ==> Appending adjustments 15:56:56 https://docs.codecov.io/docs/fixing-reports 15:56:56 + Found adjustments 15:56:56 ==> Gzipping contents 15:56:56 8.0K /tmp/codecov.ERX6oG.gz 15:56:56 ==> Uploading reports 15:56:56 url: https://codecov.io 15:56:56 query: branch=dependabot-daily&commit=27042ad94e32903ce54c6bea518efcfbb814133f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fdependabot-daily%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 15:56:56 -> Pinging Codecov 15:56:56 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=dependabot-daily&commit=27042ad94e32903ce54c6bea518efcfbb814133f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fdependabot-daily%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 15:56:56 -> Uploading to 15:56:56 https://storage.googleapis.com/codecov/v4/raw/2023-03-15/5E52B4B073DB2E39498172D8E973AA87/27042ad94e32903ce54c6bea518efcfbb814133f/d1385887-88a2-45fb-90a0-c70b078da146.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230315%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230315T155656Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0c4643b441f23abd21f0795bad690765870ae9aeb6758b8051dd21a73ec928c8 15:56:56 % Total % Received % Xferd Average Speed Time Time Time Current 15:56:56 Dload Upload Total Spent Left Speed 15:56:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5430 0 0 100 5430 0 26881 --:--:-- --:--:-- --:--:-- 26748 100 5430 0 0 100 5430 0 21895 --:--:-- --:--:-- --:--:-- 21807 15:56:56 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/27042ad94e32903ce54c6bea518efcfbb814133f [Pipeline] } 15:56:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 15:56:58 + [ -d /w/workspace/vice-virtual-go_dependabot-daily/archives ] 15:56:58 + ls -al /w/workspace/vice-virtual-go_dependabot-daily/archives 15:56:58 total 16 15:56:58 drwxr-xr-x 3 root root 4096 Mar 15 15:45 . 15:56:58 drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 15:45 .. 15:56:58 drwxr-xr-x 2 root root 4096 Mar 15 15:45 cost 15:56:58 -rw-r--r-- 1 root root 99 Mar 15 15:45 cost.csv 15:56:58 + sudo chown -R jenkins:jenkins /w/workspace/vice-virtual-go_dependabot-daily/archives 15:56:58 + ls -al /w/workspace/vice-virtual-go_dependabot-daily/archives 15:56:58 total 16 15:56:58 drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 15:45 . 15:56:58 drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 15:45 .. 15:56:58 drwxr-xr-x 2 jenkins jenkins 4096 Mar 15 15:45 cost 15:56:58 -rw-r--r-- 1 jenkins jenkins 99 Mar 15 15:45 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:56:58 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:56:59 ---> package-listing.sh 15:56:59 ++ tr '[:upper:]' '[:lower:]' 15:56:59 ++ facter osfamily 15:56:59 + OS_FAMILY=debian 15:56:59 + workspace=/w/workspace/vice-virtual-go_dependabot-daily 15:56:59 + START_PACKAGES=/tmp/packages_start.txt 15:56:59 + END_PACKAGES=/tmp/packages_end.txt 15:56:59 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:56:59 + PACKAGES=/tmp/packages_start.txt 15:56:59 + '[' /w/workspace/vice-virtual-go_dependabot-daily ']' 15:56:59 + PACKAGES=/tmp/packages_end.txt 15:56:59 + case "${OS_FAMILY}" in 15:56:59 + dpkg -l 15:56:59 + grep '^ii' 15:56:59 + '[' -f /tmp/packages_start.txt ']' 15:56:59 + '[' -f /tmp/packages_end.txt ']' 15:56:59 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:56:59 + '[' /w/workspace/vice-virtual-go_dependabot-daily ']' 15:56:59 + mkdir -p /w/workspace/vice-virtual-go_dependabot-daily/archives/ 15:56:59 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/vice-virtual-go_dependabot-daily/archives/ [Pipeline] echo 15:56:59 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/vice-virtual-go_dependabot-daily/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 15:57:00 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:57:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:57:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:57:00 prd-ubuntu20.04-docker-8c-8g-517 does not seem to be running inside a container 15:57:00 $ 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/vice-virtual-go_dependabot-daily/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/vice-virtual-go_dependabot-daily -v /w/workspace/vice-virtual-go_dependabot-daily:/w/workspace/vice-virtual-go_dependabot-daily:rw,z -v /w/workspace/vice-virtual-go_dependabot-daily@tmp:/w/workspace/vice-virtual-go_dependabot-daily@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:57:01 $ docker top 0561f9b3798227d3ceffba9a8a1a3474174d4c8be75ba8340c89c632d45972a3 -eo pid,comm [Pipeline] { [Pipeline] sh 15:57:01 + touch /tmp/pre-build-complete [Pipeline] sh 15:57:01 + mkdir -p /var/log/sysstat [Pipeline] sh 15:57:02 + ls /var/log/sa-host 15:57:02 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:57:02 provisioning config files... 15:57:02 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/vice-virtual-go_dependabot-daily@tmp/config9314869862811907107tmp [Pipeline] { [Pipeline] echo 15:57:02 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:57:02 ---> create-netrc.sh [Pipeline] } 15:57:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:57:03 ---> python-tools-install.sh [Pipeline] echo 15:57:03 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:57:03 ---> sudo-logs.sh 15:57:03 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:57:03 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:57:03 ---> job-cost.sh 15:57:03 lf-activate-venv: SKIPPING 15:57:03 DEBUG: total: 0.2199999988079071 15:57:03 INFO: Retrieving Stack Cost... 15:57:04 INFO: Retrieving Pricing Info for: v3-standard-8 15:57:04 INFO: Archiving Costs [Pipeline] echo 15:57:04 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:57:05 ---> logs-deploy.sh 15:57:05 lf-activate-venv: SKIPPING 15:57:05 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/dependabot-daily/1 15:57:05 INFO: archiving workspace using pattern(s): 15:57:05 Archives upload complete. 15:57:05 INFO: archiving logs to Nexus