Push event to branch dependabot-daily Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1247785a1fc51975b6dbde80b0a9dd4e28977c7a 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-ssh732088192764061982.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-ssh13589757440834980677.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-rest-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-rest-go/branches/dependabot-daily/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1786650920729248624.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-rest-go/branches/dependabot-daily/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15715726197083255806.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-ssh17639581605137457036.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-rest-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-rest-go/branches/dependabot-daily/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6965674930021857242.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-rest-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-rest-go-settings PROJECT: device-rest-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-rest 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-582 in /w/workspace/_device-rest-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-rest-go.git > git init /w/workspace/_device-rest-go_dependabot-daily # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-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-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 1247785a1fc51975b6dbde80b0a9dd4e28977c7a (dependabot-daily) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1247785a1fc51975b6dbde80b0a9dd4e28977c7a # 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:47:53 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:47:53 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:47:54 ========================================================= 15:47:54 EdgeX Global Pipelines Version Info 15:47:54 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:47:54 ------------------- 15:47:54 stable info: 15:47:54 ------------------- 15:47:54 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:47:54 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 15:47:54 Message: update stable to v1.0.245 15:47:55 ------------------- 15:47:55 experimental info: 15:47:55 ------------------- 15:47:55 Commited By: **** collab-it+edgex@linuxfoundation.org 15:47:55 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 15:47:55 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:47:55 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 15:47:55 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 15:47:55 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:47:55 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:47:55 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:47:55 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 15:47:55 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:47:55 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:47:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:47:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:47:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:47:56 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 15:47:56 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:47:56 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:47:56 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:47:56 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:47:56 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:47:56 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:47:56 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:47:56 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:47:56 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:47:56 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:47:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:47:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:47:56 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:47:56 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:47:56 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:47:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = dependabot-daily [Pipeline] echo 15:47:56 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = dependabot-daily [Pipeline] echo 15:47:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = dependabot-daily [Pipeline] echo 15:47:56 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1247785a1fc51975b6dbde80b0a9dd4e28977c7a [Pipeline] echo 15:47:56 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1247785 [Pipeline] echo 15:47:56 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:47:56 provisioning config files... 15:47:56 copy managed file [device-rest-go-settings] to file:/w/workspace/_device-rest-go_dependabot-daily@tmp/config7883084549002852736tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:47:57 ---> docker-login.sh 15:47:57 nexus3.edgexfoundry.org:10001 15:47:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:47:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:47:57 Configure a credential helper to remove this warning. See 15:47:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:47:57 15:47:57 Login Succeeded 15:47:57 nexus3.edgexfoundry.org:10002 15:47:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:47:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:47:57 Configure a credential helper to remove this warning. See 15:47:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:47:57 15:47:57 Login Succeeded 15:47:57 nexus3.edgexfoundry.org:10003 15:47:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:47:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:47:57 Configure a credential helper to remove this warning. See 15:47:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:47:57 15:47:57 Login Succeeded 15:47:57 nexus3.edgexfoundry.org:10004 15:47:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:47:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:47:58 Configure a credential helper to remove this warning. See 15:47:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:47:58 15:47:58 Login Succeeded 15:47:58 docker.io 15:47:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:47:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:47:58 Configure a credential helper to remove this warning. See 15:47:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:47:58 15:47:58 Login Succeeded 15:47:58 ---> docker-login.sh ends [Pipeline] } 15:47:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:47:59 + git rev-list -1 --merges 1247785a1fc51975b6dbde80b0a9dd4e28977c7a~1..1247785a1fc51975b6dbde80b0a9dd4e28977c7a [Pipeline] echo 15:47:59 -----------> git rev-list -1 --merges 1247785a1fc51975b6dbde80b0a9dd4e28977c7a~1..1247785a1fc51975b6dbde80b0a9dd4e28977c7a 1247785a1fc51975b6dbde80b0a9dd4e28977c7a [false] [Pipeline] sh 15:47:59 + git log --format=format:%s -1 1247785a1fc51975b6dbde80b0a9dd4e28977c7a [Pipeline] echo 15:47:59 ========================================================= 15:47:59 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:47:59 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:47:59 + git log --format=format:%s -1 1247785a1fc51975b6dbde80b0a9dd4e28977c7a [Pipeline] echo 15:47:59 [semverPrep] GIT_COMMIT: 1247785a1fc51975b6dbde80b0a9dd4e28977c7a, Commit Message: ci: Change dependabot gomod schedule to daily [Pipeline] echo 15:48:00 [semverPrep] This is not a build commit. [Pipeline] sh 15:48:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:48:00 + grep -v github /etc/ssh/ssh_known_hosts 15:48:00 + [ -e /tmp/ssh_known_hosts ] 15:48:00 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:48:00 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:48:00 sudo tee -a /etc/ssh/ssh_known_hosts 15:48:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:48:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:48:00 15:48:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:48:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:48:01 0.1.4: Pulling from edgex-devops/py-git-semver 15:48:01 b85a868b505f: Pulling fs layer 15:48:01 e2be974225ed: Pulling fs layer 15:48:01 339a4e72a1f5: Pulling fs layer 15:48:01 988bab9f4d93: Pulling fs layer 15:48:01 1469e6f7b9e6: Pulling fs layer 15:48:01 eaf3925da568: Pulling fs layer 15:48:01 988bab9f4d93: Waiting 15:48:01 1469e6f7b9e6: Waiting 15:48:01 bab4dde63d76: Pulling fs layer 15:48:01 eaf3925da568: Waiting 15:48:01 bde34c3a00c8: Pulling fs layer 15:48:01 b352a97aabf1: Pulling fs layer 15:48:01 bde34c3a00c8: Waiting 15:48:01 bab4dde63d76: Waiting 15:48:01 b352a97aabf1: Waiting 15:48:01 4872d77fe225: Pulling fs layer 15:48:01 5851b861e8e6: Pulling fs layer 15:48:01 4872d77fe225: Waiting 15:48:01 5851b861e8e6: Waiting 15:48:01 e2be974225ed: Verifying Checksum 15:48:01 e2be974225ed: Download complete 15:48:01 988bab9f4d93: Verifying Checksum 15:48:01 1469e6f7b9e6: Verifying Checksum 15:48:01 1469e6f7b9e6: Download complete 15:48:01 339a4e72a1f5: Verifying Checksum 15:48:01 339a4e72a1f5: Download complete 15:48:01 bde34c3a00c8: Download complete 15:48:01 b352a97aabf1: Download complete 15:48:01 4872d77fe225: Verifying Checksum 15:48:01 4872d77fe225: Download complete 15:48:01 5851b861e8e6: Download complete 15:48:01 b85a868b505f: Verifying Checksum 15:48:01 b85a868b505f: Download complete 15:48:02 bab4dde63d76: Verifying Checksum 15:48:02 bab4dde63d76: Download complete 15:48:03 b85a868b505f: Pull complete 15:48:03 e2be974225ed: Pull complete 15:48:03 339a4e72a1f5: Pull complete 15:48:03 988bab9f4d93: Pull complete 15:48:03 1469e6f7b9e6: Pull complete 15:48:03 eaf3925da568: Pull complete 15:48:05 bab4dde63d76: Pull complete 15:48:05 bde34c3a00c8: Pull complete 15:48:05 b352a97aabf1: Pull complete 15:48:05 4872d77fe225: Pull complete 15:48:05 5851b861e8e6: Pull complete 15:48:05 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 15:48:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:48:05 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:48:06 prd-ubuntu20.04-docker-8c-8g-582 does not seem to be running inside a container 15:48:06 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_device-rest-go_dependabot-daily -v /w/workspace/_device-rest-go_dependabot-daily:/w/workspace/_device-rest-go_dependabot-daily:rw,z -v /w/workspace/_device-rest-go_dependabot-daily@tmp:/w/workspace/_device-rest-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:48:08 $ docker top 80ea2ce1a3f3a670ea699ac7443c4930322fa66fdbe575edac21a1032831bccf -eo pid,comm 15:48:08 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:48:08 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:48:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:48:09 [ssh-agent] Looking for ssh-agent implementation... 15:48:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:48:09 $ docker exec 80ea2ce1a3f3a670ea699ac7443c4930322fa66fdbe575edac21a1032831bccf ssh-agent 15:48:09 SSH_AUTH_SOCK=/tmp/ssh-Thp07kDc1ICY/agent.33 15:48:09 SSH_AGENT_PID=39 15:48:09 Running ssh-add (command line suppressed) 15:48:09 Identity added: /w/workspace/_device-rest-go_dependabot-daily@tmp/private_key_17352005372483922340.key (/w/workspace/_device-rest-go_dependabot-daily@tmp/private_key_17352005372483922340.key) 15:48:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:48:09 + git tag --points-at HEAD [Pipeline] } 15:48:09 $ docker exec --env ******** --env ******** 80ea2ce1a3f3a670ea699ac7443c4930322fa66fdbe575edac21a1032831bccf ssh-agent -k 15:48:09 unset SSH_AUTH_SOCK; 15:48:09 unset SSH_AGENT_PID; 15:48:09 echo Agent pid 39 killed; 15:48:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:48:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:48:10 [ssh-agent] Looking for ssh-agent implementation... 15:48:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:48:10 $ docker exec 80ea2ce1a3f3a670ea699ac7443c4930322fa66fdbe575edac21a1032831bccf ssh-agent 15:48:10 SSH_AUTH_SOCK=/tmp/ssh-4M2XjXEWcxjc/agent.71 15:48:10 SSH_AGENT_PID=77 15:48:10 Running ssh-add (command line suppressed) 15:48:10 Identity added: /w/workspace/_device-rest-go_dependabot-daily@tmp/private_key_13604864223260130332.key (/w/workspace/_device-rest-go_dependabot-daily@tmp/private_key_13604864223260130332.key) 15:48:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:48:10 + git semver init 15:48:10 2023-03-15 15:48:10,917 [run_init] DEBUG init version:0.0.0 force:False 15:48:10 2023-03-15 15:48:10,918 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_device-rest-go_dependabot-daily/.semver 15:48:10 2023-03-15 15:48:10,918 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/_device-rest-go_dependabot-daily/.semver 15:48:10 2023-03-15 15:48:10,919 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/_device-rest-go_dependabot-daily/.semver'], cwd=/w/workspace/_device-rest-go_dependabot-daily, universal_newlines=False, shell=None, istream=None) 15:48:12 2023-03-15 15:48:12,044 [append_file] DEBUG append to file:/w/workspace/_device-rest-go_dependabot-daily/.git/info/exclude 15:48:12 2023-03-15 15:48:12,045 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_device-rest-go_dependabot-daily/.semver/dependabot-daily with force:False 15:48:12 2023-03-15 15:48:12,045 [write_file] DEBUG write to file:/w/workspace/_device-rest-go_dependabot-daily/.semver/dependabot-daily 15:48:12 2023-03-15 15:48:12,049 [execute] INFO git cat-file --batch-check 15:48:12 2023-03-15 15:48:12,050 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_device-rest-go_dependabot-daily/.semver, universal_newlines=False, shell=None, istream=) 15:48:12 2023-03-15 15:48:12,057 [execute] INFO git cat-file --batch 15:48:12 2023-03-15 15:48:12,057 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_device-rest-go_dependabot-daily/.semver, universal_newlines=False, shell=None, istream=) 15:48:12 2023-03-15 15:48:12,062 [read_version] DEBUG read version from /w/workspace/_device-rest-go_dependabot-daily/.semver/dependabot-daily 15:48:12 0.0.0 [Pipeline] } 15:48:12 $ docker exec --env ******** --env ******** 80ea2ce1a3f3a670ea699ac7443c4930322fa66fdbe575edac21a1032831bccf ssh-agent -k 15:48:12 unset SSH_AUTH_SOCK; 15:48:12 unset SSH_AGENT_PID; 15:48:12 echo Agent pid 77 killed; 15:48:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:48:12 + git semver [Pipeline] } 15:48:13 $ docker stop --time=1 80ea2ce1a3f3a670ea699ac7443c4930322fa66fdbe575edac21a1032831bccf 15:48:14 $ docker rm -f --volumes 80ea2ce1a3f3a670ea699ac7443c4930322fa66fdbe575edac21a1032831bccf [Pipeline] // withDockerContainer [Pipeline] sh 15:48:15 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:48:15 Stashed 1 file(s) [Pipeline] echo 15:48:15 [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:48:15 provisioning config files... 15:48:15 copy managed file [device-rest-go-settings] to file:/w/workspace/_device-rest-go_dependabot-daily@tmp/config16436058540058071715tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:48:16 ---> docker-login.sh 15:48:16 nexus3.edgexfoundry.org:10001 15:48:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:48:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:48:16 Configure a credential helper to remove this warning. See 15:48:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:48:16 15:48:16 Login Succeeded 15:48:16 nexus3.edgexfoundry.org:10002 15:48:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:48:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:48:16 Configure a credential helper to remove this warning. See 15:48:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:48:16 15:48:16 Login Succeeded 15:48:16 nexus3.edgexfoundry.org:10003 15:48:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:48:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:48:16 Configure a credential helper to remove this warning. See 15:48:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:48:16 15:48:16 Login Succeeded 15:48:16 nexus3.edgexfoundry.org:10004 15:48:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:48:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:48:16 Configure a credential helper to remove this warning. See 15:48:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:48:16 15:48:16 Login Succeeded 15:48:16 docker.io 15:48:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:48:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:48:16 Configure a credential helper to remove this warning. See 15:48:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:48:16 15:48:16 Login Succeeded 15:48:16 ---> docker-login.sh ends [Pipeline] } 15:48:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:48:17 [edgeX.isLTS] Checking if [dependabot-daily] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:48:17 [edgeX.isLTS] Checking if [dependabot-daily] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:48:17 ========================================================= 15:48:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 15:48:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:48:17 + 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:48:17 Sending build context to Docker daemon 10.85MB 15:48:17 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 15:48:17 Step 2/12 : FROM ${BASE} AS builder 15:48:17 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 15:48:17 63b65145d645: Pulling fs layer 15:48:17 a2d21d5440eb: Pulling fs layer 15:48:17 935e6c44a52c: Pulling fs layer 15:48:17 94cc34f8dd06: Pulling fs layer 15:48:17 30dea6a524f1: Pulling fs layer 15:48:17 a2aff8979fd8: Pulling fs layer 15:48:17 6808be2612f2: Pulling fs layer 15:48:17 f25807f1079a: Pulling fs layer 15:48:17 94cc34f8dd06: Waiting 15:48:17 30dea6a524f1: Waiting 15:48:17 a2aff8979fd8: Waiting 15:48:17 6808be2612f2: Waiting 15:48:17 f25807f1079a: Waiting 15:48:17 a2d21d5440eb: Verifying Checksum 15:48:17 a2d21d5440eb: Download complete 15:48:17 94cc34f8dd06: Verifying Checksum 15:48:17 94cc34f8dd06: Download complete 15:48:17 30dea6a524f1: Verifying Checksum 15:48:17 30dea6a524f1: Download complete 15:48:17 63b65145d645: Verifying Checksum 15:48:17 63b65145d645: Download complete 15:48:17 a2aff8979fd8: Verifying Checksum 15:48:17 a2aff8979fd8: Download complete 15:48:17 63b65145d645: Pull complete 15:48:18 a2d21d5440eb: Pull complete 15:48:18 935e6c44a52c: Verifying Checksum 15:48:18 935e6c44a52c: Download complete 15:48:18 f25807f1079a: Verifying Checksum 15:48:18 f25807f1079a: Download complete 15:48:19 6808be2612f2: Verifying Checksum 15:48:19 6808be2612f2: Download complete 15:48:22 935e6c44a52c: Pull complete 15:48:22 94cc34f8dd06: Pull complete 15:48:22 30dea6a524f1: Pull complete 15:48:22 a2aff8979fd8: Pull complete 15:48:24 6808be2612f2: Pull complete 15:48:25 f25807f1079a: Pull complete 15:48:25 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 15:48:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 15:48:25 ---> 3b553350e43f 15:48:25 Step 3/12 : ARG ADD_BUILD_TAGS="" 15:48:29 ---> Running in 6447bee7907e 15:48:29 Removing intermediate container 6447bee7907e 15:48:29 ---> 643b5b58e87c 15:48:29 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:48:29 ---> Running in d0e1e26e8a10 15:48:29 Removing intermediate container d0e1e26e8a10 15:48:29 ---> e62d8f7e262f 15:48:29 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:48:29 ---> Running in d82bdf82be97 15:48:29 Removing intermediate container d82bdf82be97 15:48:29 ---> d50e2e7d9c8d 15:48:29 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 15:48:29 ---> Running in 044f8a2664f1 15:48:29 Removing intermediate container 044f8a2664f1 15:48:29 ---> 45ed4de2ae33 15:48:29 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:48:29 ---> Running in 0d105fdbd4cc 15:48:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 15:48:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 15:48:30 (1/4) Installing openssh-keygen (9.1_p1-r2) 15:48:30 (2/4) Installing libedit (20221030.3.1-r0) 15:48:30 (3/4) Installing openssh-client-common (9.1_p1-r2) 15:48:30 (4/4) Installing openssh-client-default (9.1_p1-r2) 15:48:30 Executing busybox-1.35.0-r29.trigger 15:48:30 OK: 269 MiB in 57 packages 15:48:30 Removing intermediate container 0d105fdbd4cc 15:48:30 ---> 3af83a36f5f9 15:48:30 Step 8/12 : WORKDIR /device-rest-go 15:48:30 ---> Running in 7c8285868499 15:48:30 Removing intermediate container 7c8285868499 15:48:30 ---> c285034da17a 15:48:30 Step 9/12 : COPY go.mod vendor* ./ 15:48:30 Still waiting to schedule task 15:48:30 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 15:48:30 ---> 85a24e6a98ef 15:48:30 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:48:30 ---> Running in 49e8ed3557f0 15:48:57 Removing intermediate container 49e8ed3557f0 15:48:57 ---> c761e0218e80 15:48:57 Step 11/12 : COPY . . 15:48:57 ---> 82a4b329c111 15:48:57 Step 12/12 : RUN $MAKE 15:48:57 ---> Running in dd038aa883d6 15:48:57 noop 15:48:57 Removing intermediate container dd038aa883d6 15:48:57 ---> f782383ec4db 15:48:57 Successfully built f782383ec4db 15:48:57 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:48:58 + docker inspect -f . ci-base-image-x86_64 15:48:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:48:58 prd-ubuntu20.04-docker-8c-8g-582 does not seem to be running inside a container 15:48:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_device-rest-go_dependabot-daily -v /w/workspace/_device-rest-go_dependabot-daily:/w/workspace/_device-rest-go_dependabot-daily:rw,z -v /w/workspace/_device-rest-go_dependabot-daily@tmp:/w/workspace/_device-rest-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:48:58 $ docker top 406e9110bd56c9cc6bd4e40fd6a4ee844e501b53ea4dd707bd9dcb5130158f88 -eo pid,comm [Pipeline] { [Pipeline] sh 15:48:59 + go version 15:48:59 go version go1.20.2 linux/amd64 [Pipeline] } 15:48:59 $ docker stop --time=1 406e9110bd56c9cc6bd4e40fd6a4ee844e501b53ea4dd707bd9dcb5130158f88 15:49:00 $ docker rm -f --volumes 406e9110bd56c9cc6bd4e40fd6a4ee844e501b53ea4dd707bd9dcb5130158f88 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:49:01 + docker inspect -f . ci-base-image-x86_64 15:49:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:49:01 prd-ubuntu20.04-docker-8c-8g-582 does not seem to be running inside a container 15:49:01 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/_device-rest-go_dependabot-daily -v /w/workspace/_device-rest-go_dependabot-daily:/w/workspace/_device-rest-go_dependabot-daily:rw,z -v /w/workspace/_device-rest-go_dependabot-daily@tmp:/w/workspace/_device-rest-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:49:01 $ docker top 866cee00b85b71f16768c99f7ad30dd73f6a22428a3f7ebad719c5cfac798b92 -eo pid,comm [Pipeline] { [Pipeline] sh 15:49:02 + git config --global --add safe.directory /w/workspace/_device-rest-go_dependabot-daily [Pipeline] fileExists [Pipeline] sh 15:49:02 + make test 15:49:02 go test ./... -coverprofile=coverage.out ./... 15:49:06 ? github.com/edgexfoundry/device-rest-go [no test files] 15:49:16 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 15:49:16 ok github.com/edgexfoundry/device-rest-go/driver 0.011s coverage: 33.1% of statements 15:49:23 go vet ./... 15:49:25 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:49:25 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:49:25 ./bin/test-attribution-txt.sh [Pipeline] echo 15:49:25 [edgeX.isLTS] Checking if [dependabot-daily] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:49:25 $ docker stop --time=1 866cee00b85b71f16768c99f7ad30dd73f6a22428a3f7ebad719c5cfac798b92 15:49:28 $ docker rm -f --volumes 866cee00b85b71f16768c99f7ad30dd73f6a22428a3f7ebad719c5cfac798b92 [Pipeline] // withDockerContainer [Pipeline] sh 15:49:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:49:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:49:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:49:30 + ls -al . 15:49:30 total 184 15:49:30 drwxrwxr-x 9 jenkins jenkins 4096 Mar 15 15:49 . 15:49:30 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 15:47 .. 15:49:30 -rw-rw-r-- 1 jenkins jenkins 151 Mar 15 15:47 .dockerignore 15:49:30 drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 15:48 .git 15:49:30 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 15:47 .github 15:49:30 -rw-rw-r-- 1 jenkins jenkins 329 Mar 15 15:47 .gitignore 15:49:30 -rw-rw-r-- 1 jenkins jenkins 41 Mar 15 15:47 .golangci.yml 15:49:30 drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 15:48 .semver 15:49:30 -rw-rw-r-- 1 jenkins jenkins 9321 Mar 15 15:47 Attribution.txt 15:49:30 -rw-rw-r-- 1 jenkins jenkins 13085 Mar 15 15:47 CHANGELOG.md 15:49:30 -rw-rw-r-- 1 jenkins jenkins 1578 Mar 15 15:47 Dockerfile 15:49:30 -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 15:47 GOVERNANCE.md 15:49:30 -rw-rw-r-- 1 jenkins jenkins 680 Mar 15 15:47 Jenkinsfile 15:49:30 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 15 15:47 LICENSE 15:49:30 -rw-rw-r-- 1 jenkins jenkins 1779 Mar 15 15:47 Makefile 15:49:30 -rw-rw-r-- 1 jenkins jenkins 620 Mar 15 15:47 OWNERS.md 15:49:30 -rw-rw-r-- 1 jenkins jenkins 15447 Mar 15 15:47 README.md 15:49:30 -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 15:48 VERSION 15:49:30 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 15:47 bin 15:49:30 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 15:47 cmd 15:49:30 -rw-r--r-- 1 jenkins jenkins 14200 Mar 15 15:49 coverage.out 15:49:30 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 15:47 driver 15:49:30 -rw-rw-r-- 1 jenkins jenkins 3446 Mar 15 15:47 go.mod 15:49:30 -rw-rw-r-- 1 jenkins jenkins 31299 Mar 15 15:47 go.sum 15:49:30 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 15:47 snap 15:49:30 -rw-rw-r-- 1 jenkins jenkins 713 Mar 15 15:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:49:30 + docker build -t device-rest -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=1247785a1fc51975b6dbde80b0a9dd4e28977c7a --label arch=amd64 --label version=0.0.0 . 15:49:30 Sending build context to Docker daemon 10.87MB 15:49:30 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 15:49:30 Step 2/25 : FROM ${BASE} AS builder 15:49:30 ---> f782383ec4db 15:49:30 Step 3/25 : ARG ADD_BUILD_TAGS="" 15:49:30 ---> Running in 78d5f4390fdf 15:49:30 Removing intermediate container 78d5f4390fdf 15:49:30 ---> ffd75da060c0 15:49:30 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:49:30 ---> Running in 18b1c1f4f5fc 15:49:30 Removing intermediate container 18b1c1f4f5fc 15:49:30 ---> d16e81421744 15:49:30 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:49:30 ---> Running in 83a1779cde05 15:49:30 Removing intermediate container 83a1779cde05 15:49:30 ---> 88142696f4e9 15:49:30 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 15:49:31 ---> Running in 515bc4855f1e 15:49:31 Removing intermediate container 515bc4855f1e 15:49:31 ---> 56f20586dfd3 15:49:31 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:49:31 ---> Running in fc34a4efff55 15:49:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 15:49:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 15:49:31 OK: 269 MiB in 57 packages 15:49:32 Removing intermediate container fc34a4efff55 15:49:32 ---> 666c1b264d7d 15:49:32 Step 8/25 : WORKDIR /device-rest-go 15:49:32 ---> Running in 189f09eaa157 15:49:32 Removing intermediate container 189f09eaa157 15:49:32 ---> d859dfd886e5 15:49:32 Step 9/25 : COPY go.mod vendor* ./ 15:49:32 ---> 793daf300bc0 15:49:32 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:49:32 ---> Running in 1746a4b3fdb7 15:49:33 Removing intermediate container 1746a4b3fdb7 15:49:33 ---> 01dedb924e18 15:49:33 Step 11/25 : COPY . . 15:49:33 ---> 8386a63936e1 15:49:33 Step 12/25 : RUN $MAKE 15:49:33 ---> Running in e7860566c60d 15:49:33 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd 15:49:51 Removing intermediate container e7860566c60d 15:49:51 ---> 3274f9a8e6c5 15:49:51 Step 13/25 : FROM alpine:3.17 15:49:51 3.17: Pulling from library/alpine 15:49:51 63b65145d645: Already exists 15:49:51 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 15:49:51 Status: Downloaded newer image for alpine:3.17 15:49:51 ---> b2aa39c304c2 15:49:51 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 15:49:51 ---> Running in 3eb43aea8b70 15:49:51 Removing intermediate container 3eb43aea8b70 15:49:51 ---> 33cbf2c0049e 15:49:51 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 15:49:51 ---> Running in 3e18a8860a4e 15:49:51 Removing intermediate container 3e18a8860a4e 15:49:51 ---> 4357cbcc1291 15:49:51 Step 16/25 : RUN apk add --update --no-cache dumb-init 15:49:51 ---> Running in c529d8bf1915 15:49:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 15:49:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 15:49:51 (1/1) Installing dumb-init (1.2.5-r2) 15:49:51 Executing busybox-1.35.0-r29.trigger 15:49:51 OK: 7 MiB in 16 packages 15:49:52 Removing intermediate container c529d8bf1915 15:49:52 ---> 13bd3871ded2 15:49:52 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 15:49:52 ---> 637c3efc5cd5 15:49:52 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 15:49:53 ---> 54912cebd5c2 15:49:53 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 15:49:53 ---> c7aab6520393 15:49:53 Step 20/25 : EXPOSE 59986 15:49:53 ---> Running in e8e6fb5bb7cb 15:49:53 Removing intermediate container e8e6fb5bb7cb 15:49:53 ---> 909866553aa0 15:49:53 Step 21/25 : ENTRYPOINT ["/device-rest"] 15:49:53 ---> Running in 209d6e3c319a 15:49:53 Removing intermediate container 209d6e3c319a 15:49:53 ---> 24db307b2888 15:49:53 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 15:49:53 ---> Running in fbc17e5d96d7 15:49:53 Removing intermediate container fbc17e5d96d7 15:49:53 ---> 242a5af0e7d2 15:49:53 Step 23/25 : LABEL arch=amd64 15:49:53 ---> Running in 66da2378a933 15:49:53 Removing intermediate container 66da2378a933 15:49:53 ---> c2698e345b16 15:49:53 Step 24/25 : LABEL git_sha=1247785a1fc51975b6dbde80b0a9dd4e28977c7a 15:49:53 ---> Running in b6838c5e7a3c 15:49:53 Removing intermediate container b6838c5e7a3c 15:49:53 ---> e768e9918a60 15:49:53 Step 25/25 : LABEL version=0.0.0 15:49:53 ---> Running in bafb4f6c95e2 15:49:53 Removing intermediate container bafb4f6c95e2 15:49:53 ---> 72baa17c27fb 15:49:53 [Warning] One or more build-args [ARCH] were not consumed 15:49:53 Successfully built 72baa17c27fb 15:49:53 Successfully tagged device-rest: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:49:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:49:54 15:49:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:49:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:49:54 latest: Pulling from edgex-lftools-log-publisher 15:49:54 5eb5b503b376: Pulling fs layer 15:49:54 5c69ac0246d0: Pulling fs layer 15:49:54 ec43610c2a17: Pulling fs layer 15:49:54 3a2ae6a8a46f: Pulling fs layer 15:49:54 33b1e0a273af: Pulling fs layer 15:49:54 5d3b04190fa2: Pulling fs layer 15:49:54 2f39f015ded8: Pulling fs layer 15:49:54 3a2ae6a8a46f: Waiting 15:49:54 33b1e0a273af: Waiting 15:49:54 5d3b04190fa2: Waiting 15:49:54 2f39f015ded8: Waiting 15:49:54 5c69ac0246d0: Verifying Checksum 15:49:54 5c69ac0246d0: Download complete 15:49:54 3a2ae6a8a46f: Download complete 15:49:54 33b1e0a273af: Verifying Checksum 15:49:54 33b1e0a273af: Download complete 15:49:54 ec43610c2a17: Verifying Checksum 15:49:54 ec43610c2a17: Download complete 15:49:54 5d3b04190fa2: Verifying Checksum 15:49:54 5d3b04190fa2: Download complete 15:49:54 5eb5b503b376: Verifying Checksum 15:49:54 5eb5b503b376: Download complete 15:49:56 5eb5b503b376: Pull complete 15:49:56 2f39f015ded8: Download complete 15:49:56 5c69ac0246d0: Pull complete 15:49:56 ec43610c2a17: Pull complete 15:49:56 3a2ae6a8a46f: Pull complete 15:49:56 33b1e0a273af: Pull complete 15:49:57 5d3b04190fa2: Pull complete 15:50:01 2f39f015ded8: Pull complete 15:50:01 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:50:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:50:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:50:01 prd-ubuntu20.04-docker-8c-8g-582 does not seem to be running inside a container 15:50:01 $ 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-rest-go_dependabot-daily -v /w/workspace/_device-rest-go_dependabot-daily:/w/workspace/_device-rest-go_dependabot-daily:rw,z -v /w/workspace/_device-rest-go_dependabot-daily@tmp:/w/workspace/_device-rest-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:50:04 $ docker top c6a0d272d49150e78c1af10f0d1edf00d150925165cca0b22895b5fd874e4143 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:50:04 ---> job-cost.sh 15:50:04 lf-activate-venv: SKIPPING 15:50:04 INFO: No Stack... 15:50:04 INFO: Retrieving Pricing Info for: v3-standard-8 15:50:05 INFO: Archiving Costs [Pipeline] sh 15:50:05 + cat /w/workspace/_device-rest-go_dependabot-daily/archives/cost.csv 15:50:05 + cut -d, -f6 [Pipeline] lock 15:50:05 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-dependabot-daily-1-stack-cost] 15:50:05 Resource [jenkins-edgexfoundry-device-rest-go-dependabot-daily-1-stack-cost] did not exist. Created. 15:50:05 Lock acquired on [jenkins-edgexfoundry-device-rest-go-dependabot-daily-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:50:06 + echo total: 0.2199999988079071 [Pipeline] stash 15:50:06 Stashed 1 file(s) [Pipeline] } 15:50:06 Lock released on resource [jenkins-edgexfoundry-device-rest-go-dependabot-daily-1-stack-cost] [Pipeline] // lock [Pipeline] } 15:50:06 $ docker stop --time=1 c6a0d272d49150e78c1af10f0d1edf00d150925165cca0b22895b5fd874e4143 15:50:07 $ docker rm -f --volumes c6a0d272d49150e78c1af10f0d1edf00d150925165cca0b22895b5fd874e4143 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:51:42 Running on prd-ubuntu20.04-docker-arm64-4c-16g-648 in /w/workspace/_device-rest-go_dependabot-daily [Pipeline] { [Pipeline] ws 15:51:42 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 15:51:42 The recommended git tool is: git 15:51:54 using credential edgex-jenkins-ssh 15:51:54 Cloning the remote Git repository 15:51:54 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 15:51:54 > git init /w/workspace/device-rest-go/1 # timeout=10 15:51:55 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 15:51:55 > git --version # timeout=10 15:51:55 > git --version # 'git version 2.25.1' 15:51:55 using GIT_SSH to set credentials SSH Credentials for GitHub 15:51:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:51:57 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 15:51:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:51:59 Avoid second fetch 15:51:59 Checking out Revision 1247785a1fc51975b6dbde80b0a9dd4e28977c7a (dependabot-daily) 15:52:00 > git config core.sparsecheckout # timeout=10 15:52:00 > git checkout -f 1247785a1fc51975b6dbde80b0a9dd4e28977c7a # timeout=10 15:52:01 Commit message: "ci: Change dependabot gomod schedule to daily" 15:52:01 > git --version # timeout=10 15:52:01 > git --version # 'git version 2.25.1' 15:52:01 fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:52:04 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:52:04 % Total % Received % Xferd Average Speed Time Time Time Current 15:52:04 Dload Upload Total Spent Left Speed 15:52:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 150k 0 --:--:-- --:--:-- --:--:-- 150k [Pipeline] sh 15:52:05 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:52:05 + sudo tee /etc/docker/daemon.new 15:52:05 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:52:05 { 15:52:05 "registry-mirrors": [ 15:52:05 "https://nexus3.edgexfoundry.org:10001" 15:52:05 ], 15:52:05 "bip": "10.250.0.254/24", 15:52:05 "hosts": [ 15:52:05 "tcp://0.0.0.0:5555", 15:52:05 "unix:///var/run/docker.sock" 15:52:05 ], 15:52:05 "mtu": 1458, 15:52:05 "selinux-enabled": true, 15:52:05 "seccomp-profile": "/etc/docker/seccomp.json" 15:52:05 } [Pipeline] sh 15:52:06 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:52:06 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:52:24 provisioning config files... 15:52:25 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config11917999367481540018tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:52:25 ---> docker-login.sh 15:52:25 nexus3.edgexfoundry.org:10001 15:52:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:52:26 Configure a credential helper to remove this warning. See 15:52:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:52:26 15:52:26 Login Succeeded 15:52:26 nexus3.edgexfoundry.org:10002 15:52:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:52:26 Configure a credential helper to remove this warning. See 15:52:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:52:26 15:52:26 Login Succeeded 15:52:26 nexus3.edgexfoundry.org:10003 15:52:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:52:27 Configure a credential helper to remove this warning. See 15:52:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:52:27 15:52:27 Login Succeeded 15:52:27 nexus3.edgexfoundry.org:10004 15:52:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:52:27 Configure a credential helper to remove this warning. See 15:52:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:52:27 15:52:27 Login Succeeded 15:52:27 docker.io 15:52:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:52:28 Configure a credential helper to remove this warning. See 15:52:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:52:28 15:52:28 Login Succeeded 15:52:28 ---> docker-login.sh ends [Pipeline] } 15:52:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:52:28 [edgeX.isLTS] Checking if [dependabot-daily] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:52:28 [edgeX.isLTS] Checking if [dependabot-daily] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:52:28 ========================================================= 15:52:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 15:52:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:29 + 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:52:30 Sending build context to Docker daemon 139.3kB 15:52:31 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 15:52:31 Step 2/12 : FROM ${BASE} AS builder 15:52:31 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:52:31 af6eaf76a39c: Pulling fs layer 15:52:31 55522c791124: Pulling fs layer 15:52:31 ce5c4a1c91eb: Pulling fs layer 15:52:31 169dfbe0d373: Pulling fs layer 15:52:31 e1ff8fa3b103: Pulling fs layer 15:52:31 52ebb69f0ebf: Pulling fs layer 15:52:31 5abe8eddf0d5: Pulling fs layer 15:52:31 e1ff8fa3b103: Waiting 15:52:31 5abe8eddf0d5: Waiting 15:52:31 52ebb69f0ebf: Waiting 15:52:31 169dfbe0d373: Waiting 15:52:31 55522c791124: Verifying Checksum 15:52:31 55522c791124: Download complete 15:52:31 169dfbe0d373: Verifying Checksum 15:52:31 169dfbe0d373: Download complete 15:52:31 e1ff8fa3b103: Verifying Checksum 15:52:31 e1ff8fa3b103: Download complete 15:52:31 af6eaf76a39c: Verifying Checksum 15:52:31 af6eaf76a39c: Download complete 15:52:32 af6eaf76a39c: Pull complete 15:52:32 5abe8eddf0d5: Verifying Checksum 15:52:32 5abe8eddf0d5: Download complete 15:52:33 55522c791124: Pull complete 15:52:34 ce5c4a1c91eb: Verifying Checksum 15:52:34 ce5c4a1c91eb: Download complete 15:52:34 52ebb69f0ebf: Verifying Checksum 15:52:34 52ebb69f0ebf: Download complete 15:52:47 ce5c4a1c91eb: Pull complete 15:52:47 169dfbe0d373: Pull complete 15:52:47 e1ff8fa3b103: Pull complete 15:52:54 52ebb69f0ebf: Pull complete 15:52:56 5abe8eddf0d5: Pull complete 15:52:56 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 15:52:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 15:52:56 ---> 6cb57ee374ae 15:52:56 Step 3/12 : ARG ADD_BUILD_TAGS="" 15:52:58 ---> Running in b76d8a847e41 15:52:58 Removing intermediate container b76d8a847e41 15:52:58 ---> 4f5f1dd74456 15:52:58 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:52:58 ---> Running in ca06161da474 15:52:59 Removing intermediate container ca06161da474 15:52:59 ---> 164a8a7fd375 15:52:59 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:52:59 ---> Running in bfea161d2d10 15:52:59 Removing intermediate container bfea161d2d10 15:52:59 ---> 6a1b109740ad 15:52:59 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 15:53:00 ---> Running in b4dc50c56c27 15:53:00 Removing intermediate container b4dc50c56c27 15:53:00 ---> afab8ed2a83e 15:53:00 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:53:00 ---> Running in db069e91291d 15:53:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 15:53:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 15:53:03 (1/4) Installing openssh-keygen (9.1_p1-r2) 15:53:03 (2/4) Installing libedit (20221030.3.1-r0) 15:53:03 (3/4) Installing openssh-client-common (9.1_p1-r2) 15:53:03 (4/4) Installing openssh-client-default (9.1_p1-r2) 15:53:03 Executing busybox-1.35.0-r29.trigger 15:53:03 OK: 268 MiB in 57 packages 15:53:05 Removing intermediate container db069e91291d 15:53:05 ---> a366687cf86e 15:53:05 Step 8/12 : WORKDIR /device-rest-go 15:53:05 ---> Running in 0f8858ba53de 15:53:06 Removing intermediate container 0f8858ba53de 15:53:06 ---> d936e8946683 15:53:06 Step 9/12 : COPY go.mod vendor* ./ 15:53:06 ---> 76277f36123a 15:53:06 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:53:06 ---> Running in b8c0b3383350 15:54:14 Removing intermediate container b8c0b3383350 15:54:14 ---> c939bcc43d6c 15:54:14 Step 11/12 : COPY . . 15:54:14 ---> 1384c7d2f541 15:54:14 Step 12/12 : RUN $MAKE 15:54:14 ---> Running in 714fd55e7619 15:54:15 noop 15:54:16 Removing intermediate container 714fd55e7619 15:54:16 ---> 44e313a9fce4 15:54:16 Successfully built 44e313a9fce4 15:54:16 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:54:17 + docker inspect -f . ci-base-image-arm64 15:54:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:54:17 prd-ubuntu20.04-docker-arm64-4c-16g-648 does not seem to be running inside a container 15:54:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-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:54:18 $ docker top a4366fd616b9254f8185d6eeea71a582c7f41b8b251016c62318ce64ef7f5c05 -eo pid,comm [Pipeline] { [Pipeline] sh 15:54:19 + go version 15:54:19 go version go1.20.2 linux/arm64 [Pipeline] } 15:54:19 $ docker stop --time=1 a4366fd616b9254f8185d6eeea71a582c7f41b8b251016c62318ce64ef7f5c05 15:54:21 $ docker rm -f --volumes a4366fd616b9254f8185d6eeea71a582c7f41b8b251016c62318ce64ef7f5c05 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:54:22 + docker inspect -f . ci-base-image-arm64 15:54:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:54:22 prd-ubuntu20.04-docker-arm64-4c-16g-648 does not seem to be running inside a container 15:54:22 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-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:54:24 $ docker top e779951429f0e95eb68b1db7758c7be10ff6d19f6a6f9ce77f0cda9067e0f072 -eo pid,comm [Pipeline] { [Pipeline] sh 15:54:25 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 15:54:25 + make test 15:54:25 go test ./... -coverprofile=coverage.out ./... 15:55:04 ? github.com/edgexfoundry/device-rest-go [no test files] 15:57:26 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 15:57:26 ok github.com/edgexfoundry/device-rest-go/driver 0.057s coverage: 33.1% of statements 15:57:27 WARNING: Linting skipped (not on x86_64 or linter not installed) 15:57:27 go vet ./... 15:57:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:57:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:57:59 ./bin/test-attribution-txt.sh [Pipeline] echo 15:57:59 [edgeX.isLTS] Checking if [dependabot-daily] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:57:59 $ docker stop --time=1 e779951429f0e95eb68b1db7758c7be10ff6d19f6a6f9ce77f0cda9067e0f072 15:58:01 $ docker rm -f --volumes e779951429f0e95eb68b1db7758c7be10ff6d19f6a6f9ce77f0cda9067e0f072 [Pipeline] // withDockerContainer [Pipeline] sh 15:58:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:58:02 Warning: overwriting stash ‘coverage-report’ 15:58:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:58:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:58:04 + ls -al . 15:58:04 total 180 15:58:04 drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 15:54 . 15:58:04 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 15:51 .. 15:58:04 -rw-rw-r-- 1 jenkins jenkins 151 Mar 15 15:52 .dockerignore 15:58:04 drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 15:52 .git 15:58:04 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 15:52 .github 15:58:04 -rw-rw-r-- 1 jenkins jenkins 329 Mar 15 15:52 .gitignore 15:58:04 -rw-rw-r-- 1 jenkins jenkins 41 Mar 15 15:52 .golangci.yml 15:58:04 -rw-rw-r-- 1 jenkins jenkins 9321 Mar 15 15:52 Attribution.txt 15:58:04 -rw-rw-r-- 1 jenkins jenkins 13085 Mar 15 15:52 CHANGELOG.md 15:58:04 -rw-rw-r-- 1 jenkins jenkins 1578 Mar 15 15:52 Dockerfile 15:58:04 -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 15:52 GOVERNANCE.md 15:58:04 -rw-rw-r-- 1 jenkins jenkins 680 Mar 15 15:52 Jenkinsfile 15:58:04 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 15 15:52 LICENSE 15:58:04 -rw-rw-r-- 1 jenkins jenkins 1779 Mar 15 15:52 Makefile 15:58:04 -rw-rw-r-- 1 jenkins jenkins 620 Mar 15 15:52 OWNERS.md 15:58:04 -rw-rw-r-- 1 jenkins jenkins 15447 Mar 15 15:52 README.md 15:58:04 -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 15:48 VERSION 15:58:04 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 15:52 bin 15:58:04 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 15:52 cmd 15:58:04 -rw-r--r-- 1 jenkins jenkins 14200 Mar 15 15:57 coverage.out 15:58:04 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 15:52 driver 15:58:04 -rw-rw-r-- 1 jenkins jenkins 3446 Mar 15 15:52 go.mod 15:58:04 -rw-rw-r-- 1 jenkins jenkins 31299 Mar 15 15:52 go.sum 15:58:04 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 15:52 snap 15:58:04 -rw-rw-r-- 1 jenkins jenkins 713 Mar 15 15:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:58:04 + docker build -t device-rest-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=1247785a1fc51975b6dbde80b0a9dd4e28977c7a --label arch=arm64 --label version=0.0.0 . 15:58:04 Sending build context to Docker daemon 154.1kB 15:58:05 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 15:58:05 Step 2/25 : FROM ${BASE} AS builder 15:58:05 ---> 44e313a9fce4 15:58:05 Step 3/25 : ARG ADD_BUILD_TAGS="" 15:58:05 ---> Running in ab0a3d92fba0 15:58:05 Removing intermediate container ab0a3d92fba0 15:58:05 ---> d61b0221fb2a 15:58:05 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:58:05 ---> Running in 26ee494438ab 15:58:05 Removing intermediate container 26ee494438ab 15:58:05 ---> a39482922cbf 15:58:05 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:58:05 ---> Running in 92d6d211b4c4 15:58:06 Removing intermediate container 92d6d211b4c4 15:58:06 ---> 7a3fbef4955b 15:58:06 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 15:58:06 ---> Running in ddded2d8c3d0 15:58:06 Removing intermediate container ddded2d8c3d0 15:58:06 ---> 5eb3e4d93135 15:58:06 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:58:06 ---> Running in 7da0cc65f79a 15:58:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 15:58:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 15:58:09 OK: 268 MiB in 57 packages 15:58:10 Removing intermediate container 7da0cc65f79a 15:58:10 ---> f3481830ffb9 15:58:10 Step 8/25 : WORKDIR /device-rest-go 15:58:10 ---> Running in 6af5da31d2c0 15:58:11 Removing intermediate container 6af5da31d2c0 15:58:11 ---> ef031809403b 15:58:11 Step 9/25 : COPY go.mod vendor* ./ 15:58:11 ---> d888c75330f3 15:58:11 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:58:11 ---> Running in a2c17ce59abb 15:58:17 Removing intermediate container a2c17ce59abb 15:58:17 ---> 017646d5be15 15:58:17 Step 11/25 : COPY . . 15:58:17 ---> 682418037974 15:58:17 Step 12/25 : RUN $MAKE 15:58:17 ---> Running in 21f0886c1195 15:58:18 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd 16:01:10 Removing intermediate container 21f0886c1195 16:01:10 ---> fd98a4ec4e84 16:01:10 Step 13/25 : FROM alpine:3.17 16:01:10 3.17: Pulling from library/alpine 16:01:10 af6eaf76a39c: Already exists 16:01:10 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 16:01:10 Status: Downloaded newer image for alpine:3.17 16:01:10 ---> d74e625d9115 16:01:10 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 16:01:10 ---> Running in 3c3eeacbab6f 16:01:10 Removing intermediate container 3c3eeacbab6f 16:01:10 ---> 3919a46c80fa 16:01:10 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 16:01:10 ---> Running in a3e846f74991 16:01:10 Removing intermediate container a3e846f74991 16:01:10 ---> a9b456f649f9 16:01:10 Step 16/25 : RUN apk add --update --no-cache dumb-init 16:01:10 ---> Running in 6362e5dc06ce 16:01:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 16:01:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 16:01:10 (1/1) Installing dumb-init (1.2.5-r2) 16:01:10 Executing busybox-1.35.0-r29.trigger 16:01:10 OK: 8 MiB in 16 packages 16:01:10 Removing intermediate container 6362e5dc06ce 16:01:10 ---> 0359b2c06e9b 16:01:10 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 16:01:10 ---> 9ddba9681a45 16:01:10 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 16:01:10 ---> f173691f6bba 16:01:10 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 16:01:10 ---> e6855e62e6cd 16:01:10 Step 20/25 : EXPOSE 59986 16:01:10 ---> Running in 7c701aa66c09 16:01:10 Removing intermediate container 7c701aa66c09 16:01:10 ---> 1679ca220c51 16:01:10 Step 21/25 : ENTRYPOINT ["/device-rest"] 16:01:10 ---> Running in 006bec22a6c5 16:01:10 Removing intermediate container 006bec22a6c5 16:01:10 ---> 0051428fded1 16:01:10 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 16:01:10 ---> Running in f5c14706b6c2 16:01:10 Removing intermediate container f5c14706b6c2 16:01:10 ---> 1de597a03600 16:01:10 Step 23/25 : LABEL arch=arm64 16:01:10 ---> Running in e5bd1ab18ff9 16:01:10 Removing intermediate container e5bd1ab18ff9 16:01:10 ---> bb6f97cad2a4 16:01:10 Step 24/25 : LABEL git_sha=1247785a1fc51975b6dbde80b0a9dd4e28977c7a 16:01:10 ---> Running in 0d1f986d1d4b 16:01:10 Removing intermediate container 0d1f986d1d4b 16:01:10 ---> b1dde4504efd 16:01:10 Step 25/25 : LABEL version=0.0.0 16:01:10 ---> Running in 7e3ab5e5407e 16:01:10 Removing intermediate container 7e3ab5e5407e 16:01:10 ---> 0a4f4b75dbcb 16:01:10 [Warning] One or more build-args [ARCH] were not consumed 16:01:10 Successfully built 0a4f4b75dbcb 16:01:10 Successfully tagged device-rest-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 16:01:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:01:11 16:01:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:01:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:01:11 arm64: Pulling from edgex-lftools-log-publisher 16:01:11 8998bd30e6a1: Pulling fs layer 16:01:11 04944245beec: Pulling fs layer 16:01:11 699f458cf7ca: Pulling fs layer 16:01:11 765212b225bb: Pulling fs layer 16:01:11 f23df028b6ca: Pulling fs layer 16:01:11 d65c8cfc05b1: Pulling fs layer 16:01:11 2437ff75d9bd: Pulling fs layer 16:01:11 765212b225bb: Waiting 16:01:11 f23df028b6ca: Waiting 16:01:11 d65c8cfc05b1: Waiting 16:01:11 2437ff75d9bd: Waiting 16:01:11 04944245beec: Download complete 16:01:11 765212b225bb: Verifying Checksum 16:01:11 765212b225bb: Download complete 16:01:11 f23df028b6ca: Verifying Checksum 16:01:11 f23df028b6ca: Download complete 16:01:12 d65c8cfc05b1: Verifying Checksum 16:01:12 d65c8cfc05b1: Download complete 16:01:12 699f458cf7ca: Verifying Checksum 16:01:12 699f458cf7ca: Download complete 16:01:12 8998bd30e6a1: Verifying Checksum 16:01:12 8998bd30e6a1: Download complete 16:01:15 2437ff75d9bd: Verifying Checksum 16:01:15 2437ff75d9bd: Download complete 16:01:16 8998bd30e6a1: Pull complete 16:01:16 04944245beec: Pull complete 16:01:19 699f458cf7ca: Pull complete 16:01:19 765212b225bb: Pull complete 16:01:20 f23df028b6ca: Pull complete 16:01:20 d65c8cfc05b1: Pull complete 16:01:35 2437ff75d9bd: Pull complete 16:01:35 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:01:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:01:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:01:35 prd-ubuntu20.04-docker-arm64-4c-16g-648 does not seem to be running inside a container 16:01:36 $ 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-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-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 16:01:38 $ docker top 562d40cf2f4c1541cdfd4528e5993107c77cff95d9466c48e53f99efca997099 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:01:39 ---> job-cost.sh 16:01:39 lf-activate-venv: SKIPPING 16:01:39 INFO: No Stack... 16:01:40 INFO: Retrieving Pricing Info for: v3-standard-4 16:01:41 INFO: Archiving Costs [Pipeline] sh 16:01:41 + + cut -d, -f6 16:01:41 cat /w/workspace/device-rest-go/1/archives/cost.csv [Pipeline] lock 16:01:41 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-dependabot-daily-1-stack-cost] 16:01:41 Resource [jenkins-edgexfoundry-device-rest-go-dependabot-daily-1-stack-cost] did not exist. Created. 16:01:41 Lock acquired on [jenkins-edgexfoundry-device-rest-go-dependabot-daily-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:01:42 /w/workspace/device-rest-go/1@tmp/durable-bf53f8a5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:01:43 + echo total: 0.10999999940395355 [Pipeline] stash 16:01:43 Warning: overwriting stash ‘stack-cost’ 16:01:43 Stashed 1 file(s) [Pipeline] } 16:01:43 Lock released on resource [jenkins-edgexfoundry-device-rest-go-dependabot-daily-1-stack-cost] [Pipeline] // lock [Pipeline] } 16:01:43 $ docker stop --time=1 562d40cf2f4c1541cdfd4528e5993107c77cff95d9466c48e53f99efca997099 16:01:45 $ docker rm -f --volumes 562d40cf2f4c1541cdfd4528e5993107c77cff95d9466c48e53f99efca997099 [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 16:01:46 provisioning config files... 16:01:46 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/_device-rest-go_dependabot-daily@tmp/config1165442085826064361tmp [Pipeline] { [Pipeline] sh 16:01:47 + set +x 16:01:47 + bash -s -- 16:01:47 + curl -s https://codecov.io/bash 16:01:47 16:01:47 _____ _ 16:01:47 / ____| | | 16:01:47 | | ___ __| | ___ ___ _____ __ 16:01:47 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:01:47 | |___| (_) | (_| | __/ (_| (_) \ V / 16:01:47 \_____\___/ \__,_|\___|\___\___/ \_/ 16:01:47 Bash-1.0.6 16:01:47 16:01:47 16:01:47 ==> git version 2.25.1 found 16:01:47 ==> 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 16:01:47 Release-Date: 2020-01-08 16:01:47 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 16:01:47 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:01:47 ==> Jenkins CI detected. 16:01:47 current dir:  /w/workspace/_device-rest-go_dependabot-daily 16:01:47 project root: . 16:01:47 --> token set from env 16:01:47 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:01:47 ==> Running gcov in . (disable via -X gcov) 16:01:47 ==> Python coveragepy not found 16:01:47 ==> Searching for coverage reports in: 16:01:47 + . 16:01:47 -> Found 1 reports 16:01:47 ==> Detecting git/mercurial file structure 16:01:47 ==> Reading reports 16:01:47 + ./coverage.out bytes=14200 16:01:47 ==> Appending adjustments 16:01:47 https://docs.codecov.io/docs/fixing-reports 16:01:47 + Found adjustments 16:01:47 ==> Gzipping contents 16:01:47 4.0K /tmp/codecov.BI9xC0.gz 16:01:47 ==> Uploading reports 16:01:47 url: https://codecov.io 16:01:47 query: branch=dependabot-daily&commit=1247785a1fc51975b6dbde80b0a9dd4e28977c7a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fdependabot-daily%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:01:47 -> Pinging Codecov 16:01:47 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=dependabot-daily&commit=1247785a1fc51975b6dbde80b0a9dd4e28977c7a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fdependabot-daily%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:01:47 -> Uploading to 16:01:47 https://storage.googleapis.com/codecov/v4/raw/2023-03-15/4E5D53B4F1F92C436F7061BF334D961C/1247785a1fc51975b6dbde80b0a9dd4e28977c7a/06d2993e-2d65-47b4-aa24-45790132c7a2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230315%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230315T160147Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=dad9fc5e4bbd35fd585ce8cb3b02888283970423bee2c6e1875eaa8ecf42680f 16:01:47 % Total % Received % Xferd Average Speed Time Time Time Current 16:01:47 Dload Upload Total Spent Left Speed 16:01:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2465 0 0 100 2465 0 10270 --:--:-- --:--:-- --:--:-- 10270 16:01:47 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/1247785a1fc51975b6dbde80b0a9dd4e28977c7a [Pipeline] } 16:01:47 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 16:01:49 + [ -d /w/workspace/_device-rest-go_dependabot-daily/archives ] 16:01:49 + ls -al /w/workspace/_device-rest-go_dependabot-daily/archives 16:01:49 total 16 16:01:49 drwxr-xr-x 3 root root 4096 Mar 15 15:50 . 16:01:49 drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 15:50 .. 16:01:49 drwxr-xr-x 2 root root 4096 Mar 15 15:50 cost 16:01:49 -rw-r--r-- 1 root root 96 Mar 15 15:50 cost.csv 16:01:49 + sudo chown -R jenkins:jenkins /w/workspace/_device-rest-go_dependabot-daily/archives 16:01:49 + ls -al /w/workspace/_device-rest-go_dependabot-daily/archives 16:01:49 total 16 16:01:49 drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 15:50 . 16:01:49 drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 15:50 .. 16:01:49 drwxr-xr-x 2 jenkins jenkins 4096 Mar 15 15:50 cost 16:01:49 -rw-r--r-- 1 jenkins jenkins 96 Mar 15 15:50 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:01:49 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:01:50 ---> package-listing.sh 16:01:50 ++ facter osfamily 16:01:50 ++ tr '[:upper:]' '[:lower:]' 16:01:50 + OS_FAMILY=debian 16:01:50 + workspace=/w/workspace/_device-rest-go_dependabot-daily 16:01:50 + START_PACKAGES=/tmp/packages_start.txt 16:01:50 + END_PACKAGES=/tmp/packages_end.txt 16:01:50 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:01:50 + PACKAGES=/tmp/packages_start.txt 16:01:50 + '[' /w/workspace/_device-rest-go_dependabot-daily ']' 16:01:50 + PACKAGES=/tmp/packages_end.txt 16:01:50 + case "${OS_FAMILY}" in 16:01:50 + dpkg -l 16:01:50 + grep '^ii' 16:01:50 + '[' -f /tmp/packages_start.txt ']' 16:01:50 + '[' -f /tmp/packages_end.txt ']' 16:01:50 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:01:50 + '[' /w/workspace/_device-rest-go_dependabot-daily ']' 16:01:50 + mkdir -p /w/workspace/_device-rest-go_dependabot-daily/archives/ 16:01:50 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_device-rest-go_dependabot-daily/archives/ [Pipeline] echo 16:01:50 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/_device-rest-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 16:01:51 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:01:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:01:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:01:51 prd-ubuntu20.04-docker-8c-8g-582 does not seem to be running inside a container 16:01:51 $ 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/_device-rest-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/_device-rest-go_dependabot-daily -v /w/workspace/_device-rest-go_dependabot-daily:/w/workspace/_device-rest-go_dependabot-daily:rw,z -v /w/workspace/_device-rest-go_dependabot-daily@tmp:/w/workspace/_device-rest-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 16:01:52 $ docker top 88c8d4f500faf5f09ea45828ccab431f4ae835d0e135d9d6bf35a23d0308ee87 -eo pid,comm [Pipeline] { [Pipeline] sh 16:01:52 + touch /tmp/pre-build-complete [Pipeline] sh 16:01:52 + mkdir -p /var/log/sysstat [Pipeline] sh 16:01:53 + ls /var/log/sa-host 16:01:53 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:01:53 provisioning config files... 16:01:53 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_device-rest-go_dependabot-daily@tmp/config1090083918136140603tmp [Pipeline] { [Pipeline] echo 16:01:53 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:01:53 ---> create-netrc.sh [Pipeline] } 16:01:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:01:54 ---> python-tools-install.sh [Pipeline] echo 16:01:54 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:01:54 ---> sudo-logs.sh 16:01:54 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:01:54 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:01:54 ---> job-cost.sh 16:01:54 lf-activate-venv: SKIPPING 16:01:54 DEBUG: total: 0.2199999988079071 16:01:54 INFO: Retrieving Stack Cost... 16:01:55 INFO: Retrieving Pricing Info for: v3-standard-8 16:01:55 INFO: Archiving Costs [Pipeline] echo 16:01:55 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:01:56 ---> logs-deploy.sh 16:01:56 lf-activate-venv: SKIPPING 16:01:56 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/dependabot-daily/1 16:01:56 INFO: archiving workspace using pattern(s): 16:01:56 Archives upload complete. 16:01:57 INFO: archiving logs to Nexus