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 [2023-03-15T15:40:58.192Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-15T15:40:58.348Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-15T15:40:58.437Z] ========================================================= [2023-03-15T15:40:58.437Z] EdgeX Global Pipelines Version Info [2023-03-15T15:40:58.437Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-15T15:40:59.216Z] ------------------- [2023-03-15T15:40:59.216Z] stable info: [2023-03-15T15:40:59.216Z] ------------------- [2023-03-15T15:40:59.216Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-15T15:40:59.216Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-15T15:40:59.216Z] Message: update stable to v1.0.245 [2023-03-15T15:40:59.786Z] ------------------- [2023-03-15T15:40:59.786Z] experimental info: [2023-03-15T15:40:59.786Z] ------------------- [2023-03-15T15:40:59.786Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-15T15:40:59.786Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-15T15:40:59.786Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-15T15:41:00.062Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-03-15T15:41:00.098Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-03-15T15:41:00.137Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-15T15:41:00.176Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-15T15:41:00.214Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-15T15:41:00.253Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-15T15:41:00.291Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-15T15:41:00.332Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-15T15:41:00.371Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-15T15:41:00.415Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-15T15:41:00.455Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-15T15:41:00.496Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-03-15T15:41:00.535Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-15T15:41:00.573Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-15T15:41:00.615Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-15T15:41:00.653Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-15T15:41:00.689Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-15T15:41:00.731Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-15T15:41:00.770Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-15T15:41:00.818Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-15T15:41:00.857Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-15T15:41:00.896Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-15T15:41:00.934Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-15T15:41:00.978Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-15T15:41:01.016Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-15T15:41:01.056Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-15T15:41:01.093Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-15T15:41:01.130Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = dependabot-daily [Pipeline] echo [2023-03-15T15:41:01.173Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = dependabot-daily [Pipeline] echo [2023-03-15T15:41:01.212Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = dependabot-daily [Pipeline] echo [2023-03-15T15:41:01.256Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = adfe6f3580b78144da79de0e27a7fa0ad90dd40e [Pipeline] echo [2023-03-15T15:41:01.296Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = adfe6f3 [Pipeline] echo [2023-03-15T15:41:01.338Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T15:41:01.444Z] provisioning config files... [2023-03-15T15:41:01.467Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/evice-modbus-go_dependabot-daily@tmp/config5377614633654296469tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T15:41:01.927Z] ---> docker-login.sh [2023-03-15T15:41:01.927Z] nexus3.edgexfoundry.org:10001 [2023-03-15T15:41:02.496Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T15:41:02.496Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T15:41:02.496Z] Configure a credential helper to remove this warning. See [2023-03-15T15:41:02.496Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T15:41:02.496Z] [2023-03-15T15:41:02.496Z] Login Succeeded [2023-03-15T15:41:02.496Z] nexus3.edgexfoundry.org:10002 [2023-03-15T15:41:02.496Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T15:41:02.496Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T15:41:02.496Z] Configure a credential helper to remove this warning. See [2023-03-15T15:41:02.496Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T15:41:02.496Z] [2023-03-15T15:41:02.496Z] Login Succeeded [2023-03-15T15:41:02.496Z] nexus3.edgexfoundry.org:10003 [2023-03-15T15:41:02.496Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T15:41:02.757Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T15:41:02.757Z] Configure a credential helper to remove this warning. See [2023-03-15T15:41:02.757Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T15:41:02.757Z] [2023-03-15T15:41:02.757Z] Login Succeeded [2023-03-15T15:41:02.757Z] nexus3.edgexfoundry.org:10004 [2023-03-15T15:41:02.757Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T15:41:02.757Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T15:41:02.757Z] Configure a credential helper to remove this warning. See [2023-03-15T15:41:02.757Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T15:41:02.757Z] [2023-03-15T15:41:02.757Z] Login Succeeded [2023-03-15T15:41:02.757Z] docker.io [2023-03-15T15:41:02.757Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T15:41:03.017Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T15:41:03.017Z] Configure a credential helper to remove this warning. See [2023-03-15T15:41:03.017Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T15:41:03.017Z] [2023-03-15T15:41:03.017Z] Login Succeeded [2023-03-15T15:41:03.017Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T15:41:03.048Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-15T15:41:03.674Z] + git rev-list -1 --merges adfe6f3580b78144da79de0e27a7fa0ad90dd40e~1..adfe6f3580b78144da79de0e27a7fa0ad90dd40e [Pipeline] echo [2023-03-15T15:41:03.754Z] -----------> git rev-list -1 --merges adfe6f3580b78144da79de0e27a7fa0ad90dd40e~1..adfe6f3580b78144da79de0e27a7fa0ad90dd40e adfe6f3580b78144da79de0e27a7fa0ad90dd40e [false] [Pipeline] sh [2023-03-15T15:41:04.060Z] + git log --format=format:%s -1 adfe6f3580b78144da79de0e27a7fa0ad90dd40e [Pipeline] echo [2023-03-15T15:41:04.095Z] ========================================================= [2023-03-15T15:41:04.095Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-15T15:41:04.095Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-15T15:41:04.516Z] + git log --format=format:%s -1 adfe6f3580b78144da79de0e27a7fa0ad90dd40e [Pipeline] echo [2023-03-15T15:41:04.548Z] [semverPrep] GIT_COMMIT: adfe6f3580b78144da79de0e27a7fa0ad90dd40e, Commit Message: ci: Change dependabot gomod schedule to daily [Pipeline] echo [2023-03-15T15:41:04.574Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-15T15:41:04.940Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-15T15:41:04.941Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-15T15:41:04.941Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-15T15:41:04.941Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-15T15:41:04.941Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=sudo [2023-03-15T15:41:04.941Z] tee -a /etc/ssh/ssh_known_hosts [2023-03-15T15:41:04.941Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T15:41:05.362Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T15:41:05.362Z] [2023-03-15T15:41:05.362Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T15:41:05.736Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T15:41:05.736Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-15T15:41:05.736Z] b85a868b505f: Pulling fs layer [2023-03-15T15:41:05.736Z] e2be974225ed: Pulling fs layer [2023-03-15T15:41:05.736Z] 339a4e72a1f5: Pulling fs layer [2023-03-15T15:41:05.736Z] 988bab9f4d93: Pulling fs layer [2023-03-15T15:41:05.736Z] 1469e6f7b9e6: Pulling fs layer [2023-03-15T15:41:05.736Z] eaf3925da568: Pulling fs layer [2023-03-15T15:41:05.736Z] bab4dde63d76: Pulling fs layer [2023-03-15T15:41:05.736Z] bde34c3a00c8: Pulling fs layer [2023-03-15T15:41:05.736Z] b352a97aabf1: Pulling fs layer [2023-03-15T15:41:05.736Z] 4872d77fe225: Pulling fs layer [2023-03-15T15:41:05.736Z] 5851b861e8e6: Pulling fs layer [2023-03-15T15:41:05.736Z] 988bab9f4d93: Waiting [2023-03-15T15:41:05.736Z] 1469e6f7b9e6: Waiting [2023-03-15T15:41:05.736Z] eaf3925da568: Waiting [2023-03-15T15:41:05.736Z] bab4dde63d76: Waiting [2023-03-15T15:41:05.736Z] bde34c3a00c8: Waiting [2023-03-15T15:41:05.736Z] b352a97aabf1: Waiting [2023-03-15T15:41:05.736Z] 4872d77fe225: Waiting [2023-03-15T15:41:05.736Z] 5851b861e8e6: Waiting [2023-03-15T15:41:05.736Z] e2be974225ed: Download complete [2023-03-15T15:41:05.736Z] 988bab9f4d93: Verifying Checksum [2023-03-15T15:41:05.736Z] 988bab9f4d93: Download complete [2023-03-15T15:41:05.998Z] 1469e6f7b9e6: Verifying Checksum [2023-03-15T15:41:05.998Z] 1469e6f7b9e6: Download complete [2023-03-15T15:41:05.998Z] 339a4e72a1f5: Verifying Checksum [2023-03-15T15:41:05.998Z] 339a4e72a1f5: Download complete [2023-03-15T15:41:05.998Z] eaf3925da568: Download complete [2023-03-15T15:41:05.998Z] bde34c3a00c8: Download complete [2023-03-15T15:41:05.998Z] b352a97aabf1: Download complete [2023-03-15T15:41:05.998Z] 4872d77fe225: Download complete [2023-03-15T15:41:05.998Z] 5851b861e8e6: Verifying Checksum [2023-03-15T15:41:05.998Z] 5851b861e8e6: Download complete [2023-03-15T15:41:05.998Z] b85a868b505f: Verifying Checksum [2023-03-15T15:41:05.998Z] b85a868b505f: Download complete [2023-03-15T15:41:06.256Z] bab4dde63d76: Verifying Checksum [2023-03-15T15:41:06.256Z] bab4dde63d76: Download complete [2023-03-15T15:41:07.190Z] b85a868b505f: Pull complete [2023-03-15T15:41:07.190Z] e2be974225ed: Pull complete [2023-03-15T15:41:07.755Z] 339a4e72a1f5: Pull complete [2023-03-15T15:41:07.755Z] 988bab9f4d93: Pull complete [2023-03-15T15:41:08.013Z] 1469e6f7b9e6: Pull complete [2023-03-15T15:41:08.013Z] eaf3925da568: Pull complete [2023-03-15T15:41:09.919Z] bab4dde63d76: Pull complete [2023-03-15T15:41:09.919Z] bde34c3a00c8: Pull complete [2023-03-15T15:41:09.919Z] b352a97aabf1: Pull complete [2023-03-15T15:41:09.919Z] 4872d77fe225: Pull complete [2023-03-15T15:41:09.919Z] 5851b861e8e6: Pull complete [2023-03-15T15:41:09.919Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-15T15:41:09.919Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T15:41:09.919Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T15:41:10.339Z] prd-ubuntu20.04-docker-8c-8g-506 does not seem to be running inside a container [2023-03-15T15:41:10.377Z] $ 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 [2023-03-15T15:41:14.876Z] $ docker top 4aeb81a1e0fb656d96bb64e271d6627272753ee37d3bb540b62ca363ba4650f3 -eo pid,comm [2023-03-15T15:41:15.051Z] 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). [2023-03-15T15:41:15.051Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-15T15:41:15.174Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-15T15:41:15.175Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-15T15:41:15.332Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-15T15:41:15.338Z] $ docker exec 4aeb81a1e0fb656d96bb64e271d6627272753ee37d3bb540b62ca363ba4650f3 ssh-agent [2023-03-15T15:41:15.437Z] SSH_AUTH_SOCK=/tmp/ssh-ZiUmafpC4FeA/agent.20 [2023-03-15T15:41:15.437Z] SSH_AGENT_PID=38 [2023-03-15T15:41:15.447Z] Running ssh-add (command line suppressed) [2023-03-15T15:41:15.552Z] 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) [2023-03-15T15:41:15.561Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-15T15:41:15.882Z] + git tag --points-at HEAD [Pipeline] } [2023-03-15T15:41:15.911Z] $ docker exec --env ******** --env ******** 4aeb81a1e0fb656d96bb64e271d6627272753ee37d3bb540b62ca363ba4650f3 ssh-agent -k [2023-03-15T15:41:16.519Z] unset SSH_AUTH_SOCK; [2023-03-15T15:41:16.519Z] unset SSH_AGENT_PID; [2023-03-15T15:41:16.520Z] echo Agent pid 38 killed; [2023-03-15T15:41:16.523Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-15T15:41:16.610Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-15T15:41:16.610Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-15T15:41:16.751Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-15T15:41:16.757Z] $ docker exec 4aeb81a1e0fb656d96bb64e271d6627272753ee37d3bb540b62ca363ba4650f3 ssh-agent [2023-03-15T15:41:16.859Z] SSH_AUTH_SOCK=/tmp/ssh-nCEoAay5dBOm/agent.70 [2023-03-15T15:41:16.859Z] SSH_AGENT_PID=76 [2023-03-15T15:41:16.865Z] Running ssh-add (command line suppressed) [2023-03-15T15:41:16.988Z] 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) [2023-03-15T15:41:16.996Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-15T15:41:17.316Z] + git semver init [2023-03-15T15:41:17.884Z] 2023-03-15 15:41:17,766 [run_init] DEBUG init version:0.0.0 force:False [2023-03-15T15:41:17.884Z] 2023-03-15 15:41:17,767 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/evice-modbus-go_dependabot-daily/.semver [2023-03-15T15:41:17.884Z] 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 [2023-03-15T15:41:17.884Z] 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) [2023-03-15T15:41:18.828Z] 2023-03-15 15:41:18,579 [append_file] DEBUG append to file:/w/workspace/evice-modbus-go_dependabot-daily/.git/info/exclude [2023-03-15T15:41:18.829Z] 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 [2023-03-15T15:41:18.829Z] 2023-03-15 15:41:18,579 [write_file] DEBUG write to file:/w/workspace/evice-modbus-go_dependabot-daily/.semver/dependabot-daily [2023-03-15T15:41:18.829Z] 2023-03-15 15:41:18,583 [execute] INFO git cat-file --batch-check [2023-03-15T15:41:18.829Z] 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=) [2023-03-15T15:41:18.829Z] 2023-03-15 15:41:18,590 [execute] INFO git cat-file --batch [2023-03-15T15:41:18.829Z] 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=) [2023-03-15T15:41:18.829Z] 2023-03-15 15:41:18,596 [read_version] DEBUG read version from /w/workspace/evice-modbus-go_dependabot-daily/.semver/dependabot-daily [2023-03-15T15:41:18.829Z] 0.0.0 [Pipeline] } [2023-03-15T15:41:18.859Z] $ docker exec --env ******** --env ******** 4aeb81a1e0fb656d96bb64e271d6627272753ee37d3bb540b62ca363ba4650f3 ssh-agent -k [2023-03-15T15:41:18.967Z] unset SSH_AUTH_SOCK; [2023-03-15T15:41:18.967Z] unset SSH_AGENT_PID; [2023-03-15T15:41:18.967Z] echo Agent pid 76 killed; [2023-03-15T15:41:18.977Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-15T15:41:19.393Z] + git semver [Pipeline] } [2023-03-15T15:41:19.990Z] $ docker stop --time=1 4aeb81a1e0fb656d96bb64e271d6627272753ee37d3bb540b62ca363ba4650f3 [2023-03-15T15:41:21.818Z] $ docker rm -f --volumes 4aeb81a1e0fb656d96bb64e271d6627272753ee37d3bb540b62ca363ba4650f3 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-15T15:41:22.238Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-15T15:41:22.573Z] Stashed 1 file(s) [Pipeline] echo [2023-03-15T15:41:22.597Z] [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 [2023-03-15T15:41:23.157Z] provisioning config files... [2023-03-15T15:41:23.169Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/evice-modbus-go_dependabot-daily@tmp/config1437278645586771929tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T15:41:23.527Z] ---> docker-login.sh [2023-03-15T15:41:23.527Z] nexus3.edgexfoundry.org:10001 [2023-03-15T15:41:23.527Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T15:41:23.527Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T15:41:23.527Z] Configure a credential helper to remove this warning. See [2023-03-15T15:41:23.527Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T15:41:23.527Z] [2023-03-15T15:41:23.527Z] Login Succeeded [2023-03-15T15:41:23.527Z] nexus3.edgexfoundry.org:10002 [2023-03-15T15:41:23.527Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T15:41:23.527Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T15:41:23.527Z] Configure a credential helper to remove this warning. See [2023-03-15T15:41:23.527Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T15:41:23.527Z] [2023-03-15T15:41:23.527Z] Login Succeeded [2023-03-15T15:41:23.527Z] nexus3.edgexfoundry.org:10003 [2023-03-15T15:41:23.789Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T15:41:23.789Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T15:41:23.789Z] Configure a credential helper to remove this warning. See [2023-03-15T15:41:23.789Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T15:41:23.789Z] [2023-03-15T15:41:23.789Z] Login Succeeded [2023-03-15T15:41:23.789Z] nexus3.edgexfoundry.org:10004 [2023-03-15T15:41:24.047Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T15:41:24.047Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T15:41:24.047Z] Configure a credential helper to remove this warning. See [2023-03-15T15:41:24.047Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T15:41:24.047Z] [2023-03-15T15:41:24.047Z] Login Succeeded [2023-03-15T15:41:24.047Z] docker.io [2023-03-15T15:41:24.047Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T15:41:24.307Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T15:41:24.307Z] Configure a credential helper to remove this warning. See [2023-03-15T15:41:24.307Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T15:41:24.307Z] [2023-03-15T15:41:24.307Z] Login Succeeded [2023-03-15T15:41:24.307Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T15:41:24.351Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-15T15:41:24.536Z] [edgeX.isLTS] Checking if [dependabot-daily] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T15:41:24.568Z] [edgeX.isLTS] Checking if [dependabot-daily] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T15:41:24.597Z] ========================================================= [2023-03-15T15:41:24.597Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-15T15:41:24.597Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T15:41:25.086Z] + 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 . [2023-03-15T15:41:25.086Z] Sending build context to Docker daemon 6.332MB [2023-03-15T15:41:25.086Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T15:41:25.086Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-15T15:41:25.350Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-15T15:41:25.350Z] 63b65145d645: Pulling fs layer [2023-03-15T15:41:25.350Z] a2d21d5440eb: Pulling fs layer [2023-03-15T15:41:25.350Z] 935e6c44a52c: Pulling fs layer [2023-03-15T15:41:25.350Z] 94cc34f8dd06: Pulling fs layer [2023-03-15T15:41:25.350Z] 30dea6a524f1: Pulling fs layer [2023-03-15T15:41:25.350Z] a2aff8979fd8: Pulling fs layer [2023-03-15T15:41:25.350Z] 6808be2612f2: Pulling fs layer [2023-03-15T15:41:25.350Z] f25807f1079a: Pulling fs layer [2023-03-15T15:41:25.350Z] 94cc34f8dd06: Waiting [2023-03-15T15:41:25.350Z] 30dea6a524f1: Waiting [2023-03-15T15:41:25.350Z] f25807f1079a: Waiting [2023-03-15T15:41:25.350Z] 6808be2612f2: Waiting [2023-03-15T15:41:25.350Z] a2aff8979fd8: Waiting [2023-03-15T15:41:25.350Z] a2d21d5440eb: Verifying Checksum [2023-03-15T15:41:25.350Z] a2d21d5440eb: Download complete [2023-03-15T15:41:25.350Z] 94cc34f8dd06: Verifying Checksum [2023-03-15T15:41:25.350Z] 94cc34f8dd06: Download complete [2023-03-15T15:41:25.350Z] 30dea6a524f1: Verifying Checksum [2023-03-15T15:41:25.350Z] 30dea6a524f1: Download complete [2023-03-15T15:41:25.350Z] 63b65145d645: Download complete [2023-03-15T15:41:25.611Z] a2aff8979fd8: Download complete [2023-03-15T15:41:25.611Z] 63b65145d645: Pull complete [2023-03-15T15:41:25.883Z] a2d21d5440eb: Pull complete [2023-03-15T15:41:26.151Z] f25807f1079a: Verifying Checksum [2023-03-15T15:41:26.151Z] f25807f1079a: Download complete [2023-03-15T15:41:26.151Z] 935e6c44a52c: Verifying Checksum [2023-03-15T15:41:26.151Z] 935e6c44a52c: Download complete [2023-03-15T15:41:26.408Z] 6808be2612f2: Verifying Checksum [2023-03-15T15:41:26.408Z] 6808be2612f2: Download complete [2023-03-15T15:41:30.592Z] 935e6c44a52c: Pull complete [2023-03-15T15:41:30.592Z] 94cc34f8dd06: Pull complete [2023-03-15T15:41:30.592Z] 30dea6a524f1: Pull complete [2023-03-15T15:41:30.592Z] a2aff8979fd8: Pull complete [2023-03-15T15:41:32.490Z] 6808be2612f2: Pull complete [2023-03-15T15:41:33.424Z] f25807f1079a: Pull complete [2023-03-15T15:41:33.424Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-15T15:41:33.424Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-15T15:41:33.424Z] ---> 3b553350e43f [2023-03-15T15:41:33.424Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-03-15T15:41:37.979Z] Still waiting to schedule task [2023-03-15T15:41:37.980Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-15T15:41:38.752Z] ---> Running in ba36bc8d87ae [2023-03-15T15:41:38.753Z] Removing intermediate container ba36bc8d87ae [2023-03-15T15:41:38.753Z] ---> 868bd5bb5a04 [2023-03-15T15:41:38.753Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-15T15:41:38.753Z] ---> Running in 9343626bd1bf [2023-03-15T15:41:38.753Z] Removing intermediate container 9343626bd1bf [2023-03-15T15:41:38.753Z] ---> 5f13e149dfbb [2023-03-15T15:41:38.753Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-03-15T15:41:38.753Z] ---> Running in 744dc05ecb80 [2023-03-15T15:41:39.011Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-15T15:41:39.269Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-15T15:41:39.528Z] (1/8) Installing openssh-keygen (9.1_p1-r2) [2023-03-15T15:41:39.528Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-03-15T15:41:39.528Z] (3/8) Installing openssh-client-common (9.1_p1-r2) [2023-03-15T15:41:39.528Z] (4/8) Installing openssh-client-default (9.1_p1-r2) [2023-03-15T15:41:39.528Z] (5/8) Installing openssh-sftp-server (9.1_p1-r2) [2023-03-15T15:41:39.528Z] (6/8) Installing openssh-server-common (9.1_p1-r2) [2023-03-15T15:41:39.528Z] (7/8) Installing openssh-server (9.1_p1-r2) [2023-03-15T15:41:39.528Z] (8/8) Installing openssh (9.1_p1-r2) [2023-03-15T15:41:39.528Z] Executing busybox-1.35.0-r29.trigger [2023-03-15T15:41:39.528Z] OK: 270 MiB in 61 packages [2023-03-15T15:41:40.095Z] Removing intermediate container 744dc05ecb80 [2023-03-15T15:41:40.095Z] ---> cce83460b6ee [2023-03-15T15:41:40.095Z] Step 6/10 : WORKDIR /device-modbus-go [2023-03-15T15:41:40.095Z] ---> Running in 3e80ee572106 [2023-03-15T15:41:40.095Z] Removing intermediate container 3e80ee572106 [2023-03-15T15:41:40.095Z] ---> bbb8cf51a3c3 [2023-03-15T15:41:40.095Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-15T15:41:40.353Z] ---> a68f517ff648 [2023-03-15T15:41:40.354Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T15:41:40.354Z] ---> Running in 46cfa17803ce [2023-03-15T15:42:19.153Z] Removing intermediate container 46cfa17803ce [2023-03-15T15:42:19.153Z] ---> 8e997d95aa85 [2023-03-15T15:42:19.153Z] Step 9/10 : COPY . . [2023-03-15T15:42:19.153Z] ---> bb3636141c31 [2023-03-15T15:42:19.153Z] Step 10/10 : RUN ${MAKE} [2023-03-15T15:42:19.153Z] ---> Running in 43c47efed4f6 [2023-03-15T15:42:19.153Z] noop [2023-03-15T15:42:19.153Z] Removing intermediate container 43c47efed4f6 [2023-03-15T15:42:19.153Z] ---> 8ef2d6fb1773 [2023-03-15T15:42:19.153Z] Successfully built 8ef2d6fb1773 [2023-03-15T15:42:19.153Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T15:42:19.600Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-15T15:42:19.600Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T15:42:19.769Z] prd-ubuntu20.04-docker-8c-8g-506 does not seem to be running inside a container [2023-03-15T15:42:19.799Z] $ 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 [2023-03-15T15:42:20.135Z] $ docker top fbd669e2fcb607cc5dad0756683a4836a5fdb551b094ec7f8a3f8c7bb7a8bef0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T15:42:20.532Z] + go version [2023-03-15T15:42:20.532Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-15T15:42:20.568Z] $ docker stop --time=1 fbd669e2fcb607cc5dad0756683a4836a5fdb551b094ec7f8a3f8c7bb7a8bef0 [2023-03-15T15:42:21.895Z] $ 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 [2023-03-15T15:42:22.621Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-15T15:42:22.621Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T15:42:22.770Z] prd-ubuntu20.04-docker-8c-8g-506 does not seem to be running inside a container [2023-03-15T15:42:22.807Z] $ 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 [2023-03-15T15:42:23.096Z] $ docker top 72374f3aa61004bd539e8d719de59aaa6901498e542065897d062cd8fc9e293d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T15:42:23.475Z] + git config --global --add safe.directory /w/workspace/evice-modbus-go_dependabot-daily [Pipeline] fileExists [Pipeline] sh [2023-03-15T15:42:23.832Z] + make test [2023-03-15T15:42:23.832Z] go test ./... -coverprofile=coverage.out [2023-03-15T15:42:29.104Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-03-15T15:42:39.118Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-03-15T15:42:39.118Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.011s coverage: 48.0% of statements [2023-03-15T15:42:45.737Z] go vet ./... [2023-03-15T15:42:49.017Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-15T15:42:49.017Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-15T15:42:49.017Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-15T15:42:49.052Z] [edgeX.isLTS] Checking if [dependabot-daily] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-15T15:42:49.087Z] $ docker stop --time=1 72374f3aa61004bd539e8d719de59aaa6901498e542065897d062cd8fc9e293d [2023-03-15T15:42:54.296Z] $ docker rm -f --volumes 72374f3aa61004bd539e8d719de59aaa6901498e542065897d062cd8fc9e293d [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-15T15:42:54.900Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-15T15:42:54.985Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-15T15:42:55.566Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-15T15:42:55.955Z] + ls -al . [2023-03-15T15:42:55.955Z] total 180 [2023-03-15T15:42:55.955Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 15:42 . [2023-03-15T15:42:55.955Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 15:40 .. [2023-03-15T15:42:55.955Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 15 15:40 .dockerignore [2023-03-15T15:42:55.955Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 15:41 .git [2023-03-15T15:42:55.955Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 15:40 .github [2023-03-15T15:42:55.955Z] -rw-rw-r-- 1 jenkins jenkins 331 Mar 15 15:40 .gitignore [2023-03-15T15:42:55.955Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 15 15:40 .golangci.yml [2023-03-15T15:42:55.955Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 15:41 .semver [2023-03-15T15:42:55.955Z] -rw-rw-r-- 1 jenkins jenkins 10236 Mar 15 15:40 Attribution.txt [2023-03-15T15:42:55.955Z] -rw-rw-r-- 1 jenkins jenkins 11576 Mar 15 15:40 CHANGELOG.md [2023-03-15T15:42:55.955Z] -rw-rw-r-- 1 jenkins jenkins 1365 Mar 15 15:40 Dockerfile [2023-03-15T15:42:55.955Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 15:40 GOVERNANCE.md [2023-03-15T15:42:55.955Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 15 15:40 Jenkinsfile [2023-03-15T15:42:55.955Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 15 15:40 LICENSE [2023-03-15T15:42:55.955Z] -rw-rw-r-- 1 jenkins jenkins 1705 Mar 15 15:40 Makefile [2023-03-15T15:42:55.955Z] -rw-rw-r-- 1 jenkins jenkins 622 Mar 15 15:40 OWNERS.md [2023-03-15T15:42:55.955Z] -rw-rw-r-- 1 jenkins jenkins 4061 Mar 15 15:40 README.md [2023-03-15T15:42:55.955Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 15:41 VERSION [2023-03-15T15:42:55.955Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 15:40 bin [2023-03-15T15:42:55.955Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 15:40 cmd [2023-03-15T15:42:55.955Z] -rw-r--r-- 1 jenkins jenkins 23736 Mar 15 15:42 coverage.out [2023-03-15T15:42:55.955Z] -rw-rw-r-- 1 jenkins jenkins 3497 Mar 15 15:40 go.mod [2023-03-15T15:42:55.955Z] -rw-rw-r-- 1 jenkins jenkins 31641 Mar 15 15:40 go.sum [2023-03-15T15:42:55.955Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 15:40 internal [2023-03-15T15:42:55.955Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 15:40 simulator [2023-03-15T15:42:55.955Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 15:40 snap [2023-03-15T15:42:55.955Z] -rw-rw-r-- 1 jenkins jenkins 229 Mar 15 15:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T15:42:56.441Z] + 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 . [2023-03-15T15:42:56.441Z] Sending build context to Docker daemon 6.356MB [2023-03-15T15:42:56.441Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T15:42:56.441Z] Step 2/22 : FROM ${BASE} AS builder [2023-03-15T15:42:56.441Z] ---> 8ef2d6fb1773 [2023-03-15T15:42:56.441Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-03-15T15:42:56.700Z] ---> Running in e720d6a9d7cb [2023-03-15T15:42:56.700Z] Removing intermediate container e720d6a9d7cb [2023-03-15T15:42:56.700Z] ---> 8351c659bbc1 [2023-03-15T15:42:56.700Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-15T15:42:56.700Z] ---> Running in 405fb874e5c8 [2023-03-15T15:42:56.958Z] Removing intermediate container 405fb874e5c8 [2023-03-15T15:42:56.958Z] ---> cc21aaf4217f [2023-03-15T15:42:56.958Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-03-15T15:42:57.215Z] ---> Running in 17e0d7c7d063 [2023-03-15T15:42:57.783Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-15T15:42:57.783Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-15T15:42:58.059Z] OK: 270 MiB in 61 packages [2023-03-15T15:42:59.007Z] Removing intermediate container 17e0d7c7d063 [2023-03-15T15:42:59.007Z] ---> 912e74e83449 [2023-03-15T15:42:59.007Z] Step 6/22 : WORKDIR /device-modbus-go [2023-03-15T15:42:59.007Z] ---> Running in 0c5b3830bd83 [2023-03-15T15:42:59.266Z] Removing intermediate container 0c5b3830bd83 [2023-03-15T15:42:59.266Z] ---> 778f4c55f5e9 [2023-03-15T15:42:59.266Z] Step 7/22 : COPY go.mod vendor* ./ [2023-03-15T15:42:59.524Z] ---> e792fa17e596 [2023-03-15T15:42:59.524Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T15:42:59.524Z] ---> Running in c0f0cc769db2 [2023-03-15T15:43:00.898Z] Removing intermediate container c0f0cc769db2 [2023-03-15T15:43:00.898Z] ---> ea7684214124 [2023-03-15T15:43:00.898Z] Step 9/22 : COPY . . [2023-03-15T15:43:01.533Z] ---> 15e2dea34285 [2023-03-15T15:43:01.533Z] Step 10/22 : RUN ${MAKE} [2023-03-15T15:43:01.533Z] ---> Running in 824cfd6a2d45 [2023-03-15T15:43:01.533Z] 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 [2023-03-15T15:43:23.499Z] Removing intermediate container 824cfd6a2d45 [2023-03-15T15:43:23.499Z] ---> f4a191b7720c [2023-03-15T15:43:23.499Z] Step 11/22 : FROM alpine:3.17 [2023-03-15T15:43:23.499Z] 3.17: Pulling from library/alpine [2023-03-15T15:43:23.499Z] 63b65145d645: Already exists [2023-03-15T15:43:23.499Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-15T15:43:23.499Z] Status: Downloaded newer image for alpine:3.17 [2023-03-15T15:43:23.499Z] ---> b2aa39c304c2 [2023-03-15T15:43:23.499Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-03-15T15:43:23.499Z] ---> Running in 2410593ebadc [2023-03-15T15:43:23.499Z] Removing intermediate container 2410593ebadc [2023-03-15T15:43:23.499Z] ---> 3eb30d487b78 [2023-03-15T15:43:23.499Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-03-15T15:43:23.499Z] ---> Running in faf9756941c5 [2023-03-15T15:43:23.499Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-15T15:43:23.499Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-15T15:43:23.499Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-15T15:43:23.499Z] Executing busybox-1.35.0-r29.trigger [2023-03-15T15:43:23.499Z] OK: 7 MiB in 16 packages [2023-03-15T15:43:23.499Z] Removing intermediate container faf9756941c5 [2023-03-15T15:43:23.499Z] ---> 5243c0b8e220 [2023-03-15T15:43:23.499Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-03-15T15:43:24.430Z] ---> 4057568aec67 [2023-03-15T15:43:24.430Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-03-15T15:43:24.687Z] ---> 55c801164a15 [2023-03-15T15:43:24.687Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-03-15T15:43:24.687Z] ---> 07e71c42fdd6 [2023-03-15T15:43:24.687Z] Step 17/22 : EXPOSE 59901 [2023-03-15T15:43:24.687Z] ---> Running in 1d32c65d23c5 [2023-03-15T15:43:24.946Z] Removing intermediate container 1d32c65d23c5 [2023-03-15T15:43:24.946Z] ---> 595476165d5a [2023-03-15T15:43:24.946Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-03-15T15:43:24.946Z] ---> Running in 5c2f68c66c8c [2023-03-15T15:43:24.946Z] Removing intermediate container 5c2f68c66c8c [2023-03-15T15:43:24.946Z] ---> 97da73aa35c4 [2023-03-15T15:43:24.946Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-15T15:43:24.946Z] ---> Running in 4d573a8bac41 [2023-03-15T15:43:24.946Z] Removing intermediate container 4d573a8bac41 [2023-03-15T15:43:24.946Z] ---> 7e5e9c827104 [2023-03-15T15:43:24.946Z] Step 20/22 : LABEL arch=amd64 [2023-03-15T15:43:24.946Z] ---> Running in 8004cc985a1c [2023-03-15T15:43:24.946Z] Removing intermediate container 8004cc985a1c [2023-03-15T15:43:24.946Z] ---> 4c26397ad50d [2023-03-15T15:43:24.946Z] Step 21/22 : LABEL git_sha=adfe6f3580b78144da79de0e27a7fa0ad90dd40e [2023-03-15T15:43:25.204Z] ---> Running in 9827824df861 [2023-03-15T15:43:25.204Z] Removing intermediate container 9827824df861 [2023-03-15T15:43:25.204Z] ---> 58e73e6ca9df [2023-03-15T15:43:25.204Z] Step 22/22 : LABEL version=0.0.0 [2023-03-15T15:43:25.204Z] ---> Running in 24673cc47f90 [2023-03-15T15:43:25.204Z] Removing intermediate container 24673cc47f90 [2023-03-15T15:43:25.204Z] ---> 7ad0210e5dd8 [2023-03-15T15:43:25.204Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-15T15:43:25.204Z] Successfully built 7ad0210e5dd8 [2023-03-15T15:43:25.204Z] 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 [2023-03-15T15:43:26.018Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T15:43:26.018Z] [2023-03-15T15:43:26.018Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T15:43:26.390Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T15:43:26.390Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-15T15:43:26.390Z] 5eb5b503b376: Pulling fs layer [2023-03-15T15:43:26.390Z] 5c69ac0246d0: Pulling fs layer [2023-03-15T15:43:26.390Z] ec43610c2a17: Pulling fs layer [2023-03-15T15:43:26.390Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-15T15:43:26.390Z] 33b1e0a273af: Pulling fs layer [2023-03-15T15:43:26.390Z] 5d3b04190fa2: Pulling fs layer [2023-03-15T15:43:26.390Z] 2f39f015ded8: Pulling fs layer [2023-03-15T15:43:26.390Z] 3a2ae6a8a46f: Waiting [2023-03-15T15:43:26.390Z] 33b1e0a273af: Waiting [2023-03-15T15:43:26.390Z] 5d3b04190fa2: Waiting [2023-03-15T15:43:26.390Z] 2f39f015ded8: Waiting [2023-03-15T15:43:26.390Z] 5c69ac0246d0: Verifying Checksum [2023-03-15T15:43:26.390Z] 5c69ac0246d0: Download complete [2023-03-15T15:43:26.390Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-15T15:43:26.390Z] 3a2ae6a8a46f: Download complete [2023-03-15T15:43:26.390Z] 33b1e0a273af: Verifying Checksum [2023-03-15T15:43:26.390Z] 33b1e0a273af: Download complete [2023-03-15T15:43:26.649Z] 5d3b04190fa2: Download complete [2023-03-15T15:43:26.649Z] ec43610c2a17: Verifying Checksum [2023-03-15T15:43:26.649Z] 5eb5b503b376: Verifying Checksum [2023-03-15T15:43:26.649Z] 5eb5b503b376: Download complete [2023-03-15T15:43:27.217Z] 2f39f015ded8: Download complete [2023-03-15T15:43:27.783Z] 5eb5b503b376: Pull complete [2023-03-15T15:43:27.783Z] 5c69ac0246d0: Pull complete [2023-03-15T15:43:28.719Z] ec43610c2a17: Pull complete [2023-03-15T15:43:28.719Z] 3a2ae6a8a46f: Pull complete [2023-03-15T15:43:29.284Z] 33b1e0a273af: Pull complete [2023-03-15T15:43:29.543Z] 5d3b04190fa2: Pull complete [2023-03-15T15:43:33.723Z] 2f39f015ded8: Pull complete [2023-03-15T15:43:33.723Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-15T15:43:33.723Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T15:43:33.723Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T15:43:33.943Z] prd-ubuntu20.04-docker-8c-8g-506 does not seem to be running inside a container [2023-03-15T15:43:33.980Z] $ 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 [2023-03-15T15:43:39.230Z] $ docker top 538c2c665d46f709d373ea157935bed3537d0f424cf91f870f1c3528db34fcbf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T15:43:39.656Z] ---> job-cost.sh [2023-03-15T15:43:39.656Z] lf-activate-venv: SKIPPING [2023-03-15T15:43:39.656Z] INFO: No Stack... [2023-03-15T15:43:39.914Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-15T15:43:40.479Z] INFO: Archiving Costs [Pipeline] sh [2023-03-15T15:43:40.795Z] + cat /w/workspace/evice-modbus-go_dependabot-daily/archives/cost.csv [2023-03-15T15:43:40.795Z] + cut -d, -f6 [Pipeline] lock [2023-03-15T15:43:40.840Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-dependabot-daily-1-stack-cost] [2023-03-15T15:43:40.845Z] Resource [jenkins-edgexfoundry-device-modbus-go-dependabot-daily-1-stack-cost] did not exist. Created. [2023-03-15T15:43:40.845Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-dependabot-daily-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-15T15:43:41.220Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-15T15:43:41.269Z] Stashed 1 file(s) [Pipeline] } [2023-03-15T15:43:41.301Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-dependabot-daily-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-15T15:43:41.394Z] $ docker stop --time=1 538c2c665d46f709d373ea157935bed3537d0f424cf91f870f1c3528db34fcbf [2023-03-15T15:43:42.644Z] $ docker rm -f --volumes 538c2c665d46f709d373ea157935bed3537d0f424cf91f870f1c3528db34fcbf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-15T15:44:04.766Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-518 in /w/workspace/evice-modbus-go_dependabot-daily [Pipeline] { [Pipeline] ws [2023-03-15T15:44:04.840Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2023-03-15T15:44:04.921Z] Selected Git installation does not exist. Using Default [2023-03-15T15:44:04.921Z] The recommended git tool is: NONE [2023-03-15T15:44:11.706Z] using credential edgex-jenkins-ssh [2023-03-15T15:44:11.726Z] Cloning the remote Git repository [2023-03-15T15:44:11.787Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-03-15T15:44:11.899Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2023-03-15T15:44:12.092Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-03-15T15:44:12.093Z] > git --version # timeout=10 [2023-03-15T15:44:12.122Z] > git --version # 'git version 2.25.1' [2023-03-15T15:44:12.126Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-15T15:44:12.311Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-15T15:44:13.582Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-03-15T15:44:13.613Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-15T15:44:14.715Z] Avoid second fetch [2023-03-15T15:44:14.716Z] Checking out Revision adfe6f3580b78144da79de0e27a7fa0ad90dd40e (dependabot-daily) [2023-03-15T15:44:14.740Z] > git config core.sparsecheckout # timeout=10 [2023-03-15T15:44:14.827Z] > git checkout -f adfe6f3580b78144da79de0e27a7fa0ad90dd40e # timeout=10 [2023-03-15T15:44:15.381Z] Commit message: "ci: Change dependabot gomod schedule to daily" [2023-03-15T15:44:15.448Z] > git --version # timeout=10 [2023-03-15T15:44:15.464Z] > git --version # 'git version 2.25.1' [2023-03-15T15:44:15.488Z] fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-15T15:44:16.599Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-15T15:44:16.599Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-15T15:44:16.599Z] Dload Upload Total Spent Left Speed [2023-03-15T15:44:16.599Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 148k 0 --:--:-- --:--:-- --:--:-- 148k [Pipeline] sh [2023-03-15T15:44:17.328Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-15T15:44:17.687Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-15T15:44:17.687Z] + sudo tee /etc/docker/daemon.new [2023-03-15T15:44:17.687Z] { [2023-03-15T15:44:17.687Z] "registry-mirrors": [ [2023-03-15T15:44:17.687Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-15T15:44:17.687Z] ], [2023-03-15T15:44:17.687Z] "bip": "10.250.0.254/24", [2023-03-15T15:44:17.687Z] "hosts": [ [2023-03-15T15:44:17.687Z] "tcp://0.0.0.0:5555", [2023-03-15T15:44:17.687Z] "unix:///var/run/docker.sock" [2023-03-15T15:44:17.687Z] ], [2023-03-15T15:44:17.687Z] "mtu": 1458, [2023-03-15T15:44:17.687Z] "selinux-enabled": true, [2023-03-15T15:44:17.687Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-15T15:44:17.687Z] } [Pipeline] sh [2023-03-15T15:44:18.049Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-15T15:44:18.401Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T15:44:36.767Z] provisioning config files... [2023-03-15T15:44:36.803Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config18314510734150142541tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T15:44:37.218Z] ---> docker-login.sh [2023-03-15T15:44:37.218Z] nexus3.edgexfoundry.org:10001 [2023-03-15T15:44:37.818Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T15:44:37.818Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T15:44:37.818Z] Configure a credential helper to remove this warning. See [2023-03-15T15:44:37.818Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T15:44:37.818Z] [2023-03-15T15:44:37.818Z] Login Succeeded [2023-03-15T15:44:37.818Z] nexus3.edgexfoundry.org:10002 [2023-03-15T15:44:38.094Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T15:44:38.366Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T15:44:38.366Z] Configure a credential helper to remove this warning. See [2023-03-15T15:44:38.366Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T15:44:38.366Z] [2023-03-15T15:44:38.366Z] Login Succeeded [2023-03-15T15:44:38.366Z] nexus3.edgexfoundry.org:10003 [2023-03-15T15:44:38.635Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T15:44:38.635Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T15:44:38.635Z] Configure a credential helper to remove this warning. See [2023-03-15T15:44:38.635Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T15:44:38.635Z] [2023-03-15T15:44:38.635Z] Login Succeeded [2023-03-15T15:44:38.635Z] nexus3.edgexfoundry.org:10004 [2023-03-15T15:44:38.913Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T15:44:39.187Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T15:44:39.188Z] Configure a credential helper to remove this warning. See [2023-03-15T15:44:39.188Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T15:44:39.188Z] [2023-03-15T15:44:39.188Z] Login Succeeded [2023-03-15T15:44:39.188Z] docker.io [2023-03-15T15:44:39.463Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T15:44:39.738Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T15:44:39.738Z] Configure a credential helper to remove this warning. See [2023-03-15T15:44:39.738Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T15:44:39.738Z] [2023-03-15T15:44:39.738Z] Login Succeeded [2023-03-15T15:44:39.738Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T15:44:39.769Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-15T15:44:40.282Z] [edgeX.isLTS] Checking if [dependabot-daily] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T15:44:40.321Z] [edgeX.isLTS] Checking if [dependabot-daily] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T15:44:40.354Z] ========================================================= [2023-03-15T15:44:40.354Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-15T15:44:40.354Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T15:44:40.869Z] + 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 . [2023-03-15T15:44:41.144Z] Sending build context to Docker daemon 3.3MB [2023-03-15T15:44:41.144Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T15:44:41.144Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-15T15:44:41.421Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-15T15:44:41.421Z] af6eaf76a39c: Pulling fs layer [2023-03-15T15:44:41.421Z] 55522c791124: Pulling fs layer [2023-03-15T15:44:41.421Z] ce5c4a1c91eb: Pulling fs layer [2023-03-15T15:44:41.421Z] 169dfbe0d373: Pulling fs layer [2023-03-15T15:44:41.421Z] e1ff8fa3b103: Pulling fs layer [2023-03-15T15:44:41.421Z] 52ebb69f0ebf: Pulling fs layer [2023-03-15T15:44:41.421Z] 5abe8eddf0d5: Pulling fs layer [2023-03-15T15:44:41.421Z] e1ff8fa3b103: Waiting [2023-03-15T15:44:41.421Z] 52ebb69f0ebf: Waiting [2023-03-15T15:44:41.421Z] 5abe8eddf0d5: Waiting [2023-03-15T15:44:41.421Z] 169dfbe0d373: Waiting [2023-03-15T15:44:41.421Z] 55522c791124: Verifying Checksum [2023-03-15T15:44:41.421Z] 55522c791124: Download complete [2023-03-15T15:44:41.421Z] 169dfbe0d373: Verifying Checksum [2023-03-15T15:44:41.421Z] 169dfbe0d373: Download complete [2023-03-15T15:44:41.421Z] e1ff8fa3b103: Verifying Checksum [2023-03-15T15:44:41.421Z] e1ff8fa3b103: Download complete [2023-03-15T15:44:41.421Z] af6eaf76a39c: Verifying Checksum [2023-03-15T15:44:41.421Z] af6eaf76a39c: Download complete [2023-03-15T15:44:42.910Z] af6eaf76a39c: Pull complete [2023-03-15T15:44:43.189Z] 5abe8eddf0d5: Verifying Checksum [2023-03-15T15:44:43.189Z] 5abe8eddf0d5: Download complete [2023-03-15T15:44:43.462Z] 55522c791124: Pull complete [2023-03-15T15:44:44.900Z] ce5c4a1c91eb: Verifying Checksum [2023-03-15T15:44:44.900Z] ce5c4a1c91eb: Download complete [2023-03-15T15:44:44.900Z] 52ebb69f0ebf: Verifying Checksum [2023-03-15T15:44:44.900Z] 52ebb69f0ebf: Download complete [2023-03-15T15:44:55.022Z] ce5c4a1c91eb: Pull complete [2023-03-15T15:44:55.022Z] 169dfbe0d373: Pull complete [2023-03-15T15:44:55.291Z] e1ff8fa3b103: Pull complete [2023-03-15T15:45:05.389Z] 52ebb69f0ebf: Pull complete [2023-03-15T15:45:06.377Z] 5abe8eddf0d5: Pull complete [2023-03-15T15:45:06.377Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-15T15:45:06.377Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-15T15:45:06.377Z] ---> 6cb57ee374ae [2023-03-15T15:45:06.377Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-03-15T15:45:08.349Z] ---> Running in b8dab0525f42 [2023-03-15T15:45:08.621Z] Removing intermediate container b8dab0525f42 [2023-03-15T15:45:08.621Z] ---> 683a913edcd1 [2023-03-15T15:45:08.621Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-15T15:45:08.621Z] ---> Running in b2f5690b9a54 [2023-03-15T15:45:08.911Z] Removing intermediate container b2f5690b9a54 [2023-03-15T15:45:08.911Z] ---> e84b9d6fa33c [2023-03-15T15:45:08.911Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-03-15T15:45:09.249Z] ---> Running in e78a286feef8 [2023-03-15T15:45:10.727Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-15T15:45:11.326Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-15T15:45:12.754Z] (1/8) Installing openssh-keygen (9.1_p1-r2) [2023-03-15T15:45:12.754Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-03-15T15:45:12.754Z] (3/8) Installing openssh-client-common (9.1_p1-r2) [2023-03-15T15:45:12.754Z] (4/8) Installing openssh-client-default (9.1_p1-r2) [2023-03-15T15:45:12.754Z] (5/8) Installing openssh-sftp-server (9.1_p1-r2) [2023-03-15T15:45:12.754Z] (6/8) Installing openssh-server-common (9.1_p1-r2) [2023-03-15T15:45:12.754Z] (7/8) Installing openssh-server (9.1_p1-r2) [2023-03-15T15:45:12.754Z] (8/8) Installing openssh (9.1_p1-r2) [2023-03-15T15:45:12.754Z] Executing busybox-1.35.0-r29.trigger [2023-03-15T15:45:12.754Z] OK: 270 MiB in 61 packages [2023-03-15T15:45:14.188Z] Removing intermediate container e78a286feef8 [2023-03-15T15:45:14.188Z] ---> 3d5ff57eabbd [2023-03-15T15:45:14.188Z] Step 6/10 : WORKDIR /device-modbus-go [2023-03-15T15:45:14.188Z] ---> Running in 0e0f231674db [2023-03-15T15:45:14.459Z] Removing intermediate container 0e0f231674db [2023-03-15T15:45:14.459Z] ---> 614bfeade021 [2023-03-15T15:45:14.459Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-15T15:45:17.062Z] ---> 5f8e4514feaf [2023-03-15T15:45:17.062Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T15:45:17.062Z] ---> Running in e983ee31509f [2023-03-15T15:46:53.785Z] Removing intermediate container e983ee31509f [2023-03-15T15:46:53.785Z] ---> e025b9dc1020 [2023-03-15T15:46:53.785Z] Step 9/10 : COPY . . [2023-03-15T15:46:53.785Z] ---> 9e730011a920 [2023-03-15T15:46:53.785Z] Step 10/10 : RUN ${MAKE} [2023-03-15T15:46:53.785Z] ---> Running in 80b14afae38f [2023-03-15T15:46:53.785Z] noop [2023-03-15T15:46:53.785Z] Removing intermediate container 80b14afae38f [2023-03-15T15:46:53.785Z] ---> 498b9abf7df7 [2023-03-15T15:46:53.785Z] Successfully built 498b9abf7df7 [2023-03-15T15:46:53.785Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T15:46:54.260Z] + docker inspect -f . ci-base-image-arm64 [2023-03-15T15:46:54.260Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T15:46:54.569Z] prd-ubuntu20.04-docker-arm64-4c-16g-518 does not seem to be running inside a container [2023-03-15T15:46:54.653Z] $ 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 [2023-03-15T15:46:55.955Z] $ docker top 2b733563dd9932b69a3e14ffe6efe655e21f7c2deca936de416826ab0652fd40 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T15:46:56.900Z] + go version [2023-03-15T15:46:56.900Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-15T15:46:56.949Z] $ docker stop --time=1 2b733563dd9932b69a3e14ffe6efe655e21f7c2deca936de416826ab0652fd40 [2023-03-15T15:46:58.654Z] $ 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 [2023-03-15T15:46:59.560Z] + docker inspect -f . ci-base-image-arm64 [2023-03-15T15:46:59.560Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T15:46:59.858Z] prd-ubuntu20.04-docker-arm64-4c-16g-518 does not seem to be running inside a container [2023-03-15T15:46:59.944Z] $ 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 [2023-03-15T15:47:01.392Z] $ docker top 46af0154c8abcb0028e9b73bfc58e15a718952161cfed57ca29cc73d38b5599b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T15:47:02.334Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh [2023-03-15T15:47:03.059Z] + make test [2023-03-15T15:47:03.059Z] go test ./... -coverprofile=coverage.out [2023-03-15T15:47:41.982Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-03-15T15:50:19.022Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-03-15T15:50:20.997Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.085s coverage: 48.0% of statements [2023-03-15T15:50:21.591Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-15T15:50:21.591Z] go vet ./... [2023-03-15T15:51:00.980Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-15T15:51:00.980Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-15T15:51:00.980Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-15T15:51:01.034Z] [edgeX.isLTS] Checking if [dependabot-daily] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-15T15:51:01.065Z] $ docker stop --time=1 46af0154c8abcb0028e9b73bfc58e15a718952161cfed57ca29cc73d38b5599b [2023-03-15T15:51:03.089Z] $ docker rm -f --volumes 46af0154c8abcb0028e9b73bfc58e15a718952161cfed57ca29cc73d38b5599b [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-15T15:51:04.454Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-15T15:51:04.491Z] Warning: overwriting stash ‘coverage-report’ [2023-03-15T15:51:05.066Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-15T15:51:05.646Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-15T15:51:06.003Z] + ls -al . [2023-03-15T15:51:06.003Z] total 176 [2023-03-15T15:51:06.003Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 15 15:47 . [2023-03-15T15:51:06.003Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 15:44 .. [2023-03-15T15:51:06.003Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 15 15:44 .dockerignore [2023-03-15T15:51:06.003Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 15:44 .git [2023-03-15T15:51:06.003Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 15:44 .github [2023-03-15T15:51:06.003Z] -rw-rw-r-- 1 jenkins jenkins 331 Mar 15 15:44 .gitignore [2023-03-15T15:51:06.003Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 15 15:44 .golangci.yml [2023-03-15T15:51:06.003Z] -rw-rw-r-- 1 jenkins jenkins 10236 Mar 15 15:44 Attribution.txt [2023-03-15T15:51:06.003Z] -rw-rw-r-- 1 jenkins jenkins 11576 Mar 15 15:44 CHANGELOG.md [2023-03-15T15:51:06.003Z] -rw-rw-r-- 1 jenkins jenkins 1365 Mar 15 15:44 Dockerfile [2023-03-15T15:51:06.003Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 15:44 GOVERNANCE.md [2023-03-15T15:51:06.003Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 15 15:44 Jenkinsfile [2023-03-15T15:51:06.003Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 15 15:44 LICENSE [2023-03-15T15:51:06.003Z] -rw-rw-r-- 1 jenkins jenkins 1705 Mar 15 15:44 Makefile [2023-03-15T15:51:06.003Z] -rw-rw-r-- 1 jenkins jenkins 622 Mar 15 15:44 OWNERS.md [2023-03-15T15:51:06.003Z] -rw-rw-r-- 1 jenkins jenkins 4061 Mar 15 15:44 README.md [2023-03-15T15:51:06.003Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 15:41 VERSION [2023-03-15T15:51:06.003Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 15:44 bin [2023-03-15T15:51:06.003Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 15:44 cmd [2023-03-15T15:51:06.003Z] -rw-r--r-- 1 jenkins jenkins 23736 Mar 15 15:50 coverage.out [2023-03-15T15:51:06.003Z] -rw-rw-r-- 1 jenkins jenkins 3497 Mar 15 15:44 go.mod [2023-03-15T15:51:06.003Z] -rw-rw-r-- 1 jenkins jenkins 31641 Mar 15 15:44 go.sum [2023-03-15T15:51:06.003Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 15:44 internal [2023-03-15T15:51:06.003Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 15:44 simulator [2023-03-15T15:51:06.003Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 15:44 snap [2023-03-15T15:51:06.003Z] -rw-rw-r-- 1 jenkins jenkins 229 Mar 15 15:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T15:51:06.438Z] + 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 . [2023-03-15T15:51:06.716Z] Sending build context to Docker daemon 3.324MB [2023-03-15T15:51:06.716Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T15:51:06.716Z] Step 2/22 : FROM ${BASE} AS builder [2023-03-15T15:51:06.716Z] ---> 498b9abf7df7 [2023-03-15T15:51:06.716Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-03-15T15:51:06.999Z] ---> Running in f5f9f8b58c7e [2023-03-15T15:51:07.277Z] Removing intermediate container f5f9f8b58c7e [2023-03-15T15:51:07.277Z] ---> 37c8aa6f7323 [2023-03-15T15:51:07.277Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-15T15:51:07.547Z] ---> Running in 80171caf33b6 [2023-03-15T15:51:07.818Z] Removing intermediate container 80171caf33b6 [2023-03-15T15:51:07.818Z] ---> f5fcf206de49 [2023-03-15T15:51:07.818Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-03-15T15:51:07.818Z] ---> Running in 5bbde745cf4e [2023-03-15T15:51:09.239Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-15T15:51:09.829Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-15T15:51:11.265Z] OK: 270 MiB in 61 packages [2023-03-15T15:51:12.235Z] Removing intermediate container 5bbde745cf4e [2023-03-15T15:51:12.235Z] ---> b392ac34bb32 [2023-03-15T15:51:12.235Z] Step 6/22 : WORKDIR /device-modbus-go [2023-03-15T15:51:12.235Z] ---> Running in 4d330bbd138c [2023-03-15T15:51:12.508Z] Removing intermediate container 4d330bbd138c [2023-03-15T15:51:12.508Z] ---> 32119d612ce0 [2023-03-15T15:51:12.508Z] Step 7/22 : COPY go.mod vendor* ./ [2023-03-15T15:51:13.097Z] ---> 1552d534206a [2023-03-15T15:51:13.097Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T15:51:13.097Z] ---> Running in cb536828dfc7 [2023-03-15T15:51:16.469Z] Removing intermediate container cb536828dfc7 [2023-03-15T15:51:16.469Z] ---> bd32bbf89b14 [2023-03-15T15:51:16.469Z] Step 9/22 : COPY . . [2023-03-15T15:51:17.450Z] ---> c4451a86d30e [2023-03-15T15:51:17.450Z] Step 10/22 : RUN ${MAKE} [2023-03-15T15:51:17.450Z] ---> Running in 08eced123471 [2023-03-15T15:51:18.896Z] 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 [2023-03-15T15:54:10.732Z] Removing intermediate container 08eced123471 [2023-03-15T15:54:10.732Z] ---> cebf0bd806ce [2023-03-15T15:54:10.732Z] Step 11/22 : FROM alpine:3.17 [2023-03-15T15:54:10.732Z] 3.17: Pulling from library/alpine [2023-03-15T15:54:10.732Z] af6eaf76a39c: Already exists [2023-03-15T15:54:10.732Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-15T15:54:10.732Z] Status: Downloaded newer image for alpine:3.17 [2023-03-15T15:54:10.732Z] ---> d74e625d9115 [2023-03-15T15:54:10.732Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-03-15T15:54:10.732Z] ---> Running in 709b0e0bd6f7 [2023-03-15T15:54:10.732Z] Removing intermediate container 709b0e0bd6f7 [2023-03-15T15:54:10.732Z] ---> 9bd164dd49c0 [2023-03-15T15:54:10.732Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-03-15T15:54:10.732Z] ---> Running in 383184b0c522 [2023-03-15T15:54:11.327Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-15T15:54:12.294Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-15T15:54:13.731Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-15T15:54:13.731Z] Executing busybox-1.35.0-r29.trigger [2023-03-15T15:54:13.731Z] OK: 8 MiB in 16 packages [2023-03-15T15:54:16.343Z] Removing intermediate container 383184b0c522 [2023-03-15T15:54:16.343Z] ---> 37c7c9fb6327 [2023-03-15T15:54:16.343Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-03-15T15:54:17.379Z] ---> 985bc9a46be0 [2023-03-15T15:54:17.379Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-03-15T15:54:17.970Z] ---> 0123dfa2bdfc [2023-03-15T15:54:17.970Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-03-15T15:54:18.577Z] ---> 40d793c1c3f4 [2023-03-15T15:54:18.577Z] Step 17/22 : EXPOSE 59901 [2023-03-15T15:54:18.577Z] ---> Running in f5d407d3a332 [2023-03-15T15:54:19.179Z] Removing intermediate container f5d407d3a332 [2023-03-15T15:54:19.179Z] ---> fd6ee805e1e7 [2023-03-15T15:54:19.179Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-03-15T15:54:19.179Z] ---> Running in 8e6507157721 [2023-03-15T15:54:19.449Z] Removing intermediate container 8e6507157721 [2023-03-15T15:54:19.449Z] ---> b632f9b5a958 [2023-03-15T15:54:19.449Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-15T15:54:19.449Z] ---> Running in 6e0ad6af519e [2023-03-15T15:54:19.720Z] Removing intermediate container 6e0ad6af519e [2023-03-15T15:54:19.720Z] ---> 9da34ee32dcb [2023-03-15T15:54:19.720Z] Step 20/22 : LABEL arch=arm64 [2023-03-15T15:54:20.006Z] ---> Running in a721d054a3c8 [2023-03-15T15:54:20.276Z] Removing intermediate container a721d054a3c8 [2023-03-15T15:54:20.276Z] ---> 418243540bc1 [2023-03-15T15:54:20.276Z] Step 21/22 : LABEL git_sha=adfe6f3580b78144da79de0e27a7fa0ad90dd40e [2023-03-15T15:54:20.276Z] ---> Running in ca015b6fd37e [2023-03-15T15:54:20.544Z] Removing intermediate container ca015b6fd37e [2023-03-15T15:54:20.544Z] ---> a979f7bdf0c9 [2023-03-15T15:54:20.544Z] Step 22/22 : LABEL version=0.0.0 [2023-03-15T15:54:20.544Z] ---> Running in 091cea13f9f0 [2023-03-15T15:54:20.811Z] Removing intermediate container 091cea13f9f0 [2023-03-15T15:54:20.811Z] ---> 00d669709c1a [2023-03-15T15:54:20.811Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-15T15:54:21.080Z] Successfully built 00d669709c1a [2023-03-15T15:54:21.080Z] 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 [2023-03-15T15:54:22.081Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T15:54:22.081Z] [2023-03-15T15:54:22.081Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T15:54:22.491Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T15:54:22.491Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-15T15:54:22.491Z] 8998bd30e6a1: Pulling fs layer [2023-03-15T15:54:22.491Z] 04944245beec: Pulling fs layer [2023-03-15T15:54:22.491Z] 699f458cf7ca: Pulling fs layer [2023-03-15T15:54:22.491Z] 765212b225bb: Pulling fs layer [2023-03-15T15:54:22.491Z] f23df028b6ca: Pulling fs layer [2023-03-15T15:54:22.491Z] d65c8cfc05b1: Pulling fs layer [2023-03-15T15:54:22.491Z] 2437ff75d9bd: Pulling fs layer [2023-03-15T15:54:22.491Z] 765212b225bb: Waiting [2023-03-15T15:54:22.491Z] f23df028b6ca: Waiting [2023-03-15T15:54:22.491Z] d65c8cfc05b1: Waiting [2023-03-15T15:54:22.491Z] 2437ff75d9bd: Waiting [2023-03-15T15:54:22.764Z] 04944245beec: Verifying Checksum [2023-03-15T15:54:22.764Z] 04944245beec: Download complete [2023-03-15T15:54:22.764Z] 765212b225bb: Verifying Checksum [2023-03-15T15:54:22.764Z] 765212b225bb: Download complete [2023-03-15T15:54:22.764Z] f23df028b6ca: Verifying Checksum [2023-03-15T15:54:22.764Z] f23df028b6ca: Download complete [2023-03-15T15:54:22.764Z] d65c8cfc05b1: Verifying Checksum [2023-03-15T15:54:22.764Z] d65c8cfc05b1: Download complete [2023-03-15T15:54:23.035Z] 699f458cf7ca: Verifying Checksum [2023-03-15T15:54:23.035Z] 699f458cf7ca: Download complete [2023-03-15T15:54:23.305Z] 8998bd30e6a1: Verifying Checksum [2023-03-15T15:54:23.305Z] 8998bd30e6a1: Download complete [2023-03-15T15:54:25.890Z] 2437ff75d9bd: Verifying Checksum [2023-03-15T15:54:25.890Z] 2437ff75d9bd: Download complete [2023-03-15T15:54:27.301Z] 8998bd30e6a1: Pull complete [2023-03-15T15:54:29.892Z] 04944245beec: Pull complete [2023-03-15T15:54:30.863Z] 699f458cf7ca: Pull complete [2023-03-15T15:54:31.133Z] 765212b225bb: Pull complete [2023-03-15T15:54:32.103Z] f23df028b6ca: Pull complete [2023-03-15T15:54:32.377Z] d65c8cfc05b1: Pull complete [2023-03-15T15:54:47.420Z] 2437ff75d9bd: Pull complete [2023-03-15T15:54:47.420Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-15T15:54:47.420Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T15:54:47.420Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T15:54:47.782Z] prd-ubuntu20.04-docker-arm64-4c-16g-518 does not seem to be running inside a container [2023-03-15T15:54:47.873Z] $ 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 [2023-03-15T15:54:51.250Z] $ docker top 0269328d6cffe61d048720332c7efd5b44c0a7e346f1c34ced051c6252e79391 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T15:54:52.217Z] ---> job-cost.sh [2023-03-15T15:54:52.217Z] lf-activate-venv: SKIPPING [2023-03-15T15:54:52.217Z] INFO: No Stack... [2023-03-15T15:54:52.809Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-15T15:54:53.780Z] INFO: Archiving Costs [Pipeline] sh [2023-03-15T15:54:54.466Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [2023-03-15T15:54:54.466Z] + cut -d, -f6 [Pipeline] lock [2023-03-15T15:54:54.580Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-dependabot-daily-1-stack-cost] [2023-03-15T15:54:54.585Z] Resource [jenkins-edgexfoundry-device-modbus-go-dependabot-daily-1-stack-cost] did not exist. Created. [2023-03-15T15:54:54.585Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-dependabot-daily-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-15T15:54:55.330Z] /w/workspace/device-modbus-go/1@tmp/durable-cf830f08/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-15T15:54:56.084Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-15T15:54:56.118Z] Warning: overwriting stash ‘stack-cost’ [2023-03-15T15:54:56.177Z] Stashed 1 file(s) [Pipeline] } [2023-03-15T15:54:56.193Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-dependabot-daily-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-15T15:54:56.271Z] $ docker stop --time=1 0269328d6cffe61d048720332c7efd5b44c0a7e346f1c34ced051c6252e79391 [2023-03-15T15:54:57.860Z] $ 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 [2023-03-15T15:54:58.837Z] provisioning config files... [2023-03-15T15:54:58.845Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/evice-modbus-go_dependabot-daily@tmp/config7729216684559574947tmp [Pipeline] { [Pipeline] sh [2023-03-15T15:54:59.178Z] + set +x [2023-03-15T15:54:59.178Z] + curl -s https://codecov.io/bash [2023-03-15T15:54:59.178Z] + bash -s -- [2023-03-15T15:54:59.178Z] [2023-03-15T15:54:59.178Z] _____ _ [2023-03-15T15:54:59.178Z] / ____| | | [2023-03-15T15:54:59.178Z] | | ___ __| | ___ ___ _____ __ [2023-03-15T15:54:59.178Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-15T15:54:59.178Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-15T15:54:59.178Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-15T15:54:59.178Z] Bash-1.0.6 [2023-03-15T15:54:59.178Z] [2023-03-15T15:54:59.178Z] [2023-03-15T15:54:59.178Z] ==> git version 2.25.1 found [2023-03-15T15:54:59.178Z] ==> 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 [2023-03-15T15:54:59.178Z] Release-Date: 2020-01-08 [2023-03-15T15:54:59.178Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-03-15T15:54:59.178Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-15T15:54:59.178Z] ==> Jenkins CI detected. [2023-03-15T15:54:59.178Z] current dir:  /w/workspace/evice-modbus-go_dependabot-daily [2023-03-15T15:54:59.178Z] project root: . [2023-03-15T15:54:59.178Z] --> token set from env [2023-03-15T15:54:59.178Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-15T15:54:59.178Z] ==> Running gcov in . (disable via -X gcov) [2023-03-15T15:54:59.178Z] ==> Python coveragepy not found [2023-03-15T15:54:59.178Z] ==> Searching for coverage reports in: [2023-03-15T15:54:59.178Z] + . [2023-03-15T15:54:59.178Z] -> Found 1 reports [2023-03-15T15:54:59.178Z] ==> Detecting git/mercurial file structure [2023-03-15T15:54:59.178Z] ==> Reading reports [2023-03-15T15:54:59.178Z] + ./coverage.out bytes=23736 [2023-03-15T15:54:59.178Z] ==> Appending adjustments [2023-03-15T15:54:59.178Z] https://docs.codecov.io/docs/fixing-reports [2023-03-15T15:54:59.437Z] + Found adjustments [2023-03-15T15:54:59.437Z] ==> Gzipping contents [2023-03-15T15:54:59.437Z] 4.0K /tmp/codecov.X0tGeh.gz [2023-03-15T15:54:59.437Z] ==> Uploading reports [2023-03-15T15:54:59.437Z] url: https://codecov.io [2023-03-15T15:54:59.437Z] 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= [2023-03-15T15:54:59.437Z] -> Pinging Codecov [2023-03-15T15:54:59.437Z] 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= [2023-03-15T15:54:59.437Z] -> Uploading to [2023-03-15T15:54:59.437Z] 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 [2023-03-15T15:54:59.438Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-15T15:54:59.438Z] Dload Upload Total Spent Left Speed [2023-03-15T15:54:59.697Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3909 0 0 100 3909 0 15573 --:--:-- --:--:-- --:--:-- 15636 [2023-03-15T15:54:59.697Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/adfe6f3580b78144da79de0e27a7fa0ad90dd40e [Pipeline] } [2023-03-15T15:54:59.726Z] 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 [2023-03-15T15:55:01.552Z] + [ -d /w/workspace/evice-modbus-go_dependabot-daily/archives ] [2023-03-15T15:55:01.552Z] + ls -al /w/workspace/evice-modbus-go_dependabot-daily/archives [2023-03-15T15:55:01.552Z] total 16 [2023-03-15T15:55:01.552Z] drwxr-xr-x 3 root root 4096 Mar 15 15:43 . [2023-03-15T15:55:01.552Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 15 15:43 .. [2023-03-15T15:55:01.552Z] drwxr-xr-x 2 root root 4096 Mar 15 15:43 cost [2023-03-15T15:55:01.552Z] -rw-r--r-- 1 root root 98 Mar 15 15:43 cost.csv [2023-03-15T15:55:01.552Z] + sudo chown -R jenkins:jenkins /w/workspace/evice-modbus-go_dependabot-daily/archives [2023-03-15T15:55:01.552Z] + ls -al /w/workspace/evice-modbus-go_dependabot-daily/archives [2023-03-15T15:55:01.552Z] total 16 [2023-03-15T15:55:01.552Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 15:43 . [2023-03-15T15:55:01.552Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 15 15:43 .. [2023-03-15T15:55:01.552Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 15 15:43 cost [2023-03-15T15:55:01.552Z] -rw-r--r-- 1 jenkins jenkins 98 Mar 15 15:43 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-15T15:55:01.876Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T15:55:02.762Z] ---> package-listing.sh [2023-03-15T15:55:02.762Z] ++ facter osfamily [2023-03-15T15:55:02.762Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-15T15:55:03.020Z] + OS_FAMILY=debian [2023-03-15T15:55:03.020Z] + workspace=/w/workspace/evice-modbus-go_dependabot-daily [2023-03-15T15:55:03.020Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-15T15:55:03.020Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-15T15:55:03.020Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-15T15:55:03.020Z] + PACKAGES=/tmp/packages_start.txt [2023-03-15T15:55:03.020Z] + '[' /w/workspace/evice-modbus-go_dependabot-daily ']' [2023-03-15T15:55:03.020Z] + PACKAGES=/tmp/packages_end.txt [2023-03-15T15:55:03.020Z] + case "${OS_FAMILY}" in [2023-03-15T15:55:03.020Z] + dpkg -l [2023-03-15T15:55:03.020Z] + grep '^ii' [2023-03-15T15:55:03.020Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-15T15:55:03.020Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-15T15:55:03.020Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-15T15:55:03.020Z] + '[' /w/workspace/evice-modbus-go_dependabot-daily ']' [2023-03-15T15:55:03.020Z] + mkdir -p /w/workspace/evice-modbus-go_dependabot-daily/archives/ [2023-03-15T15:55:03.020Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/evice-modbus-go_dependabot-daily/archives/ [Pipeline] echo [2023-03-15T15:55:03.050Z] 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 [2023-03-15T15:55:03.347Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T15:55:03.967Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T15:55:03.967Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T15:55:04.098Z] prd-ubuntu20.04-docker-8c-8g-506 does not seem to be running inside a container [2023-03-15T15:55:04.130Z] $ 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 [2023-03-15T15:55:04.323Z] $ docker top b234f57454c9e6d6bfdb8ebad67353536da27725990ced8d77c2d212acb1f24f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T15:55:04.711Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-15T15:55:05.022Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-15T15:55:05.340Z] + ls /var/log/sa-host [2023-03-15T15:55:05.340Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T15:55:05.472Z] provisioning config files... [2023-03-15T15:55:05.482Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/evice-modbus-go_dependabot-daily@tmp/config11060587919785609417tmp [Pipeline] { [Pipeline] echo [2023-03-15T15:55:05.527Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T15:55:05.850Z] ---> create-netrc.sh [Pipeline] } [2023-03-15T15:55:05.878Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-15T15:55:06.263Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-15T15:55:06.294Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T15:55:06.608Z] ---> sudo-logs.sh [2023-03-15T15:55:06.608Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-15T15:55:06.693Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T15:55:07.007Z] ---> job-cost.sh [2023-03-15T15:55:07.007Z] lf-activate-venv: SKIPPING [2023-03-15T15:55:07.007Z] DEBUG: total: 0.2199999988079071 [2023-03-15T15:55:07.007Z] INFO: Retrieving Stack Cost... [2023-03-15T15:55:07.266Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-15T15:55:07.833Z] INFO: Archiving Costs [Pipeline] echo [2023-03-15T15:55:07.870Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T15:55:08.181Z] ---> logs-deploy.sh [2023-03-15T15:55:08.181Z] lf-activate-venv: SKIPPING [2023-03-15T15:55:08.181Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/dependabot-daily/1 [2023-03-15T15:55:08.181Z] INFO: archiving workspace using pattern(s): [2023-03-15T15:55:09.118Z] Archives upload complete. [2023-03-15T15:55:09.118Z] INFO: archiving logs to Nexus