Push event to branch napa Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1eee846d515ad1ad777188f96f1acf46ba88b479 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-ssh15086476333805380352.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh16546326545768904769.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/napa/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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/napa/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3241729807799046408.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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 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-ssh11867788667749680104.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/napa/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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/napa/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1700201147904362603.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-116’ Running on prd-ubuntu20.04-docker-8c-8g-124 in /w/workspace/gexfoundry_device-modbus-go_napa [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/gexfoundry_device-modbus-go_napa # 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 Avoid second fetch Checking out Revision 1eee846d515ad1ad777188f96f1acf46ba88b479 (napa) Commit message: "Merge pull request #551 from cloudxxx8/bump-napa-sdk" > git config core.sparsecheckout # timeout=10 > git checkout -f 1eee846d515ad1ad777188f96f1acf46ba88b479 # timeout=10 > git rev-list --no-walk 71400dc9842281494e52a1844bb24bcb2d08fff5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-05-14T01:14:47.850Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-05-14T01:14:47.925Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-05-14T01:14:47.956Z] ========================================================= [2024-05-14T01:14:47.956Z] EdgeX Global Pipelines Version Info [2024-05-14T01:14:47.956Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-05-14T01:14:48.704Z] ------------------- [2024-05-14T01:14:48.704Z] stable info: [2024-05-14T01:14:48.704Z] ------------------- [2024-05-14T01:14:48.704Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-05-14T01:14:48.704Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-05-14T01:14:48.704Z] Message: update stable to v1.0.258 [2024-05-14T01:14:49.274Z] ------------------- [2024-05-14T01:14:49.274Z] experimental info: [2024-05-14T01:14:49.274Z] ------------------- [2024-05-14T01:14:49.274Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-05-14T01:14:49.274Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-05-14T01:14:49.274Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-05-14T01:14:49.353Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2024-05-14T01:14:49.374Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2024-05-14T01:14:49.395Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-05-14T01:14:49.418Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-05-14T01:14:49.442Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-05-14T01:14:49.467Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-05-14T01:14:49.486Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-05-14T01:14:49.509Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-05-14T01:14:49.532Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-05-14T01:14:49.550Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-05-14T01:14:49.571Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-05-14T01:14:49.590Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2024-05-14T01:14:49.607Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-05-14T01:14:49.628Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-05-14T01:14:49.648Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-05-14T01:14:49.667Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-05-14T01:14:49.686Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-05-14T01:14:49.702Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-05-14T01:14:49.725Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-05-14T01:14:49.752Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-05-14T01:14:49.779Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-05-14T01:14:49.805Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-05-14T01:14:49.829Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-05-14T01:14:49.849Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-05-14T01:14:49.868Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-05-14T01:14:49.887Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-05-14T01:14:49.915Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-05-14T01:14:49.940Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = napa [Pipeline] echo [2024-05-14T01:14:49.960Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = napa [Pipeline] echo [2024-05-14T01:14:49.977Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = napa [Pipeline] echo [2024-05-14T01:14:49.995Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1eee846d515ad1ad777188f96f1acf46ba88b479 [Pipeline] echo [2024-05-14T01:14:50.016Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1eee846 [Pipeline] echo [2024-05-14T01:14:50.039Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-14T01:14:50.104Z] provisioning config files... [2024-05-14T01:14:50.118Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_napa@tmp/config10395449451908893726tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-14T01:14:50.457Z] ---> ****-login.sh [2024-05-14T01:14:50.457Z] nexus3.edgexfoundry.org:10001 [2024-05-14T01:14:50.716Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-14T01:14:50.716Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-14T01:14:50.716Z] Configure a credential helper to remove this warning. See [2024-05-14T01:14:50.716Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-14T01:14:50.716Z] [2024-05-14T01:14:50.716Z] Login Succeeded [2024-05-14T01:14:50.716Z] nexus3.edgexfoundry.org:10002 [2024-05-14T01:14:50.716Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-14T01:14:50.716Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-14T01:14:50.716Z] Configure a credential helper to remove this warning. See [2024-05-14T01:14:50.717Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-14T01:14:50.717Z] [2024-05-14T01:14:50.717Z] Login Succeeded [2024-05-14T01:14:50.717Z] nexus3.edgexfoundry.org:10003 [2024-05-14T01:14:50.977Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-14T01:14:50.977Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-14T01:14:50.977Z] Configure a credential helper to remove this warning. See [2024-05-14T01:14:50.977Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-14T01:14:50.977Z] [2024-05-14T01:14:50.977Z] Login Succeeded [2024-05-14T01:14:50.977Z] nexus3.edgexfoundry.org:10004 [2024-05-14T01:14:50.977Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-14T01:14:50.978Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-14T01:14:50.978Z] Configure a credential helper to remove this warning. See [2024-05-14T01:14:50.978Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-14T01:14:50.978Z] [2024-05-14T01:14:50.978Z] Login Succeeded [2024-05-14T01:14:50.978Z] ****.io [2024-05-14T01:14:50.978Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-14T01:14:51.239Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-14T01:14:51.239Z] Configure a credential helper to remove this warning. See [2024-05-14T01:14:51.239Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-14T01:14:51.239Z] [2024-05-14T01:14:51.239Z] Login Succeeded [2024-05-14T01:14:51.239Z] ---> ****-login.sh ends [Pipeline] } [2024-05-14T01:14:51.247Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-05-14T01:14:51.651Z] + git rev-list -1 --merges 1eee846d515ad1ad777188f96f1acf46ba88b479~1..1eee846d515ad1ad777188f96f1acf46ba88b479 [Pipeline] echo [2024-05-14T01:14:51.678Z] -----------> git rev-list -1 --merges 1eee846d515ad1ad777188f96f1acf46ba88b479~1..1eee846d515ad1ad777188f96f1acf46ba88b479 1eee846d515ad1ad777188f96f1acf46ba88b479 [2024-05-14T01:14:51.678Z] 1eee846d515ad1ad777188f96f1acf46ba88b479 [false] [Pipeline] sh [2024-05-14T01:14:51.971Z] + git log --format=format:%s -1 1eee846d515ad1ad777188f96f1acf46ba88b479 [Pipeline] echo [2024-05-14T01:14:51.989Z] ========================================================= [2024-05-14T01:14:51.989Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-05-14T01:14:51.989Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-14T01:14:52.341Z] + git log --format=format:%s -1 1eee846d515ad1ad777188f96f1acf46ba88b479 [Pipeline] echo [2024-05-14T01:14:52.352Z] [semverPrep] GIT_COMMIT: 1eee846d515ad1ad777188f96f1acf46ba88b479, Commit Message: Merge pull request #551 from cloudxxx8/bump-napa-sdk [Pipeline] echo [2024-05-14T01:14:52.369Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-05-14T01:14:52.725Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-05-14T01:14:52.725Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-05-14T01:14:52.725Z] + [ -e /tmp/ssh_known_hosts ] [2024-05-14T01:14:52.725Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-05-14T01:14:52.725Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=sudo [2024-05-14T01:14:52.725Z] tee -a /etc/ssh/ssh_known_hosts [2024-05-14T01:14:52.725Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-14T01:14:53.077Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-14T01:14:53.077Z] [2024-05-14T01:14:53.077Z] 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-14T01:14:53.378Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-14T01:14:53.378Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-05-14T01:14:53.378Z] b85a868b505f: Pulling fs layer [2024-05-14T01:14:53.378Z] e2be974225ed: Pulling fs layer [2024-05-14T01:14:53.378Z] 339a4e72a1f5: Pulling fs layer [2024-05-14T01:14:53.378Z] 988bab9f4d93: Pulling fs layer [2024-05-14T01:14:53.378Z] 1469e6f7b9e6: Pulling fs layer [2024-05-14T01:14:53.378Z] eaf3925da568: Pulling fs layer [2024-05-14T01:14:53.378Z] bab4dde63d76: Pulling fs layer [2024-05-14T01:14:53.378Z] bde34c3a00c8: Pulling fs layer [2024-05-14T01:14:53.378Z] b352a97aabf1: Pulling fs layer [2024-05-14T01:14:53.378Z] 4872d77fe225: Pulling fs layer [2024-05-14T01:14:53.378Z] 5851b861e8e6: Pulling fs layer [2024-05-14T01:14:53.378Z] eaf3925da568: Waiting [2024-05-14T01:14:53.378Z] bab4dde63d76: Waiting [2024-05-14T01:14:53.378Z] bde34c3a00c8: Waiting [2024-05-14T01:14:53.378Z] 988bab9f4d93: Waiting [2024-05-14T01:14:53.378Z] b352a97aabf1: Waiting [2024-05-14T01:14:53.378Z] 1469e6f7b9e6: Waiting [2024-05-14T01:14:53.378Z] 4872d77fe225: Waiting [2024-05-14T01:14:53.378Z] 5851b861e8e6: Waiting [2024-05-14T01:14:53.378Z] e2be974225ed: Download complete [2024-05-14T01:14:53.378Z] 988bab9f4d93: Verifying Checksum [2024-05-14T01:14:53.378Z] 988bab9f4d93: Download complete [2024-05-14T01:14:53.378Z] 339a4e72a1f5: Verifying Checksum [2024-05-14T01:14:53.378Z] 339a4e72a1f5: Download complete [2024-05-14T01:14:53.378Z] 1469e6f7b9e6: Verifying Checksum [2024-05-14T01:14:53.378Z] 1469e6f7b9e6: Download complete [2024-05-14T01:14:53.378Z] eaf3925da568: Verifying Checksum [2024-05-14T01:14:53.378Z] eaf3925da568: Download complete [2024-05-14T01:14:53.378Z] bde34c3a00c8: Verifying Checksum [2024-05-14T01:14:53.378Z] bde34c3a00c8: Download complete [2024-05-14T01:14:53.638Z] 4872d77fe225: Verifying Checksum [2024-05-14T01:14:53.638Z] 4872d77fe225: Download complete [2024-05-14T01:14:53.638Z] 5851b861e8e6: Download complete [2024-05-14T01:14:53.638Z] b85a868b505f: Verifying Checksum [2024-05-14T01:14:53.638Z] b85a868b505f: Download complete [2024-05-14T01:14:53.896Z] bab4dde63d76: Verifying Checksum [2024-05-14T01:14:53.896Z] bab4dde63d76: Download complete [2024-05-14T01:14:54.829Z] b85a868b505f: Pull complete [2024-05-14T01:14:55.087Z] e2be974225ed: Pull complete [2024-05-14T01:14:55.345Z] 339a4e72a1f5: Pull complete [2024-05-14T01:14:55.604Z] 988bab9f4d93: Pull complete [2024-05-14T01:14:55.863Z] 1469e6f7b9e6: Pull complete [2024-05-14T01:14:55.863Z] eaf3925da568: Pull complete [2024-05-14T01:14:57.783Z] bab4dde63d76: Pull complete [2024-05-14T01:14:57.783Z] bde34c3a00c8: Pull complete [2024-05-14T01:14:57.783Z] b352a97aabf1: Pull complete [2024-05-14T01:14:57.783Z] 4872d77fe225: Pull complete [2024-05-14T01:14:57.783Z] 5851b861e8e6: Pull complete [2024-05-14T01:14:57.783Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-05-14T01:14:57.783Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-14T01:14:57.783Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-14T01:14:57.921Z] prd-ubuntu20.04-docker-8c-8g-124 does not seem to be running inside a container [2024-05-14T01:14:57.953Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_napa -v /w/workspace/gexfoundry_device-modbus-go_napa:/w/workspace/gexfoundry_device-modbus-go_napa:rw,z -v /w/workspace/gexfoundry_device-modbus-go_napa@tmp:/w/workspace/gexfoundry_device-modbus-go_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-05-14T01:15:01.443Z] $ docker top 194da777061da061200b20a0125f620cd8897debb292778cef4048a88419200d -eo pid,comm [2024-05-14T01:15:01.522Z] 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-14T01:15:01.522Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-05-14T01:15:01.565Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-05-14T01:15:01.565Z] [ssh-agent] Looking for ssh-agent implementation... [2024-05-14T01:15:01.688Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-05-14T01:15:01.688Z] $ docker exec 194da777061da061200b20a0125f620cd8897debb292778cef4048a88419200d ssh-agent [2024-05-14T01:15:01.794Z] SSH_AUTH_SOCK=/tmp/ssh-XnwdqkapReTg/agent.32 [2024-05-14T01:15:01.794Z] SSH_AGENT_PID=38 [2024-05-14T01:15:01.800Z] Running ssh-add (command line suppressed) [2024-05-14T01:15:01.888Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_napa@tmp/private_key_9004596759618053606.key (/w/workspace/gexfoundry_device-modbus-go_napa@tmp/private_key_9004596759618053606.key) [2024-05-14T01:15:01.913Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-05-14T01:15:02.206Z] + git tag --points-at HEAD [Pipeline] } [2024-05-14T01:15:02.214Z] $ docker exec --env ******** --env ******** 194da777061da061200b20a0125f620cd8897debb292778cef4048a88419200d ssh-agent -k [2024-05-14T01:15:02.309Z] unset SSH_AUTH_SOCK; [2024-05-14T01:15:02.309Z] unset SSH_AGENT_PID; [2024-05-14T01:15:02.310Z] echo Agent pid 38 killed; [2024-05-14T01:15:02.322Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-05-14T01:15:02.359Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-05-14T01:15:02.359Z] [ssh-agent] Looking for ssh-agent implementation... [2024-05-14T01:15:02.457Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-05-14T01:15:02.457Z] $ docker exec 194da777061da061200b20a0125f620cd8897debb292778cef4048a88419200d ssh-agent [2024-05-14T01:15:02.562Z] SSH_AUTH_SOCK=/tmp/ssh-RZwSpNKm96LK/agent.71 [2024-05-14T01:15:02.562Z] SSH_AGENT_PID=77 [2024-05-14T01:15:02.568Z] Running ssh-add (command line suppressed) [2024-05-14T01:15:02.664Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_napa@tmp/private_key_6262996163375476580.key (/w/workspace/gexfoundry_device-modbus-go_napa@tmp/private_key_6262996163375476580.key) [2024-05-14T01:15:02.679Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-05-14T01:15:02.969Z] + git semver init [2024-05-14T01:15:03.229Z] 2024-05-14 01:15:03,133 [run_init] DEBUG init version:0.0.0 force:False [2024-05-14T01:15:03.229Z] 2024-05-14 01:15:03,134 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_napa/.semver [2024-05-14T01:15:03.229Z] 2024-05-14 01:15:03,135 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_napa/.semver [2024-05-14T01:15:03.229Z] 2024-05-14 01:15:03,135 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/gexfoundry_device-modbus-go_napa/.semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_napa, universal_newlines=False, shell=None, istream=None) [2024-05-14T01:15:04.619Z] 2024-05-14 01:15:04,292 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_napa/.git/info/exclude [2024-05-14T01:15:04.619Z] 2024-05-14 01:15:04,293 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_napa/.semver/napa with force:False [2024-05-14T01:15:04.619Z] 2024-05-14 01:15:04,293 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_napa/.semver/napa [2024-05-14T01:15:04.619Z] 2024-05-14 01:15:04,293 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_napa/.semver/napa [2024-05-14T01:15:04.619Z] 3.1.1-dev.1 [Pipeline] } [2024-05-14T01:15:04.627Z] $ docker exec --env ******** --env ******** 194da777061da061200b20a0125f620cd8897debb292778cef4048a88419200d ssh-agent -k [2024-05-14T01:15:04.707Z] unset SSH_AUTH_SOCK; [2024-05-14T01:15:04.708Z] unset SSH_AGENT_PID; [2024-05-14T01:15:04.708Z] echo Agent pid 77 killed; [2024-05-14T01:15:04.723Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-05-14T01:15:05.040Z] + git semver [Pipeline] } [2024-05-14T01:15:05.308Z] $ docker stop --time=1 194da777061da061200b20a0125f620cd8897debb292778cef4048a88419200d [2024-05-14T01:15:06.589Z] $ docker rm -f --volumes 194da777061da061200b20a0125f620cd8897debb292778cef4048a88419200d [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-14T01:15:06.937Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-05-14T01:15:07.163Z] Stashed 1 file(s) [Pipeline] echo [2024-05-14T01:15:07.167Z] [edgeXSemver]: initialized semver on version 3.1.1-dev.1 [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-14T01:15:07.361Z] provisioning config files... [2024-05-14T01:15:07.372Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_napa@tmp/config145280911882016633tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-14T01:15:07.680Z] ---> ****-login.sh [2024-05-14T01:15:07.680Z] nexus3.edgexfoundry.org:10001 [2024-05-14T01:15:07.680Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-14T01:15:07.680Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-14T01:15:07.680Z] Configure a credential helper to remove this warning. See [2024-05-14T01:15:07.680Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-14T01:15:07.680Z] [2024-05-14T01:15:07.680Z] Login Succeeded [2024-05-14T01:15:07.680Z] nexus3.edgexfoundry.org:10002 [2024-05-14T01:15:07.680Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-14T01:15:07.680Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-14T01:15:07.680Z] Configure a credential helper to remove this warning. See [2024-05-14T01:15:07.680Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-14T01:15:07.680Z] [2024-05-14T01:15:07.680Z] Login Succeeded [2024-05-14T01:15:07.680Z] nexus3.edgexfoundry.org:10003 [2024-05-14T01:15:07.981Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-14T01:15:07.981Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-14T01:15:07.981Z] Configure a credential helper to remove this warning. See [2024-05-14T01:15:07.981Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-14T01:15:07.981Z] [2024-05-14T01:15:07.981Z] Login Succeeded [2024-05-14T01:15:07.981Z] nexus3.edgexfoundry.org:10004 [2024-05-14T01:15:07.981Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-14T01:15:07.981Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-14T01:15:07.981Z] Configure a credential helper to remove this warning. See [2024-05-14T01:15:07.981Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-14T01:15:07.981Z] [2024-05-14T01:15:07.981Z] Login Succeeded [2024-05-14T01:15:07.981Z] ****.io [2024-05-14T01:15:07.981Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-14T01:15:08.241Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-14T01:15:08.241Z] Configure a credential helper to remove this warning. See [2024-05-14T01:15:08.241Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-14T01:15:08.241Z] [2024-05-14T01:15:08.241Z] Login Succeeded [2024-05-14T01:15:08.241Z] ---> ****-login.sh ends [Pipeline] } [2024-05-14T01:15:08.248Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-05-14T01:15:08.349Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh [2024-05-14T01:15:08.649Z] + grep ^go [0-9].[0-9]* go.mod [2024-05-14T01:15:08.649Z] + cut -d -f 2 [Pipeline] echo [2024-05-14T01:15:08.663Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-14T01:15:08.678Z] ========================================================= [2024-05-14T01:15:08.678Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts] [2024-05-14T01:15:08.678Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-14T01:15:09.006Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts --build-arg MAKE=echo noop --target=builder . [2024-05-14T01:15:09.265Z] Sending build context to Docker daemon 48.71MB [2024-05-14T01:15:09.265Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-05-14T01:15:09.265Z] Step 2/10 : FROM ${BASE} AS builder [2024-05-14T01:15:09.525Z] 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base [2024-05-14T01:15:09.525Z] 619be1103602: Pulling fs layer [2024-05-14T01:15:09.525Z] 7862e08f4a3e: Pulling fs layer [2024-05-14T01:15:09.525Z] 5df492c9dc93: Pulling fs layer [2024-05-14T01:15:09.525Z] 7629e6793208: Pulling fs layer [2024-05-14T01:15:09.525Z] 4f4fb700ef54: Pulling fs layer [2024-05-14T01:15:09.525Z] 8de7f028bff5: Pulling fs layer [2024-05-14T01:15:09.525Z] 44042ff1420b: Pulling fs layer [2024-05-14T01:15:09.525Z] 5cdaf54b7214: Pulling fs layer [2024-05-14T01:15:09.525Z] 38f3e5a9071a: Pulling fs layer [2024-05-14T01:15:09.525Z] 4f4fb700ef54: Waiting [2024-05-14T01:15:09.525Z] 8de7f028bff5: Waiting [2024-05-14T01:15:09.525Z] 44042ff1420b: Waiting [2024-05-14T01:15:09.525Z] 5cdaf54b7214: Waiting [2024-05-14T01:15:09.525Z] 38f3e5a9071a: Waiting [2024-05-14T01:15:09.525Z] 7629e6793208: Waiting [2024-05-14T01:15:09.525Z] 7862e08f4a3e: Download complete [2024-05-14T01:15:09.525Z] 7629e6793208: Verifying Checksum [2024-05-14T01:15:09.525Z] 7629e6793208: Download complete [2024-05-14T01:15:09.784Z] 4f4fb700ef54: Download complete [2024-05-14T01:15:09.784Z] 619be1103602: Verifying Checksum [2024-05-14T01:15:09.784Z] 619be1103602: Download complete [2024-05-14T01:15:09.784Z] 8de7f028bff5: Verifying Checksum [2024-05-14T01:15:09.784Z] 8de7f028bff5: Download complete [2024-05-14T01:15:09.784Z] 44042ff1420b: Verifying Checksum [2024-05-14T01:15:09.784Z] 44042ff1420b: Download complete [2024-05-14T01:15:10.073Z] 619be1103602: Pull complete [2024-05-14T01:15:10.073Z] 38f3e5a9071a: Verifying Checksum [2024-05-14T01:15:10.073Z] 38f3e5a9071a: Download complete [2024-05-14T01:15:10.073Z] 5df492c9dc93: Verifying Checksum [2024-05-14T01:15:10.073Z] 5df492c9dc93: Download complete [2024-05-14T01:15:10.333Z] 7862e08f4a3e: Pull complete [2024-05-14T01:15:10.592Z] 5cdaf54b7214: Verifying Checksum [2024-05-14T01:15:10.592Z] 5cdaf54b7214: Download complete [2024-05-14T01:15:13.891Z] 5df492c9dc93: Pull complete [2024-05-14T01:15:13.891Z] 7629e6793208: Pull complete [2024-05-14T01:15:13.891Z] 4f4fb700ef54: Pull complete [2024-05-14T01:15:14.149Z] 8de7f028bff5: Pull complete [2024-05-14T01:15:14.407Z] 44042ff1420b: Pull complete [2024-05-14T01:15:16.949Z] 5cdaf54b7214: Pull complete [2024-05-14T01:15:17.518Z] 38f3e5a9071a: Pull complete [2024-05-14T01:15:17.518Z] Digest: sha256:d452b7c9dc822626b28f2158ccf3bbf04957b0b2ad14062d8ea2b98b8d6f5c64 [2024-05-14T01:15:17.518Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts [2024-05-14T01:15:17.518Z] ---> 60b93f829570 [2024-05-14T01:15:17.518Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-05-14T01:15:22.303Z] Still waiting to schedule task [2024-05-14T01:15:22.303Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-120’ [2024-05-14T01:15:22.790Z] ---> Running in f990dd53dde8 [2024-05-14T01:15:22.790Z] Removing intermediate container f990dd53dde8 [2024-05-14T01:15:22.790Z] ---> 2cb82f405f17 [2024-05-14T01:15:22.790Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-14T01:15:22.790Z] ---> Running in 83c3c78d6a00 [2024-05-14T01:15:22.790Z] Removing intermediate container 83c3c78d6a00 [2024-05-14T01:15:22.790Z] ---> 19124acfd35b [2024-05-14T01:15:22.790Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-05-14T01:15:22.790Z] ---> Running in e4f29349bef1 [2024-05-14T01:15:23.050Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-14T01:15:23.310Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-14T01:15:23.570Z] (1/8) Installing openssh-keygen (9.3_p2-r1) [2024-05-14T01:15:23.570Z] (2/8) Installing libedit (20221030.3.1-r1) [2024-05-14T01:15:23.570Z] (3/8) Installing openssh-client-common (9.3_p2-r1) [2024-05-14T01:15:23.570Z] (4/8) Installing openssh-client-default (9.3_p2-r1) [2024-05-14T01:15:23.570Z] (5/8) Installing openssh-sftp-server (9.3_p2-r1) [2024-05-14T01:15:23.570Z] (6/8) Installing openssh-server-common (9.3_p2-r1) [2024-05-14T01:15:23.570Z] (7/8) Installing openssh-server (9.3_p2-r1) [2024-05-14T01:15:23.849Z] (8/8) Installing openssh (9.3_p2-r1) [2024-05-14T01:15:23.849Z] Executing busybox-1.36.1-r5.trigger [2024-05-14T01:15:23.849Z] OK: 270 MiB in 60 packages [2024-05-14T01:15:24.418Z] Removing intermediate container e4f29349bef1 [2024-05-14T01:15:24.418Z] ---> 2f72798f5fff [2024-05-14T01:15:24.418Z] Step 6/10 : WORKDIR /device-modbus-go [2024-05-14T01:15:24.418Z] ---> Running in 1656154e1427 [2024-05-14T01:15:24.418Z] Removing intermediate container 1656154e1427 [2024-05-14T01:15:24.418Z] ---> 62dbe35eaa08 [2024-05-14T01:15:24.418Z] Step 7/10 : COPY go.mod vendor* ./ [2024-05-14T01:15:26.335Z] ---> 6b381b2f6e34 [2024-05-14T01:15:26.335Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-14T01:15:26.594Z] ---> Running in 891c4f13f476 [2024-05-14T01:15:58.995Z] Removing intermediate container 891c4f13f476 [2024-05-14T01:15:58.995Z] ---> f411b7eaab08 [2024-05-14T01:15:58.995Z] Step 9/10 : COPY . . [2024-05-14T01:15:58.995Z] ---> 2c561a7beacf [2024-05-14T01:15:58.995Z] Step 10/10 : RUN ${MAKE} [2024-05-14T01:15:58.995Z] ---> Running in 501ac79093d2 [2024-05-14T01:15:58.995Z] noop [2024-05-14T01:15:58.995Z] Removing intermediate container 501ac79093d2 [2024-05-14T01:15:58.995Z] ---> 6ee3e3612c90 [2024-05-14T01:15:58.995Z] Successfully built 6ee3e3612c90 [2024-05-14T01:15:58.995Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-14T01:15:59.323Z] + docker inspect -f . ci-base-image-x86_64 [2024-05-14T01:15:59.323Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-14T01:15:59.407Z] prd-ubuntu20.04-docker-8c-8g-124 does not seem to be running inside a container [2024-05-14T01:15:59.436Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_napa -v /w/workspace/gexfoundry_device-modbus-go_napa:/w/workspace/gexfoundry_device-modbus-go_napa:rw,z -v /w/workspace/gexfoundry_device-modbus-go_napa@tmp:/w/workspace/gexfoundry_device-modbus-go_napa@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 ******** ci-base-image-x86_64 cat [2024-05-14T01:15:59.747Z] $ docker top 2bd3846d75eb3489a56e1be8ffd09810b2a080f179a08d244df6d99a939c484d -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-14T01:16:00.089Z] + go version [2024-05-14T01:16:00.089Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-05-14T01:16:00.098Z] $ docker stop --time=1 2bd3846d75eb3489a56e1be8ffd09810b2a080f179a08d244df6d99a939c484d [2024-05-14T01:16:01.361Z] $ docker rm -f --volumes 2bd3846d75eb3489a56e1be8ffd09810b2a080f179a08d244df6d99a939c484d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-14T01:16:01.812Z] + docker inspect -f . ci-base-image-x86_64 [2024-05-14T01:16:01.812Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-14T01:16:01.890Z] prd-ubuntu20.04-docker-8c-8g-124 does not seem to be running inside a container [2024-05-14T01:16:01.918Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-modbus-go_napa -v /w/workspace/gexfoundry_device-modbus-go_napa:/w/workspace/gexfoundry_device-modbus-go_napa:rw,z -v /w/workspace/gexfoundry_device-modbus-go_napa@tmp:/w/workspace/gexfoundry_device-modbus-go_napa@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 ******** ci-base-image-x86_64 cat [2024-05-14T01:16:02.222Z] $ docker top f87fa5d117cd631195a3c6246fa0efbdbf05d57f60dae103144821bcdd8ec348 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-14T01:16:02.584Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_napa [Pipeline] fileExists [Pipeline] sh [2024-05-14T01:16:02.885Z] + make test [2024-05-14T01:16:02.885Z] go test ./... -coverprofile=coverage.out [2024-05-14T01:16:04.300Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-05-14T01:16:14.261Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2024-05-14T01:16:14.261Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.012s coverage: 47.9% of statements [2024-05-14T01:16:20.817Z] go vet ./... [2024-05-14T01:16:23.349Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-05-14T01:16:23.349Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-05-14T01:16:23.349Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-05-14T01:16:23.361Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh [2024-05-14T01:16:23.668Z] + go mod tidy [Pipeline] } [2024-05-14T01:16:23.936Z] $ docker stop --time=1 f87fa5d117cd631195a3c6246fa0efbdbf05d57f60dae103144821bcdd8ec348 [2024-05-14T01:16:26.946Z] $ docker rm -f --volumes f87fa5d117cd631195a3c6246fa0efbdbf05d57f60dae103144821bcdd8ec348 [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-14T01:16:27.440Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-05-14T01:16:27.527Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-05-14T01:16:28.111Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-05-14T01:16:28.400Z] + ls -al . [2024-05-14T01:16:28.400Z] total 196 [2024-05-14T01:16:28.400Z] drwxrwxr-x 10 jenkins jenkins 4096 May 14 01:16 . [2024-05-14T01:16:28.400Z] drwxrwxr-x 4 jenkins jenkins 4096 May 14 01:14 .. [2024-05-14T01:16:28.400Z] -rw-rw-r-- 1 jenkins jenkins 140 May 14 01:14 .dockerignore [2024-05-14T01:16:28.400Z] drwxrwxr-x 8 jenkins jenkins 4096 May 14 01:16 .git [2024-05-14T01:16:28.400Z] drwxrwxr-x 3 jenkins jenkins 4096 May 14 01:14 .github [2024-05-14T01:16:28.400Z] -rw-rw-r-- 1 jenkins jenkins 258 May 14 01:14 .gitignore [2024-05-14T01:16:28.400Z] -rw-rw-r-- 1 jenkins jenkins 41 May 14 01:14 .golangci.yml [2024-05-14T01:16:28.400Z] drwxr-xr-x 3 jenkins jenkins 4096 May 14 01:15 .semver [2024-05-14T01:16:28.400Z] -rw-rw-r-- 1 jenkins jenkins 11120 May 14 01:14 Attribution.txt [2024-05-14T01:16:28.400Z] -rw-rw-r-- 1 jenkins jenkins 16388 May 14 01:14 CHANGELOG.md [2024-05-14T01:16:28.400Z] -rw-rw-r-- 1 jenkins jenkins 1474 May 14 01:14 Dockerfile [2024-05-14T01:16:28.400Z] -rw-rw-r-- 1 jenkins jenkins 677 May 14 01:14 GOVERNANCE.md [2024-05-14T01:16:28.400Z] -rw-rw-r-- 1 jenkins jenkins 658 May 14 01:14 Jenkinsfile [2024-05-14T01:16:28.400Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 14 01:14 LICENSE [2024-05-14T01:16:28.400Z] -rw-rw-r-- 1 jenkins jenkins 1936 May 14 01:14 Makefile [2024-05-14T01:16:28.400Z] -rw-rw-r-- 1 jenkins jenkins 622 May 14 01:14 OWNERS.md [2024-05-14T01:16:28.400Z] -rw-rw-r-- 1 jenkins jenkins 4463 May 14 01:14 README.md [2024-05-14T01:16:28.400Z] -rw-rw-r-- 1 jenkins jenkins 11 May 14 01:15 VERSION [2024-05-14T01:16:28.400Z] drwxrwxr-x 2 jenkins jenkins 4096 May 14 01:14 bin [2024-05-14T01:16:28.400Z] drwxrwxr-x 3 jenkins jenkins 4096 May 14 01:14 cmd [2024-05-14T01:16:28.400Z] -rw-r--r-- 1 jenkins jenkins 24334 May 14 01:16 coverage.out [2024-05-14T01:16:28.400Z] -rw-rw-r-- 1 jenkins jenkins 3865 May 14 01:14 go.mod [2024-05-14T01:16:28.400Z] -rw-rw-r-- 1 jenkins jenkins 34537 May 14 01:14 go.sum [2024-05-14T01:16:28.400Z] drwxrwxr-x 3 jenkins jenkins 4096 May 14 01:14 internal [2024-05-14T01:16:28.400Z] drwxrwxr-x 2 jenkins jenkins 4096 May 14 01:14 simulator [2024-05-14T01:16:28.400Z] drwxrwxr-x 6 jenkins jenkins 4096 May 14 01:14 vendor [2024-05-14T01:16:28.400Z] -rw-rw-r-- 1 jenkins jenkins 229 May 14 01:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-14T01:16:28.714Z] + 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=1eee846d515ad1ad777188f96f1acf46ba88b479 --label arch=amd64 --label version=3.1.1-dev.1 . [2024-05-14T01:16:28.974Z] Sending build context to Docker daemon 48.73MB [2024-05-14T01:16:28.974Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2024-05-14T01:16:28.974Z] Step 2/23 : FROM ${BASE} AS builder [2024-05-14T01:16:28.974Z] ---> 6ee3e3612c90 [2024-05-14T01:16:28.974Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-05-14T01:16:29.543Z] ---> Running in 532903a231fd [2024-05-14T01:16:29.801Z] Removing intermediate container 532903a231fd [2024-05-14T01:16:29.801Z] ---> 8e07dae3c56b [2024-05-14T01:16:29.801Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-14T01:16:29.801Z] ---> Running in c1ebc3d09d04 [2024-05-14T01:16:29.801Z] Removing intermediate container c1ebc3d09d04 [2024-05-14T01:16:29.801Z] ---> 79e56dabb1d1 [2024-05-14T01:16:29.801Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-05-14T01:16:29.801Z] ---> Running in a5ed6330b2be [2024-05-14T01:16:30.061Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-14T01:16:30.320Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-14T01:16:30.578Z] OK: 270 MiB in 60 packages [2024-05-14T01:16:30.835Z] Removing intermediate container a5ed6330b2be [2024-05-14T01:16:30.835Z] ---> 955e16f20421 [2024-05-14T01:16:30.835Z] Step 6/23 : WORKDIR /device-modbus-go [2024-05-14T01:16:30.835Z] ---> Running in d2e7b3d4312b [2024-05-14T01:16:30.835Z] Removing intermediate container d2e7b3d4312b [2024-05-14T01:16:30.835Z] ---> 9b64ce5a5cbb [2024-05-14T01:16:30.835Z] Step 7/23 : COPY go.mod vendor* ./ [2024-05-14T01:16:32.736Z] ---> 0e34970b7a1a [2024-05-14T01:16:32.736Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-14T01:16:32.736Z] ---> Running in a522fa0ea186 [2024-05-14T01:16:32.993Z] skipping... [2024-05-14T01:16:33.559Z] Removing intermediate container a522fa0ea186 [2024-05-14T01:16:33.559Z] ---> 5e3be49407b8 [2024-05-14T01:16:33.559Z] Step 9/23 : COPY . . [2024-05-14T01:16:36.091Z] ---> af418684c5ce [2024-05-14T01:16:36.091Z] Step 10/23 : RUN ${MAKE} [2024-05-14T01:16:36.091Z] ---> Running in 443ab7d7a1b6 [2024-05-14T01:16:36.349Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.1.1-dev.1 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.1" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2024-05-14T01:16:58.265Z] Removing intermediate container 443ab7d7a1b6 [2024-05-14T01:16:58.265Z] ---> 1c2b64cdb748 [2024-05-14T01:16:58.265Z] Step 11/23 : FROM alpine:3.18 [2024-05-14T01:16:58.265Z] 3.18: Pulling from library/alpine [2024-05-14T01:16:58.265Z] 619be1103602: Already exists [2024-05-14T01:16:58.266Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-05-14T01:16:58.266Z] Status: Downloaded newer image for alpine:3.18 [2024-05-14T01:16:58.266Z] ---> d3782b16ccc9 [2024-05-14T01:16:58.266Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2024-05-14T01:16:58.266Z] ---> Running in 033cf7a645c7 [2024-05-14T01:16:58.266Z] Removing intermediate container 033cf7a645c7 [2024-05-14T01:16:58.266Z] ---> c3a8602cf465 [2024-05-14T01:16:58.266Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-05-14T01:16:58.266Z] ---> Running in 8d78ab491fe6 [2024-05-14T01:16:58.266Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-14T01:16:58.266Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-14T01:16:58.266Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-05-14T01:16:58.266Z] Executing busybox-1.36.1-r5.trigger [2024-05-14T01:16:58.266Z] OK: 7 MiB in 16 packages [2024-05-14T01:16:58.524Z] Removing intermediate container 8d78ab491fe6 [2024-05-14T01:16:58.524Z] ---> e2d749aa3904 [2024-05-14T01:16:58.524Z] Step 14/23 : RUN apk --no-cache upgrade [2024-05-14T01:16:58.524Z] ---> Running in f0cfbb68dad3 [2024-05-14T01:16:58.782Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-14T01:16:59.040Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-14T01:16:59.300Z] Upgrading critical system libraries and apk-tools: [2024-05-14T01:16:59.300Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-05-14T01:16:59.300Z] Executing busybox-1.36.1-r5.trigger [2024-05-14T01:16:59.300Z] Continuing the upgrade transaction with new apk-tools: [2024-05-14T01:16:59.300Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-14T01:16:59.300Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-14T01:16:59.560Z] (1/3) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-05-14T01:16:59.560Z] (2/3) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.4-r6) [2024-05-14T01:16:59.560Z] (3/3) Upgrading libssl3 (3.1.4-r5 -> 3.1.4-r6) [2024-05-14T01:16:59.560Z] OK: 7 MiB in 16 packages [2024-05-14T01:17:00.127Z] Removing intermediate container f0cfbb68dad3 [2024-05-14T01:17:00.127Z] ---> 3f01674e51cc [2024-05-14T01:17:00.127Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-05-14T01:17:01.061Z] ---> 19e4a3b5d3b0 [2024-05-14T01:17:01.061Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-05-14T01:17:01.061Z] ---> a8dcf1026829 [2024-05-14T01:17:01.061Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-05-14T01:17:01.061Z] ---> 184d8c8e6b53 [2024-05-14T01:17:01.061Z] Step 18/23 : EXPOSE 59901 [2024-05-14T01:17:01.061Z] ---> Running in b060b002cc87 [2024-05-14T01:17:01.061Z] Removing intermediate container b060b002cc87 [2024-05-14T01:17:01.061Z] ---> 8851b50c5c1c [2024-05-14T01:17:01.061Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-05-14T01:17:01.061Z] ---> Running in 9320290aff77 [2024-05-14T01:17:01.318Z] Removing intermediate container 9320290aff77 [2024-05-14T01:17:01.318Z] ---> 418b55b222ac [2024-05-14T01:17:01.318Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-05-14T01:17:01.318Z] ---> Running in addbac99148f [2024-05-14T01:17:01.318Z] Removing intermediate container addbac99148f [2024-05-14T01:17:01.318Z] ---> a88a2dfc2b60 [2024-05-14T01:17:01.318Z] Step 21/23 : LABEL arch=amd64 [2024-05-14T01:17:01.318Z] ---> Running in 65d0bf66f83d [2024-05-14T01:17:01.318Z] Removing intermediate container 65d0bf66f83d [2024-05-14T01:17:01.318Z] ---> 79adbb3dd62e [2024-05-14T01:17:01.318Z] Step 22/23 : LABEL git_sha=1eee846d515ad1ad777188f96f1acf46ba88b479 [2024-05-14T01:17:01.318Z] ---> Running in 75d5cf2656e6 [2024-05-14T01:17:01.579Z] Removing intermediate container 75d5cf2656e6 [2024-05-14T01:17:01.579Z] ---> 7e3a8add0873 [2024-05-14T01:17:01.579Z] Step 23/23 : LABEL version=3.1.1-dev.1 [2024-05-14T01:17:01.579Z] ---> Running in 26dda59bb70c [2024-05-14T01:17:01.579Z] Removing intermediate container 26dda59bb70c [2024-05-14T01:17:01.579Z] ---> 01ef13764abe [2024-05-14T01:17:01.579Z] [Warning] One or more build-args [ARCH] were not consumed [2024-05-14T01:17:01.579Z] Successfully built 01ef13764abe [2024-05-14T01:17:01.579Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-14T01:17:01.706Z] provisioning config files... [2024-05-14T01:17:01.717Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_napa@tmp/config3037039078525539187tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-14T01:17:02.023Z] ---> ****-login.sh [2024-05-14T01:17:02.023Z] nexus3.edgexfoundry.org:10001 [2024-05-14T01:17:02.023Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-14T01:17:02.023Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-14T01:17:02.023Z] Configure a credential helper to remove this warning. See [2024-05-14T01:17:02.023Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-14T01:17:02.023Z] [2024-05-14T01:17:02.023Z] Login Succeeded [2024-05-14T01:17:02.023Z] nexus3.edgexfoundry.org:10002 [2024-05-14T01:17:02.023Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-14T01:17:02.023Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-14T01:17:02.023Z] Configure a credential helper to remove this warning. See [2024-05-14T01:17:02.023Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-14T01:17:02.023Z] [2024-05-14T01:17:02.023Z] Login Succeeded [2024-05-14T01:17:02.023Z] nexus3.edgexfoundry.org:10003 [2024-05-14T01:17:02.284Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-14T01:17:02.284Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-14T01:17:02.284Z] Configure a credential helper to remove this warning. See [2024-05-14T01:17:02.284Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-14T01:17:02.284Z] [2024-05-14T01:17:02.284Z] Login Succeeded [2024-05-14T01:17:02.284Z] nexus3.edgexfoundry.org:10004 [2024-05-14T01:17:02.284Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-14T01:17:02.284Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-14T01:17:02.284Z] Configure a credential helper to remove this warning. See [2024-05-14T01:17:02.284Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-14T01:17:02.284Z] [2024-05-14T01:17:02.284Z] Login Succeeded [2024-05-14T01:17:02.284Z] ****.io [2024-05-14T01:17:02.284Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-14T01:17:02.542Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-14T01:17:02.542Z] Configure a credential helper to remove this warning. See [2024-05-14T01:17:02.542Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-14T01:17:02.542Z] [2024-05-14T01:17:02.542Z] Login Succeeded [2024-05-14T01:17:02.542Z] ---> ****-login.sh ends [Pipeline] } [2024-05-14T01:17:02.549Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-05-14T01:17:02.597Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-14T01:17:02.622Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2024-05-14T01:17:02.622Z] 1eee846d515ad1ad777188f96f1acf46ba88b479 [2024-05-14T01:17:02.622Z] 3.1.1-dev.1 [2024-05-14T01:17:02.622Z] 1eee846d515ad1ad777188f96f1acf46ba88b479-3.1.1-dev.1 [2024-05-14T01:17:02.622Z] napa [2024-05-14T01:17:02.622Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-14T01:17:02.961Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:1eee846d515ad1ad777188f96f1acf46ba88b479 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-14T01:17:03.289Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:1eee846d515ad1ad777188f96f1acf46ba88b479 [2024-05-14T01:17:03.289Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2024-05-14T01:17:03.289Z] 68608cf5d047: Preparing [2024-05-14T01:17:03.289Z] c2a533d2c7d8: Preparing [2024-05-14T01:17:03.289Z] 04661894b392: Preparing [2024-05-14T01:17:03.289Z] 313ddc274872: Preparing [2024-05-14T01:17:03.289Z] 8d35d4976b98: Preparing [2024-05-14T01:17:03.289Z] aedc3bda2944: Preparing [2024-05-14T01:17:03.289Z] aedc3bda2944: Waiting [2024-05-14T01:17:03.289Z] 68608cf5d047: Pushed [2024-05-14T01:17:03.289Z] c2a533d2c7d8: Pushed [2024-05-14T01:17:03.289Z] 8d35d4976b98: Pushed [2024-05-14T01:17:03.289Z] aedc3bda2944: Layer already exists [2024-05-14T01:17:03.856Z] 313ddc274872: Pushed [2024-05-14T01:17:06.385Z] 04661894b392: Pushed [2024-05-14T01:17:06.385Z] 1eee846d515ad1ad777188f96f1acf46ba88b479: digest: sha256:918e8c95d3632adc92de513e984f91c6d2bdbfca32938a83e2798e4ecea53f75 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-14T01:17:06.708Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.1.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-14T01:17:07.033Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.1.1-dev.1 [2024-05-14T01:17:07.033Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2024-05-14T01:17:07.033Z] 68608cf5d047: Preparing [2024-05-14T01:17:07.033Z] c2a533d2c7d8: Preparing [2024-05-14T01:17:07.033Z] 04661894b392: Preparing [2024-05-14T01:17:07.033Z] 313ddc274872: Preparing [2024-05-14T01:17:07.033Z] 8d35d4976b98: Preparing [2024-05-14T01:17:07.033Z] aedc3bda2944: Preparing [2024-05-14T01:17:07.033Z] aedc3bda2944: Waiting [2024-05-14T01:17:07.033Z] 313ddc274872: Layer already exists [2024-05-14T01:17:07.033Z] 68608cf5d047: Layer already exists [2024-05-14T01:17:07.033Z] 04661894b392: Layer already exists [2024-05-14T01:17:07.033Z] 8d35d4976b98: Layer already exists [2024-05-14T01:17:07.033Z] c2a533d2c7d8: Layer already exists [2024-05-14T01:17:07.033Z] aedc3bda2944: Layer already exists [2024-05-14T01:17:07.033Z] 3.1.1-dev.1: digest: sha256:918e8c95d3632adc92de513e984f91c6d2bdbfca32938a83e2798e4ecea53f75 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-14T01:17:07.366Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:1eee846d515ad1ad777188f96f1acf46ba88b479-3.1.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-14T01:17:07.688Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:1eee846d515ad1ad777188f96f1acf46ba88b479-3.1.1-dev.1 [2024-05-14T01:17:07.688Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2024-05-14T01:17:07.688Z] 68608cf5d047: Preparing [2024-05-14T01:17:07.688Z] c2a533d2c7d8: Preparing [2024-05-14T01:17:07.688Z] 04661894b392: Preparing [2024-05-14T01:17:07.688Z] 313ddc274872: Preparing [2024-05-14T01:17:07.688Z] 8d35d4976b98: Preparing [2024-05-14T01:17:07.688Z] aedc3bda2944: Preparing [2024-05-14T01:17:07.688Z] aedc3bda2944: Waiting [2024-05-14T01:17:07.688Z] 04661894b392: Layer already exists [2024-05-14T01:17:07.688Z] c2a533d2c7d8: Layer already exists [2024-05-14T01:17:07.688Z] 68608cf5d047: Layer already exists [2024-05-14T01:17:07.688Z] 8d35d4976b98: Layer already exists [2024-05-14T01:17:07.688Z] 313ddc274872: Layer already exists [2024-05-14T01:17:07.688Z] aedc3bda2944: Layer already exists [2024-05-14T01:17:07.688Z] 1eee846d515ad1ad777188f96f1acf46ba88b479-3.1.1-dev.1: digest: sha256:918e8c95d3632adc92de513e984f91c6d2bdbfca32938a83e2798e4ecea53f75 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-14T01:17:08.019Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:napa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-14T01:17:08.343Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:napa [2024-05-14T01:17:08.343Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2024-05-14T01:17:08.343Z] 68608cf5d047: Preparing [2024-05-14T01:17:08.343Z] c2a533d2c7d8: Preparing [2024-05-14T01:17:08.343Z] 04661894b392: Preparing [2024-05-14T01:17:08.343Z] 313ddc274872: Preparing [2024-05-14T01:17:08.343Z] 8d35d4976b98: Preparing [2024-05-14T01:17:08.343Z] aedc3bda2944: Preparing [2024-05-14T01:17:08.343Z] aedc3bda2944: Waiting [2024-05-14T01:17:08.343Z] 68608cf5d047: Layer already exists [2024-05-14T01:17:08.343Z] 313ddc274872: Layer already exists [2024-05-14T01:17:08.343Z] 04661894b392: Layer already exists [2024-05-14T01:17:08.343Z] 8d35d4976b98: Layer already exists [2024-05-14T01:17:08.343Z] c2a533d2c7d8: Layer already exists [2024-05-14T01:17:08.343Z] aedc3bda2944: Layer already exists [2024-05-14T01:17:08.343Z] napa: digest: sha256:918e8c95d3632adc92de513e984f91c6d2bdbfca32938a83e2798e4ecea53f75 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-05-14T01:17:08.419Z] ===================================================== [Pipeline] echo [2024-05-14T01:17:08.434Z] taggedImages: [2024-05-14T01:17:08.434Z] - nexus3.edgexfoundry.org:10004/device-modbus:1eee846d515ad1ad777188f96f1acf46ba88b479 [2024-05-14T01:17:08.434Z] - nexus3.edgexfoundry.org:10004/device-modbus:3.1.1-dev.1 [2024-05-14T01:17:08.434Z] - nexus3.edgexfoundry.org:10004/device-modbus:1eee846d515ad1ad777188f96f1acf46ba88b479-3.1.1-dev.1 [2024-05-14T01:17:08.434Z] - nexus3.edgexfoundry.org:10004/device-modbus:napa [Pipeline] } [Pipeline] // script [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-14T01:17:08.851Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-14T01:17:08.852Z] [2024-05-14T01:17:08.852Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-14T01:17:09.152Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-14T01:17:09.152Z] latest: Pulling from edgex-lftools-log-publisher [2024-05-14T01:17:09.152Z] 5eb5b503b376: Pulling fs layer [2024-05-14T01:17:09.152Z] 5c69ac0246d0: Pulling fs layer [2024-05-14T01:17:09.152Z] ec43610c2a17: Pulling fs layer [2024-05-14T01:17:09.152Z] 3a2ae6a8a46f: Pulling fs layer [2024-05-14T01:17:09.152Z] 33b1e0a273af: Pulling fs layer [2024-05-14T01:17:09.152Z] 5d3b04190fa2: Pulling fs layer [2024-05-14T01:17:09.152Z] 2f39f015ded8: Pulling fs layer [2024-05-14T01:17:09.152Z] 3a2ae6a8a46f: Waiting [2024-05-14T01:17:09.152Z] 33b1e0a273af: Waiting [2024-05-14T01:17:09.152Z] 5d3b04190fa2: Waiting [2024-05-14T01:17:09.152Z] 2f39f015ded8: Waiting [2024-05-14T01:17:09.152Z] 5c69ac0246d0: Download complete [2024-05-14T01:17:09.152Z] 3a2ae6a8a46f: Verifying Checksum [2024-05-14T01:17:09.152Z] 3a2ae6a8a46f: Download complete [2024-05-14T01:17:09.152Z] 33b1e0a273af: Verifying Checksum [2024-05-14T01:17:09.152Z] 33b1e0a273af: Download complete [2024-05-14T01:17:09.152Z] ec43610c2a17: Verifying Checksum [2024-05-14T01:17:09.152Z] ec43610c2a17: Download complete [2024-05-14T01:17:09.152Z] 5d3b04190fa2: Verifying Checksum [2024-05-14T01:17:09.152Z] 5d3b04190fa2: Download complete [2024-05-14T01:17:09.411Z] 5eb5b503b376: Verifying Checksum [2024-05-14T01:17:09.411Z] 5eb5b503b376: Download complete [2024-05-14T01:17:09.974Z] 2f39f015ded8: Verifying Checksum [2024-05-14T01:17:09.975Z] 2f39f015ded8: Download complete [2024-05-14T01:17:10.540Z] 5eb5b503b376: Pull complete [2024-05-14T01:17:10.798Z] 5c69ac0246d0: Pull complete [2024-05-14T01:17:11.377Z] ec43610c2a17: Pull complete [2024-05-14T01:17:11.377Z] 3a2ae6a8a46f: Pull complete [2024-05-14T01:17:11.635Z] 33b1e0a273af: Pull complete [2024-05-14T01:17:11.635Z] 5d3b04190fa2: Pull complete [2024-05-14T01:17:15.817Z] 2f39f015ded8: Pull complete [2024-05-14T01:17:15.817Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-05-14T01:17:15.817Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-14T01:17:15.817Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-14T01:17:15.917Z] prd-ubuntu20.04-docker-8c-8g-124 does not seem to be running inside a container [2024-05-14T01:17:15.938Z] $ 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/gexfoundry_device-modbus-go_napa -v /w/workspace/gexfoundry_device-modbus-go_napa:/w/workspace/gexfoundry_device-modbus-go_napa:rw,z -v /w/workspace/gexfoundry_device-modbus-go_napa@tmp:/w/workspace/gexfoundry_device-modbus-go_napa@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-05-14T01:17:20.096Z] $ docker top 5c654ea652300f076c3ef334edc03d9176f4ad1e209a336d797ae5a9a094ebf3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-14T01:17:20.476Z] ---> job-cost.sh [2024-05-14T01:17:20.476Z] lf-activate-venv: SKIPPING [2024-05-14T01:17:20.476Z] INFO: No Stack... [2024-05-14T01:17:20.737Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-05-14T01:17:20.996Z] INFO: Archiving Costs [Pipeline] sh [2024-05-14T01:17:21.283Z] + cat /w/workspace/gexfoundry_device-modbus-go_napa/archives/cost.csv [2024-05-14T01:17:21.283Z] + cut -d, -f6 [Pipeline] lock [2024-05-14T01:17:21.298Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-napa-3-stack-cost] [2024-05-14T01:17:21.307Z] Resource [jenkins-edgexfoundry-device-modbus-go-napa-3-stack-cost] did not exist. Created. [2024-05-14T01:17:21.316Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-napa-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-05-14T01:17:21.636Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-05-14T01:17:21.701Z] Stashed 1 file(s) [Pipeline] } [2024-05-14T01:17:21.713Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-napa-3-stack-cost] [Pipeline] // lock [Pipeline] } [2024-05-14T01:17:21.739Z] $ docker stop --time=1 5c654ea652300f076c3ef334edc03d9176f4ad1e209a336d797ae5a9a094ebf3 [2024-05-14T01:17:22.892Z] $ docker rm -f --volumes 5c654ea652300f076c3ef334edc03d9176f4ad1e209a336d797ae5a9a094ebf3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-05-14T01:19:13.056Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-127 in /w/workspace/gexfoundry_device-modbus-go_napa [Pipeline] { [Pipeline] ws [2024-05-14T01:19:13.073Z] Running in /w/workspace/device-modbus-go/3 [Pipeline] { [Pipeline] checkout [2024-05-14T01:19:16.129Z] The recommended git tool is: git [2024-05-14T01:19:21.301Z] using credential edgex-jenkins-ssh [2024-05-14T01:19:21.325Z] Cloning the remote Git repository [2024-05-14T01:19:21.376Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2024-05-14T01:19:21.488Z] > git init /w/workspace/device-modbus-go/3 # timeout=10 [2024-05-14T01:19:21.678Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-05-14T01:19:21.679Z] > git --version # timeout=10 [2024-05-14T01:19:21.706Z] > git --version # 'git version 2.25.1' [2024-05-14T01:19:21.710Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-05-14T01:19:21.892Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-05-14T01:19:24.287Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-05-14T01:19:24.318Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-05-14T01:19:25.323Z] Avoid second fetch [2024-05-14T01:19:25.324Z] Checking out Revision 1eee846d515ad1ad777188f96f1acf46ba88b479 (napa) [2024-05-14T01:19:25.342Z] > git config core.sparsecheckout # timeout=10 [2024-05-14T01:19:25.415Z] > git checkout -f 1eee846d515ad1ad777188f96f1acf46ba88b479 # timeout=10 [2024-05-14T01:19:26.888Z] Commit message: "Merge pull request #551 from cloudxxx8/bump-napa-sdk" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-14T01:19:31.628Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-05-14T01:19:31.628Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-05-14T01:19:31.628Z] Dload Upload Total Spent Left Speed [2024-05-14T01:19:31.628Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 227k 0 --:--:-- --:--:-- --:--:-- 223k [Pipeline] sh [2024-05-14T01:19:31.968Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-05-14T01:19:32.310Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-05-14T01:19:32.311Z] + sudo tee /etc/docker/daemon.new [2024-05-14T01:19:32.311Z] { [2024-05-14T01:19:32.311Z] "registry-mirrors": [ [2024-05-14T01:19:32.311Z] "https://nexus3.edgexfoundry.org:10001" [2024-05-14T01:19:32.311Z] ], [2024-05-14T01:19:32.311Z] "bip": "10.250.0.254/24", [2024-05-14T01:19:32.311Z] "hosts": [ [2024-05-14T01:19:32.311Z] "tcp://0.0.0.0:5555", [2024-05-14T01:19:32.311Z] "unix:///var/run/docker.sock" [2024-05-14T01:19:32.311Z] ], [2024-05-14T01:19:32.311Z] "mtu": 1458, [2024-05-14T01:19:32.311Z] "selinux-enabled": true, [2024-05-14T01:19:32.311Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-05-14T01:19:32.311Z] } [Pipeline] sh [2024-05-14T01:19:32.645Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-05-14T01:19:32.988Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-14T01:19:51.283Z] provisioning config files... [2024-05-14T01:19:51.316Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/3@tmp/config16605880308419104034tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-14T01:19:51.798Z] ---> ****-login.sh [2024-05-14T01:19:51.798Z] nexus3.edgexfoundry.org:10001 [2024-05-14T01:19:52.388Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-14T01:19:52.388Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-14T01:19:52.388Z] Configure a credential helper to remove this warning. See [2024-05-14T01:19:52.388Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-14T01:19:52.388Z] [2024-05-14T01:19:52.389Z] Login Succeeded [2024-05-14T01:19:52.666Z] nexus3.edgexfoundry.org:10002 [2024-05-14T01:19:52.666Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-14T01:19:52.936Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-14T01:19:52.936Z] Configure a credential helper to remove this warning. See [2024-05-14T01:19:52.936Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-14T01:19:52.936Z] [2024-05-14T01:19:52.936Z] Login Succeeded [2024-05-14T01:19:52.936Z] nexus3.edgexfoundry.org:10003 [2024-05-14T01:19:53.207Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-14T01:19:53.207Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-14T01:19:53.207Z] Configure a credential helper to remove this warning. See [2024-05-14T01:19:53.207Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-14T01:19:53.207Z] [2024-05-14T01:19:53.207Z] Login Succeeded [2024-05-14T01:19:53.207Z] nexus3.edgexfoundry.org:10004 [2024-05-14T01:19:53.478Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-14T01:19:53.748Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-14T01:19:53.748Z] Configure a credential helper to remove this warning. See [2024-05-14T01:19:53.748Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-14T01:19:53.748Z] [2024-05-14T01:19:53.748Z] Login Succeeded [2024-05-14T01:19:53.748Z] ****.io [2024-05-14T01:19:54.017Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-14T01:19:54.286Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-14T01:19:54.286Z] Configure a credential helper to remove this warning. See [2024-05-14T01:19:54.286Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-14T01:19:54.286Z] [2024-05-14T01:19:54.286Z] Login Succeeded [2024-05-14T01:19:54.286Z] ---> ****-login.sh ends [Pipeline] } [2024-05-14T01:19:54.299Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-05-14T01:19:54.681Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh [2024-05-14T01:19:55.013Z] + grep ^go [0-9].[0-9]* go.mod [2024-05-14T01:19:55.013Z] + cut -d -f 2 [Pipeline] echo [2024-05-14T01:19:55.085Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-14T01:19:55.102Z] ========================================================= [2024-05-14T01:19:55.102Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts] [2024-05-14T01:19:55.102Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-14T01:19:55.474Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts --build-arg MAKE=echo noop --target=builder . [2024-05-14T01:19:58.080Z] Sending build context to Docker daemon 38.39MB [2024-05-14T01:19:58.080Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-05-14T01:19:58.080Z] Step 2/10 : FROM ${BASE} AS builder [2024-05-14T01:19:58.080Z] 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-05-14T01:19:58.080Z] c6b39de5b339: Pulling fs layer [2024-05-14T01:19:58.080Z] a69c41024577: Pulling fs layer [2024-05-14T01:19:58.080Z] d6de4b400683: Pulling fs layer [2024-05-14T01:19:58.080Z] 35cb2a7552d0: Pulling fs layer [2024-05-14T01:19:58.080Z] 4f4fb700ef54: Pulling fs layer [2024-05-14T01:19:58.080Z] 9e011611b7f5: Pulling fs layer [2024-05-14T01:19:58.080Z] 3bd174042beb: Pulling fs layer [2024-05-14T01:19:58.080Z] 4476f39b5e91: Pulling fs layer [2024-05-14T01:19:58.080Z] 9e011611b7f5: Waiting [2024-05-14T01:19:58.080Z] 3bd174042beb: Waiting [2024-05-14T01:19:58.080Z] 4476f39b5e91: Waiting [2024-05-14T01:19:58.080Z] 35cb2a7552d0: Waiting [2024-05-14T01:19:58.080Z] 4f4fb700ef54: Waiting [2024-05-14T01:19:58.080Z] a69c41024577: Download complete [2024-05-14T01:19:58.080Z] 35cb2a7552d0: Verifying Checksum [2024-05-14T01:19:58.080Z] 35cb2a7552d0: Download complete [2024-05-14T01:19:58.361Z] 4f4fb700ef54: Verifying Checksum [2024-05-14T01:19:58.361Z] 4f4fb700ef54: Download complete [2024-05-14T01:19:58.361Z] c6b39de5b339: Verifying Checksum [2024-05-14T01:19:58.361Z] c6b39de5b339: Download complete [2024-05-14T01:19:58.361Z] 9e011611b7f5: Verifying Checksum [2024-05-14T01:19:58.361Z] 9e011611b7f5: Download complete [2024-05-14T01:19:58.952Z] 4476f39b5e91: Verifying Checksum [2024-05-14T01:19:58.952Z] 4476f39b5e91: Download complete [2024-05-14T01:19:59.226Z] c6b39de5b339: Pull complete [2024-05-14T01:20:00.196Z] a69c41024577: Pull complete [2024-05-14T01:20:00.468Z] d6de4b400683: Verifying Checksum [2024-05-14T01:20:00.468Z] d6de4b400683: Download complete [2024-05-14T01:20:01.434Z] 3bd174042beb: Verifying Checksum [2024-05-14T01:20:13.845Z] d6de4b400683: Pull complete [2024-05-14T01:20:13.845Z] 35cb2a7552d0: Pull complete [2024-05-14T01:20:13.845Z] 4f4fb700ef54: Pull complete [2024-05-14T01:20:13.845Z] 9e011611b7f5: Pull complete [2024-05-14T01:20:23.975Z] 3bd174042beb: Pull complete [2024-05-14T01:20:24.244Z] 4476f39b5e91: Pull complete [2024-05-14T01:20:24.244Z] Digest: sha256:3ff92c4bac7a686c9bee1a691493ca45b01f27f0008dd3b8e347e1ca93528f02 [2024-05-14T01:20:24.244Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts [2024-05-14T01:20:24.244Z] ---> 981a0608b64a [2024-05-14T01:20:24.244Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-05-14T01:20:26.190Z] ---> Running in 3b792c60f948 [2024-05-14T01:20:26.470Z] Removing intermediate container 3b792c60f948 [2024-05-14T01:20:26.470Z] ---> 3fa67a4b96c6 [2024-05-14T01:20:26.470Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-14T01:20:26.470Z] ---> Running in 2f5122ef8354 [2024-05-14T01:20:26.745Z] Removing intermediate container 2f5122ef8354 [2024-05-14T01:20:26.745Z] ---> 8d0ff24273c8 [2024-05-14T01:20:26.745Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-05-14T01:20:27.018Z] ---> Running in bb5398ff71bc [2024-05-14T01:20:27.977Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-14T01:20:28.575Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-14T01:20:29.539Z] (1/8) Installing openssh-keygen (9.3_p2-r1) [2024-05-14T01:20:29.539Z] (2/8) Installing libedit (20221030.3.1-r1) [2024-05-14T01:20:29.539Z] (3/8) Installing openssh-client-common (9.3_p2-r1) [2024-05-14T01:20:29.539Z] (4/8) Installing openssh-client-default (9.3_p2-r1) [2024-05-14T01:20:29.539Z] (5/8) Installing openssh-sftp-server (9.3_p2-r1) [2024-05-14T01:20:29.539Z] (6/8) Installing openssh-server-common (9.3_p2-r1) [2024-05-14T01:20:29.539Z] (7/8) Installing openssh-server (9.3_p2-r1) [2024-05-14T01:20:29.810Z] (8/8) Installing openssh (9.3_p2-r1) [2024-05-14T01:20:29.810Z] Executing busybox-1.36.1-r5.trigger [2024-05-14T01:20:29.810Z] OK: 272 MiB in 60 packages [2024-05-14T01:20:30.777Z] Removing intermediate container bb5398ff71bc [2024-05-14T01:20:30.777Z] ---> 02ef30ab9154 [2024-05-14T01:20:30.777Z] Step 6/10 : WORKDIR /device-modbus-go [2024-05-14T01:20:31.046Z] ---> Running in 8a155316f82d [2024-05-14T01:20:31.312Z] Removing intermediate container 8a155316f82d [2024-05-14T01:20:31.312Z] ---> c8379b758e9b [2024-05-14T01:20:31.312Z] Step 7/10 : COPY go.mod vendor* ./ [2024-05-14T01:20:37.951Z] ---> df325a3a82f8 [2024-05-14T01:20:37.951Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-14T01:20:37.951Z] ---> Running in 7be1663a2c5c [2024-05-14T01:21:45.816Z] Removing intermediate container 7be1663a2c5c [2024-05-14T01:21:45.816Z] ---> 4fef628dfa10 [2024-05-14T01:21:45.816Z] Step 9/10 : COPY . . [2024-05-14T01:21:45.816Z] ---> a0a44aeba978 [2024-05-14T01:21:45.816Z] Step 10/10 : RUN ${MAKE} [2024-05-14T01:21:45.816Z] ---> Running in 90ebbed84bf4 [2024-05-14T01:21:45.816Z] noop [2024-05-14T01:21:45.816Z] Removing intermediate container 90ebbed84bf4 [2024-05-14T01:21:45.816Z] ---> 997d3bb00fca [2024-05-14T01:21:45.816Z] Successfully built 997d3bb00fca [2024-05-14T01:21:45.816Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-14T01:21:46.174Z] + docker inspect -f . ci-base-image-arm64 [2024-05-14T01:21:46.174Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-14T01:21:46.378Z] prd-ubuntu20.04-docker-arm64-4c-16g-127 does not seem to be running inside a container [2024-05-14T01:21:46.446Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/3 -v /w/workspace/device-modbus-go/3:/w/workspace/device-modbus-go/3:rw,z -v /w/workspace/device-modbus-go/3@tmp:/w/workspace/device-modbus-go/3@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 ******** ci-base-image-arm64 cat [2024-05-14T01:21:47.572Z] $ docker top effe7eeddd9a2d92e1c2fd9dad4be0c91b960ed98aab7fa7b64d20da77b663a2 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-14T01:21:48.409Z] + go version [2024-05-14T01:21:48.409Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-05-14T01:21:48.432Z] $ docker stop --time=1 effe7eeddd9a2d92e1c2fd9dad4be0c91b960ed98aab7fa7b64d20da77b663a2 [2024-05-14T01:21:50.024Z] $ docker rm -f --volumes effe7eeddd9a2d92e1c2fd9dad4be0c91b960ed98aab7fa7b64d20da77b663a2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-14T01:21:50.603Z] + docker inspect -f . ci-base-image-arm64 [2024-05-14T01:21:50.603Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-14T01:21:50.800Z] prd-ubuntu20.04-docker-arm64-4c-16g-127 does not seem to be running inside a container [2024-05-14T01:21:50.869Z] $ 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/3 -v /w/workspace/device-modbus-go/3:/w/workspace/device-modbus-go/3:rw,z -v /w/workspace/device-modbus-go/3@tmp:/w/workspace/device-modbus-go/3@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 ******** ci-base-image-arm64 cat [2024-05-14T01:21:51.996Z] $ docker top eae0a9ea433cb94b93cc3df6a836aae3539e85cfb8f8876efc1c1fc338ec3f84 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-14T01:21:52.496Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/3 [Pipeline] fileExists [Pipeline] sh [2024-05-14T01:21:53.107Z] + make test [2024-05-14T01:21:53.107Z] go test ./... -coverprofile=coverage.out [2024-05-14T01:21:56.453Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-05-14T01:23:48.122Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2024-05-14T01:23:49.076Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.081s coverage: 47.9% of statements [2024-05-14T01:23:50.040Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-05-14T01:23:50.040Z] go vet ./... [2024-05-14T01:24:16.697Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-05-14T01:24:16.697Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-05-14T01:24:16.697Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-05-14T01:24:16.714Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh [2024-05-14T01:24:17.356Z] + go mod tidy [Pipeline] } [2024-05-14T01:24:20.701Z] $ docker stop --time=1 eae0a9ea433cb94b93cc3df6a836aae3539e85cfb8f8876efc1c1fc338ec3f84 [2024-05-14T01:24:22.478Z] $ docker rm -f --volumes eae0a9ea433cb94b93cc3df6a836aae3539e85cfb8f8876efc1c1fc338ec3f84 [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-14T01:24:23.715Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-05-14T01:24:23.741Z] Warning: overwriting stash ‘coverage-report’ [2024-05-14T01:24:24.611Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-14T01:24:25.005Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-05-14T01:24:25.313Z] + ls -al . [2024-05-14T01:24:25.313Z] total 192 [2024-05-14T01:24:25.313Z] drwxrwxr-x 9 jenkins jenkins 4096 May 14 01:21 . [2024-05-14T01:24:25.313Z] drwxrwxr-x 4 jenkins jenkins 4096 May 14 01:19 .. [2024-05-14T01:24:25.313Z] -rw-rw-r-- 1 jenkins jenkins 140 May 14 01:19 .dockerignore [2024-05-14T01:24:25.313Z] drwxrwxr-x 8 jenkins jenkins 4096 May 14 01:19 .git [2024-05-14T01:24:25.313Z] drwxrwxr-x 3 jenkins jenkins 4096 May 14 01:19 .github [2024-05-14T01:24:25.313Z] -rw-rw-r-- 1 jenkins jenkins 258 May 14 01:19 .gitignore [2024-05-14T01:24:25.313Z] -rw-rw-r-- 1 jenkins jenkins 41 May 14 01:19 .golangci.yml [2024-05-14T01:24:25.313Z] -rw-rw-r-- 1 jenkins jenkins 11120 May 14 01:19 Attribution.txt [2024-05-14T01:24:25.313Z] -rw-rw-r-- 1 jenkins jenkins 16388 May 14 01:19 CHANGELOG.md [2024-05-14T01:24:25.313Z] -rw-rw-r-- 1 jenkins jenkins 1474 May 14 01:19 Dockerfile [2024-05-14T01:24:25.313Z] -rw-rw-r-- 1 jenkins jenkins 677 May 14 01:19 GOVERNANCE.md [2024-05-14T01:24:25.313Z] -rw-rw-r-- 1 jenkins jenkins 658 May 14 01:19 Jenkinsfile [2024-05-14T01:24:25.313Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 14 01:19 LICENSE [2024-05-14T01:24:25.313Z] -rw-rw-r-- 1 jenkins jenkins 1936 May 14 01:19 Makefile [2024-05-14T01:24:25.313Z] -rw-rw-r-- 1 jenkins jenkins 622 May 14 01:19 OWNERS.md [2024-05-14T01:24:25.313Z] -rw-rw-r-- 1 jenkins jenkins 4463 May 14 01:19 README.md [2024-05-14T01:24:25.313Z] -rw-rw-r-- 1 jenkins jenkins 11 May 14 01:15 VERSION [2024-05-14T01:24:25.313Z] drwxrwxr-x 2 jenkins jenkins 4096 May 14 01:19 bin [2024-05-14T01:24:25.313Z] drwxrwxr-x 3 jenkins jenkins 4096 May 14 01:19 cmd [2024-05-14T01:24:25.313Z] -rw-r--r-- 1 jenkins jenkins 24334 May 14 01:23 coverage.out [2024-05-14T01:24:25.313Z] -rw-rw-r-- 1 jenkins jenkins 3865 May 14 01:19 go.mod [2024-05-14T01:24:25.313Z] -rw-rw-r-- 1 jenkins jenkins 34537 May 14 01:19 go.sum [2024-05-14T01:24:25.313Z] drwxrwxr-x 3 jenkins jenkins 4096 May 14 01:19 internal [2024-05-14T01:24:25.313Z] drwxrwxr-x 2 jenkins jenkins 4096 May 14 01:19 simulator [2024-05-14T01:24:25.313Z] drwxrwxr-x 6 jenkins jenkins 4096 May 14 01:19 vendor [2024-05-14T01:24:25.313Z] -rw-rw-r-- 1 jenkins jenkins 229 May 14 01:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-14T01:24:25.654Z] + 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=1eee846d515ad1ad777188f96f1acf46ba88b479 --label arch=arm64 --label version=3.1.1-dev.1 . [2024-05-14T01:24:28.233Z] Sending build context to Docker daemon 38.41MB [2024-05-14T01:24:28.233Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2024-05-14T01:24:28.233Z] Step 2/23 : FROM ${BASE} AS builder [2024-05-14T01:24:28.233Z] ---> 997d3bb00fca [2024-05-14T01:24:28.233Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-05-14T01:24:28.233Z] ---> Running in 81b87682b63c [2024-05-14T01:24:28.499Z] Removing intermediate container 81b87682b63c [2024-05-14T01:24:28.499Z] ---> 93a13c41e025 [2024-05-14T01:24:28.499Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-14T01:24:28.499Z] ---> Running in 877b8abbc82e [2024-05-14T01:24:28.767Z] Removing intermediate container 877b8abbc82e [2024-05-14T01:24:28.767Z] ---> f605046b5604 [2024-05-14T01:24:28.767Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-05-14T01:24:28.767Z] ---> Running in 39498a06108f [2024-05-14T01:24:29.728Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-14T01:24:30.309Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-14T01:24:31.264Z] OK: 272 MiB in 60 packages [2024-05-14T01:24:31.851Z] Removing intermediate container 39498a06108f [2024-05-14T01:24:31.851Z] ---> 2d1dc4afe963 [2024-05-14T01:24:31.851Z] Step 6/23 : WORKDIR /device-modbus-go [2024-05-14T01:24:31.851Z] ---> Running in e378ba3dc6b8 [2024-05-14T01:24:32.118Z] Removing intermediate container e378ba3dc6b8 [2024-05-14T01:24:32.118Z] ---> 01ceed092a5e [2024-05-14T01:24:32.118Z] Step 7/23 : COPY go.mod vendor* ./ [2024-05-14T01:24:40.324Z] ---> 9992bbf44560 [2024-05-14T01:24:40.324Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-14T01:24:40.324Z] ---> Running in 6deba13c1357 [2024-05-14T01:24:40.324Z] skipping... [2024-05-14T01:24:40.914Z] Removing intermediate container 6deba13c1357 [2024-05-14T01:24:40.914Z] ---> e037a9f69b96 [2024-05-14T01:24:40.914Z] Step 9/23 : COPY . . [2024-05-14T01:24:49.120Z] ---> a83e387d87c7 [2024-05-14T01:24:49.120Z] Step 10/23 : RUN ${MAKE} [2024-05-14T01:24:49.120Z] ---> Running in 8424905fb864 [2024-05-14T01:24:49.120Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.1.1-dev.1 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.1" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2024-05-14T01:26:55.770Z] Removing intermediate container 8424905fb864 [2024-05-14T01:26:55.770Z] ---> 089a067680d2 [2024-05-14T01:26:55.770Z] Step 11/23 : FROM alpine:3.18 [2024-05-14T01:26:55.770Z] 3.18: Pulling from library/alpine [2024-05-14T01:26:55.770Z] c6b39de5b339: Already exists [2024-05-14T01:26:55.770Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-05-14T01:26:55.770Z] Status: Downloaded newer image for alpine:3.18 [2024-05-14T01:26:55.770Z] ---> 33abbf032149 [2024-05-14T01:26:55.770Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2024-05-14T01:26:55.770Z] ---> Running in 36579096a1e5 [2024-05-14T01:26:55.770Z] Removing intermediate container 36579096a1e5 [2024-05-14T01:26:55.770Z] ---> 5eef9d834785 [2024-05-14T01:26:55.770Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-05-14T01:26:55.770Z] ---> Running in 4e160d28ac9d [2024-05-14T01:26:55.770Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-14T01:26:56.035Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-14T01:26:56.990Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-05-14T01:26:56.990Z] Executing busybox-1.36.1-r5.trigger [2024-05-14T01:26:56.990Z] OK: 8 MiB in 16 packages [2024-05-14T01:26:57.948Z] Removing intermediate container 4e160d28ac9d [2024-05-14T01:26:57.948Z] ---> c6967f1db9a2 [2024-05-14T01:26:57.948Z] Step 14/23 : RUN apk --no-cache upgrade [2024-05-14T01:26:57.948Z] ---> Running in 70d8e9d4181f [2024-05-14T01:26:58.903Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-14T01:26:59.168Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-14T01:27:00.123Z] Upgrading critical system libraries and apk-tools: [2024-05-14T01:27:00.123Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-05-14T01:27:00.124Z] Executing busybox-1.36.1-r5.trigger [2024-05-14T01:27:00.386Z] Continuing the upgrade transaction with new apk-tools: [2024-05-14T01:27:00.386Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-14T01:27:00.654Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-14T01:27:01.617Z] (1/3) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-05-14T01:27:01.617Z] (2/3) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.4-r6) [2024-05-14T01:27:01.617Z] (3/3) Upgrading libssl3 (3.1.4-r5 -> 3.1.4-r6) [2024-05-14T01:27:01.617Z] OK: 8 MiB in 16 packages [2024-05-14T01:27:02.580Z] Removing intermediate container 70d8e9d4181f [2024-05-14T01:27:02.580Z] ---> 745adcca5ce5 [2024-05-14T01:27:02.580Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-05-14T01:27:04.527Z] ---> c11aa6a3c28d [2024-05-14T01:27:04.527Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-05-14T01:27:04.793Z] ---> 30fdce16b300 [2024-05-14T01:27:04.793Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-05-14T01:27:05.384Z] ---> 47e4ca3102b2 [2024-05-14T01:27:05.384Z] Step 18/23 : EXPOSE 59901 [2024-05-14T01:27:05.384Z] ---> Running in 3f40954842fc [2024-05-14T01:27:05.655Z] Removing intermediate container 3f40954842fc [2024-05-14T01:27:05.655Z] ---> fa41947eb24e [2024-05-14T01:27:05.655Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-05-14T01:27:05.655Z] ---> Running in b816b85c32e2 [2024-05-14T01:27:05.932Z] Removing intermediate container b816b85c32e2 [2024-05-14T01:27:05.932Z] ---> 2f4ea062947c [2024-05-14T01:27:05.932Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-05-14T01:27:06.199Z] ---> Running in 5a734b00dbd4 [2024-05-14T01:27:06.465Z] Removing intermediate container 5a734b00dbd4 [2024-05-14T01:27:06.465Z] ---> 672e1fabfebc [2024-05-14T01:27:06.465Z] Step 21/23 : LABEL arch=arm64 [2024-05-14T01:27:06.465Z] ---> Running in 8c9ddd3ba318 [2024-05-14T01:27:06.734Z] Removing intermediate container 8c9ddd3ba318 [2024-05-14T01:27:06.734Z] ---> 711bc0a80996 [2024-05-14T01:27:06.734Z] Step 22/23 : LABEL git_sha=1eee846d515ad1ad777188f96f1acf46ba88b479 [2024-05-14T01:27:06.734Z] ---> Running in 408c99dd205a [2024-05-14T01:27:07.001Z] Removing intermediate container 408c99dd205a [2024-05-14T01:27:07.001Z] ---> aac82aa81182 [2024-05-14T01:27:07.001Z] Step 23/23 : LABEL version=3.1.1-dev.1 [2024-05-14T01:27:07.268Z] ---> Running in 43e6ef3f765a [2024-05-14T01:27:07.536Z] Removing intermediate container 43e6ef3f765a [2024-05-14T01:27:07.536Z] ---> f2f8ab1eea68 [2024-05-14T01:27:07.536Z] [Warning] One or more build-args [ARCH] were not consumed [2024-05-14T01:27:08.120Z] Successfully built f2f8ab1eea68 [2024-05-14T01:27:08.120Z] Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-14T01:27:08.290Z] provisioning config files... [2024-05-14T01:27:08.304Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/3@tmp/config2280713250526780282tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-14T01:27:08.652Z] ---> ****-login.sh [2024-05-14T01:27:08.652Z] nexus3.edgexfoundry.org:10001 [2024-05-14T01:27:08.922Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-14T01:27:08.922Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-14T01:27:08.922Z] Configure a credential helper to remove this warning. See [2024-05-14T01:27:08.922Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-14T01:27:08.922Z] [2024-05-14T01:27:08.922Z] Login Succeeded [2024-05-14T01:27:08.922Z] nexus3.edgexfoundry.org:10002 [2024-05-14T01:27:09.192Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-14T01:27:09.461Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-14T01:27:09.461Z] Configure a credential helper to remove this warning. See [2024-05-14T01:27:09.461Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-14T01:27:09.461Z] [2024-05-14T01:27:09.461Z] Login Succeeded [2024-05-14T01:27:09.461Z] nexus3.edgexfoundry.org:10003 [2024-05-14T01:27:09.729Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-14T01:27:09.729Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-14T01:27:09.730Z] Configure a credential helper to remove this warning. See [2024-05-14T01:27:09.730Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-14T01:27:09.730Z] [2024-05-14T01:27:09.730Z] Login Succeeded [2024-05-14T01:27:09.730Z] nexus3.edgexfoundry.org:10004 [2024-05-14T01:27:09.998Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-14T01:27:10.266Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-14T01:27:10.266Z] Configure a credential helper to remove this warning. See [2024-05-14T01:27:10.266Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-14T01:27:10.266Z] [2024-05-14T01:27:10.266Z] Login Succeeded [2024-05-14T01:27:10.266Z] ****.io [2024-05-14T01:27:10.535Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-14T01:27:10.804Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-14T01:27:10.804Z] Configure a credential helper to remove this warning. See [2024-05-14T01:27:10.804Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-14T01:27:10.804Z] [2024-05-14T01:27:10.804Z] Login Succeeded [2024-05-14T01:27:10.804Z] ---> ****-login.sh ends [Pipeline] } [2024-05-14T01:27:10.817Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-05-14T01:27:10.863Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-14T01:27:10.897Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2024-05-14T01:27:10.897Z] 1eee846d515ad1ad777188f96f1acf46ba88b479 [2024-05-14T01:27:10.897Z] 3.1.1-dev.1 [2024-05-14T01:27:10.897Z] 1eee846d515ad1ad777188f96f1acf46ba88b479-3.1.1-dev.1 [2024-05-14T01:27:10.897Z] napa [2024-05-14T01:27:10.897Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-14T01:27:11.285Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:1eee846d515ad1ad777188f96f1acf46ba88b479 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-14T01:27:11.651Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:1eee846d515ad1ad777188f96f1acf46ba88b479 [2024-05-14T01:27:11.651Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2024-05-14T01:27:11.651Z] 2b55ed07adcc: Preparing [2024-05-14T01:27:11.651Z] 93aef40db7bc: Preparing [2024-05-14T01:27:11.651Z] 0377809b8e14: Preparing [2024-05-14T01:27:11.651Z] 90e4b0c237a7: Preparing [2024-05-14T01:27:11.651Z] 65a78a8b612b: Preparing [2024-05-14T01:27:11.651Z] 7c504f21be85: Preparing [2024-05-14T01:27:11.651Z] 7c504f21be85: Waiting [2024-05-14T01:27:11.921Z] 93aef40db7bc: Pushed [2024-05-14T01:27:11.921Z] 2b55ed07adcc: Pushed [2024-05-14T01:27:11.921Z] 7c504f21be85: Layer already exists [2024-05-14T01:27:11.921Z] 65a78a8b612b: Pushed [2024-05-14T01:27:13.344Z] 90e4b0c237a7: Pushed [2024-05-14T01:27:18.721Z] 0377809b8e14: Pushed [2024-05-14T01:27:18.721Z] 1eee846d515ad1ad777188f96f1acf46ba88b479: digest: sha256:557060152b65db1fc4cbbccd970140bb1cfbb1d7229b7c9b1cf3d8efac5343c1 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-14T01:27:19.080Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-14T01:27:19.445Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.1-dev.1 [2024-05-14T01:27:19.445Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2024-05-14T01:27:19.445Z] 2b55ed07adcc: Preparing [2024-05-14T01:27:19.445Z] 93aef40db7bc: Preparing [2024-05-14T01:27:19.445Z] 0377809b8e14: Preparing [2024-05-14T01:27:19.445Z] 90e4b0c237a7: Preparing [2024-05-14T01:27:19.445Z] 65a78a8b612b: Preparing [2024-05-14T01:27:19.445Z] 7c504f21be85: Preparing [2024-05-14T01:27:19.445Z] 7c504f21be85: Waiting [2024-05-14T01:27:19.445Z] 2b55ed07adcc: Layer already exists [2024-05-14T01:27:19.445Z] 93aef40db7bc: Layer already exists [2024-05-14T01:27:19.445Z] 90e4b0c237a7: Layer already exists [2024-05-14T01:27:19.445Z] 0377809b8e14: Layer already exists [2024-05-14T01:27:19.445Z] 65a78a8b612b: Layer already exists [2024-05-14T01:27:19.445Z] 7c504f21be85: Layer already exists [2024-05-14T01:27:19.445Z] 3.1.1-dev.1: digest: sha256:557060152b65db1fc4cbbccd970140bb1cfbb1d7229b7c9b1cf3d8efac5343c1 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-14T01:27:20.080Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:1eee846d515ad1ad777188f96f1acf46ba88b479-3.1.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-14T01:27:20.493Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:1eee846d515ad1ad777188f96f1acf46ba88b479-3.1.1-dev.1 [2024-05-14T01:27:20.493Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2024-05-14T01:27:20.493Z] 2b55ed07adcc: Preparing [2024-05-14T01:27:20.493Z] 93aef40db7bc: Preparing [2024-05-14T01:27:20.493Z] 0377809b8e14: Preparing [2024-05-14T01:27:20.493Z] 90e4b0c237a7: Preparing [2024-05-14T01:27:20.493Z] 65a78a8b612b: Preparing [2024-05-14T01:27:20.493Z] 7c504f21be85: Preparing [2024-05-14T01:27:20.493Z] 7c504f21be85: Waiting [2024-05-14T01:27:20.493Z] 90e4b0c237a7: Layer already exists [2024-05-14T01:27:20.493Z] 93aef40db7bc: Layer already exists [2024-05-14T01:27:20.493Z] 0377809b8e14: Layer already exists [2024-05-14T01:27:20.493Z] 65a78a8b612b: Layer already exists [2024-05-14T01:27:20.493Z] 2b55ed07adcc: Layer already exists [2024-05-14T01:27:20.493Z] 7c504f21be85: Layer already exists [2024-05-14T01:27:20.493Z] 1eee846d515ad1ad777188f96f1acf46ba88b479-3.1.1-dev.1: digest: sha256:557060152b65db1fc4cbbccd970140bb1cfbb1d7229b7c9b1cf3d8efac5343c1 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-14T01:27:20.892Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:napa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-14T01:27:21.258Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:napa [2024-05-14T01:27:21.258Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2024-05-14T01:27:21.258Z] 2b55ed07adcc: Preparing [2024-05-14T01:27:21.258Z] 93aef40db7bc: Preparing [2024-05-14T01:27:21.258Z] 0377809b8e14: Preparing [2024-05-14T01:27:21.258Z] 90e4b0c237a7: Preparing [2024-05-14T01:27:21.258Z] 65a78a8b612b: Preparing [2024-05-14T01:27:21.258Z] 7c504f21be85: Preparing [2024-05-14T01:27:21.258Z] 7c504f21be85: Waiting [2024-05-14T01:27:21.258Z] 65a78a8b612b: Layer already exists [2024-05-14T01:27:21.258Z] 93aef40db7bc: Layer already exists [2024-05-14T01:27:21.258Z] 2b55ed07adcc: Layer already exists [2024-05-14T01:27:21.258Z] 90e4b0c237a7: Layer already exists [2024-05-14T01:27:21.258Z] 0377809b8e14: Layer already exists [2024-05-14T01:27:21.258Z] 7c504f21be85: Layer already exists [2024-05-14T01:27:21.526Z] napa: digest: sha256:557060152b65db1fc4cbbccd970140bb1cfbb1d7229b7c9b1cf3d8efac5343c1 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-05-14T01:27:21.595Z] ===================================================== [Pipeline] echo [2024-05-14T01:27:21.608Z] taggedImages: [2024-05-14T01:27:21.608Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:1eee846d515ad1ad777188f96f1acf46ba88b479 [2024-05-14T01:27:21.608Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.1-dev.1 [2024-05-14T01:27:21.608Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:1eee846d515ad1ad777188f96f1acf46ba88b479-3.1.1-dev.1 [2024-05-14T01:27:21.608Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:napa [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-14T01:27:22.024Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-14T01:27:22.024Z] [2024-05-14T01:27:22.024Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-14T01:27:22.368Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-14T01:27:22.368Z] arm64: Pulling from edgex-lftools-log-publisher [2024-05-14T01:27:22.368Z] 8998bd30e6a1: Pulling fs layer [2024-05-14T01:27:22.368Z] 04944245beec: Pulling fs layer [2024-05-14T01:27:22.368Z] 699f458cf7ca: Pulling fs layer [2024-05-14T01:27:22.368Z] 765212b225bb: Pulling fs layer [2024-05-14T01:27:22.368Z] f23df028b6ca: Pulling fs layer [2024-05-14T01:27:22.368Z] d65c8cfc05b1: Pulling fs layer [2024-05-14T01:27:22.368Z] 2437ff75d9bd: Pulling fs layer [2024-05-14T01:27:22.368Z] f23df028b6ca: Waiting [2024-05-14T01:27:22.368Z] d65c8cfc05b1: Waiting [2024-05-14T01:27:22.368Z] 2437ff75d9bd: Waiting [2024-05-14T01:27:22.368Z] 765212b225bb: Waiting [2024-05-14T01:27:22.642Z] 04944245beec: Verifying Checksum [2024-05-14T01:27:22.642Z] 04944245beec: Download complete [2024-05-14T01:27:22.642Z] 765212b225bb: Verifying Checksum [2024-05-14T01:27:22.642Z] 765212b225bb: Download complete [2024-05-14T01:27:22.642Z] f23df028b6ca: Verifying Checksum [2024-05-14T01:27:22.642Z] f23df028b6ca: Download complete [2024-05-14T01:27:22.642Z] d65c8cfc05b1: Verifying Checksum [2024-05-14T01:27:22.642Z] d65c8cfc05b1: Download complete [2024-05-14T01:27:22.918Z] 699f458cf7ca: Verifying Checksum [2024-05-14T01:27:22.918Z] 699f458cf7ca: Download complete [2024-05-14T01:27:23.192Z] 8998bd30e6a1: Verifying Checksum [2024-05-14T01:27:23.192Z] 8998bd30e6a1: Download complete [2024-05-14T01:27:25.776Z] 2437ff75d9bd: Verifying Checksum [2024-05-14T01:27:25.776Z] 2437ff75d9bd: Download complete [2024-05-14T01:27:28.352Z] 8998bd30e6a1: Pull complete [2024-05-14T01:27:28.616Z] 04944245beec: Pull complete [2024-05-14T01:27:30.024Z] 699f458cf7ca: Pull complete [2024-05-14T01:27:30.291Z] 765212b225bb: Pull complete [2024-05-14T01:27:31.250Z] f23df028b6ca: Pull complete [2024-05-14T01:27:31.518Z] d65c8cfc05b1: Pull complete [2024-05-14T01:27:49.718Z] 2437ff75d9bd: Pull complete [2024-05-14T01:27:49.718Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-05-14T01:27:49.718Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-14T01:27:49.718Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-14T01:27:49.920Z] prd-ubuntu20.04-docker-arm64-4c-16g-127 does not seem to be running inside a container [2024-05-14T01:27:49.978Z] $ 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/3 -v /w/workspace/device-modbus-go/3:/w/workspace/device-modbus-go/3:rw,z -v /w/workspace/device-modbus-go/3@tmp:/w/workspace/device-modbus-go/3@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-05-14T01:27:52.690Z] $ docker top 66263e3be12b02168b4d819f137cdcb0c08bf99dfb2c547c0973a94b6268546d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-14T01:27:53.243Z] ---> job-cost.sh [2024-05-14T01:27:53.511Z] lf-activate-venv: SKIPPING [2024-05-14T01:27:53.511Z] INFO: No Stack... [2024-05-14T01:27:53.778Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-05-14T01:27:54.757Z] INFO: Archiving Costs [Pipeline] sh [2024-05-14T01:27:55.395Z] + cat /w/workspace/device-modbus-go/3/archives/cost.csv [2024-05-14T01:27:55.395Z] + cut -d, -f6 [Pipeline] lock [2024-05-14T01:27:55.416Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-napa-3-stack-cost] [2024-05-14T01:27:55.423Z] Resource [jenkins-edgexfoundry-device-modbus-go-napa-3-stack-cost] did not exist. Created. [2024-05-14T01:27:55.431Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-napa-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-05-14T01:27:56.098Z] /w/workspace/device-modbus-go/3@tmp/durable-13bed429/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-05-14T01:27:56.742Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-05-14T01:27:56.757Z] Warning: overwriting stash ‘stack-cost’ [2024-05-14T01:27:57.196Z] Stashed 1 file(s) [Pipeline] } [2024-05-14T01:27:57.208Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-napa-3-stack-cost] [Pipeline] // lock [Pipeline] } [2024-05-14T01:27:57.234Z] $ docker stop --time=1 66263e3be12b02168b4d819f137cdcb0c08bf99dfb2c547c0973a94b6268546d [2024-05-14T01:27:58.765Z] $ docker rm -f --volumes 66263e3be12b02168b4d819f137cdcb0c08bf99dfb2c547c0973a94b6268546d [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-14T01:27:59.267Z] provisioning config files... [2024-05-14T01:27:59.276Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_napa@tmp/config14517109271672539838tmp [Pipeline] { [Pipeline] sh [2024-05-14T01:27:59.581Z] + set +x [2024-05-14T01:27:59.581Z] + + curl -s https://codecov.io/bash [2024-05-14T01:27:59.581Z] bash -s -- [2024-05-14T01:27:59.581Z] [2024-05-14T01:27:59.581Z] _____ _ [2024-05-14T01:27:59.581Z] / ____| | | [2024-05-14T01:27:59.581Z] | | ___ __| | ___ ___ _____ __ [2024-05-14T01:27:59.581Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-05-14T01:27:59.581Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-05-14T01:27:59.581Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-05-14T01:27:59.581Z] Bash-1.0.6 [2024-05-14T01:27:59.581Z] [2024-05-14T01:27:59.581Z] [2024-05-14T01:27:59.581Z] ==> git version 2.25.1 found [2024-05-14T01:27:59.581Z] ==> 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-14T01:27:59.581Z] Release-Date: 2020-01-08 [2024-05-14T01:27:59.581Z] 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-14T01:27:59.581Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-05-14T01:27:59.581Z] ==> Jenkins CI detected. [2024-05-14T01:27:59.581Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_napa [2024-05-14T01:27:59.581Z] project root: . [2024-05-14T01:27:59.581Z] --> token set from env [2024-05-14T01:27:59.581Z] Yaml found at: vendor/github.com/labstack/echo/v4/codecov.yml [2024-05-14T01:27:59.581Z] ==> Running gcov in . (disable via -X gcov) [2024-05-14T01:27:59.840Z] ==> Python coveragepy not found [2024-05-14T01:27:59.841Z] ==> Searching for coverage reports in: [2024-05-14T01:27:59.841Z] + . [2024-05-14T01:27:59.841Z] -> Found 1 reports [2024-05-14T01:27:59.841Z] ==> Detecting git/mercurial file structure [2024-05-14T01:27:59.841Z] ==> Reading reports [2024-05-14T01:27:59.841Z] + ./coverage.out bytes=24334 [2024-05-14T01:27:59.841Z] ==> Appending adjustments [2024-05-14T01:27:59.841Z] https://docs.codecov.io/docs/fixing-reports [2024-05-14T01:27:59.841Z] + Found adjustments [2024-05-14T01:27:59.841Z] ==> Gzipping contents [2024-05-14T01:27:59.841Z] 16K /tmp/codecov.rjhHJG.gz [2024-05-14T01:27:59.841Z] ==> Uploading reports [2024-05-14T01:27:59.841Z] url: https://codecov.io [2024-05-14T01:27:59.841Z] query: branch=napa&commit=1eee846d515ad1ad777188f96f1acf46ba88b479&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fnapa%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2024-05-14T01:27:59.841Z] -> Pinging Codecov [2024-05-14T01:27:59.841Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=napa&commit=1eee846d515ad1ad777188f96f1acf46ba88b479&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fnapa%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2024-05-14T01:28:00.100Z] -> Uploading to [2024-05-14T01:28:00.101Z] https://storage.googleapis.com/codecov/v4/raw/2024-05-14/55DBCA73C666E3227836607328DD7E49/1eee846d515ad1ad777188f96f1acf46ba88b479/5b1f28bf-acbe-4389-b86e-a1a3650ab96d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240514%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240514T012759Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ec2011854436b4c38c088659e682866250a16a87f6b2e3d267d4ad6f455ec17b [2024-05-14T01:28:00.101Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-05-14T01:28:00.101Z] Dload Upload Total Spent Left Speed [2024-05-14T01:28:00.360Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15662 0 0 100 15662 0 64452 --:--:-- --:--:-- --:--:-- 64452 [2024-05-14T01:28:00.360Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/1eee846d515ad1ad777188f96f1acf46ba88b479 [Pipeline] } [2024-05-14T01:28:00.368Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2024-05-14T01:28:00.528Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2024-05-14T01:28:00.542Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-14T01:28:00.848Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2024-05-14T01:28:00.848Z] [2024-05-14T01:28:00.848Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-14T01:28:01.155Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2024-05-14T01:28:01.155Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2024-05-14T01:28:01.155Z] df9b9388f04a: Pulling fs layer [2024-05-14T01:28:01.155Z] 52dc419b0ee2: Pulling fs layer [2024-05-14T01:28:01.155Z] 25bc292e5bac: Pulling fs layer [2024-05-14T01:28:01.155Z] 114826534d7a: Pulling fs layer [2024-05-14T01:28:01.155Z] 4657fd5d0bcf: Pulling fs layer [2024-05-14T01:28:01.155Z] 6ad1cebc031e: Pulling fs layer [2024-05-14T01:28:01.155Z] 8a3aa393b2d8: Pulling fs layer [2024-05-14T01:28:01.155Z] 114826534d7a: Waiting [2024-05-14T01:28:01.155Z] 8a3aa393b2d8: Waiting [2024-05-14T01:28:01.155Z] 4657fd5d0bcf: Waiting [2024-05-14T01:28:01.155Z] 6ad1cebc031e: Waiting [2024-05-14T01:28:01.155Z] 25bc292e5bac: Verifying Checksum [2024-05-14T01:28:01.155Z] 25bc292e5bac: Download complete [2024-05-14T01:28:01.155Z] 52dc419b0ee2: Download complete [2024-05-14T01:28:01.155Z] 4657fd5d0bcf: Verifying Checksum [2024-05-14T01:28:01.155Z] 4657fd5d0bcf: Download complete [2024-05-14T01:28:01.155Z] df9b9388f04a: Download complete [2024-05-14T01:28:01.415Z] 6ad1cebc031e: Verifying Checksum [2024-05-14T01:28:01.415Z] 6ad1cebc031e: Download complete [2024-05-14T01:28:01.415Z] df9b9388f04a: Pull complete [2024-05-14T01:28:01.415Z] 52dc419b0ee2: Pull complete [2024-05-14T01:28:01.415Z] 25bc292e5bac: Pull complete [2024-05-14T01:28:01.993Z] 114826534d7a: Verifying Checksum [2024-05-14T01:28:01.993Z] 114826534d7a: Download complete [2024-05-14T01:28:01.993Z] 8a3aa393b2d8: Verifying Checksum [2024-05-14T01:28:01.993Z] 8a3aa393b2d8: Download complete [2024-05-14T01:28:05.284Z] 114826534d7a: Pull complete [2024-05-14T01:28:05.284Z] 4657fd5d0bcf: Pull complete [2024-05-14T01:28:05.542Z] 6ad1cebc031e: Pull complete [2024-05-14T01:28:08.103Z] 8a3aa393b2d8: Pull complete [2024-05-14T01:28:08.363Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2024-05-14T01:28:08.363Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2024-05-14T01:28:08.363Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-14T01:28:08.465Z] prd-ubuntu20.04-docker-8c-8g-124 does not seem to be running inside a container [2024-05-14T01:28:08.498Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_napa -v /w/workspace/gexfoundry_device-modbus-go_napa:/w/workspace/gexfoundry_device-modbus-go_napa:rw,z -v /w/workspace/gexfoundry_device-modbus-go_napa@tmp:/w/workspace/gexfoundry_device-modbus-go_napa@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2024-05-14T01:28:13.556Z] $ docker top 3594e5cd742c0920b0da060bab11fd6a2a04d2ca13eda7077ab38408e76ef56e -eo pid,comm [Pipeline] { [Pipeline] echo [2024-05-14T01:28:13.635Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:napa' [Pipeline] sh [2024-05-14T01:28:13.921Z] + set -o pipefail [2024-05-14T01:28:13.921Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:napa' [2024-05-14T01:28:16.457Z] [2024-05-14T01:28:16.457Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_napa (github.com/edgexfoundry/device-modbus-go)... [2024-05-14T01:28:16.457Z] [2024-05-14T01:28:16.457Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/8dd50ca0-bdc5-4bae-9837-cf39eb4e0593/history/9194e352-7ce7-4a08-b6c2-278f1db87868 [2024-05-14T01:28:16.457Z] [2024-05-14T01:28:16.457Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2024-05-14T01:28:16.457Z] [2024-05-14T01:28:16.457Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2024-05-14T01:28:16.457Z] [2024-05-14T01:28:16.457Z] [2024-05-14T01:28:16.457Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2024-05-14T01:28:16.457Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2024-05-14T01:28:16.457Z] More details here: https://snyk.co/ue1NS [2024-05-14T01:28:16.457Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2024-05-14T01:28:16.457Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2024-05-14T01:28:16.460Z] $ docker stop --time=1 3594e5cd742c0920b0da060bab11fd6a2a04d2ca13eda7077ab38408e76ef56e [2024-05-14T01:28:17.784Z] $ docker rm -f --volumes 3594e5cd742c0920b0da060bab11fd6a2a04d2ca13eda7077ab38408e76ef56e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [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) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-05-14T01:28:18.374Z] + git log --format=format:%s -1 1eee846d515ad1ad777188f96f1acf46ba88b479 [Pipeline] sh [2024-05-14T01:28:18.997Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-05-14T01:28:18.997Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-14T01:28:19.294Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-14T01:28:19.294Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-14T01:28:19.367Z] prd-ubuntu20.04-docker-8c-8g-124 does not seem to be running inside a container [2024-05-14T01:28:19.388Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_napa -v /w/workspace/gexfoundry_device-modbus-go_napa:/w/workspace/gexfoundry_device-modbus-go_napa:rw,z -v /w/workspace/gexfoundry_device-modbus-go_napa@tmp:/w/workspace/gexfoundry_device-modbus-go_napa@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-14T01:28:19.737Z] $ docker top 834fabaddfa977ad5c7039ccf4e01647acad2f80817a7aa9bc42fd691d2f7bda -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-05-14T01:28:19.837Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-05-14T01:28:19.837Z] [ssh-agent] Looking for ssh-agent implementation... [2024-05-14T01:28:19.943Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-05-14T01:28:19.939Z] $ docker exec 834fabaddfa977ad5c7039ccf4e01647acad2f80817a7aa9bc42fd691d2f7bda ssh-agent [2024-05-14T01:28:20.054Z] SSH_AUTH_SOCK=/tmp/ssh-E6YVsGtaAhJU/agent.32 [2024-05-14T01:28:20.054Z] SSH_AGENT_PID=38 [2024-05-14T01:28:20.058Z] Running ssh-add (command line suppressed) [2024-05-14T01:28:20.167Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_napa@tmp/private_key_1747231538319590088.key (/w/workspace/gexfoundry_device-modbus-go_napa@tmp/private_key_1747231538319590088.key) [2024-05-14T01:28:20.186Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-05-14T01:28:20.478Z] + git semver tag [2024-05-14T01:28:20.737Z] 2024-05-14 01:28:20,647 [run_tag] DEBUG tag force:False [2024-05-14T01:28:20.737Z] 2024-05-14 01:28:20,647 [check_head_tag] DEBUG check head tag [2024-05-14T01:28:20.737Z] 2024-05-14 01:28:20,648 [execute] INFO git cat-file --batch-check [2024-05-14T01:28:20.737Z] 2024-05-14 01:28:20,649 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_napa, universal_newlines=False, shell=None, istream=) [2024-05-14T01:28:20.737Z] 2024-05-14 01:28:20,652 [execute] INFO git cat-file --batch [2024-05-14T01:28:20.737Z] 2024-05-14 01:28:20,652 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_napa, universal_newlines=False, shell=None, istream=) [2024-05-14T01:28:20.737Z] 2024-05-14 01:28:20,668 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_napa/.semver/napa [2024-05-14T01:28:20.737Z] 2024-05-14 01:28:20,668 [execute] INFO git tag -a v3.1.1-dev.1 -m v3.1.1-dev.1 [2024-05-14T01:28:20.737Z] 2024-05-14 01:28:20,669 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.1-dev.1', '-m', 'v3.1.1-dev.1'], cwd=/w/workspace/gexfoundry_device-modbus-go_napa, universal_newlines=False, shell=None, istream=None) [2024-05-14T01:28:20.737Z] 2024-05-14 01:28:20,673 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_napa/.semver/napa [2024-05-14T01:28:20.737Z] 3.1.1-dev.1 [Pipeline] } [2024-05-14T01:28:20.737Z] $ docker exec --env ******** --env ******** 834fabaddfa977ad5c7039ccf4e01647acad2f80817a7aa9bc42fd691d2f7bda ssh-agent -k [2024-05-14T01:28:20.854Z] unset SSH_AUTH_SOCK; [2024-05-14T01:28:20.854Z] unset SSH_AGENT_PID; [2024-05-14T01:28:20.855Z] echo Agent pid 38 killed; [2024-05-14T01:28:20.881Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-05-14T01:28:21.276Z] + git semver [Pipeline] } [2024-05-14T01:28:21.566Z] $ docker stop --time=1 834fabaddfa977ad5c7039ccf4e01647acad2f80817a7aa9bc42fd691d2f7bda [2024-05-14T01:28:22.845Z] $ docker rm -f --volumes 834fabaddfa977ad5c7039ccf4e01647acad2f80817a7aa9bc42fd691d2f7bda [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-14T01:28:23.279Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-05-14T01:28:23.279Z] [2024-05-14T01:28:23.279Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-14T01:28:23.589Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-05-14T01:28:23.589Z] 0.23.1-centos7: Pulling from edgex-lftools [2024-05-14T01:28:23.589Z] ab5ef0e58194: Pulling fs layer [2024-05-14T01:28:23.589Z] 9712f1f96733: Pulling fs layer [2024-05-14T01:28:23.589Z] 63f879dbbcfc: Pulling fs layer [2024-05-14T01:28:23.589Z] 0d9ebad4ef96: Pulling fs layer [2024-05-14T01:28:23.589Z] e9a5061849ea: Pulling fs layer [2024-05-14T01:28:23.589Z] d747dcd14b5f: Pulling fs layer [2024-05-14T01:28:23.589Z] 2de7ff778b66: Pulling fs layer [2024-05-14T01:28:23.589Z] d747dcd14b5f: Waiting [2024-05-14T01:28:23.589Z] 2de7ff778b66: Waiting [2024-05-14T01:28:23.589Z] 0d9ebad4ef96: Waiting [2024-05-14T01:28:23.589Z] e9a5061849ea: Waiting [2024-05-14T01:28:23.589Z] 9712f1f96733: Verifying Checksum [2024-05-14T01:28:23.589Z] 9712f1f96733: Download complete [2024-05-14T01:28:23.847Z] 63f879dbbcfc: Verifying Checksum [2024-05-14T01:28:23.847Z] 63f879dbbcfc: Download complete [2024-05-14T01:28:24.105Z] ab5ef0e58194: Download complete [2024-05-14T01:28:24.105Z] e9a5061849ea: Verifying Checksum [2024-05-14T01:28:24.105Z] e9a5061849ea: Download complete [2024-05-14T01:28:24.105Z] d747dcd14b5f: Verifying Checksum [2024-05-14T01:28:24.105Z] d747dcd14b5f: Download complete [2024-05-14T01:28:24.105Z] 0d9ebad4ef96: Verifying Checksum [2024-05-14T01:28:24.105Z] 0d9ebad4ef96: Download complete [2024-05-14T01:28:24.105Z] 2de7ff778b66: Verifying Checksum [2024-05-14T01:28:24.105Z] 2de7ff778b66: Download complete [2024-05-14T01:28:26.633Z] ab5ef0e58194: Pull complete [2024-05-14T01:28:26.633Z] 9712f1f96733: Pull complete [2024-05-14T01:28:27.198Z] 63f879dbbcfc: Pull complete [2024-05-14T01:28:30.476Z] 0d9ebad4ef96: Pull complete [2024-05-14T01:28:30.734Z] e9a5061849ea: Pull complete [2024-05-14T01:28:30.734Z] d747dcd14b5f: Pull complete [2024-05-14T01:28:32.108Z] 2de7ff778b66: Pull complete [2024-05-14T01:28:32.108Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2024-05-14T01:28:32.108Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-05-14T01:28:32.108Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-14T01:28:32.207Z] prd-ubuntu20.04-docker-8c-8g-124 does not seem to be running inside a container [2024-05-14T01:28:32.234Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_napa -v /w/workspace/gexfoundry_device-modbus-go_napa:/w/workspace/gexfoundry_device-modbus-go_napa:rw,z -v /w/workspace/gexfoundry_device-modbus-go_napa@tmp:/w/workspace/gexfoundry_device-modbus-go_napa@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-lftools:0.23.1-centos7 cat [2024-05-14T01:28:37.863Z] $ docker top e34fac7ee2282e4386b71e7ab972972861a9bd99a0da966259176ed24a295e29 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2024-05-14T01:28:37.941Z] provisioning config files... [2024-05-14T01:28:37.951Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_napa@tmp/config5981299968732215953tmp [2024-05-14T01:28:37.961Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_napa@tmp/config1196356195955703238tmp [2024-05-14T01:28:37.970Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_napa@tmp/config10725512922423971803tmp [Pipeline] { [Pipeline] echo [2024-05-14T01:28:38.011Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-14T01:28:38.308Z] ---> sigul-configuration.sh [2024-05-14T01:28:38.308Z] gpg: directory `/root/.gnupg' created [2024-05-14T01:28:38.308Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2024-05-14T01:28:38.308Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2024-05-14T01:28:38.308Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2024-05-14T01:28:38.309Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2024-05-14T01:28:38.309Z] gpg: CAST5 encrypted data [2024-05-14T01:28:38.309Z] gpg: encrypted with 1 passphrase [2024-05-14T01:28:38.309Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2024-05-14T01:28:38.602Z] + mkdir /home/jenkins [2024-05-14T01:28:38.602Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2024-05-14T01:28:38.896Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2024-05-14T01:28:38.908Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-14T01:28:39.201Z] ---> sigul-install.sh [2024-05-14T01:28:39.201Z] Sigul already installed; skipping installation. [Pipeline] sh [2024-05-14T01:28:39.501Z] + git tag --list [2024-05-14T01:28:39.501Z] 0.7.1 [2024-05-14T01:28:39.501Z] v1.0.0 [2024-05-14T01:28:39.501Z] v1.1.0 [2024-05-14T01:28:39.501Z] v1.1.1 [2024-05-14T01:28:39.501Z] v1.2.2 [2024-05-14T01:28:39.501Z] v1.3.0 [2024-05-14T01:28:39.501Z] v1.3.1 [2024-05-14T01:28:39.501Z] v2.0.0 [2024-05-14T01:28:39.501Z] v2.1.0 [2024-05-14T01:28:39.501Z] v2.1.1 [2024-05-14T01:28:39.501Z] v2.2.0 [2024-05-14T01:28:39.501Z] v2.3.0 [2024-05-14T01:28:39.501Z] v3.0 [2024-05-14T01:28:39.501Z] v3.0.0 [2024-05-14T01:28:39.501Z] v3.1 [2024-05-14T01:28:39.501Z] v3.1.0 [2024-05-14T01:28:39.501Z] v3.1.0-dev.1 [2024-05-14T01:28:39.501Z] v3.1.0-dev.10 [2024-05-14T01:28:39.501Z] v3.1.0-dev.11 [2024-05-14T01:28:39.501Z] v3.1.0-dev.12 [2024-05-14T01:28:39.501Z] v3.1.0-dev.13 [2024-05-14T01:28:39.501Z] v3.1.0-dev.14 [2024-05-14T01:28:39.501Z] v3.1.0-dev.15 [2024-05-14T01:28:39.501Z] v3.1.0-dev.16 [2024-05-14T01:28:39.501Z] v3.1.0-dev.17 [2024-05-14T01:28:39.501Z] v3.1.0-dev.18 [2024-05-14T01:28:39.501Z] v3.1.0-dev.19 [2024-05-14T01:28:39.501Z] v3.1.0-dev.2 [2024-05-14T01:28:39.501Z] v3.1.0-dev.20 [2024-05-14T01:28:39.501Z] v3.1.0-dev.21 [2024-05-14T01:28:39.501Z] v3.1.0-dev.22 [2024-05-14T01:28:39.501Z] v3.1.0-dev.23 [2024-05-14T01:28:39.501Z] v3.1.0-dev.24 [2024-05-14T01:28:39.501Z] v3.1.0-dev.25 [2024-05-14T01:28:39.501Z] v3.1.0-dev.3 [2024-05-14T01:28:39.501Z] v3.1.0-dev.4 [2024-05-14T01:28:39.501Z] v3.1.0-dev.5 [2024-05-14T01:28:39.501Z] v3.1.0-dev.6 [2024-05-14T01:28:39.501Z] v3.1.0-dev.7 [2024-05-14T01:28:39.501Z] v3.1.0-dev.8 [2024-05-14T01:28:39.501Z] v3.1.0-dev.9 [2024-05-14T01:28:39.501Z] v3.1.1-dev.1 [2024-05-14T01:28:39.501Z] v3.2.0-dev.1 [2024-05-14T01:28:39.501Z] v3.2.0-dev.10 [2024-05-14T01:28:39.501Z] v3.2.0-dev.11 [2024-05-14T01:28:39.501Z] v3.2.0-dev.2 [2024-05-14T01:28:39.501Z] v3.2.0-dev.3 [2024-05-14T01:28:39.501Z] v3.2.0-dev.4 [2024-05-14T01:28:39.501Z] v3.2.0-dev.5 [2024-05-14T01:28:39.501Z] v3.2.0-dev.6 [2024-05-14T01:28:39.501Z] v3.2.0-dev.7 [2024-05-14T01:28:39.501Z] v3.2.0-dev.8 [2024-05-14T01:28:39.501Z] v3.2.0-dev.9 [Pipeline] sh [2024-05-14T01:28:39.799Z] + lftools sign git-tag v3.1.1-dev.1 [2024-05-14T01:28:40.370Z] Signing Git tag with Sigul... [2024-05-14T01:28:40.370Z] Signing v3.1.1-dev.1 [Pipeline] echo [2024-05-14T01:28:40.957Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-14T01:28:41.250Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2024-05-14T01:28:41.257Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2024-05-14T01:28:41.278Z] $ docker stop --time=1 e34fac7ee2282e4386b71e7ab972972861a9bd99a0da966259176ed24a295e29 [2024-05-14T01:28:42.567Z] $ docker rm -f --volumes e34fac7ee2282e4386b71e7ab972972861a9bd99a0da966259176ed24a295e29 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2024-05-14T01:28:43.032Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-05-14T01:28:43.032Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-14T01:28:43.335Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-14T01:28:43.336Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-14T01:28:43.419Z] prd-ubuntu20.04-docker-8c-8g-124 does not seem to be running inside a container [2024-05-14T01:28:43.443Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_napa -v /w/workspace/gexfoundry_device-modbus-go_napa:/w/workspace/gexfoundry_device-modbus-go_napa:rw,z -v /w/workspace/gexfoundry_device-modbus-go_napa@tmp:/w/workspace/gexfoundry_device-modbus-go_napa@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-14T01:28:43.794Z] $ docker top fd6ac9e36574be693e80b79d7948aa5137d125f980dadbaf950e9ec2f11c52ff -eo pid,comm [2024-05-14T01:28:43.851Z] 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-14T01:28:43.851Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-05-14T01:28:43.915Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-05-14T01:28:43.915Z] [ssh-agent] Looking for ssh-agent implementation... [2024-05-14T01:28:44.041Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-05-14T01:28:44.037Z] $ docker exec fd6ac9e36574be693e80b79d7948aa5137d125f980dadbaf950e9ec2f11c52ff ssh-agent [2024-05-14T01:28:44.155Z] SSH_AUTH_SOCK=/tmp/ssh-APTZI6ACVdGX/agent.32 [2024-05-14T01:28:44.155Z] SSH_AGENT_PID=38 [2024-05-14T01:28:44.158Z] Running ssh-add (command line suppressed) [2024-05-14T01:28:44.247Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_napa@tmp/private_key_13420605603515937223.key (/w/workspace/gexfoundry_device-modbus-go_napa@tmp/private_key_13420605603515937223.key) [2024-05-14T01:28:44.267Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-05-14T01:28:44.554Z] + git semver bump pre [2024-05-14T01:28:44.812Z] 2024-05-14 01:28:44,751 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_napa/.semver/napa [2024-05-14T01:28:44.812Z] 2024-05-14 01:28:44,751 [bump_version] DEBUG bumping version:3.1.1-dev.1 on axis:pre with prefix:dev [2024-05-14T01:28:44.812Z] 2024-05-14 01:28:44,751 [bump_version] DEBUG bumped version:3.1.1-dev.2 [2024-05-14T01:28:44.812Z] 2024-05-14 01:28:44,751 [write_version] DEBUG write version:3.1.1-dev.2 to path:/w/workspace/gexfoundry_device-modbus-go_napa/.semver/napa with force:True [2024-05-14T01:28:44.812Z] 2024-05-14 01:28:44,751 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_napa/.semver/napa [2024-05-14T01:28:44.812Z] 2024-05-14 01:28:44,751 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_napa/.semver/napa [2024-05-14T01:28:44.812Z] 2024-05-14 01:28:44,754 [execute] INFO git cat-file --batch-check [2024-05-14T01:28:44.812Z] 2024-05-14 01:28:44,754 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_napa/.semver, universal_newlines=False, shell=None, istream=) [2024-05-14T01:28:44.812Z] 2024-05-14 01:28:44,760 [execute] INFO git cat-file --batch [2024-05-14T01:28:44.812Z] 2024-05-14 01:28:44,760 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_napa/.semver, universal_newlines=False, shell=None, istream=) [2024-05-14T01:28:44.812Z] 2024-05-14 01:28:44,765 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_napa/.semver/napa [2024-05-14T01:28:44.812Z] 3.1.1-dev.2 [Pipeline] } [2024-05-14T01:28:44.814Z] $ docker exec --env ******** --env ******** fd6ac9e36574be693e80b79d7948aa5137d125f980dadbaf950e9ec2f11c52ff ssh-agent -k [2024-05-14T01:28:44.913Z] unset SSH_AUTH_SOCK; [2024-05-14T01:28:44.914Z] unset SSH_AGENT_PID; [2024-05-14T01:28:44.914Z] echo Agent pid 38 killed; [2024-05-14T01:28:44.932Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-05-14T01:28:45.248Z] + git semver [Pipeline] } [2024-05-14T01:28:45.511Z] $ docker stop --time=1 fd6ac9e36574be693e80b79d7948aa5137d125f980dadbaf950e9ec2f11c52ff [2024-05-14T01:28:46.778Z] $ docker rm -f --volumes fd6ac9e36574be693e80b79d7948aa5137d125f980dadbaf950e9ec2f11c52ff [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-14T01:28:47.145Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-05-14T01:28:47.145Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-14T01:28:47.443Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-14T01:28:47.443Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-14T01:28:47.523Z] prd-ubuntu20.04-docker-8c-8g-124 does not seem to be running inside a container [2024-05-14T01:28:47.549Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_napa -v /w/workspace/gexfoundry_device-modbus-go_napa:/w/workspace/gexfoundry_device-modbus-go_napa:rw,z -v /w/workspace/gexfoundry_device-modbus-go_napa@tmp:/w/workspace/gexfoundry_device-modbus-go_napa@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-14T01:28:47.866Z] $ docker top 9844daa9a1db1a07f62230b998a8c2ed694c9430d9c1f4ab346c0659189e2127 -eo pid,comm [2024-05-14T01:28:47.918Z] 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-14T01:28:47.918Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-05-14T01:28:47.972Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-05-14T01:28:47.973Z] [ssh-agent] Looking for ssh-agent implementation... [2024-05-14T01:28:48.087Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-05-14T01:28:48.083Z] $ docker exec 9844daa9a1db1a07f62230b998a8c2ed694c9430d9c1f4ab346c0659189e2127 ssh-agent [2024-05-14T01:28:48.191Z] SSH_AUTH_SOCK=/tmp/ssh-Yo18b9egh6Bj/agent.32 [2024-05-14T01:28:48.191Z] SSH_AGENT_PID=38 [2024-05-14T01:28:48.195Z] Running ssh-add (command line suppressed) [2024-05-14T01:28:48.288Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_napa@tmp/private_key_2682759755732441401.key (/w/workspace/gexfoundry_device-modbus-go_napa@tmp/private_key_2682759755732441401.key) [2024-05-14T01:28:48.310Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-05-14T01:28:48.606Z] + git semver push [2024-05-14T01:28:48.864Z] 2024-05-14 01:28:48,758 [run_push] DEBUG push [2024-05-14T01:28:48.864Z] 2024-05-14 01:28:48,759 [execute] INFO git cat-file --batch-check [2024-05-14T01:28:48.864Z] 2024-05-14 01:28:48,759 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_napa/.semver, universal_newlines=False, shell=None, istream=) [2024-05-14T01:28:48.864Z] 2024-05-14 01:28:48,763 [execute] INFO git rev-list 18a3a0b11e3cba5cc0c8c2d1238e6d147eeb4907 -- [2024-05-14T01:28:48.864Z] 2024-05-14 01:28:48,763 [execute] DEBUG Popen(['git', 'rev-list', '18a3a0b11e3cba5cc0c8c2d1238e6d147eeb4907', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_napa/.semver, universal_newlines=False, shell=None, istream=None) [2024-05-14T01:28:48.864Z] 2024-05-14 01:28:48,772 [execute] INFO git fetch -v origin [2024-05-14T01:28:48.864Z] 2024-05-14 01:28:48,772 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_napa/.semver, universal_newlines=True, shell=None, istream=None) [2024-05-14T01:28:50.245Z] 2024-05-14 01:28:49,937 [run_push] DEBUG no remote changes detected [2024-05-14T01:28:50.245Z] 2024-05-14 01:28:49,937 [execute] INFO git push origin semver [2024-05-14T01:28:50.245Z] 2024-05-14 01:28:49,938 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_napa/.semver, universal_newlines=False, shell=None, istream=None) [2024-05-14T01:28:51.183Z] 2024-05-14 01:28:50,888 [run_push] DEBUG push all version tags [2024-05-14T01:28:51.183Z] 2024-05-14 01:28:50,888 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2024-05-14T01:28:51.183Z] 2024-05-14 01:28:50,889 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/gexfoundry_device-modbus-go_napa, universal_newlines=False, shell=None, istream=None) [2024-05-14T01:28:51.751Z] 2024-05-14 01:28:51,558 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_napa/.semver/napa [2024-05-14T01:28:51.751Z] 3.1.1-dev.2 [Pipeline] } [2024-05-14T01:28:51.754Z] $ docker exec --env ******** --env ******** 9844daa9a1db1a07f62230b998a8c2ed694c9430d9c1f4ab346c0659189e2127 ssh-agent -k [2024-05-14T01:28:51.846Z] unset SSH_AUTH_SOCK; [2024-05-14T01:28:51.846Z] unset SSH_AGENT_PID; [2024-05-14T01:28:51.846Z] echo Agent pid 38 killed; [2024-05-14T01:28:51.863Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-05-14T01:28:52.188Z] + git semver [Pipeline] } [2024-05-14T01:28:52.453Z] $ docker stop --time=1 9844daa9a1db1a07f62230b998a8c2ed694c9430d9c1f4ab346c0659189e2127 [2024-05-14T01:28:53.739Z] $ docker rm -f --volumes 9844daa9a1db1a07f62230b998a8c2ed694c9430d9c1f4ab346c0659189e2127 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" 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-14T01:28:54.372Z] + [ -d /w/workspace/gexfoundry_device-modbus-go_napa/archives ] [2024-05-14T01:28:54.373Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_napa/archives [2024-05-14T01:28:54.373Z] total 16 [2024-05-14T01:28:54.373Z] drwxr-xr-x 3 root root 4096 May 14 01:17 . [2024-05-14T01:28:54.373Z] drwxrwxr-x 11 jenkins jenkins 4096 May 14 01:28 .. [2024-05-14T01:28:54.373Z] drwxr-xr-x 2 root root 4096 May 14 01:17 cost [2024-05-14T01:28:54.373Z] -rw-r--r-- 1 root root 86 May 14 01:17 cost.csv [2024-05-14T01:28:54.373Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_napa/archives [2024-05-14T01:28:54.373Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_napa/archives [2024-05-14T01:28:54.373Z] total 16 [2024-05-14T01:28:54.373Z] drwxr-xr-x 3 jenkins jenkins 4096 May 14 01:17 . [2024-05-14T01:28:54.373Z] drwxrwxr-x 11 jenkins jenkins 4096 May 14 01:28 .. [2024-05-14T01:28:54.373Z] drwxr-xr-x 2 jenkins jenkins 4096 May 14 01:17 cost [2024-05-14T01:28:54.373Z] -rw-r--r-- 1 jenkins jenkins 86 May 14 01:17 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-05-14T01:28:54.662Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-14T01:28:55.522Z] ---> package-listing.sh [2024-05-14T01:28:55.522Z] ++ facter osfamily [2024-05-14T01:28:55.522Z] ++ tr '[:upper:]' '[:lower:]' [2024-05-14T01:28:55.782Z] + OS_FAMILY=debian [2024-05-14T01:28:55.782Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_napa [2024-05-14T01:28:55.782Z] + START_PACKAGES=/tmp/packages_start.txt [2024-05-14T01:28:55.782Z] + END_PACKAGES=/tmp/packages_end.txt [2024-05-14T01:28:55.782Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-05-14T01:28:55.782Z] + PACKAGES=/tmp/packages_start.txt [2024-05-14T01:28:55.782Z] + '[' /w/workspace/gexfoundry_device-modbus-go_napa ']' [2024-05-14T01:28:55.782Z] + PACKAGES=/tmp/packages_end.txt [2024-05-14T01:28:55.782Z] + case "${OS_FAMILY}" in [2024-05-14T01:28:55.782Z] + dpkg -l [2024-05-14T01:28:55.782Z] + grep '^ii' [2024-05-14T01:28:55.782Z] + '[' -f /tmp/packages_start.txt ']' [2024-05-14T01:28:55.782Z] + '[' -f /tmp/packages_end.txt ']' [2024-05-14T01:28:55.782Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-05-14T01:28:55.782Z] + '[' /w/workspace/gexfoundry_device-modbus-go_napa ']' [2024-05-14T01:28:55.782Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_napa/archives/ [2024-05-14T01:28:55.782Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_napa/archives/ [Pipeline] echo [2024-05-14T01:28:55.794Z] 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/gexfoundry_device-modbus-go_napa/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-05-14T01:28:56.070Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-14T01:28:56.639Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-14T01:28:56.639Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-14T01:28:56.725Z] prd-ubuntu20.04-docker-8c-8g-124 does not seem to be running inside a container [2024-05-14T01:28:56.745Z] $ 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/gexfoundry_device-modbus-go_napa/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_napa -v /w/workspace/gexfoundry_device-modbus-go_napa:/w/workspace/gexfoundry_device-modbus-go_napa:rw,z -v /w/workspace/gexfoundry_device-modbus-go_napa@tmp:/w/workspace/gexfoundry_device-modbus-go_napa@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-lftools-log-publisher:latest cat [2024-05-14T01:28:56.971Z] $ docker top 0e1a9207713e61e2b2aee5f044e2c43384ac5e84a3fc4388592d584deb95b744 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-14T01:28:57.335Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-05-14T01:28:57.620Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-05-14T01:28:57.906Z] + ls /var/log/sa-host [2024-05-14T01:28:57.906Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-14T01:28:57.986Z] provisioning config files... [2024-05-14T01:28:57.997Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_napa@tmp/config1038769228001940036tmp [Pipeline] { [Pipeline] echo [2024-05-14T01:28:58.018Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-14T01:28:58.300Z] ---> create-netrc.sh [Pipeline] } [2024-05-14T01:28:58.307Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-05-14T01:28:58.642Z] ---> python-tools-install.sh [Pipeline] echo [2024-05-14T01:28:58.653Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-14T01:28:58.935Z] ---> sudo-logs.sh [2024-05-14T01:28:58.935Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-05-14T01:28:58.960Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-14T01:28:59.245Z] ---> job-cost.sh [2024-05-14T01:28:59.245Z] lf-activate-venv: SKIPPING [2024-05-14T01:28:59.245Z] DEBUG: total: 0.2199999988079071 [2024-05-14T01:28:59.245Z] INFO: Retrieving Stack Cost... [2024-05-14T01:28:59.506Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-05-14T01:29:00.075Z] INFO: Archiving Costs [Pipeline] echo [2024-05-14T01:29:00.089Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-14T01:29:00.375Z] ---> logs-deploy.sh [2024-05-14T01:29:00.375Z] lf-activate-venv: SKIPPING [2024-05-14T01:29:00.375Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/napa/3 [2024-05-14T01:29:00.375Z] INFO: archiving workspace using pattern(s): [2024-05-14T01:29:01.314Z] Archives upload complete. [2024-05-14T01:29:01.314Z] INFO: archiving logs to Nexus