Pull request #553 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6b3cf952463bd39915f099284793de5e65115ca1+6ffd961e50bad5aafcddb961eadc768a2e323cba (905b08d25625e2cfe8b88232ce323ae57ebb0074) 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-ssh2308465690586515822.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh15660820937249468475.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 590556114a56c6d90cc8043840e039c2f74196dc The recommended git tool is: git using credential edgex-jenkins-ssh 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/PR-553/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/PR-553/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16012519768951666683.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/PR-553/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2981162910705392900.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > 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-ssh9170537977762761369.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/PR-553/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/PR-553/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8510868772303769092.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 590556114a56c6d90cc8043840e039c2f74196dc 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] ========================================================= [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.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-1009 in /w/workspace/xfoundry_device-modbus-go_PR-553 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/xfoundry_device-modbus-go_PR-553 # 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 > 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 remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/553/head:refs/remotes/origin/PR-553 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 6ffd961e50bad5aafcddb961eadc768a2e323cba into PR head commit 6b3cf952463bd39915f099284793de5e65115ca1 Merge succeeded, producing 6b3cf952463bd39915f099284793de5e65115ca1 Checking out Revision 6b3cf952463bd39915f099284793de5e65115ca1 (PR-553) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc > git config core.sparsecheckout # timeout=10 > git checkout -f 6b3cf952463bd39915f099284793de5e65115ca1 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 6ffd961e50bad5aafcddb961eadc768a2e323cba # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6b3cf952463bd39915f099284793de5e65115ca1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-05-29T05:22:44.366Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-05-29T05:22:44.583Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-05-29T05:22:44.722Z] ========================================================= [2024-05-29T05:22:44.722Z] EdgeX Global Pipelines Version Info [2024-05-29T05:22:44.722Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-05-29T05:22:45.472Z] ------------------- [2024-05-29T05:22:45.472Z] stable info: [2024-05-29T05:22:45.472Z] ------------------- [2024-05-29T05:22:45.472Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-05-29T05:22:45.472Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-05-29T05:22:45.472Z] Message: update stable to v1.0.260 [2024-05-29T05:22:46.047Z] ------------------- [2024-05-29T05:22:46.047Z] experimental info: [2024-05-29T05:22:46.047Z] ------------------- [2024-05-29T05:22:46.047Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-05-29T05:22:46.047Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-05-29T05:22:46.047Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-05-29T05:22:46.289Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2024-05-29T05:22:46.347Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2024-05-29T05:22:46.400Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-05-29T05:22:46.451Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-05-29T05:22:46.510Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-05-29T05:22:46.572Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-05-29T05:22:46.629Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-05-29T05:22:46.691Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-05-29T05:22:46.753Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-05-29T05:22:46.812Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-05-29T05:22:46.874Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-05-29T05:22:46.940Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2024-05-29T05:22:47.000Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-05-29T05:22:47.061Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-05-29T05:22:47.126Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-05-29T05:22:47.192Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-05-29T05:22:47.261Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-05-29T05:22:47.411Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-05-29T05:22:47.481Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-05-29T05:22:47.581Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-05-29T05:22:47.650Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-05-29T05:22:47.716Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-05-29T05:22:47.783Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-05-29T05:22:47.848Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-05-29T05:22:48.055Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-05-29T05:22:48.120Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-05-29T05:22:48.178Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-05-29T05:22:48.236Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-553 [Pipeline] echo [2024-05-29T05:22:48.292Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-553 [Pipeline] echo [2024-05-29T05:22:48.357Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-553 [Pipeline] echo [2024-05-29T05:22:48.423Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6b3cf952463bd39915f099284793de5e65115ca1 [Pipeline] echo [2024-05-29T05:22:48.489Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6b3cf95 [Pipeline] echo [2024-05-29T05:22:48.548Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-29T05:22:48.714Z] provisioning config files... [2024-05-29T05:22:48.731Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-553@tmp/config17919182690204304182tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-29T05:22:49.134Z] ---> ****-login.sh [2024-05-29T05:22:49.134Z] nexus3.edgexfoundry.org:10001 [2024-05-29T05:22:49.396Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-29T05:22:49.655Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-29T05:22:49.656Z] Configure a credential helper to remove this warning. See [2024-05-29T05:22:49.656Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-29T05:22:49.656Z] [2024-05-29T05:22:49.656Z] Login Succeeded [2024-05-29T05:22:49.656Z] nexus3.edgexfoundry.org:10002 [2024-05-29T05:22:49.656Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-29T05:22:49.656Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-29T05:22:49.656Z] Configure a credential helper to remove this warning. See [2024-05-29T05:22:49.656Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-29T05:22:49.656Z] [2024-05-29T05:22:49.656Z] Login Succeeded [2024-05-29T05:22:49.656Z] nexus3.edgexfoundry.org:10003 [2024-05-29T05:22:49.656Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-29T05:22:49.656Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-29T05:22:49.656Z] Configure a credential helper to remove this warning. See [2024-05-29T05:22:49.656Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-29T05:22:49.656Z] [2024-05-29T05:22:49.656Z] Login Succeeded [2024-05-29T05:22:49.656Z] nexus3.edgexfoundry.org:10004 [2024-05-29T05:22:49.916Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-29T05:22:49.916Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-29T05:22:49.916Z] Configure a credential helper to remove this warning. See [2024-05-29T05:22:49.916Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-29T05:22:49.916Z] [2024-05-29T05:22:49.916Z] Login Succeeded [2024-05-29T05:22:49.916Z] ****.io [2024-05-29T05:22:49.916Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-29T05:22:50.176Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-29T05:22:50.176Z] Configure a credential helper to remove this warning. See [2024-05-29T05:22:50.176Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-29T05:22:50.176Z] [2024-05-29T05:22:50.176Z] Login Succeeded [2024-05-29T05:22:50.176Z] ---> ****-login.sh ends [Pipeline] } [2024-05-29T05:22:50.210Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-05-29T05:22:50.910Z] + git rev-list -1 --merges 6b3cf952463bd39915f099284793de5e65115ca1~1..6b3cf952463bd39915f099284793de5e65115ca1 [Pipeline] echo [2024-05-29T05:22:50.957Z] -----------> git rev-list -1 --merges 6b3cf952463bd39915f099284793de5e65115ca1~1..6b3cf952463bd39915f099284793de5e65115ca1 6b3cf952463bd39915f099284793de5e65115ca1 [false] [Pipeline] sh [2024-05-29T05:22:51.284Z] + git log --format=format:%s -1 6b3cf952463bd39915f099284793de5e65115ca1 [Pipeline] echo [2024-05-29T05:22:51.328Z] ========================================================= [2024-05-29T05:22:51.328Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-05-29T05:22:51.328Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-29T05:22:51.782Z] + git log --format=format:%s -1 6b3cf952463bd39915f099284793de5e65115ca1 [Pipeline] echo [2024-05-29T05:22:51.820Z] [semverPrep] GIT_COMMIT: 6b3cf952463bd39915f099284793de5e65115ca1, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-05-29T05:22:51.861Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-05-29T05:22:52.291Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-05-29T05:22:52.291Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-05-29T05:22:52.291Z] + [ -e /tmp/ssh_known_hosts ] [2024-05-29T05:22:52.291Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-05-29T05:22:52.291Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-05-29T05:22:52.291Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-05-29T05:22:52.291Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T05:22:52.831Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-29T05:22:52.832Z] [2024-05-29T05:22:52.832Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T05:22:53.247Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-29T05:22:53.247Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-05-29T05:22:53.247Z] b85a868b505f: Pulling fs layer [2024-05-29T05:22:53.247Z] e2be974225ed: Pulling fs layer [2024-05-29T05:22:53.247Z] 339a4e72a1f5: Pulling fs layer [2024-05-29T05:22:53.247Z] 988bab9f4d93: Pulling fs layer [2024-05-29T05:22:53.247Z] 1469e6f7b9e6: Pulling fs layer [2024-05-29T05:22:53.247Z] eaf3925da568: Pulling fs layer [2024-05-29T05:22:53.247Z] bab4dde63d76: Pulling fs layer [2024-05-29T05:22:53.247Z] bde34c3a00c8: Pulling fs layer [2024-05-29T05:22:53.247Z] b352a97aabf1: Pulling fs layer [2024-05-29T05:22:53.247Z] 4872d77fe225: Pulling fs layer [2024-05-29T05:22:53.247Z] 988bab9f4d93: Waiting [2024-05-29T05:22:53.247Z] 1469e6f7b9e6: Waiting [2024-05-29T05:22:53.247Z] bde34c3a00c8: Waiting [2024-05-29T05:22:53.247Z] b352a97aabf1: Waiting [2024-05-29T05:22:53.247Z] 4872d77fe225: Waiting [2024-05-29T05:22:53.247Z] 5851b861e8e6: Pulling fs layer [2024-05-29T05:22:53.247Z] 5851b861e8e6: Waiting [2024-05-29T05:22:53.247Z] e2be974225ed: Download complete [2024-05-29T05:22:53.247Z] 988bab9f4d93: Download complete [2024-05-29T05:22:53.507Z] 1469e6f7b9e6: Verifying Checksum [2024-05-29T05:22:53.507Z] 1469e6f7b9e6: Download complete [2024-05-29T05:22:53.507Z] 339a4e72a1f5: Verifying Checksum [2024-05-29T05:22:53.507Z] 339a4e72a1f5: Download complete [2024-05-29T05:22:53.507Z] eaf3925da568: Verifying Checksum [2024-05-29T05:22:53.507Z] eaf3925da568: Download complete [2024-05-29T05:22:53.507Z] bde34c3a00c8: Verifying Checksum [2024-05-29T05:22:53.507Z] bde34c3a00c8: Download complete [2024-05-29T05:22:53.507Z] b352a97aabf1: Verifying Checksum [2024-05-29T05:22:53.507Z] b352a97aabf1: Download complete [2024-05-29T05:22:53.507Z] 4872d77fe225: Verifying Checksum [2024-05-29T05:22:53.507Z] 4872d77fe225: Download complete [2024-05-29T05:22:53.507Z] 5851b861e8e6: Download complete [2024-05-29T05:22:53.507Z] b85a868b505f: Verifying Checksum [2024-05-29T05:22:53.507Z] b85a868b505f: Download complete [2024-05-29T05:22:53.766Z] bab4dde63d76: Verifying Checksum [2024-05-29T05:22:53.766Z] bab4dde63d76: Download complete [2024-05-29T05:22:54.712Z] b85a868b505f: Pull complete [2024-05-29T05:22:54.712Z] e2be974225ed: Pull complete [2024-05-29T05:22:55.281Z] 339a4e72a1f5: Pull complete [2024-05-29T05:22:55.281Z] 988bab9f4d93: Pull complete [2024-05-29T05:22:55.542Z] 1469e6f7b9e6: Pull complete [2024-05-29T05:22:55.542Z] eaf3925da568: Pull complete [2024-05-29T05:22:57.445Z] bab4dde63d76: Pull complete [2024-05-29T05:22:57.445Z] bde34c3a00c8: Pull complete [2024-05-29T05:22:57.445Z] b352a97aabf1: Pull complete [2024-05-29T05:22:57.445Z] 4872d77fe225: Pull complete [2024-05-29T05:22:57.705Z] 5851b861e8e6: Pull complete [2024-05-29T05:22:57.705Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-05-29T05:22:57.705Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-29T05:22:57.705Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-29T05:22:58.008Z] prd-ubuntu20.04-docker-8c-8g-1009 does not seem to be running inside a container [2024-05-29T05:22:58.029Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-553 -v /w/workspace/xfoundry_device-modbus-go_PR-553:/w/workspace/xfoundry_device-modbus-go_PR-553:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-553@tmp:/w/workspace/xfoundry_device-modbus-go_PR-553@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-05-29T05:22:59.640Z] $ docker top 4dbbd32aa6831a918f96c41b542192e9912305459b1073e194e4689bfe212fef -eo pid,comm [2024-05-29T05:22:59.706Z] 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). [2024-05-29T05:22:59.706Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-05-29T05:22:59.897Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-05-29T05:22:59.897Z] [ssh-agent] Looking for ssh-agent implementation... [2024-05-29T05:23:00.005Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-05-29T05:22:59.999Z] $ docker exec 4dbbd32aa6831a918f96c41b542192e9912305459b1073e194e4689bfe212fef ssh-agent [2024-05-29T05:23:00.112Z] SSH_AUTH_SOCK=/tmp/ssh-UE6pB6d40070/agent.32 [2024-05-29T05:23:00.112Z] SSH_AGENT_PID=38 [2024-05-29T05:23:00.119Z] Running ssh-add (command line suppressed) [2024-05-29T05:23:00.222Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-553@tmp/private_key_16923454671362567234.key (/w/workspace/xfoundry_device-modbus-go_PR-553@tmp/private_key_16923454671362567234.key) [2024-05-29T05:23:00.245Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-05-29T05:23:00.594Z] + git tag --points-at HEAD [Pipeline] } [2024-05-29T05:23:00.625Z] $ docker exec --env ******** --env ******** 4dbbd32aa6831a918f96c41b542192e9912305459b1073e194e4689bfe212fef ssh-agent -k [2024-05-29T05:23:00.726Z] unset SSH_AUTH_SOCK; [2024-05-29T05:23:00.727Z] unset SSH_AGENT_PID; [2024-05-29T05:23:00.727Z] echo Agent pid 38 killed; [2024-05-29T05:23:00.745Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-05-29T05:23:00.865Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-05-29T05:23:00.865Z] [ssh-agent] Looking for ssh-agent implementation... [2024-05-29T05:23:00.981Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-05-29T05:23:00.976Z] $ docker exec 4dbbd32aa6831a918f96c41b542192e9912305459b1073e194e4689bfe212fef ssh-agent [2024-05-29T05:23:01.105Z] SSH_AUTH_SOCK=/tmp/ssh-9asyAR952mi8/agent.72 [2024-05-29T05:23:01.105Z] SSH_AGENT_PID=79 [2024-05-29T05:23:01.110Z] Running ssh-add (command line suppressed) [2024-05-29T05:23:01.209Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-553@tmp/private_key_15332854552778438518.key (/w/workspace/xfoundry_device-modbus-go_PR-553@tmp/private_key_15332854552778438518.key) [2024-05-29T05:23:01.232Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-05-29T05:23:01.581Z] + git semver init [2024-05-29T05:23:01.842Z] 2024-05-29 05:23:01,764 [run_init] DEBUG init version:0.0.0 force:False [2024-05-29T05:23:01.842Z] 2024-05-29 05:23:01,765 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-553/.semver [2024-05-29T05:23:01.842Z] 2024-05-29 05:23:01,766 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-553/.semver [2024-05-29T05:23:01.842Z] 2024-05-29 05:23:01,766 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-553/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-553, universal_newlines=False, shell=None, istream=None) [2024-05-29T05:23:02.785Z] 2024-05-29 05:23:02,729 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-553/.git/info/exclude [2024-05-29T05:23:02.785Z] 2024-05-29 05:23:02,729 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-553/.semver/PR-553 with force:False [2024-05-29T05:23:02.785Z] 2024-05-29 05:23:02,730 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-553/.semver/PR-553 [2024-05-29T05:23:02.785Z] 2024-05-29 05:23:02,734 [execute] INFO git cat-file --batch-check [2024-05-29T05:23:02.785Z] 2024-05-29 05:23:02,735 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-553/.semver, universal_newlines=False, shell=None, istream=) [2024-05-29T05:23:02.785Z] 2024-05-29 05:23:02,741 [execute] INFO git cat-file --batch [2024-05-29T05:23:02.785Z] 2024-05-29 05:23:02,741 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-553/.semver, universal_newlines=False, shell=None, istream=) [2024-05-29T05:23:02.785Z] 2024-05-29 05:23:02,746 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-553/.semver/PR-553 [2024-05-29T05:23:02.785Z] 0.0.0 [Pipeline] } [2024-05-29T05:23:02.815Z] $ docker exec --env ******** --env ******** 4dbbd32aa6831a918f96c41b542192e9912305459b1073e194e4689bfe212fef ssh-agent -k [2024-05-29T05:23:02.916Z] unset SSH_AUTH_SOCK; [2024-05-29T05:23:02.916Z] unset SSH_AGENT_PID; [2024-05-29T05:23:02.917Z] echo Agent pid 79 killed; [2024-05-29T05:23:02.934Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-05-29T05:23:03.417Z] + git semver [Pipeline] } [2024-05-29T05:23:03.708Z] $ docker stop --time=1 4dbbd32aa6831a918f96c41b542192e9912305459b1073e194e4689bfe212fef [2024-05-29T05:23:05.007Z] $ docker rm -f --volumes 4dbbd32aa6831a918f96c41b542192e9912305459b1073e194e4689bfe212fef [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-29T05:23:05.443Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-05-29T05:23:05.758Z] Stashed 1 file(s) [Pipeline] echo [2024-05-29T05:23:05.781Z] [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 [2024-05-29T05:23:06.536Z] provisioning config files... [2024-05-29T05:23:06.547Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-553@tmp/config8348978969518668421tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-29T05:23:06.913Z] ---> ****-login.sh [2024-05-29T05:23:06.913Z] nexus3.edgexfoundry.org:10001 [2024-05-29T05:23:06.913Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-29T05:23:06.913Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-29T05:23:06.913Z] Configure a credential helper to remove this warning. See [2024-05-29T05:23:06.913Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-29T05:23:06.913Z] [2024-05-29T05:23:06.913Z] Login Succeeded [2024-05-29T05:23:06.913Z] nexus3.edgexfoundry.org:10002 [2024-05-29T05:23:06.913Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-29T05:23:06.913Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-29T05:23:06.913Z] Configure a credential helper to remove this warning. See [2024-05-29T05:23:06.913Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-29T05:23:06.913Z] [2024-05-29T05:23:06.913Z] Login Succeeded [2024-05-29T05:23:06.913Z] nexus3.edgexfoundry.org:10003 [2024-05-29T05:23:07.173Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-29T05:23:07.173Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-29T05:23:07.173Z] Configure a credential helper to remove this warning. See [2024-05-29T05:23:07.173Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-29T05:23:07.173Z] [2024-05-29T05:23:07.173Z] Login Succeeded [2024-05-29T05:23:07.174Z] nexus3.edgexfoundry.org:10004 [2024-05-29T05:23:07.174Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-29T05:23:07.174Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-29T05:23:07.174Z] Configure a credential helper to remove this warning. See [2024-05-29T05:23:07.174Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-29T05:23:07.174Z] [2024-05-29T05:23:07.174Z] Login Succeeded [2024-05-29T05:23:07.174Z] ****.io [2024-05-29T05:23:07.433Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-29T05:23:07.433Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-29T05:23:07.433Z] Configure a credential helper to remove this warning. See [2024-05-29T05:23:07.433Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-29T05:23:07.433Z] [2024-05-29T05:23:07.433Z] Login Succeeded [2024-05-29T05:23:07.433Z] ---> ****-login.sh ends [Pipeline] } [2024-05-29T05:23:07.466Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-05-29T05:23:07.720Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-29T05:23:07.793Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-29T05:23:07.856Z] ========================================================= [2024-05-29T05:23:07.856Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-05-29T05:23:07.856Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T05:23:08.412Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-05-29T05:23:08.412Z] Sending build context to Docker daemon 17.7MB [2024-05-29T05:23:08.412Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-05-29T05:23:08.412Z] Step 2/10 : FROM ${BASE} AS builder [2024-05-29T05:23:08.412Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-05-29T05:23:08.412Z] 619be1103602: Pulling fs layer [2024-05-29T05:23:08.412Z] 7862e08f4a3e: Pulling fs layer [2024-05-29T05:23:08.412Z] 5df492c9dc93: Pulling fs layer [2024-05-29T05:23:08.412Z] 7629e6793208: Pulling fs layer [2024-05-29T05:23:08.412Z] 4f4fb700ef54: Pulling fs layer [2024-05-29T05:23:08.412Z] fb5054dd5b73: Pulling fs layer [2024-05-29T05:23:08.412Z] eeca6798cff9: Pulling fs layer [2024-05-29T05:23:08.412Z] aa269ceb94a6: Pulling fs layer [2024-05-29T05:23:08.412Z] ada007ff1a6a: Pulling fs layer [2024-05-29T05:23:08.412Z] eeca6798cff9: Waiting [2024-05-29T05:23:08.412Z] aa269ceb94a6: Waiting [2024-05-29T05:23:08.412Z] ada007ff1a6a: Waiting [2024-05-29T05:23:08.412Z] 7629e6793208: Waiting [2024-05-29T05:23:08.412Z] 4f4fb700ef54: Waiting [2024-05-29T05:23:08.412Z] fb5054dd5b73: Waiting [2024-05-29T05:23:08.412Z] 7862e08f4a3e: Verifying Checksum [2024-05-29T05:23:08.412Z] 7862e08f4a3e: Download complete [2024-05-29T05:23:08.674Z] 7629e6793208: Download complete [2024-05-29T05:23:08.674Z] 4f4fb700ef54: Verifying Checksum [2024-05-29T05:23:08.674Z] 4f4fb700ef54: Download complete [2024-05-29T05:23:08.674Z] fb5054dd5b73: Download complete [2024-05-29T05:23:08.674Z] 619be1103602: Verifying Checksum [2024-05-29T05:23:08.674Z] 619be1103602: Download complete [2024-05-29T05:23:08.674Z] eeca6798cff9: Verifying Checksum [2024-05-29T05:23:08.674Z] eeca6798cff9: Download complete [2024-05-29T05:23:08.674Z] 619be1103602: Pull complete [2024-05-29T05:23:08.932Z] 7862e08f4a3e: Pull complete [2024-05-29T05:23:08.932Z] ada007ff1a6a: Verifying Checksum [2024-05-29T05:23:08.932Z] ada007ff1a6a: Download complete [2024-05-29T05:23:08.932Z] 5df492c9dc93: Verifying Checksum [2024-05-29T05:23:08.932Z] 5df492c9dc93: Download complete [2024-05-29T05:23:09.191Z] aa269ceb94a6: Verifying Checksum [2024-05-29T05:23:09.191Z] aa269ceb94a6: Download complete [2024-05-29T05:23:12.475Z] 5df492c9dc93: Pull complete [2024-05-29T05:23:12.475Z] 7629e6793208: Pull complete [2024-05-29T05:23:12.475Z] 4f4fb700ef54: Pull complete [2024-05-29T05:23:12.475Z] fb5054dd5b73: Pull complete [2024-05-29T05:23:12.475Z] eeca6798cff9: Pull complete [2024-05-29T05:23:15.014Z] aa269ceb94a6: Pull complete [2024-05-29T05:23:15.273Z] ada007ff1a6a: Pull complete [2024-05-29T05:23:15.273Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-05-29T05:23:15.273Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-05-29T05:23:15.273Z] ---> f489d0715acc [2024-05-29T05:23:15.273Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-05-29T05:23:17.188Z] ---> Running in 1338e42fb01f [2024-05-29T05:23:17.188Z] Removing intermediate container 1338e42fb01f [2024-05-29T05:23:17.188Z] ---> fbcdab2531c6 [2024-05-29T05:23:17.188Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-29T05:23:17.188Z] ---> Running in 021a18e4f9ff [2024-05-29T05:23:17.188Z] Removing intermediate container 021a18e4f9ff [2024-05-29T05:23:17.188Z] ---> 7ace308a8d71 [2024-05-29T05:23:17.188Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-05-29T05:23:17.188Z] ---> Running in 6d0c5b83b040 [2024-05-29T05:23:17.447Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-29T05:23:17.706Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-29T05:23:17.964Z] (1/8) Installing openssh-keygen (9.3_p2-r1) [2024-05-29T05:23:17.964Z] (2/8) Installing libedit (20221030.3.1-r1) [2024-05-29T05:23:17.964Z] (3/8) Installing openssh-client-common (9.3_p2-r1) [2024-05-29T05:23:17.964Z] (4/8) Installing openssh-client-default (9.3_p2-r1) [2024-05-29T05:23:17.964Z] (5/8) Installing openssh-sftp-server (9.3_p2-r1) [2024-05-29T05:23:17.964Z] (6/8) Installing openssh-server-common (9.3_p2-r1) [2024-05-29T05:23:17.964Z] (7/8) Installing openssh-server (9.3_p2-r1) [2024-05-29T05:23:17.964Z] (8/8) Installing openssh (9.3_p2-r1) [2024-05-29T05:23:17.964Z] Executing busybox-1.36.1-r5.trigger [2024-05-29T05:23:17.964Z] OK: 270 MiB in 60 packages [2024-05-29T05:23:18.530Z] Removing intermediate container 6d0c5b83b040 [2024-05-29T05:23:18.530Z] ---> 364e435bcbf4 [2024-05-29T05:23:18.530Z] Step 6/10 : WORKDIR /device-modbus-go [2024-05-29T05:23:18.530Z] ---> Running in da97e5f932b8 [2024-05-29T05:23:18.530Z] Removing intermediate container da97e5f932b8 [2024-05-29T05:23:18.530Z] ---> 1277f231e5f0 [2024-05-29T05:23:18.531Z] Step 7/10 : COPY go.mod vendor* ./ [2024-05-29T05:23:18.789Z] ---> 2fa0cbef9b08 [2024-05-29T05:23:18.789Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-29T05:23:18.789Z] ---> Running in a6c84e60af72 [2024-05-29T05:23:21.313Z] Still waiting to schedule task [2024-05-29T05:23:21.314Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-05-29T05:23:57.531Z] Removing intermediate container a6c84e60af72 [2024-05-29T05:23:57.531Z] ---> 8e137daabcd4 [2024-05-29T05:23:57.531Z] Step 9/10 : COPY . . [2024-05-29T05:23:57.531Z] ---> bc1f53af7d66 [2024-05-29T05:23:57.531Z] Step 10/10 : RUN ${MAKE} [2024-05-29T05:23:57.531Z] ---> Running in f030e379d6cd [2024-05-29T05:23:57.531Z] noop [2024-05-29T05:23:57.531Z] Removing intermediate container f030e379d6cd [2024-05-29T05:23:57.531Z] ---> bae570166d74 [2024-05-29T05:23:57.531Z] Successfully built bae570166d74 [2024-05-29T05:23:57.531Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T05:23:58.034Z] + docker inspect -f . ci-base-image-x86_64 [2024-05-29T05:23:58.034Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-29T05:23:58.208Z] prd-ubuntu20.04-docker-8c-8g-1009 does not seem to be running inside a container [2024-05-29T05:23:58.246Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-553 -v /w/workspace/xfoundry_device-modbus-go_PR-553:/w/workspace/xfoundry_device-modbus-go_PR-553:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-553@tmp:/w/workspace/xfoundry_device-modbus-go_PR-553@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-05-29T05:23:58.596Z] $ docker top 5ef00c16972afb1a5a83e2589007ef7dc6c566447b33c8b9b9964cf17454fae9 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-29T05:23:58.995Z] + go version [2024-05-29T05:23:58.995Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-05-29T05:23:59.048Z] $ docker stop --time=1 5ef00c16972afb1a5a83e2589007ef7dc6c566447b33c8b9b9964cf17454fae9 [2024-05-29T05:24:00.315Z] $ docker rm -f --volumes 5ef00c16972afb1a5a83e2589007ef7dc6c566447b33c8b9b9964cf17454fae9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T05:24:01.118Z] + docker inspect -f . ci-base-image-x86_64 [2024-05-29T05:24:01.118Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-29T05:24:01.290Z] prd-ubuntu20.04-docker-8c-8g-1009 does not seem to be running inside a container [2024-05-29T05:24:01.324Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/xfoundry_device-modbus-go_PR-553 -v /w/workspace/xfoundry_device-modbus-go_PR-553:/w/workspace/xfoundry_device-modbus-go_PR-553:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-553@tmp:/w/workspace/xfoundry_device-modbus-go_PR-553@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-05-29T05:24:01.663Z] $ docker top d39192ef7ede435236e0915cbc2f4ceace7870a27b269c8d7745c26d453a0a84 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-29T05:24:02.082Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-553 [Pipeline] fileExists [Pipeline] sh [2024-05-29T05:24:02.458Z] + make test [2024-05-29T05:24:02.459Z] go test ./... -coverprofile=coverage.out [2024-05-29T05:24:03.837Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-05-29T05:24:25.770Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2024-05-29T05:24:25.770Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.018s coverage: 47.9% of statements [2024-05-29T05:24:33.883Z] go vet ./... [2024-05-29T05:24:40.446Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-05-29T05:24:40.446Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-05-29T05:24:40.446Z] ./bin/test-attribution-txt.sh [2024-05-29T05:24:40.446Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-05-29T05:24:40.446Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-05-29T05:24:40.446Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-05-29T05:24:40.446Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-05-29T05:24:40.446Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-05-29T05:24:40.446Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-05-29T05:24:40.446Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-05-29T05:24:40.446Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-05-29T05:24:40.446Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-05-29T05:24:40.446Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-05-29T05:24:40.446Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-05-29T05:24:40.446Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-05-29T05:24:40.446Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-05-29T05:24:40.446Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-05-29T05:24:40.446Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-05-29T05:24:40.446Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-05-29T05:24:40.446Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-05-29T05:24:40.446Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-05-29T05:24:40.446Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-05-29T05:24:40.446Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-05-29T05:24:40.446Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-05-29T05:24:40.446Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-05-29T05:24:40.446Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-05-29T05:24:40.446Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-05-29T05:24:40.446Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-05-29T05:24:40.446Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-05-29T05:24:40.446Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-05-29T05:24:40.446Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-05-29T05:24:40.446Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-05-29T05:24:40.446Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-05-29T05:24:40.446Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-05-29T05:24:40.446Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-05-29T05:24:40.446Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-05-29T05:24:40.446Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-05-29T05:24:40.446Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-05-29T05:24:40.446Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-05-29T05:24:40.446Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-05-29T05:24:40.446Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-05-29T05:24:40.446Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-05-29T05:24:40.446Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-05-29T05:24:40.446Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-05-29T05:24:40.446Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-05-29T05:24:40.446Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-05-29T05:24:40.446Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-05-29T05:24:40.446Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-05-29T05:24:40.446Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-05-29T05:24:40.446Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-05-29T05:24:40.446Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-05-29T05:24:40.446Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-05-29T05:24:40.446Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-05-29T05:24:40.446Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-05-29T05:24:40.446Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-05-29T05:24:40.446Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-05-29T05:24:40.446Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-05-29T05:24:40.446Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-05-29T05:24:40.446Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-05-29T05:24:40.446Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-05-29T05:24:40.446Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-05-29T05:24:40.446Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-05-29T05:24:40.447Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-05-29T05:24:40.447Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-05-29T05:25:00.920Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-05-29T05:25:00.985Z] $ docker stop --time=1 d39192ef7ede435236e0915cbc2f4ceace7870a27b269c8d7745c26d453a0a84 [2024-05-29T05:25:02.378Z] $ docker rm -f --volumes d39192ef7ede435236e0915cbc2f4ceace7870a27b269c8d7745c26d453a0a84 [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-29T05:25:03.022Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-05-29T05:25:03.091Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-05-29T05:25:03.828Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-05-29T05:25:04.143Z] + ls -al . [2024-05-29T05:25:04.143Z] total 264 [2024-05-29T05:25:04.143Z] drwxrwxr-x 9 jenkins jenkins 4096 May 29 05:24 . [2024-05-29T05:25:04.143Z] drwxrwxr-x 4 jenkins jenkins 4096 May 29 05:22 .. [2024-05-29T05:25:04.143Z] -rw-rw-r-- 1 jenkins jenkins 140 May 29 05:22 .dockerignore [2024-05-29T05:25:04.143Z] drwxrwxr-x 8 jenkins jenkins 4096 May 29 05:24 .git [2024-05-29T05:25:04.143Z] drwxrwxr-x 3 jenkins jenkins 4096 May 29 05:22 .github [2024-05-29T05:25:04.143Z] -rw-rw-r-- 1 jenkins jenkins 266 May 29 05:22 .gitignore [2024-05-29T05:25:04.143Z] -rw-rw-r-- 1 jenkins jenkins 41 May 29 05:22 .golangci.yml [2024-05-29T05:25:04.143Z] drwxr-xr-x 3 jenkins jenkins 4096 May 29 05:23 .semver [2024-05-29T05:25:04.143Z] -rw-rw-r-- 1 jenkins jenkins 11101 May 29 05:22 Attribution.txt [2024-05-29T05:25:04.143Z] -rw-rw-r-- 1 jenkins jenkins 16388 May 29 05:22 CHANGELOG.md [2024-05-29T05:25:04.143Z] -rw-rw-r-- 1 jenkins jenkins 1474 May 29 05:22 Dockerfile [2024-05-29T05:25:04.143Z] -rw-rw-r-- 1 jenkins jenkins 677 May 29 05:22 GOVERNANCE.md [2024-05-29T05:25:04.143Z] -rw-rw-r-- 1 jenkins jenkins 658 May 29 05:22 Jenkinsfile [2024-05-29T05:25:04.143Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 29 05:22 LICENSE [2024-05-29T05:25:04.143Z] -rw-rw-r-- 1 jenkins jenkins 1942 May 29 05:22 Makefile [2024-05-29T05:25:04.143Z] -rw-rw-r-- 1 jenkins jenkins 622 May 29 05:22 OWNERS.md [2024-05-29T05:25:04.143Z] -rw-rw-r-- 1 jenkins jenkins 4463 May 29 05:22 README.md [2024-05-29T05:25:04.143Z] -rw-rw-r-- 1 jenkins jenkins 5 May 29 05:23 VERSION [2024-05-29T05:25:04.143Z] drwxrwxr-x 2 jenkins jenkins 4096 May 29 05:22 bin [2024-05-29T05:25:04.143Z] drwxrwxr-x 3 jenkins jenkins 4096 May 29 05:22 cmd [2024-05-29T05:25:04.143Z] -rw-r--r-- 1 jenkins jenkins 24601 May 29 05:24 coverage.out [2024-05-29T05:25:04.143Z] -rw-rw-r-- 1 jenkins jenkins 7241 May 29 05:22 go.mod [2024-05-29T05:25:04.143Z] -rw-rw-r-- 1 jenkins jenkins 101886 May 29 05:22 go.sum [2024-05-29T05:25:04.143Z] drwxrwxr-x 3 jenkins jenkins 4096 May 29 05:22 internal [2024-05-29T05:25:04.143Z] drwxrwxr-x 2 jenkins jenkins 4096 May 29 05:22 simulator [2024-05-29T05:25:04.143Z] -rw-rw-r-- 1 jenkins jenkins 229 May 29 05:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T05:25:04.574Z] + 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=6b3cf952463bd39915f099284793de5e65115ca1 --label arch=amd64 --label version=0.0.0 . [2024-05-29T05:25:04.574Z] Sending build context to Docker daemon 17.72MB [2024-05-29T05:25:04.574Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2024-05-29T05:25:04.574Z] Step 2/23 : FROM ${BASE} AS builder [2024-05-29T05:25:04.574Z] ---> bae570166d74 [2024-05-29T05:25:04.574Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-05-29T05:25:04.834Z] ---> Running in 42acccadfcd8 [2024-05-29T05:25:04.834Z] Removing intermediate container 42acccadfcd8 [2024-05-29T05:25:04.834Z] ---> c61d26569671 [2024-05-29T05:25:04.834Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-29T05:25:04.834Z] ---> Running in b2898f31f8da [2024-05-29T05:25:04.834Z] Removing intermediate container b2898f31f8da [2024-05-29T05:25:04.834Z] ---> 2d753ab530ef [2024-05-29T05:25:04.834Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-05-29T05:25:04.834Z] ---> Running in 9162b7cd2e38 [2024-05-29T05:25:05.094Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-29T05:25:06.475Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-29T05:25:06.475Z] OK: 270 MiB in 60 packages [2024-05-29T05:25:06.736Z] Removing intermediate container 9162b7cd2e38 [2024-05-29T05:25:06.736Z] ---> e700b4c2584c [2024-05-29T05:25:06.736Z] Step 6/23 : WORKDIR /device-modbus-go [2024-05-29T05:25:06.736Z] ---> Running in a304e06a1403 [2024-05-29T05:25:06.996Z] Removing intermediate container a304e06a1403 [2024-05-29T05:25:06.996Z] ---> 0ed651c75d53 [2024-05-29T05:25:06.996Z] Step 7/23 : COPY go.mod vendor* ./ [2024-05-29T05:25:06.996Z] ---> b65f2035f290 [2024-05-29T05:25:06.996Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-29T05:25:06.996Z] ---> Running in 07d6d6507bb6 [2024-05-29T05:25:07.938Z] Removing intermediate container 07d6d6507bb6 [2024-05-29T05:25:07.938Z] ---> f09db9df4917 [2024-05-29T05:25:07.938Z] Step 9/23 : COPY . . [2024-05-29T05:25:08.198Z] ---> b3d16f94e0d8 [2024-05-29T05:25:08.198Z] Step 10/23 : RUN ${MAKE} [2024-05-29T05:25:08.198Z] ---> Running in bc925e0967db [2024-05-29T05:25:08.457Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.15" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2024-05-29T05:25:22.576Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1010 in /w/workspace/xfoundry_device-modbus-go_PR-553 [Pipeline] { [Pipeline] ws [2024-05-29T05:25:22.659Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2024-05-29T05:25:22.789Z] The recommended git tool is: git [2024-05-29T05:25:27.377Z] using credential edgex-jenkins-ssh [2024-05-29T05:25:27.406Z] Cloning the remote Git repository [2024-05-29T05:25:27.452Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2024-05-29T05:25:27.546Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2024-05-29T05:25:27.713Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-05-29T05:25:27.714Z] > git --version # timeout=10 [2024-05-29T05:25:27.734Z] > git --version # 'git version 2.25.1' [2024-05-29T05:25:27.736Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-05-29T05:25:27.895Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-05-29T05:25:29.784Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-05-29T05:25:29.808Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-05-29T05:25:31.233Z] Merging remotes/origin/main commit 6ffd961e50bad5aafcddb961eadc768a2e323cba into PR head commit 6b3cf952463bd39915f099284793de5e65115ca1 [2024-05-29T05:25:31.500Z] Merge succeeded, producing 6b3cf952463bd39915f099284793de5e65115ca1 [2024-05-29T05:25:31.500Z] Checking out Revision 6b3cf952463bd39915f099284793de5e65115ca1 (PR-553) [2024-05-29T05:25:30.678Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-05-29T05:25:30.716Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-05-29T05:25:30.717Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-05-29T05:25:30.738Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/553/head:refs/remotes/origin/PR-553 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-05-29T05:25:31.249Z] > git config core.sparsecheckout # timeout=10 [2024-05-29T05:25:31.311Z] > git checkout -f 6b3cf952463bd39915f099284793de5e65115ca1 # timeout=10 [2024-05-29T05:25:31.403Z] > git remote # timeout=10 [2024-05-29T05:25:31.421Z] > git config --get remote.origin.url # timeout=10 [2024-05-29T05:25:31.440Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-05-29T05:25:31.458Z] > git merge 6ffd961e50bad5aafcddb961eadc768a2e323cba # timeout=10 [2024-05-29T05:25:31.486Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-05-29T05:25:31.508Z] > git config core.sparsecheckout # timeout=10 [2024-05-29T05:25:31.524Z] > git checkout -f 6b3cf952463bd39915f099284793de5e65115ca1 # timeout=10 [2024-05-29T05:25:32.041Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2024-05-29T05:25:32.087Z] > git --version # timeout=10 [2024-05-29T05:25:32.100Z] > git --version # 'git version 2.25.1' [2024-05-29T05:25:32.126Z] fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-29T05:25:37.024Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-05-29T05:25:37.024Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-05-29T05:25:37.024Z] Dload Upload Total Spent Left Speed [2024-05-29T05:25:37.024Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 85520 0 --:--:-- --:--:-- --:--:-- 86093 [Pipeline] sh [2024-05-29T05:25:37.381Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-05-29T05:25:37.745Z] + sudo tee /etc/docker/daemon.new [2024-05-29T05:25:37.745Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-05-29T05:25:37.745Z] { [2024-05-29T05:25:37.745Z] "registry-mirrors": [ [2024-05-29T05:25:37.745Z] "https://nexus3.edgexfoundry.org:10001" [2024-05-29T05:25:37.745Z] ], [2024-05-29T05:25:37.745Z] "bip": "10.250.0.254/24", [2024-05-29T05:25:37.745Z] "hosts": [ [2024-05-29T05:25:37.745Z] "tcp://0.0.0.0:5555", [2024-05-29T05:25:37.745Z] "unix:///var/run/docker.sock" [2024-05-29T05:25:37.745Z] ], [2024-05-29T05:25:37.745Z] "mtu": 1458, [2024-05-29T05:25:37.745Z] "selinux-enabled": true, [2024-05-29T05:25:37.745Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-05-29T05:25:37.745Z] } [Pipeline] sh [2024-05-29T05:25:38.093Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-05-29T05:25:38.452Z] + sudo service docker restart [2024-05-29T05:25:40.543Z] Removing intermediate container bc925e0967db [2024-05-29T05:25:40.543Z] ---> 2aaf8153545f [2024-05-29T05:25:40.543Z] Step 11/23 : FROM alpine:3.18 [2024-05-29T05:25:40.543Z] 3.18: Pulling from library/alpine [2024-05-29T05:25:40.543Z] 619be1103602: Already exists [2024-05-29T05:25:40.543Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-05-29T05:25:40.543Z] Status: Downloaded newer image for alpine:3.18 [2024-05-29T05:25:40.543Z] ---> d3782b16ccc9 [2024-05-29T05:25:40.543Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2024-05-29T05:25:40.543Z] ---> Running in 29bc985d9844 [2024-05-29T05:25:40.543Z] Removing intermediate container 29bc985d9844 [2024-05-29T05:25:40.543Z] ---> 3f88df84c6c2 [2024-05-29T05:25:40.543Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-05-29T05:25:40.543Z] ---> Running in ee0c6d847745 [2024-05-29T05:25:40.543Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-29T05:25:40.543Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-29T05:25:40.543Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-05-29T05:25:40.543Z] Executing busybox-1.36.1-r5.trigger [2024-05-29T05:25:40.543Z] OK: 7 MiB in 16 packages [2024-05-29T05:25:40.543Z] Removing intermediate container ee0c6d847745 [2024-05-29T05:25:40.543Z] ---> 73783b3e2d67 [2024-05-29T05:25:40.543Z] Step 14/23 : RUN apk --no-cache upgrade [2024-05-29T05:25:40.543Z] ---> Running in 3f891589b861 [2024-05-29T05:25:40.543Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-29T05:25:40.543Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-29T05:25:40.543Z] Upgrading critical system libraries and apk-tools: [2024-05-29T05:25:40.543Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-05-29T05:25:40.543Z] Executing busybox-1.36.1-r5.trigger [2024-05-29T05:25:40.543Z] Continuing the upgrade transaction with new apk-tools: [2024-05-29T05:25:40.543Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-29T05:25:40.543Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-29T05:25:40.543Z] (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) [2024-05-29T05:25:40.543Z] Executing busybox-1.36.1-r6.post-upgrade [2024-05-29T05:25:40.543Z] (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) [2024-05-29T05:25:40.543Z] (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-05-29T05:25:40.543Z] (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) [2024-05-29T05:25:40.543Z] (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) [2024-05-29T05:25:40.544Z] (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) [2024-05-29T05:25:40.544Z] Executing busybox-1.36.1-r6.trigger [2024-05-29T05:25:40.544Z] OK: 7 MiB in 16 packages [2024-05-29T05:25:40.544Z] Removing intermediate container 3f891589b861 [2024-05-29T05:25:40.544Z] ---> f9daf968b8a9 [2024-05-29T05:25:40.544Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-05-29T05:25:40.544Z] ---> ab6aada64785 [2024-05-29T05:25:40.544Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-05-29T05:25:40.544Z] ---> b208854f9e9c [2024-05-29T05:25:40.544Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-05-29T05:25:40.544Z] ---> b1ddbef03c90 [2024-05-29T05:25:40.544Z] Step 18/23 : EXPOSE 59901 [2024-05-29T05:25:40.544Z] ---> Running in 2da9b1ee95bd [2024-05-29T05:25:40.544Z] Removing intermediate container 2da9b1ee95bd [2024-05-29T05:25:40.544Z] ---> 45a50cfe185f [2024-05-29T05:25:40.544Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-05-29T05:25:40.544Z] ---> Running in ed69fd85aa22 [2024-05-29T05:25:40.544Z] Removing intermediate container ed69fd85aa22 [2024-05-29T05:25:40.544Z] ---> 007d7491402c [2024-05-29T05:25:40.544Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-05-29T05:25:40.544Z] ---> Running in fb711137c0c4 [2024-05-29T05:25:40.544Z] Removing intermediate container fb711137c0c4 [2024-05-29T05:25:40.544Z] ---> 3900dfbbcc9b [2024-05-29T05:25:40.544Z] Step 21/23 : LABEL arch=amd64 [2024-05-29T05:25:40.544Z] ---> Running in c4a77905bba9 [2024-05-29T05:25:40.544Z] Removing intermediate container c4a77905bba9 [2024-05-29T05:25:40.544Z] ---> b15efa13a0d5 [2024-05-29T05:25:40.544Z] Step 22/23 : LABEL git_sha=6b3cf952463bd39915f099284793de5e65115ca1 [2024-05-29T05:25:40.544Z] ---> Running in 62dd1cd3c33d [2024-05-29T05:25:40.544Z] Removing intermediate container 62dd1cd3c33d [2024-05-29T05:25:40.544Z] ---> 30e7fa9e4c53 [2024-05-29T05:25:40.544Z] Step 23/23 : LABEL version=0.0.0 [2024-05-29T05:25:40.544Z] ---> Running in 79d307bc4066 [2024-05-29T05:25:40.803Z] Removing intermediate container 79d307bc4066 [2024-05-29T05:25:40.803Z] ---> 31a9c8fc5490 [2024-05-29T05:25:40.803Z] [Warning] One or more build-args [ARCH] were not consumed [2024-05-29T05:25:40.803Z] Successfully built 31a9c8fc5490 [2024-05-29T05:25:40.803Z] 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T05:25:41.850Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-29T05:25:41.850Z] [2024-05-29T05:25:41.850Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T05:25:42.268Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-29T05:25:42.268Z] latest: Pulling from edgex-lftools-log-publisher [2024-05-29T05:25:42.268Z] 5eb5b503b376: Pulling fs layer [2024-05-29T05:25:42.268Z] 5c69ac0246d0: Pulling fs layer [2024-05-29T05:25:42.268Z] ec43610c2a17: Pulling fs layer [2024-05-29T05:25:42.268Z] 3a2ae6a8a46f: Pulling fs layer [2024-05-29T05:25:42.268Z] 33b1e0a273af: Pulling fs layer [2024-05-29T05:25:42.268Z] 5d3b04190fa2: Pulling fs layer [2024-05-29T05:25:42.268Z] 2f39f015ded8: Pulling fs layer [2024-05-29T05:25:42.268Z] 3a2ae6a8a46f: Waiting [2024-05-29T05:25:42.268Z] 33b1e0a273af: Waiting [2024-05-29T05:25:42.268Z] 5d3b04190fa2: Waiting [2024-05-29T05:25:42.268Z] 2f39f015ded8: Waiting [2024-05-29T05:25:42.268Z] 5c69ac0246d0: Verifying Checksum [2024-05-29T05:25:42.268Z] 5c69ac0246d0: Download complete [2024-05-29T05:25:42.268Z] 3a2ae6a8a46f: Download complete [2024-05-29T05:25:42.527Z] 33b1e0a273af: Verifying Checksum [2024-05-29T05:25:42.527Z] 33b1e0a273af: Download complete [2024-05-29T05:25:42.527Z] 5d3b04190fa2: Verifying Checksum [2024-05-29T05:25:42.527Z] 5d3b04190fa2: Download complete [2024-05-29T05:25:42.527Z] ec43610c2a17: Verifying Checksum [2024-05-29T05:25:42.527Z] ec43610c2a17: Download complete [2024-05-29T05:25:42.527Z] 5eb5b503b376: Verifying Checksum [2024-05-29T05:25:42.527Z] 5eb5b503b376: Download complete [2024-05-29T05:25:43.096Z] 2f39f015ded8: Download complete [2024-05-29T05:25:43.668Z] 5eb5b503b376: Pull complete [2024-05-29T05:25:43.925Z] 5c69ac0246d0: Pull complete [2024-05-29T05:25:44.490Z] ec43610c2a17: Pull complete [2024-05-29T05:25:44.490Z] 3a2ae6a8a46f: Pull complete [2024-05-29T05:25:44.490Z] 33b1e0a273af: Pull complete [2024-05-29T05:25:44.748Z] 5d3b04190fa2: Pull complete [2024-05-29T05:25:48.932Z] 2f39f015ded8: Pull complete [2024-05-29T05:25:48.932Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-05-29T05:25:48.932Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-29T05:25:48.932Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-29T05:25:49.181Z] prd-ubuntu20.04-docker-8c-8g-1009 does not seem to be running inside a container [2024-05-29T05:25:49.225Z] $ 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/xfoundry_device-modbus-go_PR-553 -v /w/workspace/xfoundry_device-modbus-go_PR-553:/w/workspace/xfoundry_device-modbus-go_PR-553:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-553@tmp:/w/workspace/xfoundry_device-modbus-go_PR-553@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-05-29T05:25:50.518Z] $ docker top 0fd39cca92270ea7f26e2625baa815be2ee3c22a94ef9b05031fa1c00c247aaf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-29T05:25:50.999Z] ---> job-cost.sh [2024-05-29T05:25:50.999Z] lf-activate-venv: SKIPPING [2024-05-29T05:25:50.999Z] INFO: No Stack... [2024-05-29T05:25:52.906Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-05-29T05:25:52.906Z] INFO: Archiving Costs [Pipeline] sh [2024-05-29T05:25:53.228Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-553/archives/cost.csv [2024-05-29T05:25:53.228Z] + cut -d, -f6 [Pipeline] lock [2024-05-29T05:25:53.279Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-553-1-stack-cost] [2024-05-29T05:25:53.285Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-553-1-stack-cost] did not exist. Created. [2024-05-29T05:25:53.293Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-553-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-05-29T05:25:53.715Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-05-29T05:25:53.773Z] Stashed 1 file(s) [Pipeline] } [2024-05-29T05:25:53.813Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-553-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-05-29T05:25:53.922Z] $ docker stop --time=1 0fd39cca92270ea7f26e2625baa815be2ee3c22a94ef9b05031fa1c00c247aaf [2024-05-29T05:25:55.086Z] $ docker rm -f --volumes 0fd39cca92270ea7f26e2625baa815be2ee3c22a94ef9b05031fa1c00c247aaf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-29T05:25:56.795Z] provisioning config files... [2024-05-29T05:25:56.822Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config10316635664201297570tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-29T05:25:57.301Z] ---> ****-login.sh [2024-05-29T05:25:57.301Z] nexus3.edgexfoundry.org:10001 [2024-05-29T05:25:57.578Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-29T05:25:57.850Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-29T05:25:57.850Z] Configure a credential helper to remove this warning. See [2024-05-29T05:25:57.850Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-29T05:25:57.850Z] [2024-05-29T05:25:57.850Z] Login Succeeded [2024-05-29T05:25:57.850Z] nexus3.edgexfoundry.org:10002 [2024-05-29T05:25:58.119Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-29T05:25:58.390Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-29T05:25:58.390Z] Configure a credential helper to remove this warning. See [2024-05-29T05:25:58.390Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-29T05:25:58.390Z] [2024-05-29T05:25:58.390Z] Login Succeeded [2024-05-29T05:25:58.390Z] nexus3.edgexfoundry.org:10003 [2024-05-29T05:25:58.666Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-29T05:25:58.666Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-29T05:25:58.666Z] Configure a credential helper to remove this warning. See [2024-05-29T05:25:58.666Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-29T05:25:58.666Z] [2024-05-29T05:25:58.666Z] Login Succeeded [2024-05-29T05:25:58.666Z] nexus3.edgexfoundry.org:10004 [2024-05-29T05:25:58.936Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-29T05:25:58.936Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-29T05:25:58.936Z] Configure a credential helper to remove this warning. See [2024-05-29T05:25:58.936Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-29T05:25:58.936Z] [2024-05-29T05:25:58.936Z] Login Succeeded [2024-05-29T05:25:58.936Z] ****.io [2024-05-29T05:25:59.212Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-29T05:25:59.479Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-29T05:25:59.480Z] Configure a credential helper to remove this warning. See [2024-05-29T05:25:59.480Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-29T05:25:59.480Z] [2024-05-29T05:25:59.480Z] Login Succeeded [2024-05-29T05:25:59.480Z] ---> ****-login.sh ends [Pipeline] } [2024-05-29T05:25:59.514Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-05-29T05:25:59.979Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-29T05:26:00.030Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-29T05:26:00.076Z] ========================================================= [2024-05-29T05:26:00.076Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-05-29T05:26:00.076Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T05:26:00.626Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-05-29T05:26:00.898Z] Sending build context to Docker daemon 8.99MB [2024-05-29T05:26:01.171Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-05-29T05:26:01.171Z] Step 2/10 : FROM ${BASE} AS builder [2024-05-29T05:26:01.171Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-05-29T05:26:01.171Z] c6b39de5b339: Pulling fs layer [2024-05-29T05:26:01.171Z] a69c41024577: Pulling fs layer [2024-05-29T05:26:01.171Z] d6de4b400683: Pulling fs layer [2024-05-29T05:26:01.171Z] 35cb2a7552d0: Pulling fs layer [2024-05-29T05:26:01.171Z] 4f4fb700ef54: Pulling fs layer [2024-05-29T05:26:01.171Z] 464afbd9ba4c: Pulling fs layer [2024-05-29T05:26:01.171Z] 00f215d4a9da: Pulling fs layer [2024-05-29T05:26:01.171Z] d496ad576159: Pulling fs layer [2024-05-29T05:26:01.171Z] 35cb2a7552d0: Waiting [2024-05-29T05:26:01.171Z] 464afbd9ba4c: Waiting [2024-05-29T05:26:01.171Z] 00f215d4a9da: Waiting [2024-05-29T05:26:01.171Z] 4f4fb700ef54: Waiting [2024-05-29T05:26:01.443Z] a69c41024577: Verifying Checksum [2024-05-29T05:26:01.443Z] a69c41024577: Download complete [2024-05-29T05:26:01.443Z] 35cb2a7552d0: Verifying Checksum [2024-05-29T05:26:01.443Z] 35cb2a7552d0: Download complete [2024-05-29T05:26:01.443Z] 4f4fb700ef54: Download complete [2024-05-29T05:26:01.443Z] 464afbd9ba4c: Verifying Checksum [2024-05-29T05:26:01.443Z] 464afbd9ba4c: Download complete [2024-05-29T05:26:01.443Z] c6b39de5b339: Verifying Checksum [2024-05-29T05:26:01.443Z] c6b39de5b339: Download complete [2024-05-29T05:26:01.714Z] d496ad576159: Verifying Checksum [2024-05-29T05:26:01.714Z] d496ad576159: Download complete [2024-05-29T05:26:02.302Z] c6b39de5b339: Pull complete [2024-05-29T05:26:02.894Z] a69c41024577: Pull complete [2024-05-29T05:26:03.163Z] d6de4b400683: Verifying Checksum [2024-05-29T05:26:03.164Z] d6de4b400683: Download complete [2024-05-29T05:26:04.134Z] 00f215d4a9da: Verifying Checksum [2024-05-29T05:26:04.134Z] 00f215d4a9da: Download complete [2024-05-29T05:26:16.472Z] d6de4b400683: Pull complete [2024-05-29T05:26:16.472Z] 35cb2a7552d0: Pull complete [2024-05-29T05:26:16.472Z] 4f4fb700ef54: Pull complete [2024-05-29T05:26:16.472Z] 464afbd9ba4c: Pull complete [2024-05-29T05:26:26.571Z] 00f215d4a9da: Pull complete [2024-05-29T05:26:27.163Z] d496ad576159: Pull complete [2024-05-29T05:26:27.163Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-05-29T05:26:27.163Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-05-29T05:26:27.163Z] ---> f246e2811388 [2024-05-29T05:26:27.163Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-05-29T05:26:29.131Z] ---> Running in 6be5908000a1 [2024-05-29T05:26:29.131Z] Removing intermediate container 6be5908000a1 [2024-05-29T05:26:29.131Z] ---> a77df4ae43cc [2024-05-29T05:26:29.131Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-29T05:26:29.397Z] ---> Running in f65eeb11cdb2 [2024-05-29T05:26:29.397Z] Removing intermediate container f65eeb11cdb2 [2024-05-29T05:26:29.397Z] ---> 6cb91d2ca5f3 [2024-05-29T05:26:29.397Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-05-29T05:26:29.662Z] ---> Running in 3985763b5532 [2024-05-29T05:26:30.619Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-29T05:26:31.202Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-29T05:26:32.160Z] (1/8) Installing openssh-keygen (9.3_p2-r1) [2024-05-29T05:26:32.160Z] (2/8) Installing libedit (20221030.3.1-r1) [2024-05-29T05:26:32.160Z] (3/8) Installing openssh-client-common (9.3_p2-r1) [2024-05-29T05:26:32.160Z] (4/8) Installing openssh-client-default (9.3_p2-r1) [2024-05-29T05:26:32.160Z] (5/8) Installing openssh-sftp-server (9.3_p2-r1) [2024-05-29T05:26:32.160Z] (6/8) Installing openssh-server-common (9.3_p2-r1) [2024-05-29T05:26:32.160Z] (7/8) Installing openssh-server (9.3_p2-r1) [2024-05-29T05:26:32.160Z] (8/8) Installing openssh (9.3_p2-r1) [2024-05-29T05:26:32.160Z] Executing busybox-1.36.1-r5.trigger [2024-05-29T05:26:32.160Z] OK: 272 MiB in 60 packages [2024-05-29T05:26:33.125Z] Removing intermediate container 3985763b5532 [2024-05-29T05:26:33.125Z] ---> ea0df3f25353 [2024-05-29T05:26:33.125Z] Step 6/10 : WORKDIR /device-modbus-go [2024-05-29T05:26:33.392Z] ---> Running in 942a3d7ea7e2 [2024-05-29T05:26:33.659Z] Removing intermediate container 942a3d7ea7e2 [2024-05-29T05:26:33.659Z] ---> 91d9189360a9 [2024-05-29T05:26:33.659Z] Step 7/10 : COPY go.mod vendor* ./ [2024-05-29T05:26:33.925Z] ---> 191e9a60a7f1 [2024-05-29T05:26:33.925Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-29T05:26:34.197Z] ---> Running in f121622a1d19 [2024-05-29T05:28:26.114Z] Removing intermediate container f121622a1d19 [2024-05-29T05:28:26.114Z] ---> 6c0d81956cd5 [2024-05-29T05:28:26.114Z] Step 9/10 : COPY . . [2024-05-29T05:28:26.114Z] ---> 1920c6d49663 [2024-05-29T05:28:26.114Z] Step 10/10 : RUN ${MAKE} [2024-05-29T05:28:26.114Z] ---> Running in 6cbe720dc1bd [2024-05-29T05:28:26.114Z] noop [2024-05-29T05:28:26.114Z] Removing intermediate container 6cbe720dc1bd [2024-05-29T05:28:26.114Z] ---> 9b1eb21941e6 [2024-05-29T05:28:26.114Z] Successfully built 9b1eb21941e6 [2024-05-29T05:28:26.114Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T05:28:26.652Z] + docker inspect -f . ci-base-image-arm64 [2024-05-29T05:28:26.652Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-29T05:28:26.963Z] prd-ubuntu20.04-docker-arm64-4c-16g-1010 does not seem to be running inside a container [2024-05-29T05:28:27.040Z] $ 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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-05-29T05:28:28.277Z] $ docker top 1344d08f5837bd45b0b8e7561700634460cf96c3ac61e8c9790705a068958ced -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-29T05:28:29.175Z] + go version [2024-05-29T05:28:29.175Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-05-29T05:28:29.217Z] $ docker stop --time=1 1344d08f5837bd45b0b8e7561700634460cf96c3ac61e8c9790705a068958ced [2024-05-29T05:28:30.861Z] $ docker rm -f --volumes 1344d08f5837bd45b0b8e7561700634460cf96c3ac61e8c9790705a068958ced [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T05:28:31.815Z] + docker inspect -f . ci-base-image-arm64 [2024-05-29T05:28:31.815Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-29T05:28:32.218Z] prd-ubuntu20.04-docker-arm64-4c-16g-1010 does not seem to be running inside a container [2024-05-29T05:28:32.372Z] $ 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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-05-29T05:28:33.560Z] $ docker top ee20c16c19685913ba460fa3baf700eeea0d20007340ea8df84a71d77df4a87a -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-29T05:28:34.463Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh [2024-05-29T05:28:35.201Z] + make test [2024-05-29T05:28:35.201Z] go test ./... -coverprofile=coverage.out [2024-05-29T05:28:40.540Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-05-29T05:31:47.542Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2024-05-29T05:31:50.898Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.076s coverage: 47.9% of statements [2024-05-29T05:31:51.866Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-05-29T05:31:51.866Z] go vet ./... [2024-05-29T05:32:38.760Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-05-29T05:32:38.760Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-05-29T05:32:38.760Z] ./bin/test-attribution-txt.sh [2024-05-29T05:32:38.760Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-05-29T05:32:38.760Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-05-29T05:32:38.760Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-05-29T05:32:38.760Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-05-29T05:32:38.760Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-05-29T05:32:38.760Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-05-29T05:32:38.760Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-05-29T05:32:38.760Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-05-29T05:32:38.760Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-05-29T05:32:38.760Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-05-29T05:32:38.760Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-05-29T05:32:38.760Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-05-29T05:32:38.760Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-05-29T05:32:38.760Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-05-29T05:32:38.760Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-05-29T05:32:38.760Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-05-29T05:32:38.760Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-05-29T05:32:38.760Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-05-29T05:32:38.760Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-05-29T05:32:38.760Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-05-29T05:32:38.760Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-05-29T05:32:38.760Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-05-29T05:32:38.760Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-05-29T05:32:38.760Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-05-29T05:32:38.760Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-05-29T05:32:38.760Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-05-29T05:32:38.760Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-05-29T05:32:38.760Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-05-29T05:32:38.760Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-05-29T05:32:38.760Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-05-29T05:32:38.760Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-05-29T05:32:38.760Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-05-29T05:32:38.760Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-05-29T05:32:38.760Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-05-29T05:32:38.760Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-05-29T05:32:38.760Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-05-29T05:32:38.760Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-05-29T05:32:38.760Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-05-29T05:32:38.760Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-05-29T05:32:38.760Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-05-29T05:32:38.760Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-05-29T05:32:38.760Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-05-29T05:32:38.760Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-05-29T05:32:38.760Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-05-29T05:32:38.760Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-05-29T05:32:38.760Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-05-29T05:32:38.760Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-05-29T05:32:38.760Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-05-29T05:32:38.760Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-05-29T05:32:38.760Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-05-29T05:32:38.760Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-05-29T05:32:38.760Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-05-29T05:32:38.760Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-05-29T05:32:38.760Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-05-29T05:32:38.760Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-05-29T05:32:38.760Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-05-29T05:32:38.760Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-05-29T05:32:38.760Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-05-29T05:32:38.760Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-05-29T05:32:38.760Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-05-29T05:32:38.760Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-05-29T05:32:38.817Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-05-29T05:32:38.861Z] $ docker stop --time=1 ee20c16c19685913ba460fa3baf700eeea0d20007340ea8df84a71d77df4a87a [2024-05-29T05:32:40.688Z] $ docker rm -f --volumes ee20c16c19685913ba460fa3baf700eeea0d20007340ea8df84a71d77df4a87a [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-29T05:32:42.332Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-05-29T05:32:42.376Z] Warning: overwriting stash ‘coverage-report’ [2024-05-29T05:32:42.827Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-29T05:32:43.492Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-05-29T05:32:43.841Z] + ls -al . [2024-05-29T05:32:43.841Z] total 260 [2024-05-29T05:32:43.841Z] drwxrwxr-x 8 jenkins jenkins 4096 May 29 05:28 . [2024-05-29T05:32:43.841Z] drwxrwxr-x 4 jenkins jenkins 4096 May 29 05:25 .. [2024-05-29T05:32:43.841Z] -rw-rw-r-- 1 jenkins jenkins 140 May 29 05:25 .dockerignore [2024-05-29T05:32:43.841Z] drwxrwxr-x 8 jenkins jenkins 4096 May 29 05:25 .git [2024-05-29T05:32:43.841Z] drwxrwxr-x 3 jenkins jenkins 4096 May 29 05:25 .github [2024-05-29T05:32:43.841Z] -rw-rw-r-- 1 jenkins jenkins 266 May 29 05:25 .gitignore [2024-05-29T05:32:43.841Z] -rw-rw-r-- 1 jenkins jenkins 41 May 29 05:25 .golangci.yml [2024-05-29T05:32:43.841Z] -rw-rw-r-- 1 jenkins jenkins 11101 May 29 05:25 Attribution.txt [2024-05-29T05:32:43.841Z] -rw-rw-r-- 1 jenkins jenkins 16388 May 29 05:25 CHANGELOG.md [2024-05-29T05:32:43.841Z] -rw-rw-r-- 1 jenkins jenkins 1474 May 29 05:25 Dockerfile [2024-05-29T05:32:43.841Z] -rw-rw-r-- 1 jenkins jenkins 677 May 29 05:25 GOVERNANCE.md [2024-05-29T05:32:43.841Z] -rw-rw-r-- 1 jenkins jenkins 658 May 29 05:25 Jenkinsfile [2024-05-29T05:32:43.841Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 29 05:25 LICENSE [2024-05-29T05:32:43.841Z] -rw-rw-r-- 1 jenkins jenkins 1942 May 29 05:25 Makefile [2024-05-29T05:32:43.841Z] -rw-rw-r-- 1 jenkins jenkins 622 May 29 05:25 OWNERS.md [2024-05-29T05:32:43.841Z] -rw-rw-r-- 1 jenkins jenkins 4463 May 29 05:25 README.md [2024-05-29T05:32:43.841Z] -rw-rw-r-- 1 jenkins jenkins 5 May 29 05:23 VERSION [2024-05-29T05:32:43.841Z] drwxrwxr-x 2 jenkins jenkins 4096 May 29 05:25 bin [2024-05-29T05:32:43.841Z] drwxrwxr-x 3 jenkins jenkins 4096 May 29 05:25 cmd [2024-05-29T05:32:43.841Z] -rw-r--r-- 1 jenkins jenkins 24601 May 29 05:31 coverage.out [2024-05-29T05:32:43.841Z] -rw-rw-r-- 1 jenkins jenkins 7241 May 29 05:25 go.mod [2024-05-29T05:32:43.841Z] -rw-rw-r-- 1 jenkins jenkins 101886 May 29 05:25 go.sum [2024-05-29T05:32:43.841Z] drwxrwxr-x 3 jenkins jenkins 4096 May 29 05:25 internal [2024-05-29T05:32:43.841Z] drwxrwxr-x 2 jenkins jenkins 4096 May 29 05:25 simulator [2024-05-29T05:32:43.841Z] -rw-rw-r-- 1 jenkins jenkins 229 May 29 05:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T05:32:44.285Z] + 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=6b3cf952463bd39915f099284793de5e65115ca1 --label arch=arm64 --label version=0.0.0 . [2024-05-29T05:32:44.866Z] Sending build context to Docker daemon 9.015MB [2024-05-29T05:32:44.866Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2024-05-29T05:32:44.866Z] Step 2/23 : FROM ${BASE} AS builder [2024-05-29T05:32:44.866Z] ---> 9b1eb21941e6 [2024-05-29T05:32:44.866Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-05-29T05:32:44.866Z] ---> Running in 1a63f29ccab6 [2024-05-29T05:32:45.135Z] Removing intermediate container 1a63f29ccab6 [2024-05-29T05:32:45.135Z] ---> 66194626a766 [2024-05-29T05:32:45.135Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-29T05:32:45.135Z] ---> Running in edbeb2e3d70b [2024-05-29T05:32:45.409Z] Removing intermediate container edbeb2e3d70b [2024-05-29T05:32:45.409Z] ---> 21b8c8963453 [2024-05-29T05:32:45.409Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-05-29T05:32:45.678Z] ---> Running in 74ae5a89ddcf [2024-05-29T05:32:46.636Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-29T05:32:46.902Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-29T05:32:47.863Z] OK: 272 MiB in 60 packages [2024-05-29T05:32:48.832Z] Removing intermediate container 74ae5a89ddcf [2024-05-29T05:32:48.832Z] ---> 0db4fb92a4cd [2024-05-29T05:32:48.832Z] Step 6/23 : WORKDIR /device-modbus-go [2024-05-29T05:32:48.832Z] ---> Running in a9ce4ec43df0 [2024-05-29T05:32:49.099Z] Removing intermediate container a9ce4ec43df0 [2024-05-29T05:32:49.099Z] ---> 19943320d373 [2024-05-29T05:32:49.099Z] Step 7/23 : COPY go.mod vendor* ./ [2024-05-29T05:32:49.684Z] ---> e1ab2361e682 [2024-05-29T05:32:49.684Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-29T05:32:49.684Z] ---> Running in b9abb7403a55 [2024-05-29T05:32:52.267Z] Removing intermediate container b9abb7403a55 [2024-05-29T05:32:52.267Z] ---> a74624d9682a [2024-05-29T05:32:52.267Z] Step 9/23 : COPY . . [2024-05-29T05:32:53.229Z] ---> a5d96d35f0b6 [2024-05-29T05:32:53.229Z] Step 10/23 : RUN ${MAKE} [2024-05-29T05:32:53.229Z] ---> Running in da12c5d61fea [2024-05-29T05:32:54.188Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.15" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2024-05-29T05:36:15.920Z] Removing intermediate container da12c5d61fea [2024-05-29T05:36:15.920Z] ---> 7ca6afa2c474 [2024-05-29T05:36:15.920Z] Step 11/23 : FROM alpine:3.18 [2024-05-29T05:36:15.920Z] 3.18: Pulling from library/alpine [2024-05-29T05:36:15.920Z] c6b39de5b339: Already exists [2024-05-29T05:36:15.920Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-05-29T05:36:15.920Z] Status: Downloaded newer image for alpine:3.18 [2024-05-29T05:36:15.920Z] ---> 33abbf032149 [2024-05-29T05:36:15.920Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2024-05-29T05:36:15.920Z] ---> Running in 0c0270466ca1 [2024-05-29T05:36:15.920Z] Removing intermediate container 0c0270466ca1 [2024-05-29T05:36:15.920Z] ---> cf8eb29e3cbe [2024-05-29T05:36:15.920Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-05-29T05:36:15.920Z] ---> Running in 1f081dad2f58 [2024-05-29T05:36:15.920Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-29T05:36:15.920Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-29T05:36:15.920Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-05-29T05:36:15.920Z] Executing busybox-1.36.1-r5.trigger [2024-05-29T05:36:15.920Z] OK: 8 MiB in 16 packages [2024-05-29T05:36:15.920Z] Removing intermediate container 1f081dad2f58 [2024-05-29T05:36:15.920Z] ---> b06c600456bc [2024-05-29T05:36:15.920Z] Step 14/23 : RUN apk --no-cache upgrade [2024-05-29T05:36:15.920Z] ---> Running in b57d659f1f0b [2024-05-29T05:36:15.920Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-29T05:36:15.920Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-29T05:36:15.920Z] Upgrading critical system libraries and apk-tools: [2024-05-29T05:36:15.920Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-05-29T05:36:15.920Z] Executing busybox-1.36.1-r5.trigger [2024-05-29T05:36:15.920Z] Continuing the upgrade transaction with new apk-tools: [2024-05-29T05:36:15.920Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-29T05:36:15.920Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-29T05:36:16.881Z] (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) [2024-05-29T05:36:16.881Z] Executing busybox-1.36.1-r6.post-upgrade [2024-05-29T05:36:16.881Z] (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) [2024-05-29T05:36:16.881Z] (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-05-29T05:36:16.881Z] (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) [2024-05-29T05:36:16.881Z] (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) [2024-05-29T05:36:17.154Z] (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) [2024-05-29T05:36:17.154Z] Executing busybox-1.36.1-r6.trigger [2024-05-29T05:36:17.154Z] OK: 8 MiB in 16 packages [2024-05-29T05:36:18.116Z] Removing intermediate container b57d659f1f0b [2024-05-29T05:36:18.116Z] ---> a7c6c99d3d1d [2024-05-29T05:36:18.116Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-05-29T05:36:20.057Z] ---> fe00a51eee05 [2024-05-29T05:36:20.057Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-05-29T05:36:20.057Z] ---> 8b266cd7b59d [2024-05-29T05:36:20.057Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-05-29T05:36:20.641Z] ---> 2c14e5febbb8 [2024-05-29T05:36:20.641Z] Step 18/23 : EXPOSE 59901 [2024-05-29T05:36:20.641Z] ---> Running in 3b2a805d15da [2024-05-29T05:36:20.907Z] Removing intermediate container 3b2a805d15da [2024-05-29T05:36:20.907Z] ---> f32773512560 [2024-05-29T05:36:20.907Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-05-29T05:36:20.907Z] ---> Running in 38744077e2e0 [2024-05-29T05:36:21.175Z] Removing intermediate container 38744077e2e0 [2024-05-29T05:36:21.175Z] ---> a6c0a69755b7 [2024-05-29T05:36:21.175Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-05-29T05:36:21.441Z] ---> Running in 3d8b1bd16dd3 [2024-05-29T05:36:21.708Z] Removing intermediate container 3d8b1bd16dd3 [2024-05-29T05:36:21.708Z] ---> 8452fd206290 [2024-05-29T05:36:21.708Z] Step 21/23 : LABEL arch=arm64 [2024-05-29T05:36:21.708Z] ---> Running in 84e916b9d33b [2024-05-29T05:36:21.986Z] Removing intermediate container 84e916b9d33b [2024-05-29T05:36:21.986Z] ---> 7a13c9db5174 [2024-05-29T05:36:21.986Z] Step 22/23 : LABEL git_sha=6b3cf952463bd39915f099284793de5e65115ca1 [2024-05-29T05:36:21.986Z] ---> Running in 1786f0bd50e8 [2024-05-29T05:36:22.252Z] Removing intermediate container 1786f0bd50e8 [2024-05-29T05:36:22.252Z] ---> ed993651f4f7 [2024-05-29T05:36:22.252Z] Step 23/23 : LABEL version=0.0.0 [2024-05-29T05:36:22.517Z] ---> Running in 86a129c79253 [2024-05-29T05:36:22.781Z] Removing intermediate container 86a129c79253 [2024-05-29T05:36:22.781Z] ---> 7faa0a7eb3f0 [2024-05-29T05:36:22.781Z] [Warning] One or more build-args [ARCH] were not consumed [2024-05-29T05:36:22.781Z] Successfully built 7faa0a7eb3f0 [2024-05-29T05:36:22.781Z] 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] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T05:36:23.718Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-29T05:36:23.718Z] [2024-05-29T05:36:23.718Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T05:36:24.151Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-29T05:36:24.151Z] arm64: Pulling from edgex-lftools-log-publisher [2024-05-29T05:36:24.151Z] 8998bd30e6a1: Pulling fs layer [2024-05-29T05:36:24.151Z] 04944245beec: Pulling fs layer [2024-05-29T05:36:24.151Z] 699f458cf7ca: Pulling fs layer [2024-05-29T05:36:24.151Z] 765212b225bb: Pulling fs layer [2024-05-29T05:36:24.151Z] f23df028b6ca: Pulling fs layer [2024-05-29T05:36:24.151Z] d65c8cfc05b1: Pulling fs layer [2024-05-29T05:36:24.151Z] 2437ff75d9bd: Pulling fs layer [2024-05-29T05:36:24.151Z] 765212b225bb: Waiting [2024-05-29T05:36:24.151Z] f23df028b6ca: Waiting [2024-05-29T05:36:24.151Z] 2437ff75d9bd: Waiting [2024-05-29T05:36:24.151Z] d65c8cfc05b1: Waiting [2024-05-29T05:36:24.417Z] 04944245beec: Verifying Checksum [2024-05-29T05:36:24.417Z] 04944245beec: Download complete [2024-05-29T05:36:24.417Z] 765212b225bb: Verifying Checksum [2024-05-29T05:36:24.417Z] 765212b225bb: Download complete [2024-05-29T05:36:24.417Z] f23df028b6ca: Verifying Checksum [2024-05-29T05:36:24.417Z] f23df028b6ca: Download complete [2024-05-29T05:36:24.417Z] d65c8cfc05b1: Verifying Checksum [2024-05-29T05:36:24.417Z] d65c8cfc05b1: Download complete [2024-05-29T05:36:24.682Z] 699f458cf7ca: Verifying Checksum [2024-05-29T05:36:24.682Z] 699f458cf7ca: Download complete [2024-05-29T05:36:24.947Z] 8998bd30e6a1: Verifying Checksum [2024-05-29T05:36:24.947Z] 8998bd30e6a1: Download complete [2024-05-29T05:36:27.518Z] 2437ff75d9bd: Verifying Checksum [2024-05-29T05:36:27.518Z] 2437ff75d9bd: Download complete [2024-05-29T05:36:29.459Z] 8998bd30e6a1: Pull complete [2024-05-29T05:36:30.042Z] 04944245beec: Pull complete [2024-05-29T05:36:31.457Z] 699f458cf7ca: Pull complete [2024-05-29T05:36:31.726Z] 765212b225bb: Pull complete [2024-05-29T05:36:32.684Z] f23df028b6ca: Pull complete [2024-05-29T05:36:32.950Z] d65c8cfc05b1: Pull complete [2024-05-29T05:36:51.169Z] 2437ff75d9bd: Pull complete [2024-05-29T05:36:51.169Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-05-29T05:36:51.169Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-29T05:36:51.169Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-29T05:36:51.566Z] prd-ubuntu20.04-docker-arm64-4c-16g-1010 does not seem to be running inside a container [2024-05-29T05:36:51.624Z] $ 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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-05-29T05:36:54.299Z] $ docker top e04c62dcc087afeb6bf1c6dca0f0d4bec892aba6283ba3d8ff9bc265ff35b284 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-29T05:36:55.244Z] ---> job-cost.sh [2024-05-29T05:36:55.244Z] lf-activate-venv: SKIPPING [2024-05-29T05:36:55.244Z] INFO: No Stack... [2024-05-29T05:36:55.513Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-05-29T05:36:56.471Z] INFO: Archiving Costs [Pipeline] sh [2024-05-29T05:37:10.054Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [2024-05-29T05:37:10.054Z] + cut -d, -f6 [Pipeline] lock [2024-05-29T05:37:10.117Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-553-1-stack-cost] [2024-05-29T05:37:10.125Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-553-1-stack-cost] did not exist. Created. [2024-05-29T05:37:10.137Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-553-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-05-29T05:37:17.178Z] /w/workspace/device-modbus-go/1@tmp/durable-b496f673/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-05-29T05:37:17.857Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-05-29T05:37:17.906Z] Warning: overwriting stash ‘stack-cost’ [2024-05-29T05:37:17.952Z] Stashed 1 file(s) [Pipeline] } [2024-05-29T05:37:17.974Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-553-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-05-29T05:37:18.076Z] $ docker stop --time=1 e04c62dcc087afeb6bf1c6dca0f0d4bec892aba6283ba3d8ff9bc265ff35b284 [2024-05-29T05:37:19.586Z] $ docker rm -f --volumes e04c62dcc087afeb6bf1c6dca0f0d4bec892aba6283ba3d8ff9bc265ff35b284 [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 [2024-05-29T05:37:20.860Z] provisioning config files... [2024-05-29T05:37:20.869Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-553@tmp/config13285909039018485219tmp [Pipeline] { [Pipeline] sh [2024-05-29T05:37:21.231Z] + set +x [2024-05-29T05:37:21.231Z] + curl -s https://codecov.io/bash [2024-05-29T05:37:21.231Z] + bash -s -- [2024-05-29T05:37:21.491Z] [2024-05-29T05:37:21.491Z] _____ _ [2024-05-29T05:37:21.491Z] / ____| | | [2024-05-29T05:37:21.491Z] | | ___ __| | ___ ___ _____ __ [2024-05-29T05:37:21.491Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-05-29T05:37:21.491Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-05-29T05:37:21.491Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-05-29T05:37:21.491Z] Bash-1.0.6 [2024-05-29T05:37:21.491Z] [2024-05-29T05:37:21.491Z] [2024-05-29T05:37:21.491Z] ==> git version 2.25.1 found [2024-05-29T05:37:21.491Z] ==> 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 [2024-05-29T05:37:21.491Z] Release-Date: 2020-01-08 [2024-05-29T05:37:21.491Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-05-29T05:37:21.491Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-05-29T05:37:21.491Z] ==> Jenkins CI detected. [2024-05-29T05:37:21.491Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-553 [2024-05-29T05:37:21.491Z] project root: . [2024-05-29T05:37:21.491Z] --> token set from env [2024-05-29T05:37:21.491Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-05-29T05:37:21.492Z] ==> Running gcov in . (disable via -X gcov) [2024-05-29T05:37:21.492Z] ==> Python coveragepy not found [2024-05-29T05:37:21.492Z] ==> Searching for coverage reports in: [2024-05-29T05:37:21.492Z] + . [2024-05-29T05:37:21.492Z] -> Found 1 reports [2024-05-29T05:37:21.492Z] ==> Detecting git/mercurial file structure [2024-05-29T05:37:21.492Z] ==> Reading reports [2024-05-29T05:37:21.492Z] + ./coverage.out bytes=24601 [2024-05-29T05:37:21.492Z] ==> Appending adjustments [2024-05-29T05:37:21.492Z] https://docs.codecov.io/docs/fixing-reports [2024-05-29T05:37:21.492Z] + Found adjustments [2024-05-29T05:37:21.492Z] ==> Gzipping contents [2024-05-29T05:37:21.492Z] 4.0K /tmp/codecov.YHh2ip.gz [2024-05-29T05:37:21.492Z] ==> Uploading reports [2024-05-29T05:37:21.492Z] url: https://codecov.io [2024-05-29T05:37:21.492Z] query: branch=PR-553&commit=6b3cf952463bd39915f099284793de5e65115ca1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-553%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=553&job=&cmd_args= [2024-05-29T05:37:21.492Z] -> Pinging Codecov [2024-05-29T05:37:21.492Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-553&commit=6b3cf952463bd39915f099284793de5e65115ca1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-553%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=553&job=&cmd_args= [2024-05-29T05:37:21.753Z] -> Uploading to [2024-05-29T05:37:21.753Z] https://storage.googleapis.com/codecov/v4/raw/2024-05-29/55DBCA73C666E3227836607328DD7E49/6b3cf952463bd39915f099284793de5e65115ca1/37dfd756-d6f8-431a-b319-6d18f448a53b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240529%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240529T053721Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d0f4006cbc42e1511fb573ba72aaf2b0b310708fbe607e82769365d0b41f9836 [2024-05-29T05:37:21.753Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-05-29T05:37:21.753Z] Dload Upload Total Spent Left Speed [2024-05-29T05:37:22.011Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3843 0 0 100 3843 0 16079 --:--:-- --:--:-- --:--:-- 16079 [2024-05-29T05:37:22.011Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/6b3cf952463bd39915f099284793de5e65115ca1 [Pipeline] } [2024-05-29T05:37:22.050Z] 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-05-29T05:37:24.373Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-553/archives ] [2024-05-29T05:37:24.373Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-553/archives [2024-05-29T05:37:24.373Z] total 16 [2024-05-29T05:37:24.373Z] drwxr-xr-x 3 root root 4096 May 29 05:25 . [2024-05-29T05:37:24.373Z] drwxrwxr-x 10 jenkins jenkins 4096 May 29 05:25 .. [2024-05-29T05:37:24.373Z] drwxr-xr-x 2 root root 4096 May 29 05:25 cost [2024-05-29T05:37:24.373Z] -rw-r--r-- 1 root root 88 May 29 05:25 cost.csv [2024-05-29T05:37:24.373Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-553/archives [2024-05-29T05:37:24.373Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-553/archives [2024-05-29T05:37:24.373Z] total 16 [2024-05-29T05:37:24.373Z] drwxr-xr-x 3 jenkins jenkins 4096 May 29 05:25 . [2024-05-29T05:37:24.373Z] drwxrwxr-x 10 jenkins jenkins 4096 May 29 05:25 .. [2024-05-29T05:37:24.373Z] drwxr-xr-x 2 jenkins jenkins 4096 May 29 05:25 cost [2024-05-29T05:37:24.373Z] -rw-r--r-- 1 jenkins jenkins 88 May 29 05:25 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-05-29T05:37:24.721Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-29T05:37:25.632Z] ---> package-listing.sh [2024-05-29T05:37:25.633Z] ++ facter osfamily [2024-05-29T05:37:25.633Z] ++ tr '[:upper:]' '[:lower:]' [2024-05-29T05:37:25.892Z] + OS_FAMILY=debian [2024-05-29T05:37:25.892Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-553 [2024-05-29T05:37:25.892Z] + START_PACKAGES=/tmp/packages_start.txt [2024-05-29T05:37:25.892Z] + END_PACKAGES=/tmp/packages_end.txt [2024-05-29T05:37:25.892Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-05-29T05:37:25.892Z] + PACKAGES=/tmp/packages_start.txt [2024-05-29T05:37:25.892Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-553 ']' [2024-05-29T05:37:25.892Z] + PACKAGES=/tmp/packages_end.txt [2024-05-29T05:37:25.892Z] + case "${OS_FAMILY}" in [2024-05-29T05:37:25.892Z] + dpkg -l [2024-05-29T05:37:25.892Z] + grep '^ii' [2024-05-29T05:37:25.892Z] + '[' -f /tmp/packages_start.txt ']' [2024-05-29T05:37:25.892Z] + '[' -f /tmp/packages_end.txt ']' [2024-05-29T05:37:25.892Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-05-29T05:37:25.892Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-553 ']' [2024-05-29T05:37:25.892Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-553/archives/ [2024-05-29T05:37:25.892Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-553/archives/ [Pipeline] echo [2024-05-29T05:37:25.936Z] 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/xfoundry_device-modbus-go_PR-553/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-05-29T05:37:26.233Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T05:37:26.905Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-29T05:37:26.905Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-29T05:37:27.083Z] prd-ubuntu20.04-docker-8c-8g-1009 does not seem to be running inside a container [2024-05-29T05:37:27.136Z] $ 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/xfoundry_device-modbus-go_PR-553/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-modbus-go_PR-553 -v /w/workspace/xfoundry_device-modbus-go_PR-553:/w/workspace/xfoundry_device-modbus-go_PR-553:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-553@tmp:/w/workspace/xfoundry_device-modbus-go_PR-553@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-05-29T05:37:27.383Z] $ docker top b4f42ab56b6b12b9b223a4e88072e3386e98cc62c61f6d2a32dfe0abb98606ad -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-29T05:37:27.811Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-05-29T05:37:28.173Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-05-29T05:37:28.497Z] + ls /var/log/sa-host [2024-05-29T05:37:28.497Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-29T05:37:28.786Z] provisioning config files... [2024-05-29T05:37:28.797Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-553@tmp/config11195519295760565367tmp [Pipeline] { [Pipeline] echo [2024-05-29T05:37:28.921Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-29T05:37:29.254Z] ---> create-netrc.sh [Pipeline] } [2024-05-29T05:37:29.290Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-05-29T05:37:29.739Z] ---> python-tools-install.sh [Pipeline] echo [2024-05-29T05:37:29.787Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-29T05:37:30.109Z] ---> sudo-logs.sh [2024-05-29T05:37:30.109Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-05-29T05:37:30.209Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-29T05:37:30.539Z] ---> job-cost.sh [2024-05-29T05:37:30.539Z] lf-activate-venv: SKIPPING [2024-05-29T05:37:30.539Z] DEBUG: total: 0.2199999988079071 [2024-05-29T05:37:30.539Z] INFO: Retrieving Stack Cost... [2024-05-29T05:37:30.806Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-05-29T05:37:31.065Z] INFO: Archiving Costs [Pipeline] echo [2024-05-29T05:37:31.115Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-29T05:37:31.448Z] ---> logs-deploy.sh [2024-05-29T05:37:31.448Z] lf-activate-venv: SKIPPING [2024-05-29T05:37:31.448Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-553/1 [2024-05-29T05:37:31.448Z] INFO: archiving workspace using pattern(s): [2024-05-29T05:37:32.388Z] Archives upload complete. [2024-05-29T05:37:32.388Z] INFO: archiving logs to Nexus