Push event to branch dependabot-daily Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from adfe6f3580b78144da79de0e27a7fa0ad90dd40e 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-ssh17446790067094590771.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-ssh7054364999404815478.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-modbus-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-modbus-go/branches/dependabot-daily/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18042033460873511605.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-modbus-go/branches/dependabot-daily/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17271850189113967898.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-ssh494198297359495792.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-modbus-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-modbus-go/branches/dependabot-daily/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13931046417521650685.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-modbus-go, buildSnap:false] ========================================================= [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-modbus-go-settings PROJECT: device-modbus-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-modbus 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-506 in /w/workspace/evice-modbus-go_dependabot-daily [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/evice-modbus-go_dependabot-daily # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-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-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision adfe6f3580b78144da79de0e27a7fa0ad90dd40e (dependabot-daily) 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 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-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 adfe6f3580b78144da79de0e27a7fa0ad90dd40e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:40:58 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:40:58 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:40:58 ========================================================= 15:40:58 EdgeX Global Pipelines Version Info 15:40:58 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:40:59 ------------------- 15:40:59 stable info: 15:40:59 ------------------- 15:40:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:40:59 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 15:40:59 Message: update stable to v1.0.245 15:40:59 ------------------- 15:40:59 experimental info: 15:40:59 ------------------- 15:40:59 Commited By: **** collab-it+edgex@linuxfoundation.org 15:40:59 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 15:40:59 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:41:00 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 15:41:00 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 15:41:00 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:41:00 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:41:00 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:41:00 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 15:41:00 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:41:00 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:41:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:41:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:41:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:41:00 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 15:41:00 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:41:00 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:41:00 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:41:00 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:41:00 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:41:00 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:41:00 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:41:00 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:41:00 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:41:00 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:41:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:41:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:41:01 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:41:01 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:41:01 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:41:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = dependabot-daily [Pipeline] echo 15:41:01 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = dependabot-daily [Pipeline] echo 15:41:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = dependabot-daily [Pipeline] echo 15:41:01 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = adfe6f3580b78144da79de0e27a7fa0ad90dd40e [Pipeline] echo 15:41:01 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = adfe6f3 [Pipeline] echo 15:41:01 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:41:01 provisioning config files... 15:41:01 copy managed file [device-modbus-go-settings] to file:/w/workspace/evice-modbus-go_dependabot-daily@tmp/config5377614633654296469tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:41:01 ---> docker-login.sh 15:41:01 nexus3.edgexfoundry.org:10001 15:41:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:41:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:41:02 Configure a credential helper to remove this warning. See 15:41:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:41:02 15:41:02 Login Succeeded 15:41:02 nexus3.edgexfoundry.org:10002 15:41:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:41:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:41:02 Configure a credential helper to remove this warning. See 15:41:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:41:02 15:41:02 Login Succeeded 15:41:02 nexus3.edgexfoundry.org:10003 15:41:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:41:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:41:02 Configure a credential helper to remove this warning. See 15:41:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:41:02 15:41:02 Login Succeeded 15:41:02 nexus3.edgexfoundry.org:10004 15:41:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:41:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:41:02 Configure a credential helper to remove this warning. See 15:41:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:41:02 15:41:02 Login Succeeded 15:41:02 docker.io 15:41:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:41:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:41:03 Configure a credential helper to remove this warning. See 15:41:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:41:03 15:41:03 Login Succeeded 15:41:03 ---> docker-login.sh ends [Pipeline] } 15:41:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:41:03 + git rev-list -1 --merges adfe6f3580b78144da79de0e27a7fa0ad90dd40e~1..adfe6f3580b78144da79de0e27a7fa0ad90dd40e [Pipeline] echo 15:41:03 -----------> git rev-list -1 --merges adfe6f3580b78144da79de0e27a7fa0ad90dd40e~1..adfe6f3580b78144da79de0e27a7fa0ad90dd40e adfe6f3580b78144da79de0e27a7fa0ad90dd40e [false] [Pipeline] sh 15:41:04 + git log --format=format:%s -1 adfe6f3580b78144da79de0e27a7fa0ad90dd40e [Pipeline] echo 15:41:04 ========================================================= 15:41:04 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:41:04 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:41:04 + git log --format=format:%s -1 adfe6f3580b78144da79de0e27a7fa0ad90dd40e [Pipeline] echo 15:41:04 [semverPrep] GIT_COMMIT: adfe6f3580b78144da79de0e27a7fa0ad90dd40e, Commit Message: ci: Change dependabot gomod schedule to daily [Pipeline] echo 15:41:04 [semverPrep] This is not a build commit. [Pipeline] sh 15:41:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:41:04 + grep -v github /etc/ssh/ssh_known_hosts 15:41:04 + [ -e /tmp/ssh_known_hosts ] 15:41:04 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:41:04 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=sudo 15:41:04 tee -a /etc/ssh/ssh_known_hosts 15:41:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:41:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:41:05 15:41:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:41:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:41:05 0.1.4: Pulling from edgex-devops/py-git-semver 15:41:05 b85a868b505f: Pulling fs layer 15:41:05 e2be974225ed: Pulling fs layer 15:41:05 339a4e72a1f5: Pulling fs layer 15:41:05 988bab9f4d93: Pulling fs layer 15:41:05 1469e6f7b9e6: Pulling fs layer 15:41:05 eaf3925da568: Pulling fs layer 15:41:05 bab4dde63d76: Pulling fs layer 15:41:05 bde34c3a00c8: Pulling fs layer 15:41:05 b352a97aabf1: Pulling fs layer 15:41:05 4872d77fe225: Pulling fs layer 15:41:05 5851b861e8e6: Pulling fs layer 15:41:05 988bab9f4d93: Waiting 15:41:05 1469e6f7b9e6: Waiting 15:41:05 eaf3925da568: Waiting 15:41:05 bab4dde63d76: Waiting 15:41:05 bde34c3a00c8: Waiting 15:41:05 b352a97aabf1: Waiting 15:41:05 4872d77fe225: Waiting 15:41:05 5851b861e8e6: Waiting 15:41:05 e2be974225ed: Download complete 15:41:05 988bab9f4d93: Verifying Checksum 15:41:05 988bab9f4d93: Download complete 15:41:05 1469e6f7b9e6: Verifying Checksum 15:41:05 1469e6f7b9e6: Download complete 15:41:05 339a4e72a1f5: Verifying Checksum 15:41:05 339a4e72a1f5: Download complete 15:41:05 eaf3925da568: Download complete 15:41:05 bde34c3a00c8: Download complete 15:41:05 b352a97aabf1: Download complete 15:41:05 4872d77fe225: Download complete 15:41:05 5851b861e8e6: Verifying Checksum 15:41:05 5851b861e8e6: Download complete 15:41:05 b85a868b505f: Verifying Checksum 15:41:05 b85a868b505f: Download complete 15:41:06 bab4dde63d76: Verifying Checksum 15:41:06 bab4dde63d76: Download complete 15:41:07 b85a868b505f: Pull complete 15:41:07 e2be974225ed: Pull complete 15:41:07 339a4e72a1f5: Pull complete 15:41:07 988bab9f4d93: Pull complete 15:41:08 1469e6f7b9e6: Pull complete 15:41:08 eaf3925da568: Pull complete 15:41:09 bab4dde63d76: Pull complete 15:41:09 bde34c3a00c8: Pull complete 15:41:09 b352a97aabf1: Pull complete 15:41:09 4872d77fe225: Pull complete 15:41:09 5851b861e8e6: Pull complete 15:41:09 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 15:41:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:41:09 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:41:10 prd-ubuntu20.04-docker-8c-8g-506 does not seem to be running inside a container 15:41:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/evice-modbus-go_dependabot-daily -v /w/workspace/evice-modbus-go_dependabot-daily:/w/workspace/evice-modbus-go_dependabot-daily:rw,z -v /w/workspace/evice-modbus-go_dependabot-daily@tmp:/w/workspace/evice-modbus-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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:41:14 $ docker top 4aeb81a1e0fb656d96bb64e271d6627272753ee37d3bb540b62ca363ba4650f3 -eo pid,comm 15:41:15 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:41:15 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:41:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:41:15 [ssh-agent] Looking for ssh-agent implementation... 15:41:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:41:15 $ docker exec 4aeb81a1e0fb656d96bb64e271d6627272753ee37d3bb540b62ca363ba4650f3 ssh-agent 15:41:15 SSH_AUTH_SOCK=/tmp/ssh-ZiUmafpC4FeA/agent.20 15:41:15 SSH_AGENT_PID=38 15:41:15 Running ssh-add (command line suppressed) 15:41:15 Identity added: /w/workspace/evice-modbus-go_dependabot-daily@tmp/private_key_15268464672310298167.key (/w/workspace/evice-modbus-go_dependabot-daily@tmp/private_key_15268464672310298167.key) 15:41:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:41:15 + git tag --points-at HEAD [Pipeline] } 15:41:15 $ docker exec --env ******** --env ******** 4aeb81a1e0fb656d96bb64e271d6627272753ee37d3bb540b62ca363ba4650f3 ssh-agent -k 15:41:16 unset SSH_AUTH_SOCK; 15:41:16 unset SSH_AGENT_PID; 15:41:16 echo Agent pid 38 killed; 15:41:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:41:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:41:16 [ssh-agent] Looking for ssh-agent implementation... 15:41:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:41:16 $ docker exec 4aeb81a1e0fb656d96bb64e271d6627272753ee37d3bb540b62ca363ba4650f3 ssh-agent 15:41:16 SSH_AUTH_SOCK=/tmp/ssh-nCEoAay5dBOm/agent.70 15:41:16 SSH_AGENT_PID=76 15:41:16 Running ssh-add (command line suppressed) 15:41:16 Identity added: /w/workspace/evice-modbus-go_dependabot-daily@tmp/private_key_9366419360793725097.key (/w/workspace/evice-modbus-go_dependabot-daily@tmp/private_key_9366419360793725097.key) 15:41:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:41:17 + git semver init 15:41:17 2023-03-15 15:41:17,766 [run_init] DEBUG init version:0.0.0 force:False 15:41:17 2023-03-15 15:41:17,767 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/evice-modbus-go_dependabot-daily/.semver 15:41:17 2023-03-15 15:41:17,768 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/evice-modbus-go_dependabot-daily/.semver 15:41:17 2023-03-15 15:41:17,768 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/evice-modbus-go_dependabot-daily/.semver'], cwd=/w/workspace/evice-modbus-go_dependabot-daily, universal_newlines=False, shell=None, istream=None) 15:41:18 2023-03-15 15:41:18,579 [append_file] DEBUG append to file:/w/workspace/evice-modbus-go_dependabot-daily/.git/info/exclude 15:41:18 2023-03-15 15:41:18,579 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/evice-modbus-go_dependabot-daily/.semver/dependabot-daily with force:False 15:41:18 2023-03-15 15:41:18,579 [write_file] DEBUG write to file:/w/workspace/evice-modbus-go_dependabot-daily/.semver/dependabot-daily 15:41:18 2023-03-15 15:41:18,583 [execute] INFO git cat-file --batch-check 15:41:18 2023-03-15 15:41:18,584 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/evice-modbus-go_dependabot-daily/.semver, universal_newlines=False, shell=None, istream=) 15:41:18 2023-03-15 15:41:18,590 [execute] INFO git cat-file --batch 15:41:18 2023-03-15 15:41:18,590 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/evice-modbus-go_dependabot-daily/.semver, universal_newlines=False, shell=None, istream=) 15:41:18 2023-03-15 15:41:18,596 [read_version] DEBUG read version from /w/workspace/evice-modbus-go_dependabot-daily/.semver/dependabot-daily 15:41:18 0.0.0 [Pipeline] } 15:41:18 $ docker exec --env ******** --env ******** 4aeb81a1e0fb656d96bb64e271d6627272753ee37d3bb540b62ca363ba4650f3 ssh-agent -k 15:41:18 unset SSH_AUTH_SOCK; 15:41:18 unset SSH_AGENT_PID; 15:41:18 echo Agent pid 76 killed; 15:41:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:41:19 + git semver [Pipeline] } 15:41:19 $ docker stop --time=1 4aeb81a1e0fb656d96bb64e271d6627272753ee37d3bb540b62ca363ba4650f3 15:41:21 $ docker rm -f --volumes 4aeb81a1e0fb656d96bb64e271d6627272753ee37d3bb540b62ca363ba4650f3 [Pipeline] // withDockerContainer [Pipeline] sh 15:41:22 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:41:22 Stashed 1 file(s) [Pipeline] echo 15:41:22 [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:41:23 provisioning config files... 15:41:23 copy managed file [device-modbus-go-settings] to file:/w/workspace/evice-modbus-go_dependabot-daily@tmp/config1437278645586771929tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:41:23 ---> docker-login.sh 15:41:23 nexus3.edgexfoundry.org:10001 15:41:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:41:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:41:23 Configure a credential helper to remove this warning. See 15:41:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:41:23 15:41:23 Login Succeeded 15:41:23 nexus3.edgexfoundry.org:10002 15:41:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:41:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:41:23 Configure a credential helper to remove this warning. See 15:41:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:41:23 15:41:23 Login Succeeded 15:41:23 nexus3.edgexfoundry.org:10003 15:41:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:41:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:41:23 Configure a credential helper to remove this warning. See 15:41:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:41:23 15:41:23 Login Succeeded 15:41:23 nexus3.edgexfoundry.org:10004 15:41:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:41:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:41:24 Configure a credential helper to remove this warning. See 15:41:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:41:24 15:41:24 Login Succeeded 15:41:24 docker.io 15:41:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:41:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:41:24 Configure a credential helper to remove this warning. See 15:41:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:41:24 15:41:24 Login Succeeded 15:41:24 ---> docker-login.sh ends [Pipeline] } 15:41:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:41:24 [edgeX.isLTS] Checking if [dependabot-daily] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:41:24 [edgeX.isLTS] Checking if [dependabot-daily] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:41:24 ========================================================= 15:41:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 15:41:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:41:25 + 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:41:25 Sending build context to Docker daemon 6.332MB 15:41:25 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 15:41:25 Step 2/10 : FROM ${BASE} AS builder 15:41:25 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 15:41:25 63b65145d645: Pulling fs layer 15:41:25 a2d21d5440eb: Pulling fs layer 15:41:25 935e6c44a52c: Pulling fs layer 15:41:25 94cc34f8dd06: Pulling fs layer 15:41:25 30dea6a524f1: Pulling fs layer 15:41:25 a2aff8979fd8: Pulling fs layer 15:41:25 6808be2612f2: Pulling fs layer 15:41:25 f25807f1079a: Pulling fs layer 15:41:25 94cc34f8dd06: Waiting 15:41:25 30dea6a524f1: Waiting 15:41:25 f25807f1079a: Waiting 15:41:25 6808be2612f2: Waiting 15:41:25 a2aff8979fd8: Waiting 15:41:25 a2d21d5440eb: Verifying Checksum 15:41:25 a2d21d5440eb: Download complete 15:41:25 94cc34f8dd06: Verifying Checksum 15:41:25 94cc34f8dd06: Download complete 15:41:25 30dea6a524f1: Verifying Checksum 15:41:25 30dea6a524f1: Download complete 15:41:25 63b65145d645: Download complete 15:41:25 a2aff8979fd8: Download complete 15:41:25 63b65145d645: Pull complete 15:41:25 a2d21d5440eb: Pull complete 15:41:26 f25807f1079a: Verifying Checksum 15:41:26 f25807f1079a: Download complete 15:41:26 935e6c44a52c: Verifying Checksum 15:41:26 935e6c44a52c: Download complete 15:41:26 6808be2612f2: Verifying Checksum 15:41:26 6808be2612f2: Download complete 15:41:30 935e6c44a52c: Pull complete 15:41:30 94cc34f8dd06: Pull complete 15:41:30 30dea6a524f1: Pull complete 15:41:30 a2aff8979fd8: Pull complete 15:41:32 6808be2612f2: Pull complete 15:41:33 f25807f1079a: Pull complete 15:41:33 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 15:41:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 15:41:33 ---> 3b553350e43f 15:41:33 Step 3/10 : ARG ADD_BUILD_TAGS="" 15:41:37 Still waiting to schedule task 15:41:37 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 15:41:38 ---> Running in ba36bc8d87ae 15:41:38 Removing intermediate container ba36bc8d87ae 15:41:38 ---> 868bd5bb5a04 15:41:38 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:41:38 ---> Running in 9343626bd1bf 15:41:38 Removing intermediate container 9343626bd1bf 15:41:38 ---> 5f13e149dfbb 15:41:38 Step 5/10 : RUN apk add --update --no-cache make git openssh 15:41:38 ---> Running in 744dc05ecb80 15:41:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 15:41:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 15:41:39 (1/8) Installing openssh-keygen (9.1_p1-r2) 15:41:39 (2/8) Installing libedit (20221030.3.1-r0) 15:41:39 (3/8) Installing openssh-client-common (9.1_p1-r2) 15:41:39 (4/8) Installing openssh-client-default (9.1_p1-r2) 15:41:39 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 15:41:39 (6/8) Installing openssh-server-common (9.1_p1-r2) 15:41:39 (7/8) Installing openssh-server (9.1_p1-r2) 15:41:39 (8/8) Installing openssh (9.1_p1-r2) 15:41:39 Executing busybox-1.35.0-r29.trigger 15:41:39 OK: 270 MiB in 61 packages 15:41:40 Removing intermediate container 744dc05ecb80 15:41:40 ---> cce83460b6ee 15:41:40 Step 6/10 : WORKDIR /device-modbus-go 15:41:40 ---> Running in 3e80ee572106 15:41:40 Removing intermediate container 3e80ee572106 15:41:40 ---> bbb8cf51a3c3 15:41:40 Step 7/10 : COPY go.mod vendor* ./ 15:41:40 ---> a68f517ff648 15:41:40 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:41:40 ---> Running in 46cfa17803ce 15:42:19 Removing intermediate container 46cfa17803ce 15:42:19 ---> 8e997d95aa85 15:42:19 Step 9/10 : COPY . . 15:42:19 ---> bb3636141c31 15:42:19 Step 10/10 : RUN ${MAKE} 15:42:19 ---> Running in 43c47efed4f6 15:42:19 noop 15:42:19 Removing intermediate container 43c47efed4f6 15:42:19 ---> 8ef2d6fb1773 15:42:19 Successfully built 8ef2d6fb1773 15:42:19 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:42:19 + docker inspect -f . ci-base-image-x86_64 15:42:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:42:19 prd-ubuntu20.04-docker-8c-8g-506 does not seem to be running inside a container 15:42:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/evice-modbus-go_dependabot-daily -v /w/workspace/evice-modbus-go_dependabot-daily:/w/workspace/evice-modbus-go_dependabot-daily:rw,z -v /w/workspace/evice-modbus-go_dependabot-daily@tmp:/w/workspace/evice-modbus-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 ******** ci-base-image-x86_64 cat 15:42:20 $ docker top fbd669e2fcb607cc5dad0756683a4836a5fdb551b094ec7f8a3f8c7bb7a8bef0 -eo pid,comm [Pipeline] { [Pipeline] sh 15:42:20 + go version 15:42:20 go version go1.20.2 linux/amd64 [Pipeline] } 15:42:20 $ docker stop --time=1 fbd669e2fcb607cc5dad0756683a4836a5fdb551b094ec7f8a3f8c7bb7a8bef0 15:42:21 $ docker rm -f --volumes fbd669e2fcb607cc5dad0756683a4836a5fdb551b094ec7f8a3f8c7bb7a8bef0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:42:22 + docker inspect -f . ci-base-image-x86_64 15:42:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:42:22 prd-ubuntu20.04-docker-8c-8g-506 does not seem to be running inside a container 15:42:22 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/evice-modbus-go_dependabot-daily -v /w/workspace/evice-modbus-go_dependabot-daily:/w/workspace/evice-modbus-go_dependabot-daily:rw,z -v /w/workspace/evice-modbus-go_dependabot-daily@tmp:/w/workspace/evice-modbus-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 ******** ci-base-image-x86_64 cat 15:42:23 $ docker top 72374f3aa61004bd539e8d719de59aaa6901498e542065897d062cd8fc9e293d -eo pid,comm [Pipeline] { [Pipeline] sh 15:42:23 + git config --global --add safe.directory /w/workspace/evice-modbus-go_dependabot-daily [Pipeline] fileExists [Pipeline] sh 15:42:23 + make test 15:42:23 go test ./... -coverprofile=coverage.out 15:42:29 ? github.com/edgexfoundry/device-modbus-go [no test files] 15:42:39 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 15:42:39 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.011s coverage: 48.0% of statements 15:42:45 go vet ./... 15:42:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:42:49 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:42:49 ./bin/test-attribution-txt.sh [Pipeline] echo 15:42:49 [edgeX.isLTS] Checking if [dependabot-daily] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:42:49 $ docker stop --time=1 72374f3aa61004bd539e8d719de59aaa6901498e542065897d062cd8fc9e293d 15:42:54 $ docker rm -f --volumes 72374f3aa61004bd539e8d719de59aaa6901498e542065897d062cd8fc9e293d [Pipeline] // withDockerContainer [Pipeline] sh 15:42:54 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:42:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:42:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:42:55 + ls -al . 15:42:55 total 180 15:42:55 drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 15:42 . 15:42:55 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 15:40 .. 15:42:55 -rw-rw-r-- 1 jenkins jenkins 140 Mar 15 15:40 .dockerignore 15:42:55 drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 15:41 .git 15:42:55 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 15:40 .github 15:42:55 -rw-rw-r-- 1 jenkins jenkins 331 Mar 15 15:40 .gitignore 15:42:55 -rw-rw-r-- 1 jenkins jenkins 41 Mar 15 15:40 .golangci.yml 15:42:55 drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 15:41 .semver 15:42:55 -rw-rw-r-- 1 jenkins jenkins 10236 Mar 15 15:40 Attribution.txt 15:42:55 -rw-rw-r-- 1 jenkins jenkins 11576 Mar 15 15:40 CHANGELOG.md 15:42:55 -rw-rw-r-- 1 jenkins jenkins 1365 Mar 15 15:40 Dockerfile 15:42:55 -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 15:40 GOVERNANCE.md 15:42:55 -rw-rw-r-- 1 jenkins jenkins 680 Mar 15 15:40 Jenkinsfile 15:42:55 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 15 15:40 LICENSE 15:42:55 -rw-rw-r-- 1 jenkins jenkins 1705 Mar 15 15:40 Makefile 15:42:55 -rw-rw-r-- 1 jenkins jenkins 622 Mar 15 15:40 OWNERS.md 15:42:55 -rw-rw-r-- 1 jenkins jenkins 4061 Mar 15 15:40 README.md 15:42:55 -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 15:41 VERSION 15:42:55 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 15:40 bin 15:42:55 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 15:40 cmd 15:42:55 -rw-r--r-- 1 jenkins jenkins 23736 Mar 15 15:42 coverage.out 15:42:55 -rw-rw-r-- 1 jenkins jenkins 3497 Mar 15 15:40 go.mod 15:42:55 -rw-rw-r-- 1 jenkins jenkins 31641 Mar 15 15:40 go.sum 15:42:55 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 15:40 internal 15:42:55 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 15:40 simulator 15:42:55 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 15:40 snap 15:42:55 -rw-rw-r-- 1 jenkins jenkins 229 Mar 15 15:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:42:56 + docker build -t device-modbus -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=adfe6f3580b78144da79de0e27a7fa0ad90dd40e --label arch=amd64 --label version=0.0.0 . 15:42:56 Sending build context to Docker daemon 6.356MB 15:42:56 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 15:42:56 Step 2/22 : FROM ${BASE} AS builder 15:42:56 ---> 8ef2d6fb1773 15:42:56 Step 3/22 : ARG ADD_BUILD_TAGS="" 15:42:56 ---> Running in e720d6a9d7cb 15:42:56 Removing intermediate container e720d6a9d7cb 15:42:56 ---> 8351c659bbc1 15:42:56 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:42:56 ---> Running in 405fb874e5c8 15:42:56 Removing intermediate container 405fb874e5c8 15:42:56 ---> cc21aaf4217f 15:42:56 Step 5/22 : RUN apk add --update --no-cache make git openssh 15:42:57 ---> Running in 17e0d7c7d063 15:42:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 15:42:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 15:42:58 OK: 270 MiB in 61 packages 15:42:59 Removing intermediate container 17e0d7c7d063 15:42:59 ---> 912e74e83449 15:42:59 Step 6/22 : WORKDIR /device-modbus-go 15:42:59 ---> Running in 0c5b3830bd83 15:42:59 Removing intermediate container 0c5b3830bd83 15:42:59 ---> 778f4c55f5e9 15:42:59 Step 7/22 : COPY go.mod vendor* ./ 15:42:59 ---> e792fa17e596 15:42:59 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:42:59 ---> Running in c0f0cc769db2 15:43:00 Removing intermediate container c0f0cc769db2 15:43:00 ---> ea7684214124 15:43:00 Step 9/22 : COPY . . 15:43:01 ---> 15e2dea34285 15:43:01 Step 10/22 : RUN ${MAKE} 15:43:01 ---> Running in 824cfd6a2d45 15:43:01 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 15:43:23 Removing intermediate container 824cfd6a2d45 15:43:23 ---> f4a191b7720c 15:43:23 Step 11/22 : FROM alpine:3.17 15:43:23 3.17: Pulling from library/alpine 15:43:23 63b65145d645: Already exists 15:43:23 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 15:43:23 Status: Downloaded newer image for alpine:3.17 15:43:23 ---> b2aa39c304c2 15:43:23 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 15:43:23 ---> Running in 2410593ebadc 15:43:23 Removing intermediate container 2410593ebadc 15:43:23 ---> 3eb30d487b78 15:43:23 Step 13/22 : RUN apk add --update --no-cache dumb-init 15:43:23 ---> Running in faf9756941c5 15:43:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 15:43:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 15:43:23 (1/1) Installing dumb-init (1.2.5-r2) 15:43:23 Executing busybox-1.35.0-r29.trigger 15:43:23 OK: 7 MiB in 16 packages 15:43:23 Removing intermediate container faf9756941c5 15:43:23 ---> 5243c0b8e220 15:43:23 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 15:43:24 ---> 4057568aec67 15:43:24 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 15:43:24 ---> 55c801164a15 15:43:24 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 15:43:24 ---> 07e71c42fdd6 15:43:24 Step 17/22 : EXPOSE 59901 15:43:24 ---> Running in 1d32c65d23c5 15:43:24 Removing intermediate container 1d32c65d23c5 15:43:24 ---> 595476165d5a 15:43:24 Step 18/22 : ENTRYPOINT ["/device-modbus"] 15:43:24 ---> Running in 5c2f68c66c8c 15:43:24 Removing intermediate container 5c2f68c66c8c 15:43:24 ---> 97da73aa35c4 15:43:24 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 15:43:24 ---> Running in 4d573a8bac41 15:43:24 Removing intermediate container 4d573a8bac41 15:43:24 ---> 7e5e9c827104 15:43:24 Step 20/22 : LABEL arch=amd64 15:43:24 ---> Running in 8004cc985a1c 15:43:24 Removing intermediate container 8004cc985a1c 15:43:24 ---> 4c26397ad50d 15:43:24 Step 21/22 : LABEL git_sha=adfe6f3580b78144da79de0e27a7fa0ad90dd40e 15:43:25 ---> Running in 9827824df861 15:43:25 Removing intermediate container 9827824df861 15:43:25 ---> 58e73e6ca9df 15:43:25 Step 22/22 : LABEL version=0.0.0 15:43:25 ---> Running in 24673cc47f90 15:43:25 Removing intermediate container 24673cc47f90 15:43:25 ---> 7ad0210e5dd8 15:43:25 [Warning] One or more build-args [ARCH] were not consumed 15:43:25 Successfully built 7ad0210e5dd8 15:43:25 Successfully tagged device-modbus: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:43:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:43:26 15:43:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:43:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:43:26 latest: Pulling from edgex-lftools-log-publisher 15:43:26 5eb5b503b376: Pulling fs layer 15:43:26 5c69ac0246d0: Pulling fs layer 15:43:26 ec43610c2a17: Pulling fs layer 15:43:26 3a2ae6a8a46f: Pulling fs layer 15:43:26 33b1e0a273af: Pulling fs layer 15:43:26 5d3b04190fa2: Pulling fs layer 15:43:26 2f39f015ded8: Pulling fs layer 15:43:26 3a2ae6a8a46f: Waiting 15:43:26 33b1e0a273af: Waiting 15:43:26 5d3b04190fa2: Waiting 15:43:26 2f39f015ded8: Waiting 15:43:26 5c69ac0246d0: Verifying Checksum 15:43:26 5c69ac0246d0: Download complete 15:43:26 3a2ae6a8a46f: Verifying Checksum 15:43:26 3a2ae6a8a46f: Download complete 15:43:26 33b1e0a273af: Verifying Checksum 15:43:26 33b1e0a273af: Download complete 15:43:26 5d3b04190fa2: Download complete 15:43:26 ec43610c2a17: Verifying Checksum 15:43:26 5eb5b503b376: Verifying Checksum 15:43:26 5eb5b503b376: Download complete 15:43:27 2f39f015ded8: Download complete 15:43:27 5eb5b503b376: Pull complete 15:43:27 5c69ac0246d0: Pull complete 15:43:28 ec43610c2a17: Pull complete 15:43:28 3a2ae6a8a46f: Pull complete 15:43:29 33b1e0a273af: Pull complete 15:43:29 5d3b04190fa2: Pull complete 15:43:33 2f39f015ded8: Pull complete 15:43:33 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:43:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:43:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:43:33 prd-ubuntu20.04-docker-8c-8g-506 does not seem to be running inside a container 15:43:33 $ 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/evice-modbus-go_dependabot-daily -v /w/workspace/evice-modbus-go_dependabot-daily:/w/workspace/evice-modbus-go_dependabot-daily:rw,z -v /w/workspace/evice-modbus-go_dependabot-daily@tmp:/w/workspace/evice-modbus-go_dependabot-daily@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:43:39 $ docker top 538c2c665d46f709d373ea157935bed3537d0f424cf91f870f1c3528db34fcbf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:43:39 ---> job-cost.sh 15:43:39 lf-activate-venv: SKIPPING 15:43:39 INFO: No Stack... 15:43:39 INFO: Retrieving Pricing Info for: v3-standard-8 15:43:40 INFO: Archiving Costs [Pipeline] sh 15:43:40 + cat /w/workspace/evice-modbus-go_dependabot-daily/archives/cost.csv 15:43:40 + cut -d, -f6 [Pipeline] lock 15:43:40 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-dependabot-daily-1-stack-cost] 15:43:40 Resource [jenkins-edgexfoundry-device-modbus-go-dependabot-daily-1-stack-cost] did not exist. Created. 15:43:40 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-dependabot-daily-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:43:41 + echo total: 0.2199999988079071 [Pipeline] stash 15:43:41 Stashed 1 file(s) [Pipeline] } 15:43:41 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-dependabot-daily-1-stack-cost] [Pipeline] // lock [Pipeline] } 15:43:41 $ docker stop --time=1 538c2c665d46f709d373ea157935bed3537d0f424cf91f870f1c3528db34fcbf 15:43:42 $ docker rm -f --volumes 538c2c665d46f709d373ea157935bed3537d0f424cf91f870f1c3528db34fcbf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:44:04 Running on prd-ubuntu20.04-docker-arm64-4c-16g-518 in /w/workspace/evice-modbus-go_dependabot-daily [Pipeline] { [Pipeline] ws 15:44:04 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 15:44:04 Selected Git installation does not exist. Using Default 15:44:04 The recommended git tool is: NONE 15:44:11 using credential edgex-jenkins-ssh 15:44:11 Cloning the remote Git repository 15:44:11 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 15:44:11 > git init /w/workspace/device-modbus-go/1 # timeout=10 15:44:12 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 15:44:12 > git --version # timeout=10 15:44:12 > git --version # 'git version 2.25.1' 15:44:12 using GIT_SSH to set credentials SSH Credentials for GitHub 15:44:12 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:44:13 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 15:44:13 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:44:14 Avoid second fetch 15:44:14 Checking out Revision adfe6f3580b78144da79de0e27a7fa0ad90dd40e (dependabot-daily) 15:44:14 > git config core.sparsecheckout # timeout=10 15:44:14 > git checkout -f adfe6f3580b78144da79de0e27a7fa0ad90dd40e # timeout=10 15:44:15 Commit message: "ci: Change dependabot gomod schedule to daily" 15:44:15 > git --version # timeout=10 15:44:15 > git --version # 'git version 2.25.1' 15:44:15 fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:44:16 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:44:16 % Total % Received % Xferd Average Speed Time Time Time Current 15:44:16 Dload Upload Total Spent Left Speed 15:44:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 148k 0 --:--:-- --:--:-- --:--:-- 148k [Pipeline] sh 15:44:17 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:44:17 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:44:17 + sudo tee /etc/docker/daemon.new 15:44:17 { 15:44:17 "registry-mirrors": [ 15:44:17 "https://nexus3.edgexfoundry.org:10001" 15:44:17 ], 15:44:17 "bip": "10.250.0.254/24", 15:44:17 "hosts": [ 15:44:17 "tcp://0.0.0.0:5555", 15:44:17 "unix:///var/run/docker.sock" 15:44:17 ], 15:44:17 "mtu": 1458, 15:44:17 "selinux-enabled": true, 15:44:17 "seccomp-profile": "/etc/docker/seccomp.json" 15:44:17 } [Pipeline] sh 15:44:18 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:44:18 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:44:36 provisioning config files... 15:44:36 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config18314510734150142541tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:44:37 ---> docker-login.sh 15:44:37 nexus3.edgexfoundry.org:10001 15:44:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:44:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:44:37 Configure a credential helper to remove this warning. See 15:44:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:44:37 15:44:37 Login Succeeded 15:44:37 nexus3.edgexfoundry.org:10002 15:44:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:44:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:44:38 Configure a credential helper to remove this warning. See 15:44:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:44:38 15:44:38 Login Succeeded 15:44:38 nexus3.edgexfoundry.org:10003 15:44:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:44:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:44:38 Configure a credential helper to remove this warning. See 15:44:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:44:38 15:44:38 Login Succeeded 15:44:38 nexus3.edgexfoundry.org:10004 15:44:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:44:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:44:39 Configure a credential helper to remove this warning. See 15:44:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:44:39 15:44:39 Login Succeeded 15:44:39 docker.io 15:44:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:44:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:44:39 Configure a credential helper to remove this warning. See 15:44:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:44:39 15:44:39 Login Succeeded 15:44:39 ---> docker-login.sh ends [Pipeline] } 15:44:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:44:40 [edgeX.isLTS] Checking if [dependabot-daily] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:44:40 [edgeX.isLTS] Checking if [dependabot-daily] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:44:40 ========================================================= 15:44:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 15:44:40 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:44:40 + 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:44:41 Sending build context to Docker daemon 3.3MB 15:44:41 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 15:44:41 Step 2/10 : FROM ${BASE} AS builder 15:44:41 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:44:41 af6eaf76a39c: Pulling fs layer 15:44:41 55522c791124: Pulling fs layer 15:44:41 ce5c4a1c91eb: Pulling fs layer 15:44:41 169dfbe0d373: Pulling fs layer 15:44:41 e1ff8fa3b103: Pulling fs layer 15:44:41 52ebb69f0ebf: Pulling fs layer 15:44:41 5abe8eddf0d5: Pulling fs layer 15:44:41 e1ff8fa3b103: Waiting 15:44:41 52ebb69f0ebf: Waiting 15:44:41 5abe8eddf0d5: Waiting 15:44:41 169dfbe0d373: Waiting 15:44:41 55522c791124: Verifying Checksum 15:44:41 55522c791124: Download complete 15:44:41 169dfbe0d373: Verifying Checksum 15:44:41 169dfbe0d373: Download complete 15:44:41 e1ff8fa3b103: Verifying Checksum 15:44:41 e1ff8fa3b103: Download complete 15:44:41 af6eaf76a39c: Verifying Checksum 15:44:41 af6eaf76a39c: Download complete 15:44:42 af6eaf76a39c: Pull complete 15:44:43 5abe8eddf0d5: Verifying Checksum 15:44:43 5abe8eddf0d5: Download complete 15:44:43 55522c791124: Pull complete 15:44:44 ce5c4a1c91eb: Verifying Checksum 15:44:44 ce5c4a1c91eb: Download complete 15:44:44 52ebb69f0ebf: Verifying Checksum 15:44:44 52ebb69f0ebf: Download complete 15:44:55 ce5c4a1c91eb: Pull complete 15:44:55 169dfbe0d373: Pull complete 15:44:55 e1ff8fa3b103: Pull complete 15:45:05 52ebb69f0ebf: Pull complete 15:45:06 5abe8eddf0d5: Pull complete 15:45:06 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 15:45:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 15:45:06 ---> 6cb57ee374ae 15:45:06 Step 3/10 : ARG ADD_BUILD_TAGS="" 15:45:08 ---> Running in b8dab0525f42 15:45:08 Removing intermediate container b8dab0525f42 15:45:08 ---> 683a913edcd1 15:45:08 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:45:08 ---> Running in b2f5690b9a54 15:45:08 Removing intermediate container b2f5690b9a54 15:45:08 ---> e84b9d6fa33c 15:45:08 Step 5/10 : RUN apk add --update --no-cache make git openssh 15:45:09 ---> Running in e78a286feef8 15:45:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 15:45:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 15:45:12 (1/8) Installing openssh-keygen (9.1_p1-r2) 15:45:12 (2/8) Installing libedit (20221030.3.1-r0) 15:45:12 (3/8) Installing openssh-client-common (9.1_p1-r2) 15:45:12 (4/8) Installing openssh-client-default (9.1_p1-r2) 15:45:12 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 15:45:12 (6/8) Installing openssh-server-common (9.1_p1-r2) 15:45:12 (7/8) Installing openssh-server (9.1_p1-r2) 15:45:12 (8/8) Installing openssh (9.1_p1-r2) 15:45:12 Executing busybox-1.35.0-r29.trigger 15:45:12 OK: 270 MiB in 61 packages 15:45:14 Removing intermediate container e78a286feef8 15:45:14 ---> 3d5ff57eabbd 15:45:14 Step 6/10 : WORKDIR /device-modbus-go 15:45:14 ---> Running in 0e0f231674db 15:45:14 Removing intermediate container 0e0f231674db 15:45:14 ---> 614bfeade021 15:45:14 Step 7/10 : COPY go.mod vendor* ./ 15:45:17 ---> 5f8e4514feaf 15:45:17 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:45:17 ---> Running in e983ee31509f 15:46:53 Removing intermediate container e983ee31509f 15:46:53 ---> e025b9dc1020 15:46:53 Step 9/10 : COPY . . 15:46:53 ---> 9e730011a920 15:46:53 Step 10/10 : RUN ${MAKE} 15:46:53 ---> Running in 80b14afae38f 15:46:53 noop 15:46:53 Removing intermediate container 80b14afae38f 15:46:53 ---> 498b9abf7df7 15:46:53 Successfully built 498b9abf7df7 15:46:53 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:46:54 + docker inspect -f . ci-base-image-arm64 15:46:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:46:54 prd-ubuntu20.04-docker-arm64-4c-16g-518 does not seem to be running inside a container 15:46:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-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:46:55 $ docker top 2b733563dd9932b69a3e14ffe6efe655e21f7c2deca936de416826ab0652fd40 -eo pid,comm [Pipeline] { [Pipeline] sh 15:46:56 + go version 15:46:56 go version go1.20.2 linux/arm64 [Pipeline] } 15:46:56 $ docker stop --time=1 2b733563dd9932b69a3e14ffe6efe655e21f7c2deca936de416826ab0652fd40 15:46:58 $ docker rm -f --volumes 2b733563dd9932b69a3e14ffe6efe655e21f7c2deca936de416826ab0652fd40 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:46:59 + docker inspect -f . ci-base-image-arm64 15:46:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:46:59 prd-ubuntu20.04-docker-arm64-4c-16g-518 does not seem to be running inside a container 15:46:59 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-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:47:01 $ docker top 46af0154c8abcb0028e9b73bfc58e15a718952161cfed57ca29cc73d38b5599b -eo pid,comm [Pipeline] { [Pipeline] sh 15:47:02 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 15:47:03 + make test 15:47:03 go test ./... -coverprofile=coverage.out 15:47:41 ? github.com/edgexfoundry/device-modbus-go [no test files] 15:50:19 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 15:50:20 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.085s coverage: 48.0% of statements 15:50:21 WARNING: Linting skipped (not on x86_64 or linter not installed) 15:50:21 go vet ./... 15:51:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:51:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:51:00 ./bin/test-attribution-txt.sh [Pipeline] echo 15:51:01 [edgeX.isLTS] Checking if [dependabot-daily] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:51:01 $ docker stop --time=1 46af0154c8abcb0028e9b73bfc58e15a718952161cfed57ca29cc73d38b5599b 15:51:03 $ docker rm -f --volumes 46af0154c8abcb0028e9b73bfc58e15a718952161cfed57ca29cc73d38b5599b [Pipeline] // withDockerContainer [Pipeline] sh 15:51:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:51:04 Warning: overwriting stash ‘coverage-report’ 15:51:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:51:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:51:06 + ls -al . 15:51:06 total 176 15:51:06 drwxrwxr-x 9 jenkins jenkins 4096 Mar 15 15:47 . 15:51:06 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 15:44 .. 15:51:06 -rw-rw-r-- 1 jenkins jenkins 140 Mar 15 15:44 .dockerignore 15:51:06 drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 15:44 .git 15:51:06 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 15:44 .github 15:51:06 -rw-rw-r-- 1 jenkins jenkins 331 Mar 15 15:44 .gitignore 15:51:06 -rw-rw-r-- 1 jenkins jenkins 41 Mar 15 15:44 .golangci.yml 15:51:06 -rw-rw-r-- 1 jenkins jenkins 10236 Mar 15 15:44 Attribution.txt 15:51:06 -rw-rw-r-- 1 jenkins jenkins 11576 Mar 15 15:44 CHANGELOG.md 15:51:06 -rw-rw-r-- 1 jenkins jenkins 1365 Mar 15 15:44 Dockerfile 15:51:06 -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 15:44 GOVERNANCE.md 15:51:06 -rw-rw-r-- 1 jenkins jenkins 680 Mar 15 15:44 Jenkinsfile 15:51:06 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 15 15:44 LICENSE 15:51:06 -rw-rw-r-- 1 jenkins jenkins 1705 Mar 15 15:44 Makefile 15:51:06 -rw-rw-r-- 1 jenkins jenkins 622 Mar 15 15:44 OWNERS.md 15:51:06 -rw-rw-r-- 1 jenkins jenkins 4061 Mar 15 15:44 README.md 15:51:06 -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 15:41 VERSION 15:51:06 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 15:44 bin 15:51:06 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 15:44 cmd 15:51:06 -rw-r--r-- 1 jenkins jenkins 23736 Mar 15 15:50 coverage.out 15:51:06 -rw-rw-r-- 1 jenkins jenkins 3497 Mar 15 15:44 go.mod 15:51:06 -rw-rw-r-- 1 jenkins jenkins 31641 Mar 15 15:44 go.sum 15:51:06 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 15:44 internal 15:51:06 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 15:44 simulator 15:51:06 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 15:44 snap 15:51:06 -rw-rw-r-- 1 jenkins jenkins 229 Mar 15 15:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:51:06 + docker build -t device-modbus-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=adfe6f3580b78144da79de0e27a7fa0ad90dd40e --label arch=arm64 --label version=0.0.0 . 15:51:06 Sending build context to Docker daemon 3.324MB 15:51:06 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 15:51:06 Step 2/22 : FROM ${BASE} AS builder 15:51:06 ---> 498b9abf7df7 15:51:06 Step 3/22 : ARG ADD_BUILD_TAGS="" 15:51:06 ---> Running in f5f9f8b58c7e 15:51:07 Removing intermediate container f5f9f8b58c7e 15:51:07 ---> 37c8aa6f7323 15:51:07 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:51:07 ---> Running in 80171caf33b6 15:51:07 Removing intermediate container 80171caf33b6 15:51:07 ---> f5fcf206de49 15:51:07 Step 5/22 : RUN apk add --update --no-cache make git openssh 15:51:07 ---> Running in 5bbde745cf4e 15:51:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 15:51:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 15:51:11 OK: 270 MiB in 61 packages 15:51:12 Removing intermediate container 5bbde745cf4e 15:51:12 ---> b392ac34bb32 15:51:12 Step 6/22 : WORKDIR /device-modbus-go 15:51:12 ---> Running in 4d330bbd138c 15:51:12 Removing intermediate container 4d330bbd138c 15:51:12 ---> 32119d612ce0 15:51:12 Step 7/22 : COPY go.mod vendor* ./ 15:51:13 ---> 1552d534206a 15:51:13 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:51:13 ---> Running in cb536828dfc7 15:51:16 Removing intermediate container cb536828dfc7 15:51:16 ---> bd32bbf89b14 15:51:16 Step 9/22 : COPY . . 15:51:17 ---> c4451a86d30e 15:51:17 Step 10/22 : RUN ${MAKE} 15:51:17 ---> Running in 08eced123471 15:51:18 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 15:54:10 Removing intermediate container 08eced123471 15:54:10 ---> cebf0bd806ce 15:54:10 Step 11/22 : FROM alpine:3.17 15:54:10 3.17: Pulling from library/alpine 15:54:10 af6eaf76a39c: Already exists 15:54:10 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 15:54:10 Status: Downloaded newer image for alpine:3.17 15:54:10 ---> d74e625d9115 15:54:10 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 15:54:10 ---> Running in 709b0e0bd6f7 15:54:10 Removing intermediate container 709b0e0bd6f7 15:54:10 ---> 9bd164dd49c0 15:54:10 Step 13/22 : RUN apk add --update --no-cache dumb-init 15:54:10 ---> Running in 383184b0c522 15:54:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 15:54:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 15:54:13 (1/1) Installing dumb-init (1.2.5-r2) 15:54:13 Executing busybox-1.35.0-r29.trigger 15:54:13 OK: 8 MiB in 16 packages 15:54:16 Removing intermediate container 383184b0c522 15:54:16 ---> 37c7c9fb6327 15:54:16 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 15:54:17 ---> 985bc9a46be0 15:54:17 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 15:54:17 ---> 0123dfa2bdfc 15:54:17 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 15:54:18 ---> 40d793c1c3f4 15:54:18 Step 17/22 : EXPOSE 59901 15:54:18 ---> Running in f5d407d3a332 15:54:19 Removing intermediate container f5d407d3a332 15:54:19 ---> fd6ee805e1e7 15:54:19 Step 18/22 : ENTRYPOINT ["/device-modbus"] 15:54:19 ---> Running in 8e6507157721 15:54:19 Removing intermediate container 8e6507157721 15:54:19 ---> b632f9b5a958 15:54:19 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 15:54:19 ---> Running in 6e0ad6af519e 15:54:19 Removing intermediate container 6e0ad6af519e 15:54:19 ---> 9da34ee32dcb 15:54:19 Step 20/22 : LABEL arch=arm64 15:54:20 ---> Running in a721d054a3c8 15:54:20 Removing intermediate container a721d054a3c8 15:54:20 ---> 418243540bc1 15:54:20 Step 21/22 : LABEL git_sha=adfe6f3580b78144da79de0e27a7fa0ad90dd40e 15:54:20 ---> Running in ca015b6fd37e 15:54:20 Removing intermediate container ca015b6fd37e 15:54:20 ---> a979f7bdf0c9 15:54:20 Step 22/22 : LABEL version=0.0.0 15:54:20 ---> Running in 091cea13f9f0 15:54:20 Removing intermediate container 091cea13f9f0 15:54:20 ---> 00d669709c1a 15:54:20 [Warning] One or more build-args [ARCH] were not consumed 15:54:21 Successfully built 00d669709c1a 15:54:21 Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:54:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:54:22 15:54:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:54:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:54:22 arm64: Pulling from edgex-lftools-log-publisher 15:54:22 8998bd30e6a1: Pulling fs layer 15:54:22 04944245beec: Pulling fs layer 15:54:22 699f458cf7ca: Pulling fs layer 15:54:22 765212b225bb: Pulling fs layer 15:54:22 f23df028b6ca: Pulling fs layer 15:54:22 d65c8cfc05b1: Pulling fs layer 15:54:22 2437ff75d9bd: Pulling fs layer 15:54:22 765212b225bb: Waiting 15:54:22 f23df028b6ca: Waiting 15:54:22 d65c8cfc05b1: Waiting 15:54:22 2437ff75d9bd: Waiting 15:54:22 04944245beec: Verifying Checksum 15:54:22 04944245beec: Download complete 15:54:22 765212b225bb: Verifying Checksum 15:54:22 765212b225bb: Download complete 15:54:22 f23df028b6ca: Verifying Checksum 15:54:22 f23df028b6ca: Download complete 15:54:22 d65c8cfc05b1: Verifying Checksum 15:54:22 d65c8cfc05b1: Download complete 15:54:23 699f458cf7ca: Verifying Checksum 15:54:23 699f458cf7ca: Download complete 15:54:23 8998bd30e6a1: Verifying Checksum 15:54:23 8998bd30e6a1: Download complete 15:54:25 2437ff75d9bd: Verifying Checksum 15:54:25 2437ff75d9bd: Download complete 15:54:27 8998bd30e6a1: Pull complete 15:54:29 04944245beec: Pull complete 15:54:30 699f458cf7ca: Pull complete 15:54:31 765212b225bb: Pull complete 15:54:32 f23df028b6ca: Pull complete 15:54:32 d65c8cfc05b1: Pull complete 15:54:47 2437ff75d9bd: Pull complete 15:54:47 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:54:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:54:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:54:47 prd-ubuntu20.04-docker-arm64-4c-16g-518 does not seem to be running inside a container 15:54:47 $ 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-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 15:54:51 $ docker top 0269328d6cffe61d048720332c7efd5b44c0a7e346f1c34ced051c6252e79391 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:54:52 ---> job-cost.sh 15:54:52 lf-activate-venv: SKIPPING 15:54:52 INFO: No Stack... 15:54:52 INFO: Retrieving Pricing Info for: v3-standard-4 15:54:53 INFO: Archiving Costs [Pipeline] sh 15:54:54 + cat /w/workspace/device-modbus-go/1/archives/cost.csv 15:54:54 + cut -d, -f6 [Pipeline] lock 15:54:54 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-dependabot-daily-1-stack-cost] 15:54:54 Resource [jenkins-edgexfoundry-device-modbus-go-dependabot-daily-1-stack-cost] did not exist. Created. 15:54:54 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-dependabot-daily-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:54:55 /w/workspace/device-modbus-go/1@tmp/durable-cf830f08/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:54:56 + echo total: 0.10999999940395355 [Pipeline] stash 15:54:56 Warning: overwriting stash ‘stack-cost’ 15:54:56 Stashed 1 file(s) [Pipeline] } 15:54:56 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-dependabot-daily-1-stack-cost] [Pipeline] // lock [Pipeline] } 15:54:56 $ docker stop --time=1 0269328d6cffe61d048720332c7efd5b44c0a7e346f1c34ced051c6252e79391 15:54:57 $ docker rm -f --volumes 0269328d6cffe61d048720332c7efd5b44c0a7e346f1c34ced051c6252e79391 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 15:54:58 provisioning config files... 15:54:58 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/evice-modbus-go_dependabot-daily@tmp/config7729216684559574947tmp [Pipeline] { [Pipeline] sh 15:54:59 + set +x 15:54:59 + curl -s https://codecov.io/bash 15:54:59 + bash -s -- 15:54:59 15:54:59 _____ _ 15:54:59 / ____| | | 15:54:59 | | ___ __| | ___ ___ _____ __ 15:54:59 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:54:59 | |___| (_) | (_| | __/ (_| (_) \ V / 15:54:59 \_____\___/ \__,_|\___|\___\___/ \_/ 15:54:59 Bash-1.0.6 15:54:59 15:54:59 15:54:59 ==> git version 2.25.1 found 15:54:59 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 15:54:59 Release-Date: 2020-01-08 15:54:59 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 15:54:59 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 15:54:59 ==> Jenkins CI detected. 15:54:59 current dir:  /w/workspace/evice-modbus-go_dependabot-daily 15:54:59 project root: . 15:54:59 --> token set from env 15:54:59 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:54:59 ==> Running gcov in . (disable via -X gcov) 15:54:59 ==> Python coveragepy not found 15:54:59 ==> Searching for coverage reports in: 15:54:59 + . 15:54:59 -> Found 1 reports 15:54:59 ==> Detecting git/mercurial file structure 15:54:59 ==> Reading reports 15:54:59 + ./coverage.out bytes=23736 15:54:59 ==> Appending adjustments 15:54:59 https://docs.codecov.io/docs/fixing-reports 15:54:59 + Found adjustments 15:54:59 ==> Gzipping contents 15:54:59 4.0K /tmp/codecov.X0tGeh.gz 15:54:59 ==> Uploading reports 15:54:59 url: https://codecov.io 15:54:59 query: branch=dependabot-daily&commit=adfe6f3580b78144da79de0e27a7fa0ad90dd40e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fdependabot-daily%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 15:54:59 -> Pinging Codecov 15:54:59 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=dependabot-daily&commit=adfe6f3580b78144da79de0e27a7fa0ad90dd40e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fdependabot-daily%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 15:54:59 -> Uploading to 15:54:59 https://storage.googleapis.com/codecov/v4/raw/2023-03-15/55DBCA73C666E3227836607328DD7E49/adfe6f3580b78144da79de0e27a7fa0ad90dd40e/e507ce27-e6e6-4a14-a487-3c7ab6b72668.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230315%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230315T155459Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3ed7e90c92434060186e7a0b239589732c46913b94ffe0fe13d7a45e98858bff 15:54:59 % Total % Received % Xferd Average Speed Time Time Time Current 15:54:59 Dload Upload Total Spent Left Speed 15:54:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3909 0 0 100 3909 0 15573 --:--:-- --:--:-- --:--:-- 15636 15:54:59 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/adfe6f3580b78144da79de0e27a7fa0ad90dd40e [Pipeline] } 15:54:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 15:55:01 + [ -d /w/workspace/evice-modbus-go_dependabot-daily/archives ] 15:55:01 + ls -al /w/workspace/evice-modbus-go_dependabot-daily/archives 15:55:01 total 16 15:55:01 drwxr-xr-x 3 root root 4096 Mar 15 15:43 . 15:55:01 drwxrwxr-x 11 jenkins jenkins 4096 Mar 15 15:43 .. 15:55:01 drwxr-xr-x 2 root root 4096 Mar 15 15:43 cost 15:55:01 -rw-r--r-- 1 root root 98 Mar 15 15:43 cost.csv 15:55:01 + sudo chown -R jenkins:jenkins /w/workspace/evice-modbus-go_dependabot-daily/archives 15:55:01 + ls -al /w/workspace/evice-modbus-go_dependabot-daily/archives 15:55:01 total 16 15:55:01 drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 15:43 . 15:55:01 drwxrwxr-x 11 jenkins jenkins 4096 Mar 15 15:43 .. 15:55:01 drwxr-xr-x 2 jenkins jenkins 4096 Mar 15 15:43 cost 15:55:01 -rw-r--r-- 1 jenkins jenkins 98 Mar 15 15:43 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:55:01 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:55:02 ---> package-listing.sh 15:55:02 ++ facter osfamily 15:55:02 ++ tr '[:upper:]' '[:lower:]' 15:55:03 + OS_FAMILY=debian 15:55:03 + workspace=/w/workspace/evice-modbus-go_dependabot-daily 15:55:03 + START_PACKAGES=/tmp/packages_start.txt 15:55:03 + END_PACKAGES=/tmp/packages_end.txt 15:55:03 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:55:03 + PACKAGES=/tmp/packages_start.txt 15:55:03 + '[' /w/workspace/evice-modbus-go_dependabot-daily ']' 15:55:03 + PACKAGES=/tmp/packages_end.txt 15:55:03 + case "${OS_FAMILY}" in 15:55:03 + dpkg -l 15:55:03 + grep '^ii' 15:55:03 + '[' -f /tmp/packages_start.txt ']' 15:55:03 + '[' -f /tmp/packages_end.txt ']' 15:55:03 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:55:03 + '[' /w/workspace/evice-modbus-go_dependabot-daily ']' 15:55:03 + mkdir -p /w/workspace/evice-modbus-go_dependabot-daily/archives/ 15:55:03 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/evice-modbus-go_dependabot-daily/archives/ [Pipeline] echo 15:55:03 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/evice-modbus-go_dependabot-daily/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 15:55:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:55:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:55:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:55:04 prd-ubuntu20.04-docker-8c-8g-506 does not seem to be running inside a container 15:55:04 $ 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/evice-modbus-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/evice-modbus-go_dependabot-daily -v /w/workspace/evice-modbus-go_dependabot-daily:/w/workspace/evice-modbus-go_dependabot-daily:rw,z -v /w/workspace/evice-modbus-go_dependabot-daily@tmp:/w/workspace/evice-modbus-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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:55:04 $ docker top b234f57454c9e6d6bfdb8ebad67353536da27725990ced8d77c2d212acb1f24f -eo pid,comm [Pipeline] { [Pipeline] sh 15:55:04 + touch /tmp/pre-build-complete [Pipeline] sh 15:55:05 + mkdir -p /var/log/sysstat [Pipeline] sh 15:55:05 + ls /var/log/sa-host 15:55:05 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:55:05 provisioning config files... 15:55:05 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/evice-modbus-go_dependabot-daily@tmp/config11060587919785609417tmp [Pipeline] { [Pipeline] echo 15:55:05 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:55:05 ---> create-netrc.sh [Pipeline] } 15:55:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:55:06 ---> python-tools-install.sh [Pipeline] echo 15:55:06 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:55:06 ---> sudo-logs.sh 15:55:06 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:55:06 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:55:07 ---> job-cost.sh 15:55:07 lf-activate-venv: SKIPPING 15:55:07 DEBUG: total: 0.2199999988079071 15:55:07 INFO: Retrieving Stack Cost... 15:55:07 INFO: Retrieving Pricing Info for: v3-standard-8 15:55:07 INFO: Archiving Costs [Pipeline] echo 15:55:07 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:55:08 ---> logs-deploy.sh 15:55:08 lf-activate-venv: SKIPPING 15:55:08 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/dependabot-daily/1 15:55:08 INFO: archiving workspace using pattern(s): 15:55:09 Archives upload complete. 15:55:09 INFO: archiving logs to Nexus