Push event to branch napa Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7a6fdf0b72787c14a6f52506e36c0d70e9ebdd72 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-ssh3395331107151879200.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f5e0e1f8358a839901f1a476b3a28a62f8570917 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-ssh7641680642728012821.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 f5e0e1f8358a839901f1a476b3a28a62f8570917 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-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-mqtt-go/branches/napa/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6314439396177811370.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f5e0e1f8358a839901f1a476b3a28a62f8570917 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f5e0e1f8358a839901f1a476b3a28a62f8570917 # timeout=10 Commit message: "Merge pull request #449 from jinlinGuan/issue-448" > 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-ssh7304888061710363572.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-mqtt-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-mqtt-go/branches/napa/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5903978777064213279.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-mqtt-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-mqtt-go-settings PROJECT: device-mqtt-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-mqtt 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 Running on prd-ubuntu20.04-docker-8c-8g-686 in /w/workspace/edgexfoundry_device-mqtt-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-mqtt-go.git > git init /w/workspace/edgexfoundry_device-mqtt-go_napa # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-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-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 7a6fdf0b72787c14a6f52506e36c0d70e9ebdd72 (napa) Commit message: "Merge pull request #673 from cloudxxx8/bump-sdk-3.1.1" > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7a6fdf0b72787c14a6f52506e36c0d70e9ebdd72 # timeout=10 > git rev-list --no-walk 6c8369be06a5c5a29b6c14d39caafaee9c646641 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-05-24T08:31:33.319Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-05-24T08:31:33.399Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-05-24T08:31:33.425Z] ========================================================= [2024-05-24T08:31:33.425Z] EdgeX Global Pipelines Version Info [2024-05-24T08:31:33.425Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-05-24T08:31:34.154Z] ------------------- [2024-05-24T08:31:34.155Z] No tag info for: stable [2024-05-24T08:31:34.723Z] ------------------- [2024-05-24T08:31:34.723Z] experimental info: [2024-05-24T08:31:34.723Z] ------------------- [2024-05-24T08:31:34.723Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-05-24T08:31:34.723Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-05-24T08:31:34.723Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-05-24T08:31:34.797Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2024-05-24T08:31:34.818Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2024-05-24T08:31:34.838Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-05-24T08:31:34.862Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-05-24T08:31:34.884Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-05-24T08:31:34.905Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-05-24T08:31:34.927Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-05-24T08:31:34.945Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-05-24T08:31:34.971Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-05-24T08:31:34.990Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-05-24T08:31:35.010Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-05-24T08:31:35.030Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2024-05-24T08:31:35.047Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-05-24T08:31:35.065Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-05-24T08:31:35.087Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-05-24T08:31:35.109Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-05-24T08:31:35.134Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-05-24T08:31:35.156Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-05-24T08:31:35.177Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-05-24T08:31:35.208Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-05-24T08:31:35.233Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-05-24T08:31:35.255Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-05-24T08:31:35.278Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-05-24T08:31:35.303Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-05-24T08:31:35.322Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-05-24T08:31:35.344Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-05-24T08:31:35.366Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-05-24T08:31:35.384Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = napa [Pipeline] echo [2024-05-24T08:31:35.406Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = napa [Pipeline] echo [2024-05-24T08:31:35.425Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = napa [Pipeline] echo [2024-05-24T08:31:35.453Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7a6fdf0b72787c14a6f52506e36c0d70e9ebdd72 [Pipeline] echo [2024-05-24T08:31:35.478Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7a6fdf0 [Pipeline] echo [2024-05-24T08:31:35.502Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-24T08:31:35.555Z] provisioning config files... [2024-05-24T08:31:35.582Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_napa@tmp/config5244991286354799879tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-24T08:31:35.931Z] ---> ****-login.sh [2024-05-24T08:31:35.931Z] nexus3.edgexfoundry.org:10001 [2024-05-24T08:31:36.192Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T08:31:36.192Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T08:31:36.192Z] Configure a credential helper to remove this warning. See [2024-05-24T08:31:36.192Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T08:31:36.192Z] [2024-05-24T08:31:36.192Z] Login Succeeded [2024-05-24T08:31:36.192Z] nexus3.edgexfoundry.org:10002 [2024-05-24T08:31:36.192Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T08:31:36.452Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T08:31:36.452Z] Configure a credential helper to remove this warning. See [2024-05-24T08:31:36.452Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T08:31:36.452Z] [2024-05-24T08:31:36.452Z] Login Succeeded [2024-05-24T08:31:36.453Z] nexus3.edgexfoundry.org:10003 [2024-05-24T08:31:36.453Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T08:31:36.453Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T08:31:36.453Z] Configure a credential helper to remove this warning. See [2024-05-24T08:31:36.453Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T08:31:36.453Z] [2024-05-24T08:31:36.453Z] Login Succeeded [2024-05-24T08:31:36.453Z] nexus3.edgexfoundry.org:10004 [2024-05-24T08:31:36.453Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T08:31:36.714Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T08:31:36.714Z] Configure a credential helper to remove this warning. See [2024-05-24T08:31:36.714Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T08:31:36.714Z] [2024-05-24T08:31:36.714Z] Login Succeeded [2024-05-24T08:31:36.714Z] ****.io [2024-05-24T08:31:36.714Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T08:31:36.974Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T08:31:36.974Z] Configure a credential helper to remove this warning. See [2024-05-24T08:31:36.974Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T08:31:36.974Z] [2024-05-24T08:31:36.974Z] Login Succeeded [2024-05-24T08:31:36.974Z] ---> ****-login.sh ends [Pipeline] } [2024-05-24T08:31:36.981Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-05-24T08:31:37.388Z] + git rev-list -1 --merges 7a6fdf0b72787c14a6f52506e36c0d70e9ebdd72~1..7a6fdf0b72787c14a6f52506e36c0d70e9ebdd72 [Pipeline] echo [2024-05-24T08:31:37.415Z] -----------> git rev-list -1 --merges 7a6fdf0b72787c14a6f52506e36c0d70e9ebdd72~1..7a6fdf0b72787c14a6f52506e36c0d70e9ebdd72 7a6fdf0b72787c14a6f52506e36c0d70e9ebdd72 [2024-05-24T08:31:37.415Z] 7a6fdf0b72787c14a6f52506e36c0d70e9ebdd72 [false] [Pipeline] sh [2024-05-24T08:31:37.709Z] + git log --format=format:%s -1 7a6fdf0b72787c14a6f52506e36c0d70e9ebdd72 [Pipeline] echo [2024-05-24T08:31:37.723Z] ========================================================= [2024-05-24T08:31:37.723Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-05-24T08:31:37.723Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-24T08:31:38.066Z] + git log --format=format:%s -1 7a6fdf0b72787c14a6f52506e36c0d70e9ebdd72 [Pipeline] echo [2024-05-24T08:31:38.078Z] [semverPrep] GIT_COMMIT: 7a6fdf0b72787c14a6f52506e36c0d70e9ebdd72, Commit Message: Merge pull request #673 from cloudxxx8/bump-sdk-3.1.1 [Pipeline] echo [2024-05-24T08:31:38.091Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-05-24T08:31:38.471Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-05-24T08:31:38.471Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-05-24T08:31:38.471Z] + [ -e /tmp/ssh_known_hosts ] [2024-05-24T08:31:38.471Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-05-24T08:31:38.471Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-05-24T08:31:38.471Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-05-24T08:31:38.471Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T08:31:38.930Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-24T08:31:38.930Z] [2024-05-24T08:31:38.930Z] 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-24T08:31:39.871Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-24T08:31:39.871Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-05-24T08:31:39.871Z] b85a868b505f: Pulling fs layer [2024-05-24T08:31:39.871Z] e2be974225ed: Pulling fs layer [2024-05-24T08:31:39.871Z] 339a4e72a1f5: Pulling fs layer [2024-05-24T08:31:39.871Z] 988bab9f4d93: Pulling fs layer [2024-05-24T08:31:39.871Z] 1469e6f7b9e6: Pulling fs layer [2024-05-24T08:31:39.871Z] eaf3925da568: Pulling fs layer [2024-05-24T08:31:39.871Z] bab4dde63d76: Pulling fs layer [2024-05-24T08:31:39.871Z] bde34c3a00c8: Pulling fs layer [2024-05-24T08:31:39.871Z] b352a97aabf1: Pulling fs layer [2024-05-24T08:31:39.871Z] 4872d77fe225: Pulling fs layer [2024-05-24T08:31:39.871Z] 5851b861e8e6: Pulling fs layer [2024-05-24T08:31:39.871Z] bab4dde63d76: Waiting [2024-05-24T08:31:39.871Z] bde34c3a00c8: Waiting [2024-05-24T08:31:39.871Z] 1469e6f7b9e6: Waiting [2024-05-24T08:31:39.871Z] b352a97aabf1: Waiting [2024-05-24T08:31:39.871Z] eaf3925da568: Waiting [2024-05-24T08:31:39.871Z] 4872d77fe225: Waiting [2024-05-24T08:31:39.871Z] 5851b861e8e6: Waiting [2024-05-24T08:31:39.871Z] 988bab9f4d93: Waiting [2024-05-24T08:31:39.871Z] e2be974225ed: Download complete [2024-05-24T08:31:39.871Z] 988bab9f4d93: Verifying Checksum [2024-05-24T08:31:39.871Z] 988bab9f4d93: Download complete [2024-05-24T08:31:48.629Z] 1469e6f7b9e6: Verifying Checksum [2024-05-24T08:31:48.629Z] 1469e6f7b9e6: Download complete [2024-05-24T08:31:48.629Z] 339a4e72a1f5: Verifying Checksum [2024-05-24T08:31:48.629Z] 339a4e72a1f5: Download complete [2024-05-24T08:31:48.629Z] eaf3925da568: Download complete [2024-05-24T08:31:48.629Z] bde34c3a00c8: Verifying Checksum [2024-05-24T08:31:48.629Z] bde34c3a00c8: Download complete [2024-05-24T08:31:48.629Z] b352a97aabf1: Verifying Checksum [2024-05-24T08:31:48.629Z] 4872d77fe225: Verifying Checksum [2024-05-24T08:31:48.629Z] 4872d77fe225: Download complete [2024-05-24T08:31:48.629Z] 5851b861e8e6: Download complete [2024-05-24T08:31:48.629Z] b85a868b505f: Verifying Checksum [2024-05-24T08:31:48.629Z] b85a868b505f: Download complete [2024-05-24T08:31:49.329Z] b85a868b505f: Pull complete [2024-05-24T08:31:49.329Z] e2be974225ed: Pull complete [2024-05-24T08:31:50.111Z] bab4dde63d76: Verifying Checksum [2024-05-24T08:31:50.111Z] bab4dde63d76: Download complete [2024-05-24T08:31:50.111Z] 339a4e72a1f5: Pull complete [2024-05-24T08:31:50.111Z] 988bab9f4d93: Pull complete [2024-05-24T08:31:50.111Z] 1469e6f7b9e6: Pull complete [2024-05-24T08:31:50.372Z] eaf3925da568: Pull complete [2024-05-24T08:31:52.293Z] bab4dde63d76: Pull complete [2024-05-24T08:31:52.293Z] bde34c3a00c8: Pull complete [2024-05-24T08:31:52.293Z] b352a97aabf1: Pull complete [2024-05-24T08:31:52.293Z] 4872d77fe225: Pull complete [2024-05-24T08:31:52.553Z] 5851b861e8e6: Pull complete [2024-05-24T08:31:52.553Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-05-24T08:31:52.553Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-24T08:31:52.553Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-24T08:31:52.703Z] prd-ubuntu20.04-docker-8c-8g-686 does not seem to be running inside a container [2024-05-24T08:31:54.963Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_napa -v /w/workspace/edgexfoundry_device-mqtt-go_napa:/w/workspace/edgexfoundry_device-mqtt-go_napa:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_napa@tmp:/w/workspace/edgexfoundry_device-mqtt-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-24T08:31:57.603Z] $ docker top e1b68355cf5aa60a212090fdd83f5ac5e1866bb1104bcf6a35ba8622c8a9265e -eo pid,comm [2024-05-24T08:31:55.428Z] 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-24T08:31:55.428Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-05-24T08:31:55.481Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-05-24T08:31:55.481Z] [ssh-agent] Looking for ssh-agent implementation... [2024-05-24T08:31:55.590Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-05-24T08:31:57.819Z] $ docker exec e1b68355cf5aa60a212090fdd83f5ac5e1866bb1104bcf6a35ba8622c8a9265e ssh-agent [2024-05-24T08:31:55.696Z] SSH_AUTH_SOCK=/tmp/ssh-5vTYeqkw4I0f/agent.32 [2024-05-24T08:31:55.696Z] SSH_AGENT_PID=38 [2024-05-24T08:31:55.704Z] Running ssh-add (command line suppressed) [2024-05-24T08:31:58.033Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_napa@tmp/private_key_940258979537115202.key (/w/workspace/edgexfoundry_device-mqtt-go_napa@tmp/private_key_940258979537115202.key) [2024-05-24T08:31:55.823Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-05-24T08:31:56.119Z] + git tag --points-at HEAD [Pipeline] } [2024-05-24T08:31:58.356Z] $ docker exec --env ******** --env ******** e1b68355cf5aa60a212090fdd83f5ac5e1866bb1104bcf6a35ba8622c8a9265e ssh-agent -k [2024-05-24T08:31:58.468Z] unset SSH_AUTH_SOCK; [2024-05-24T08:31:58.469Z] unset SSH_AGENT_PID; [2024-05-24T08:31:58.469Z] echo Agent pid 38 killed; [2024-05-24T08:31:56.255Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-05-24T08:31:56.301Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-05-24T08:31:56.301Z] [ssh-agent] Looking for ssh-agent implementation... [2024-05-24T08:31:56.418Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-05-24T08:31:58.647Z] $ docker exec e1b68355cf5aa60a212090fdd83f5ac5e1866bb1104bcf6a35ba8622c8a9265e ssh-agent [2024-05-24T08:31:56.523Z] SSH_AUTH_SOCK=/tmp/ssh-ZjRAyQCW3M63/agent.71 [2024-05-24T08:31:56.523Z] SSH_AGENT_PID=77 [2024-05-24T08:31:56.528Z] Running ssh-add (command line suppressed) [2024-05-24T08:31:58.861Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_napa@tmp/private_key_8051806826391519470.key (/w/workspace/edgexfoundry_device-mqtt-go_napa@tmp/private_key_8051806826391519470.key) [2024-05-24T08:31:56.650Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-05-24T08:31:56.946Z] + git semver init [2024-05-24T08:31:57.206Z] 2024-05-24 08:31:59,358 [run_init] DEBUG init version:0.0.0 force:False [2024-05-24T08:31:57.206Z] 2024-05-24 08:31:59,359 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_napa/.semver [2024-05-24T08:31:57.206Z] 2024-05-24 08:31:59,359 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_napa/.semver [2024-05-24T08:31:57.206Z] 2024-05-24 08:31:59,359 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/edgexfoundry_device-mqtt-go_napa/.semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_napa, universal_newlines=False, shell=None, istream=None) [2024-05-24T08:31:58.586Z] 2024-05-24 08:32:00,658 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_napa/.git/info/exclude [2024-05-24T08:31:58.586Z] 2024-05-24 08:32:00,659 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_napa/.semver/napa with force:False [2024-05-24T08:31:58.586Z] 2024-05-24 08:32:00,659 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_napa/.semver/napa [2024-05-24T08:31:58.586Z] 2024-05-24 08:32:00,660 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_napa/.semver/napa [2024-05-24T08:31:58.586Z] 3.1.1-dev.1 [Pipeline] } [2024-05-24T08:32:00.822Z] $ docker exec --env ******** --env ******** e1b68355cf5aa60a212090fdd83f5ac5e1866bb1104bcf6a35ba8622c8a9265e ssh-agent -k [2024-05-24T08:32:00.921Z] unset SSH_AUTH_SOCK; [2024-05-24T08:32:00.925Z] unset SSH_AGENT_PID; [2024-05-24T08:32:00.925Z] echo Agent pid 77 killed; [2024-05-24T08:31:58.706Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-05-24T08:31:59.030Z] + git semver [Pipeline] } [2024-05-24T08:32:01.528Z] $ docker stop --time=1 e1b68355cf5aa60a212090fdd83f5ac5e1866bb1104bcf6a35ba8622c8a9265e [2024-05-24T08:32:02.814Z] $ docker rm -f --volumes e1b68355cf5aa60a212090fdd83f5ac5e1866bb1104bcf6a35ba8622c8a9265e [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-24T08:32:00.929Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-05-24T08:32:01.158Z] Stashed 1 file(s) [Pipeline] echo [2024-05-24T08:32:01.161Z] [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-24T08:32:01.338Z] provisioning config files... [2024-05-24T08:32:01.347Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_napa@tmp/config11791830971259368587tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-24T08:32:01.649Z] ---> ****-login.sh [2024-05-24T08:32:01.649Z] nexus3.edgexfoundry.org:10001 [2024-05-24T08:32:01.649Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T08:32:01.649Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T08:32:01.649Z] Configure a credential helper to remove this warning. See [2024-05-24T08:32:01.649Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T08:32:01.649Z] [2024-05-24T08:32:01.649Z] Login Succeeded [2024-05-24T08:32:01.649Z] nexus3.edgexfoundry.org:10002 [2024-05-24T08:32:01.649Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T08:32:01.649Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T08:32:01.649Z] Configure a credential helper to remove this warning. See [2024-05-24T08:32:01.649Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T08:32:01.649Z] [2024-05-24T08:32:01.649Z] Login Succeeded [2024-05-24T08:32:01.649Z] nexus3.edgexfoundry.org:10003 [2024-05-24T08:32:01.910Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T08:32:01.910Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T08:32:01.910Z] Configure a credential helper to remove this warning. See [2024-05-24T08:32:01.911Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T08:32:01.911Z] [2024-05-24T08:32:01.911Z] Login Succeeded [2024-05-24T08:32:01.911Z] nexus3.edgexfoundry.org:10004 [2024-05-24T08:32:01.911Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T08:32:01.911Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T08:32:01.911Z] Configure a credential helper to remove this warning. See [2024-05-24T08:32:01.911Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T08:32:01.911Z] [2024-05-24T08:32:01.911Z] Login Succeeded [2024-05-24T08:32:01.911Z] ****.io [2024-05-24T08:32:01.911Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T08:32:02.172Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T08:32:02.172Z] Configure a credential helper to remove this warning. See [2024-05-24T08:32:02.172Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T08:32:02.172Z] [2024-05-24T08:32:02.172Z] Login Succeeded [2024-05-24T08:32:02.172Z] ---> ****-login.sh ends [Pipeline] } [2024-05-24T08:32:02.178Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-05-24T08:32:02.265Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh [2024-05-24T08:32:02.558Z] + grep ^go [0-9].[0-9]*+ go.mod [2024-05-24T08:32:02.558Z] cut -d -f 2 [Pipeline] echo [2024-05-24T08:32:02.575Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-24T08:32:02.591Z] ========================================================= [2024-05-24T08:32:02.591Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts] [2024-05-24T08:32:02.591Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T08:32:02.936Z] + 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-24T08:32:03.199Z] Sending build context to Docker daemon 48.68MB [2024-05-24T08:32:03.199Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-05-24T08:32:03.199Z] Step 2/12 : FROM ${BASE} AS builder [2024-05-24T08:32:03.199Z] 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base [2024-05-24T08:32:03.199Z] 619be1103602: Pulling fs layer [2024-05-24T08:32:03.199Z] 7862e08f4a3e: Pulling fs layer [2024-05-24T08:32:03.199Z] 5df492c9dc93: Pulling fs layer [2024-05-24T08:32:03.199Z] 7629e6793208: Pulling fs layer [2024-05-24T08:32:03.199Z] 4f4fb700ef54: Pulling fs layer [2024-05-24T08:32:03.199Z] 8de7f028bff5: Pulling fs layer [2024-05-24T08:32:03.199Z] 44042ff1420b: Pulling fs layer [2024-05-24T08:32:03.199Z] 5cdaf54b7214: Pulling fs layer [2024-05-24T08:32:03.199Z] 38f3e5a9071a: Pulling fs layer [2024-05-24T08:32:03.199Z] 7629e6793208: Waiting [2024-05-24T08:32:03.199Z] 4f4fb700ef54: Waiting [2024-05-24T08:32:03.199Z] 5cdaf54b7214: Waiting [2024-05-24T08:32:03.199Z] 44042ff1420b: Waiting [2024-05-24T08:32:03.199Z] 38f3e5a9071a: Waiting [2024-05-24T08:32:03.457Z] 7862e08f4a3e: Verifying Checksum [2024-05-24T08:32:03.457Z] 7862e08f4a3e: Download complete [2024-05-24T08:32:03.457Z] 7629e6793208: Verifying Checksum [2024-05-24T08:32:03.457Z] 7629e6793208: Download complete [2024-05-24T08:32:03.457Z] 4f4fb700ef54: Download complete [2024-05-24T08:32:03.457Z] 8de7f028bff5: Verifying Checksum [2024-05-24T08:32:03.457Z] 8de7f028bff5: Download complete [2024-05-24T08:32:03.457Z] 619be1103602: Verifying Checksum [2024-05-24T08:32:03.457Z] 619be1103602: Download complete [2024-05-24T08:32:03.457Z] 44042ff1420b: Verifying Checksum [2024-05-24T08:32:03.457Z] 44042ff1420b: Download complete [2024-05-24T08:32:03.457Z] 619be1103602: Pull complete [2024-05-24T08:32:03.715Z] 38f3e5a9071a: Verifying Checksum [2024-05-24T08:32:03.715Z] 38f3e5a9071a: Download complete [2024-05-24T08:32:03.715Z] 7862e08f4a3e: Pull complete [2024-05-24T08:32:03.972Z] 5df492c9dc93: Verifying Checksum [2024-05-24T08:32:03.972Z] 5df492c9dc93: Download complete [2024-05-24T08:32:04.230Z] 5cdaf54b7214: Verifying Checksum [2024-05-24T08:32:04.230Z] 5cdaf54b7214: Download complete [2024-05-24T08:32:07.528Z] 5df492c9dc93: Pull complete [2024-05-24T08:32:07.528Z] 7629e6793208: Pull complete [2024-05-24T08:32:07.528Z] 4f4fb700ef54: Pull complete [2024-05-24T08:32:07.528Z] 8de7f028bff5: Pull complete [2024-05-24T08:32:07.528Z] 44042ff1420b: Pull complete [2024-05-24T08:32:09.431Z] 5cdaf54b7214: Pull complete [2024-05-24T08:32:09.999Z] 38f3e5a9071a: Pull complete [2024-05-24T08:32:10.256Z] Digest: sha256:d452b7c9dc822626b28f2158ccf3bbf04957b0b2ad14062d8ea2b98b8d6f5c64 [2024-05-24T08:32:10.256Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts [2024-05-24T08:32:10.256Z] ---> 60b93f829570 [2024-05-24T08:32:10.256Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-05-24T08:32:14.442Z] ---> Running in 575f721e3b5b [2024-05-24T08:32:14.442Z] Removing intermediate container 575f721e3b5b [2024-05-24T08:32:14.442Z] ---> a848db41e6b0 [2024-05-24T08:32:14.442Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-24T08:32:14.442Z] ---> Running in 1fb23146bef3 [2024-05-24T08:32:14.702Z] Removing intermediate container 1fb23146bef3 [2024-05-24T08:32:14.702Z] ---> 30c388dd6938 [2024-05-24T08:32:14.702Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-05-24T08:32:14.702Z] ---> Running in 80cc1de90e51 [2024-05-24T08:32:14.702Z] Removing intermediate container 80cc1de90e51 [2024-05-24T08:32:14.702Z] ---> 7b65c6635f86 [2024-05-24T08:32:14.702Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-05-24T08:32:14.702Z] ---> Running in 90db03673970 [2024-05-24T08:32:14.702Z] Removing intermediate container 90db03673970 [2024-05-24T08:32:14.702Z] ---> e36a2e84e91b [2024-05-24T08:32:14.702Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-05-24T08:32:14.702Z] ---> Running in 9c97470d6bd3 [2024-05-24T08:32:14.960Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-24T08:32:15.219Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-24T08:32:15.477Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-05-24T08:32:15.477Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-05-24T08:32:15.477Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-05-24T08:32:15.477Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-05-24T08:32:15.477Z] Executing busybox-1.36.1-r5.trigger [2024-05-24T08:32:15.477Z] OK: 268 MiB in 56 packages [2024-05-24T08:32:16.052Z] Removing intermediate container 9c97470d6bd3 [2024-05-24T08:32:16.052Z] ---> 53429c07547c [2024-05-24T08:32:16.052Z] Step 8/12 : WORKDIR /device-mqtt-go [2024-05-24T08:32:16.052Z] ---> Running in 05efc558163e [2024-05-24T08:32:16.052Z] Removing intermediate container 05efc558163e [2024-05-24T08:32:16.052Z] ---> e76877d0cacd [2024-05-24T08:32:16.052Z] Step 9/12 : COPY go.mod vendor* ./ [2024-05-24T08:32:16.275Z] Still waiting to schedule task [2024-05-24T08:32:16.275Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-05-24T08:32:17.974Z] ---> 815cc0db6aa1 [2024-05-24T08:32:17.974Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-24T08:32:17.974Z] ---> Running in 4e080c473bb3 [2024-05-24T08:32:41.257Z] Removing intermediate container 4e080c473bb3 [2024-05-24T08:32:41.257Z] ---> 5560f793c4f9 [2024-05-24T08:32:41.257Z] Step 11/12 : COPY . . [2024-05-24T08:32:42.639Z] ---> 7c0d04a9efab [2024-05-24T08:32:42.639Z] Step 12/12 : RUN $MAKE [2024-05-24T08:32:42.639Z] ---> Running in ddd2c894c130 [2024-05-24T08:32:42.900Z] noop [2024-05-24T08:32:43.160Z] Removing intermediate container ddd2c894c130 [2024-05-24T08:32:43.160Z] ---> 93740323608f [2024-05-24T08:32:43.418Z] Successfully built 93740323608f [2024-05-24T08:32:43.418Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T08:32:43.753Z] + docker inspect -f . ci-base-image-x86_64 [2024-05-24T08:32:43.753Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-24T08:32:43.831Z] prd-ubuntu20.04-docker-8c-8g-686 does not seem to be running inside a container [2024-05-24T08:32:43.859Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_napa -v /w/workspace/edgexfoundry_device-mqtt-go_napa:/w/workspace/edgexfoundry_device-mqtt-go_napa:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_napa@tmp:/w/workspace/edgexfoundry_device-mqtt-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-24T08:32:44.191Z] $ docker top 8e2b52861ece53adba881b0df2b603c3d407c85051100ef01219bef9f304e7c8 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-24T08:32:44.537Z] + go version [2024-05-24T08:32:44.537Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-05-24T08:32:44.548Z] $ docker stop --time=1 8e2b52861ece53adba881b0df2b603c3d407c85051100ef01219bef9f304e7c8 [2024-05-24T08:32:45.833Z] $ docker rm -f --volumes 8e2b52861ece53adba881b0df2b603c3d407c85051100ef01219bef9f304e7c8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T08:32:46.265Z] + docker inspect -f . ci-base-image-x86_64 [2024-05-24T08:32:46.265Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-24T08:32:46.355Z] prd-ubuntu20.04-docker-8c-8g-686 does not seem to be running inside a container [2024-05-24T08:32:46.388Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-mqtt-go_napa -v /w/workspace/edgexfoundry_device-mqtt-go_napa:/w/workspace/edgexfoundry_device-mqtt-go_napa:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_napa@tmp:/w/workspace/edgexfoundry_device-mqtt-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-24T08:32:46.698Z] $ docker top 6cbd279515debf65dfb09f92300fdff3776bcce960714f037279ff065f2a338f -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-24T08:32:47.051Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_napa [Pipeline] fileExists [Pipeline] sh [2024-05-24T08:32:47.349Z] + make test [2024-05-24T08:32:47.349Z] go test ./... -coverprofile=coverage.out ./... [2024-05-24T08:32:48.722Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2024-05-24T08:32:58.683Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2024-05-24T08:32:58.683Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2024-05-24T08:32:58.683Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.018s coverage: 22.8% of statements [2024-05-24T08:33:05.237Z] go vet ./... [2024-05-24T08:33:07.771Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-05-24T08:33:08.030Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-05-24T08:33:08.030Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-05-24T08:33:08.041Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh [2024-05-24T08:33:08.343Z] + go mod tidy [Pipeline] } [2024-05-24T08:33:08.610Z] $ docker stop --time=1 6cbd279515debf65dfb09f92300fdff3776bcce960714f037279ff065f2a338f [2024-05-24T08:33:12.398Z] $ docker rm -f --volumes 6cbd279515debf65dfb09f92300fdff3776bcce960714f037279ff065f2a338f [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-24T08:33:12.889Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-05-24T08:33:12.965Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-05-24T08:33:13.526Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-05-24T08:33:13.811Z] + ls -al . [2024-05-24T08:33:13.811Z] total 188 [2024-05-24T08:33:13.811Z] drwxrwxr-x 10 jenkins jenkins 4096 May 24 08:32 . [2024-05-24T08:33:13.811Z] drwxrwxr-x 4 jenkins jenkins 4096 May 24 08:31 .. [2024-05-24T08:33:13.811Z] -rw-rw-r-- 1 jenkins jenkins 140 May 24 08:31 .dockerignore [2024-05-24T08:33:13.811Z] drwxrwxr-x 8 jenkins jenkins 4096 May 24 08:32 .git [2024-05-24T08:33:13.811Z] drwxrwxr-x 3 jenkins jenkins 4096 May 24 08:31 .github [2024-05-24T08:33:13.811Z] -rw-rw-r-- 1 jenkins jenkins 256 May 24 08:31 .gitignore [2024-05-24T08:33:13.811Z] -rw-rw-r-- 1 jenkins jenkins 41 May 24 08:31 .golangci.yml [2024-05-24T08:33:13.811Z] drwxr-xr-x 3 jenkins jenkins 4096 May 24 08:32 .semver [2024-05-24T08:33:13.811Z] -rw-rw-r-- 1 jenkins jenkins 10405 May 24 08:31 Attribution.txt [2024-05-24T08:33:13.811Z] -rw-rw-r-- 1 jenkins jenkins 18574 May 24 08:31 CHANGELOG.md [2024-05-24T08:33:13.811Z] -rw-rw-r-- 1 jenkins jenkins 1798 May 24 08:31 Dockerfile [2024-05-24T08:33:13.811Z] -rw-rw-r-- 1 jenkins jenkins 677 May 24 08:31 GOVERNANCE.md [2024-05-24T08:33:13.811Z] -rw-rw-r-- 1 jenkins jenkins 657 May 24 08:31 Jenkinsfile [2024-05-24T08:33:13.811Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 24 08:31 LICENSE [2024-05-24T08:33:13.811Z] -rw-rw-r-- 1 jenkins jenkins 1963 May 24 08:31 Makefile [2024-05-24T08:33:13.811Z] -rw-rw-r-- 1 jenkins jenkins 620 May 24 08:31 OWNERS.md [2024-05-24T08:33:13.811Z] -rw-rw-r-- 1 jenkins jenkins 3599 May 24 08:31 README.md [2024-05-24T08:33:13.811Z] -rw-rw-r-- 1 jenkins jenkins 11 May 24 08:32 VERSION [2024-05-24T08:33:13.811Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 08:31 bin [2024-05-24T08:33:13.811Z] drwxrwxr-x 3 jenkins jenkins 4096 May 24 08:31 cmd [2024-05-24T08:33:13.811Z] -rw-r--r-- 1 jenkins jenkins 18506 May 24 08:32 coverage.out [2024-05-24T08:33:13.811Z] -rw-rw-r-- 1 jenkins jenkins 3745 May 24 08:31 go.mod [2024-05-24T08:33:13.811Z] -rw-rw-r-- 1 jenkins jenkins 34195 May 24 08:31 go.sum [2024-05-24T08:33:13.811Z] drwxrwxr-x 3 jenkins jenkins 4096 May 24 08:31 internal [2024-05-24T08:33:13.811Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 08:31 mock [2024-05-24T08:33:13.811Z] drwxrwxr-x 6 jenkins jenkins 4096 May 24 08:31 vendor [2024-05-24T08:33:13.811Z] -rw-rw-r-- 1 jenkins jenkins 227 May 24 08:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T08:33:14.126Z] + docker build -t device-mqtt -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=7a6fdf0b72787c14a6f52506e36c0d70e9ebdd72 --label arch=amd64 --label version=3.1.1-dev.1 . [2024-05-24T08:33:14.385Z] Sending build context to Docker daemon 48.69MB [2024-05-24T08:33:14.385Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2024-05-24T08:33:14.385Z] Step 2/25 : FROM ${BASE} AS builder [2024-05-24T08:33:14.385Z] ---> 93740323608f [2024-05-24T08:33:14.385Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2024-05-24T08:33:15.324Z] ---> Running in 9b85c5d75e61 [2024-05-24T08:33:15.324Z] Removing intermediate container 9b85c5d75e61 [2024-05-24T08:33:15.324Z] ---> 040561958738 [2024-05-24T08:33:15.324Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-24T08:33:15.586Z] ---> Running in 953c7334d405 [2024-05-24T08:33:15.586Z] Removing intermediate container 953c7334d405 [2024-05-24T08:33:15.586Z] ---> 896e2f1e1928 [2024-05-24T08:33:15.586Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-05-24T08:33:15.586Z] ---> Running in afffaf10ca61 [2024-05-24T08:33:15.586Z] Removing intermediate container afffaf10ca61 [2024-05-24T08:33:15.586Z] ---> 82523fd68d9d [2024-05-24T08:33:15.586Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2024-05-24T08:33:15.586Z] ---> Running in 07954a129b94 [2024-05-24T08:33:15.844Z] Removing intermediate container 07954a129b94 [2024-05-24T08:33:15.844Z] ---> d3bbb5416197 [2024-05-24T08:33:15.844Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-05-24T08:33:15.844Z] ---> Running in 4b4301bf1f22 [2024-05-24T08:33:16.104Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-24T08:33:16.363Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-24T08:33:16.623Z] OK: 268 MiB in 56 packages [2024-05-24T08:33:16.883Z] Removing intermediate container 4b4301bf1f22 [2024-05-24T08:33:16.883Z] ---> 27808c3b39fa [2024-05-24T08:33:16.883Z] Step 8/25 : WORKDIR /device-mqtt-go [2024-05-24T08:33:16.883Z] ---> Running in a0d6d80204e7 [2024-05-24T08:33:16.883Z] Removing intermediate container a0d6d80204e7 [2024-05-24T08:33:16.883Z] ---> d27486e683e3 [2024-05-24T08:33:16.883Z] Step 9/25 : COPY go.mod vendor* ./ [2024-05-24T08:33:18.790Z] ---> 011d7d85504c [2024-05-24T08:33:18.790Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-24T08:33:18.790Z] ---> Running in 95ec29680160 [2024-05-24T08:33:19.049Z] skipping... [2024-05-24T08:33:19.307Z] Removing intermediate container 95ec29680160 [2024-05-24T08:33:19.307Z] ---> 8e08d91cae5c [2024-05-24T08:33:19.307Z] Step 11/25 : COPY . . [2024-05-24T08:33:21.922Z] ---> 51a6bb122458 [2024-05-24T08:33:21.922Z] Step 12/25 : RUN $MAKE [2024-05-24T08:33:21.922Z] ---> Running in 7f85bb6d22b4 [2024-05-24T08:33:21.922Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-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-mqtt ./cmd [2024-05-24T08:33:44.437Z] Removing intermediate container 7f85bb6d22b4 [2024-05-24T08:33:44.437Z] ---> a597a4732a01 [2024-05-24T08:33:44.437Z] Step 13/25 : FROM alpine:3.18 [2024-05-24T08:33:44.437Z] 3.18: Pulling from library/alpine [2024-05-24T08:33:44.437Z] 619be1103602: Already exists [2024-05-24T08:33:44.437Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-05-24T08:33:44.437Z] Status: Downloaded newer image for alpine:3.18 [2024-05-24T08:33:44.437Z] ---> d3782b16ccc9 [2024-05-24T08:33:44.437Z] Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2024-05-24T08:33:44.437Z] ---> Running in 845b2d57a93c [2024-05-24T08:33:44.437Z] Removing intermediate container 845b2d57a93c [2024-05-24T08:33:44.437Z] ---> 2bc9def199dc [2024-05-24T08:33:44.437Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2024-05-24T08:33:44.437Z] ---> Running in 2354a42d9060 [2024-05-24T08:33:44.437Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-24T08:33:44.437Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-24T08:33:44.437Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-05-24T08:33:44.437Z] Executing busybox-1.36.1-r5.trigger [2024-05-24T08:33:44.437Z] OK: 7 MiB in 16 packages [2024-05-24T08:33:44.437Z] Removing intermediate container 2354a42d9060 [2024-05-24T08:33:44.437Z] ---> efd855448958 [2024-05-24T08:33:44.437Z] Step 16/25 : RUN apk --no-cache upgrade [2024-05-24T08:33:44.437Z] ---> Running in 9a4d27fcdaf3 [2024-05-24T08:33:44.437Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-24T08:33:53.597Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-24T08:33:53.598Z] Upgrading critical system libraries and apk-tools: [2024-05-24T08:33:53.598Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-05-24T08:33:53.598Z] Executing busybox-1.36.1-r5.trigger [2024-05-24T08:33:53.598Z] Continuing the upgrade transaction with new apk-tools: [2024-05-24T08:33:53.598Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-24T08:33:53.598Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-24T08:33:53.855Z] (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) [2024-05-24T08:33:54.020Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-688 in /w/workspace/edgexfoundry_device-mqtt-go_napa [Pipeline] { [Pipeline] ws [2024-05-24T08:33:54.037Z] Running in /w/workspace/device-mqtt-go/5 [Pipeline] { [Pipeline] checkout [2024-05-24T08:33:54.114Z] Executing busybox-1.36.1-r6.post-upgrade [2024-05-24T08:33:54.114Z] (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) [2024-05-24T08:33:54.114Z] (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-05-24T08:33:54.114Z] (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) [2024-05-24T08:33:54.114Z] (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) [2024-05-24T08:33:54.114Z] (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) [2024-05-24T08:33:54.114Z] Executing busybox-1.36.1-r6.trigger [2024-05-24T08:33:54.114Z] OK: 7 MiB in 16 packages [2024-05-24T08:33:54.680Z] Removing intermediate container 9a4d27fcdaf3 [2024-05-24T08:33:54.680Z] ---> 7b3763d9740f [2024-05-24T08:33:54.680Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2024-05-24T08:33:55.712Z] ---> 27eedec4c38b [2024-05-24T08:33:55.712Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2024-05-24T08:33:55.712Z] ---> 59c03fb5f8db [2024-05-24T08:33:55.712Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2024-05-24T08:33:55.970Z] ---> a11e4637b228 [2024-05-24T08:33:55.970Z] Step 20/25 : EXPOSE 59982 [2024-05-24T08:33:55.970Z] ---> Running in fbc799767bbd [2024-05-24T08:33:55.970Z] Removing intermediate container fbc799767bbd [2024-05-24T08:33:55.970Z] ---> 85bf8aa517d6 [2024-05-24T08:33:55.970Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2024-05-24T08:33:55.970Z] ---> Running in f026960f3fab [2024-05-24T08:33:55.970Z] Removing intermediate container f026960f3fab [2024-05-24T08:33:55.970Z] ---> f21da093016f [2024-05-24T08:33:55.970Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-05-24T08:33:55.970Z] ---> Running in e8fa3fd6eeb7 [2024-05-24T08:33:56.229Z] Removing intermediate container e8fa3fd6eeb7 [2024-05-24T08:33:56.230Z] ---> b45e7aa4491f [2024-05-24T08:33:56.230Z] Step 23/25 : LABEL arch=amd64 [2024-05-24T08:33:56.230Z] ---> Running in bf1fb2b62e7e [2024-05-24T08:33:56.230Z] Removing intermediate container bf1fb2b62e7e [2024-05-24T08:33:56.230Z] ---> b2340b92a39b [2024-05-24T08:33:56.230Z] Step 24/25 : LABEL git_sha=7a6fdf0b72787c14a6f52506e36c0d70e9ebdd72 [2024-05-24T08:33:56.230Z] ---> Running in 60974fe1fb6e [2024-05-24T08:33:56.230Z] Removing intermediate container 60974fe1fb6e [2024-05-24T08:33:56.230Z] ---> 7558f351f280 [2024-05-24T08:33:56.230Z] Step 25/25 : LABEL version=3.1.1-dev.1 [2024-05-24T08:33:56.230Z] ---> Running in 2248bdac533b [2024-05-24T08:33:56.487Z] Removing intermediate container 2248bdac533b [2024-05-24T08:33:56.487Z] ---> cd78a3629199 [2024-05-24T08:33:56.487Z] [Warning] One or more build-args [ARCH] were not consumed [2024-05-24T08:33:56.487Z] Successfully built cd78a3629199 [2024-05-24T08:33:56.487Z] Successfully tagged device-mqtt:latest [Pipeline] } [2024-05-24T08:33:57.083Z] The recommended git tool is: git [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-24T08:33:57.199Z] provisioning config files... [2024-05-24T08:33:57.211Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_napa@tmp/config8267487522201619857tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-24T08:33:57.516Z] ---> ****-login.sh [2024-05-24T08:33:57.516Z] nexus3.edgexfoundry.org:10001 [2024-05-24T08:33:57.516Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T08:33:57.516Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T08:33:57.516Z] Configure a credential helper to remove this warning. See [2024-05-24T08:33:57.517Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T08:33:57.517Z] [2024-05-24T08:33:57.517Z] Login Succeeded [2024-05-24T08:33:57.517Z] nexus3.edgexfoundry.org:10002 [2024-05-24T08:33:57.517Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T08:33:57.517Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T08:33:57.517Z] Configure a credential helper to remove this warning. See [2024-05-24T08:33:57.517Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T08:33:57.517Z] [2024-05-24T08:33:57.517Z] Login Succeeded [2024-05-24T08:33:57.517Z] nexus3.edgexfoundry.org:10003 [2024-05-24T08:33:57.777Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T08:33:57.777Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T08:33:57.777Z] Configure a credential helper to remove this warning. See [2024-05-24T08:33:57.777Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T08:33:57.777Z] [2024-05-24T08:33:57.777Z] Login Succeeded [2024-05-24T08:33:57.777Z] nexus3.edgexfoundry.org:10004 [2024-05-24T08:33:57.777Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T08:33:57.777Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T08:33:57.777Z] Configure a credential helper to remove this warning. See [2024-05-24T08:33:57.777Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T08:33:57.777Z] [2024-05-24T08:33:57.777Z] Login Succeeded [2024-05-24T08:33:57.777Z] ****.io [2024-05-24T08:33:58.035Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T08:33:58.036Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T08:33:58.036Z] Configure a credential helper to remove this warning. See [2024-05-24T08:33:58.036Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T08:33:58.036Z] [2024-05-24T08:33:58.036Z] Login Succeeded [2024-05-24T08:33:58.036Z] ---> ****-login.sh ends [Pipeline] } [2024-05-24T08:33:58.043Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-05-24T08:33:58.093Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-24T08:33:58.122Z] [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: [2024-05-24T08:33:58.122Z] 7a6fdf0b72787c14a6f52506e36c0d70e9ebdd72 [2024-05-24T08:33:58.122Z] 3.1.1-dev.1 [2024-05-24T08:33:58.122Z] 7a6fdf0b72787c14a6f52506e36c0d70e9ebdd72-3.1.1-dev.1 [2024-05-24T08:33:58.122Z] napa [2024-05-24T08:33:58.122Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T08:33:58.475Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:7a6fdf0b72787c14a6f52506e36c0d70e9ebdd72 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T08:33:58.797Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:7a6fdf0b72787c14a6f52506e36c0d70e9ebdd72 [2024-05-24T08:33:58.798Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2024-05-24T08:33:58.798Z] e1f2e4eb541e: Preparing [2024-05-24T08:33:58.798Z] 61d092745d2a: Preparing [2024-05-24T08:33:58.798Z] 4b26737c84c2: Preparing [2024-05-24T08:33:58.798Z] 7cbeaedbbc87: Preparing [2024-05-24T08:33:58.798Z] 196bb4eaea27: Preparing [2024-05-24T08:33:58.798Z] aedc3bda2944: Preparing [2024-05-24T08:33:58.798Z] aedc3bda2944: Waiting [2024-05-24T08:33:58.798Z] 61d092745d2a: Pushed [2024-05-24T08:33:58.798Z] 196bb4eaea27: Pushed [2024-05-24T08:33:58.798Z] e1f2e4eb541e: Pushed [2024-05-24T08:33:58.798Z] aedc3bda2944: Layer already exists [2024-05-24T08:33:59.364Z] 7cbeaedbbc87: Pushed [2024-05-24T08:34:01.898Z] 4b26737c84c2: Pushed [2024-05-24T08:34:01.898Z] 7a6fdf0b72787c14a6f52506e36c0d70e9ebdd72: digest: sha256:1756a5e416ff7b8ed35485324932fcb04d54a0de9284820c7033bb9f46625d67 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T08:34:02.229Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3.1.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T08:34:02.557Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3.1.1-dev.1 [2024-05-24T08:34:02.558Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2024-05-24T08:34:02.558Z] e1f2e4eb541e: Preparing [2024-05-24T08:34:02.558Z] 61d092745d2a: Preparing [2024-05-24T08:34:02.558Z] 4b26737c84c2: Preparing [2024-05-24T08:34:02.558Z] 7cbeaedbbc87: Preparing [2024-05-24T08:34:02.558Z] 196bb4eaea27: Preparing [2024-05-24T08:34:02.558Z] aedc3bda2944: Preparing [2024-05-24T08:34:02.558Z] aedc3bda2944: Waiting [2024-05-24T08:34:02.558Z] 196bb4eaea27: Layer already exists [2024-05-24T08:34:02.558Z] 4b26737c84c2: Layer already exists [2024-05-24T08:34:02.558Z] 7cbeaedbbc87: Layer already exists [2024-05-24T08:34:02.558Z] 61d092745d2a: Layer already exists [2024-05-24T08:34:02.558Z] e1f2e4eb541e: Layer already exists [2024-05-24T08:34:02.558Z] aedc3bda2944: Layer already exists [2024-05-24T08:34:02.558Z] 3.1.1-dev.1: digest: sha256:1756a5e416ff7b8ed35485324932fcb04d54a0de9284820c7033bb9f46625d67 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T08:34:02.887Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:7a6fdf0b72787c14a6f52506e36c0d70e9ebdd72-3.1.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T08:34:03.213Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:7a6fdf0b72787c14a6f52506e36c0d70e9ebdd72-3.1.1-dev.1 [2024-05-24T08:34:03.213Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2024-05-24T08:34:03.213Z] e1f2e4eb541e: Preparing [2024-05-24T08:34:03.213Z] 61d092745d2a: Preparing [2024-05-24T08:34:03.213Z] 4b26737c84c2: Preparing [2024-05-24T08:34:03.213Z] 7cbeaedbbc87: Preparing [2024-05-24T08:34:03.213Z] 196bb4eaea27: Preparing [2024-05-24T08:34:03.213Z] aedc3bda2944: Preparing [2024-05-24T08:34:03.213Z] aedc3bda2944: Waiting [2024-05-24T08:34:03.213Z] 4b26737c84c2: Layer already exists [2024-05-24T08:34:03.213Z] e1f2e4eb541e: Layer already exists [2024-05-24T08:34:03.213Z] 196bb4eaea27: Layer already exists [2024-05-24T08:34:03.213Z] 61d092745d2a: Layer already exists [2024-05-24T08:34:03.213Z] 7cbeaedbbc87: Layer already exists [2024-05-24T08:34:03.213Z] aedc3bda2944: Layer already exists [2024-05-24T08:34:03.213Z] 7a6fdf0b72787c14a6f52506e36c0d70e9ebdd72-3.1.1-dev.1: digest: sha256:1756a5e416ff7b8ed35485324932fcb04d54a0de9284820c7033bb9f46625d67 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T08:34:03.543Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:napa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T08:34:03.873Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:napa [2024-05-24T08:34:03.873Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2024-05-24T08:34:03.873Z] e1f2e4eb541e: Preparing [2024-05-24T08:34:03.873Z] 61d092745d2a: Preparing [2024-05-24T08:34:03.873Z] 4b26737c84c2: Preparing [2024-05-24T08:34:03.873Z] 7cbeaedbbc87: Preparing [2024-05-24T08:34:03.873Z] 196bb4eaea27: Preparing [2024-05-24T08:34:03.873Z] aedc3bda2944: Preparing [2024-05-24T08:34:03.873Z] 4b26737c84c2: Layer already exists [2024-05-24T08:34:03.873Z] 61d092745d2a: Layer already exists [2024-05-24T08:34:03.873Z] 196bb4eaea27: Layer already exists [2024-05-24T08:34:03.873Z] 7cbeaedbbc87: Layer already exists [2024-05-24T08:34:03.873Z] e1f2e4eb541e: Layer already exists [2024-05-24T08:34:03.873Z] aedc3bda2944: Layer already exists [2024-05-24T08:34:03.873Z] napa: digest: sha256:1756a5e416ff7b8ed35485324932fcb04d54a0de9284820c7033bb9f46625d67 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-05-24T08:34:03.948Z] ===================================================== [Pipeline] echo [2024-05-24T08:34:03.965Z] taggedImages: [2024-05-24T08:34:03.965Z] - nexus3.edgexfoundry.org:10004/device-mqtt:7a6fdf0b72787c14a6f52506e36c0d70e9ebdd72 [2024-05-24T08:34:03.965Z] - nexus3.edgexfoundry.org:10004/device-mqtt:3.1.1-dev.1 [2024-05-24T08:34:03.966Z] - nexus3.edgexfoundry.org:10004/device-mqtt:7a6fdf0b72787c14a6f52506e36c0d70e9ebdd72-3.1.1-dev.1 [2024-05-24T08:34:03.966Z] - nexus3.edgexfoundry.org:10004/device-mqtt: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-24T08:34:04.381Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-24T08:34:04.381Z] [2024-05-24T08:34:04.381Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T08:34:04.492Z] using credential edgex-jenkins-ssh [2024-05-24T08:34:04.514Z] Cloning the remote Git repository [2024-05-24T08:34:04.683Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-24T08:34:04.683Z] latest: Pulling from edgex-lftools-log-publisher [2024-05-24T08:34:04.683Z] 5eb5b503b376: Pulling fs layer [2024-05-24T08:34:04.683Z] 5c69ac0246d0: Pulling fs layer [2024-05-24T08:34:04.683Z] ec43610c2a17: Pulling fs layer [2024-05-24T08:34:04.683Z] 3a2ae6a8a46f: Pulling fs layer [2024-05-24T08:34:04.683Z] 33b1e0a273af: Pulling fs layer [2024-05-24T08:34:04.683Z] 5d3b04190fa2: Pulling fs layer [2024-05-24T08:34:04.683Z] 2f39f015ded8: Pulling fs layer [2024-05-24T08:34:04.683Z] 3a2ae6a8a46f: Waiting [2024-05-24T08:34:04.683Z] 33b1e0a273af: Waiting [2024-05-24T08:34:04.683Z] 5d3b04190fa2: Waiting [2024-05-24T08:34:04.683Z] 2f39f015ded8: Waiting [2024-05-24T08:34:04.683Z] 5c69ac0246d0: Download complete [2024-05-24T08:34:04.683Z] 3a2ae6a8a46f: Download complete [2024-05-24T08:34:04.683Z] 33b1e0a273af: Verifying Checksum [2024-05-24T08:34:04.683Z] 33b1e0a273af: Download complete [2024-05-24T08:34:04.683Z] 5d3b04190fa2: Download complete [2024-05-24T08:34:04.683Z] ec43610c2a17: Verifying Checksum [2024-05-24T08:34:04.566Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2024-05-24T08:34:04.694Z] > git init /w/workspace/device-mqtt-go/5 # timeout=10 [2024-05-24T08:34:04.942Z] 5eb5b503b376: Download complete [2024-05-24T08:34:05.510Z] 2f39f015ded8: Download complete [2024-05-24T08:34:06.075Z] 5eb5b503b376: Pull complete [2024-05-24T08:34:06.076Z] 5c69ac0246d0: Pull complete [2024-05-24T08:34:04.897Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2024-05-24T08:34:04.899Z] > git --version # timeout=10 [2024-05-24T08:34:04.940Z] > git --version # 'git version 2.25.1' [2024-05-24T08:34:04.943Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-05-24T08:34:05.133Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-05-24T08:34:06.642Z] ec43610c2a17: Pull complete [2024-05-24T08:34:06.642Z] 3a2ae6a8a46f: Pull complete [2024-05-24T08:34:06.901Z] 33b1e0a273af: Pull complete [2024-05-24T08:34:06.901Z] 5d3b04190fa2: Pull complete [2024-05-24T08:34:08.715Z] Avoid second fetch [2024-05-24T08:34:08.715Z] Checking out Revision 7a6fdf0b72787c14a6f52506e36c0d70e9ebdd72 (napa) [2024-05-24T08:34:07.747Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2024-05-24T08:34:07.780Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-05-24T08:34:08.734Z] > git config core.sparsecheckout # timeout=10 [2024-05-24T08:34:08.794Z] > git checkout -f 7a6fdf0b72787c14a6f52506e36c0d70e9ebdd72 # timeout=10 [2024-05-24T08:34:10.189Z] Commit message: "Merge pull request #673 from cloudxxx8/bump-sdk-3.1.1" [2024-05-24T08:34:11.080Z] 2f39f015ded8: Pull complete [2024-05-24T08:34:11.080Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-05-24T08:34:11.080Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-24T08:34:11.080Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-24T08:34:11.179Z] prd-ubuntu20.04-docker-8c-8g-686 does not seem to be running inside a container [2024-05-24T08:34:11.209Z] $ 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/edgexfoundry_device-mqtt-go_napa -v /w/workspace/edgexfoundry_device-mqtt-go_napa:/w/workspace/edgexfoundry_device-mqtt-go_napa:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_napa@tmp:/w/workspace/edgexfoundry_device-mqtt-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-24T08:34:14.383Z] [2024-05-24T08:34:14.383Z] GitHub has been notified of this commit’s build result [2024-05-24T08:34:14.383Z] [2024-05-24T08:34:15.624Z] $ docker top 423e28047e4225d8dc91a1b94718cff03d3965dd84733001c0248bd759fb5ec7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-24T08:34:16.041Z] ---> job-cost.sh [2024-05-24T08:34:16.041Z] lf-activate-venv: SKIPPING [2024-05-24T08:34:16.041Z] INFO: No Stack... [2024-05-24T08:34:16.300Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-05-24T08:34:16.413Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-05-24T08:34:16.413Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-05-24T08:34:16.413Z] Dload Upload Total Spent Left Speed [2024-05-24T08:34:16.413Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 105k 0 --:--:-- --:--:-- --:--:-- 105k [Pipeline] sh [2024-05-24T08:34:16.559Z] INFO: Archiving Costs [Pipeline] sh [2024-05-24T08:34:16.752Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-05-24T08:34:16.845Z] + cat /w/workspace/edgexfoundry_device-mqtt-go_napa/archives/cost.csv [2024-05-24T08:34:16.845Z] + cut -d, -f6 [Pipeline] lock [2024-05-24T08:34:16.858Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-napa-5-stack-cost] [2024-05-24T08:34:16.950Z] Resource [jenkins-edgexfoundry-device-mqtt-go-napa-5-stack-cost] did not exist. Created. [2024-05-24T08:34:16.958Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-napa-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-05-24T08:34:17.081Z] + sudo tee /etc/docker/daemon.new [2024-05-24T08:34:17.081Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-05-24T08:34:17.081Z] { [2024-05-24T08:34:17.081Z] "registry-mirrors": [ [2024-05-24T08:34:17.081Z] "https://nexus3.edgexfoundry.org:10001" [2024-05-24T08:34:17.081Z] ], [2024-05-24T08:34:17.081Z] "bip": "10.250.0.254/24", [2024-05-24T08:34:17.081Z] "hosts": [ [2024-05-24T08:34:17.081Z] "tcp://0.0.0.0:5555", [2024-05-24T08:34:17.081Z] "unix:///var/run/docker.sock" [2024-05-24T08:34:17.081Z] ], [2024-05-24T08:34:17.081Z] "mtu": 1458, [2024-05-24T08:34:17.081Z] "selinux-enabled": true, [2024-05-24T08:34:17.081Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-05-24T08:34:17.081Z] } [Pipeline] sh [2024-05-24T08:34:17.264Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-05-24T08:34:17.323Z] Stashed 1 file(s) [Pipeline] } [2024-05-24T08:34:17.332Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-napa-5-stack-cost] [Pipeline] // lock [Pipeline] } [2024-05-24T08:34:17.358Z] $ docker stop --time=1 423e28047e4225d8dc91a1b94718cff03d3965dd84733001c0248bd759fb5ec7 [2024-05-24T08:34:17.430Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [2024-05-24T08:34:18.515Z] $ docker rm -f --volumes 423e28047e4225d8dc91a1b94718cff03d3965dd84733001c0248bd759fb5ec7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-05-24T08:34:18.893Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-24T08:34:37.217Z] provisioning config files... [2024-05-24T08:34:37.245Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/5@tmp/config8857593011782233062tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-24T08:34:37.699Z] ---> ****-login.sh [2024-05-24T08:34:37.699Z] nexus3.edgexfoundry.org:10001 [2024-05-24T08:34:38.283Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T08:34:38.283Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T08:34:38.283Z] Configure a credential helper to remove this warning. See [2024-05-24T08:34:38.283Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T08:34:38.283Z] [2024-05-24T08:34:38.284Z] Login Succeeded [2024-05-24T08:34:38.284Z] nexus3.edgexfoundry.org:10002 [2024-05-24T08:34:38.552Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T08:34:38.552Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T08:34:38.552Z] Configure a credential helper to remove this warning. See [2024-05-24T08:34:38.552Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T08:34:38.552Z] [2024-05-24T08:34:38.552Z] Login Succeeded [2024-05-24T08:34:38.552Z] nexus3.edgexfoundry.org:10003 [2024-05-24T08:34:38.826Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T08:34:39.101Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T08:34:39.101Z] Configure a credential helper to remove this warning. See [2024-05-24T08:34:39.101Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T08:34:39.101Z] [2024-05-24T08:34:39.101Z] Login Succeeded [2024-05-24T08:34:39.101Z] nexus3.edgexfoundry.org:10004 [2024-05-24T08:34:39.372Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T08:34:39.372Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T08:34:39.372Z] Configure a credential helper to remove this warning. See [2024-05-24T08:34:39.372Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T08:34:39.372Z] [2024-05-24T08:34:39.372Z] Login Succeeded [2024-05-24T08:34:39.372Z] ****.io [2024-05-24T08:34:39.641Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T08:34:39.908Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T08:34:39.909Z] Configure a credential helper to remove this warning. See [2024-05-24T08:34:39.909Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T08:34:39.909Z] [2024-05-24T08:34:39.909Z] Login Succeeded [2024-05-24T08:34:39.909Z] ---> ****-login.sh ends [Pipeline] } [2024-05-24T08:34:39.923Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-05-24T08:34:40.276Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh [2024-05-24T08:34:40.601Z] + grep ^go [0-9].[0-9]* go.mod [2024-05-24T08:34:40.601Z] + cut -d -f 2 [Pipeline] echo [2024-05-24T08:34:40.656Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-24T08:34:40.670Z] ========================================================= [2024-05-24T08:34:40.670Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts] [2024-05-24T08:34:40.670Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T08:34:41.033Z] + 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-24T08:34:43.615Z] Sending build context to Docker daemon 38.3MB [2024-05-24T08:34:43.615Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-05-24T08:34:43.615Z] Step 2/12 : FROM ${BASE} AS builder [2024-05-24T08:34:43.615Z] 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-05-24T08:34:43.615Z] c6b39de5b339: Pulling fs layer [2024-05-24T08:34:43.615Z] a69c41024577: Pulling fs layer [2024-05-24T08:34:43.615Z] d6de4b400683: Pulling fs layer [2024-05-24T08:34:43.615Z] 35cb2a7552d0: Pulling fs layer [2024-05-24T08:34:43.615Z] 4f4fb700ef54: Pulling fs layer [2024-05-24T08:34:43.615Z] 9e011611b7f5: Pulling fs layer [2024-05-24T08:34:43.615Z] 3bd174042beb: Pulling fs layer [2024-05-24T08:34:43.615Z] 4476f39b5e91: Pulling fs layer [2024-05-24T08:34:43.615Z] 35cb2a7552d0: Waiting [2024-05-24T08:34:43.615Z] 4f4fb700ef54: Waiting [2024-05-24T08:34:43.615Z] 9e011611b7f5: Waiting [2024-05-24T08:34:43.615Z] 3bd174042beb: Waiting [2024-05-24T08:34:43.615Z] 4476f39b5e91: Waiting [2024-05-24T08:34:43.615Z] a69c41024577: Verifying Checksum [2024-05-24T08:34:43.615Z] a69c41024577: Download complete [2024-05-24T08:34:43.615Z] 35cb2a7552d0: Verifying Checksum [2024-05-24T08:34:43.615Z] 35cb2a7552d0: Download complete [2024-05-24T08:34:43.615Z] 4f4fb700ef54: Verifying Checksum [2024-05-24T08:34:43.615Z] 4f4fb700ef54: Download complete [2024-05-24T08:34:43.615Z] 9e011611b7f5: Verifying Checksum [2024-05-24T08:34:43.615Z] 9e011611b7f5: Download complete [2024-05-24T08:34:43.883Z] 4476f39b5e91: Verifying Checksum [2024-05-24T08:34:43.883Z] 4476f39b5e91: Download complete [2024-05-24T08:34:44.473Z] c6b39de5b339: Pull complete [2024-05-24T08:34:44.740Z] a69c41024577: Pull complete [2024-05-24T08:34:45.326Z] d6de4b400683: Download complete [2024-05-24T08:34:46.289Z] 3bd174042beb: Download complete [2024-05-24T08:34:58.638Z] d6de4b400683: Pull complete [2024-05-24T08:34:58.638Z] 35cb2a7552d0: Pull complete [2024-05-24T08:34:58.638Z] 4f4fb700ef54: Pull complete [2024-05-24T08:34:58.907Z] 9e011611b7f5: Pull complete [2024-05-24T08:35:07.166Z] 3bd174042beb: Pull complete [2024-05-24T08:35:09.115Z] 4476f39b5e91: Pull complete [2024-05-24T08:35:09.384Z] Digest: sha256:3ff92c4bac7a686c9bee1a691493ca45b01f27f0008dd3b8e347e1ca93528f02 [2024-05-24T08:35:09.384Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts [2024-05-24T08:35:09.384Z] ---> 981a0608b64a [2024-05-24T08:35:09.384Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-05-24T08:35:11.346Z] ---> Running in b81311bb66b5 [2024-05-24T08:35:11.616Z] Removing intermediate container b81311bb66b5 [2024-05-24T08:35:11.616Z] ---> 6ea9011b37c0 [2024-05-24T08:35:11.616Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-24T08:35:11.886Z] ---> Running in b898599169e2 [2024-05-24T08:35:12.155Z] Removing intermediate container b898599169e2 [2024-05-24T08:35:12.155Z] ---> 70d24df5c432 [2024-05-24T08:35:12.155Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-05-24T08:35:12.155Z] ---> Running in 05346e149fca [2024-05-24T08:35:12.431Z] Removing intermediate container 05346e149fca [2024-05-24T08:35:12.431Z] ---> c027fbe5b764 [2024-05-24T08:35:12.431Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-05-24T08:35:12.699Z] ---> Running in 32ef62070fde [2024-05-24T08:35:12.966Z] Removing intermediate container 32ef62070fde [2024-05-24T08:35:12.966Z] ---> 70521e70ec14 [2024-05-24T08:35:12.966Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-05-24T08:35:12.966Z] ---> Running in d741fe24dd35 [2024-05-24T08:35:14.385Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-24T08:35:14.652Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-24T08:35:15.628Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-05-24T08:35:15.628Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-05-24T08:35:15.628Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-05-24T08:35:15.898Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-05-24T08:35:15.898Z] Executing busybox-1.36.1-r5.trigger [2024-05-24T08:35:15.898Z] OK: 271 MiB in 56 packages [2024-05-24T08:35:17.331Z] Removing intermediate container d741fe24dd35 [2024-05-24T08:35:17.331Z] ---> 0d860a4f2d79 [2024-05-24T08:35:17.331Z] Step 8/12 : WORKDIR /device-mqtt-go [2024-05-24T08:35:17.331Z] ---> Running in 6cc13e8faa2c [2024-05-24T08:35:17.608Z] Removing intermediate container 6cc13e8faa2c [2024-05-24T08:35:17.608Z] ---> 7a81d2a7f6a7 [2024-05-24T08:35:17.608Z] Step 9/12 : COPY go.mod vendor* ./ [2024-05-24T08:35:24.260Z] ---> 178ce856a04f [2024-05-24T08:35:24.260Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-24T08:35:24.260Z] ---> Running in bae2fdac6fc2 [2024-05-24T08:36:20.686Z] Removing intermediate container bae2fdac6fc2 [2024-05-24T08:36:20.686Z] ---> 1efe5c53c756 [2024-05-24T08:36:20.686Z] Step 11/12 : COPY . . [2024-05-24T08:36:26.035Z] ---> 74e0dcf045f7 [2024-05-24T08:36:26.035Z] Step 12/12 : RUN $MAKE [2024-05-24T08:36:26.035Z] ---> Running in 98971c5ff9cc [2024-05-24T08:36:26.999Z] noop [2024-05-24T08:36:27.585Z] Removing intermediate container 98971c5ff9cc [2024-05-24T08:36:27.585Z] ---> b56221c5d016 [2024-05-24T08:36:28.168Z] Successfully built b56221c5d016 [2024-05-24T08:36:28.168Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T08:36:28.517Z] + docker inspect -f . ci-base-image-arm64 [2024-05-24T08:36:28.518Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-24T08:36:28.761Z] prd-ubuntu20.04-docker-arm64-4c-16g-688 does not seem to be running inside a container [2024-05-24T08:36:28.833Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/5 -v /w/workspace/device-mqtt-go/5:/w/workspace/device-mqtt-go/5:rw,z -v /w/workspace/device-mqtt-go/5@tmp:/w/workspace/device-mqtt-go/5@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-24T08:36:30.114Z] $ docker top 97787335d446dead9adf7ac55a8d200ba7f7f0a2f43ab01b52a676e4270b877c -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-24T08:36:30.949Z] + go version [2024-05-24T08:36:30.949Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-05-24T08:36:30.973Z] $ docker stop --time=1 97787335d446dead9adf7ac55a8d200ba7f7f0a2f43ab01b52a676e4270b877c [2024-05-24T08:36:32.643Z] $ docker rm -f --volumes 97787335d446dead9adf7ac55a8d200ba7f7f0a2f43ab01b52a676e4270b877c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T08:36:33.239Z] + docker inspect -f . ci-base-image-arm64 [2024-05-24T08:36:33.239Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-24T08:36:33.425Z] prd-ubuntu20.04-docker-arm64-4c-16g-688 does not seem to be running inside a container [2024-05-24T08:36:33.496Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/5 -v /w/workspace/device-mqtt-go/5:/w/workspace/device-mqtt-go/5:rw,z -v /w/workspace/device-mqtt-go/5@tmp:/w/workspace/device-mqtt-go/5@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-24T08:36:34.767Z] $ docker top 055b9f15c825b769142d29f57b26d9dddc6bac59b49af667d1951b27390dc02e -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-24T08:36:35.622Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/5 [Pipeline] fileExists [Pipeline] sh [2024-05-24T08:36:36.291Z] + make test [2024-05-24T08:36:36.291Z] go test ./... -coverprofile=coverage.out ./... [2024-05-24T08:36:38.872Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2024-05-24T08:38:45.557Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2024-05-24T08:38:45.557Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2024-05-24T08:38:45.557Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.075s coverage: 22.8% of statements [2024-05-24T08:38:45.557Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-05-24T08:38:45.557Z] go vet ./... [2024-05-24T08:39:07.618Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-05-24T08:39:07.618Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-05-24T08:39:07.618Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-05-24T08:39:07.635Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh [2024-05-24T08:39:07.974Z] + go mod tidy [Pipeline] } [2024-05-24T08:39:11.344Z] $ docker stop --time=1 055b9f15c825b769142d29f57b26d9dddc6bac59b49af667d1951b27390dc02e [2024-05-24T08:39:13.162Z] $ docker rm -f --volumes 055b9f15c825b769142d29f57b26d9dddc6bac59b49af667d1951b27390dc02e [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-24T08:39:14.527Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-05-24T08:39:14.554Z] Warning: overwriting stash ‘coverage-report’ [2024-05-24T08:39:15.636Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-24T08:39:16.023Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-05-24T08:39:16.332Z] + ls -al . [2024-05-24T08:39:16.332Z] total 184 [2024-05-24T08:39:16.332Z] drwxrwxr-x 9 jenkins jenkins 4096 May 24 08:36 . [2024-05-24T08:39:16.332Z] drwxrwxr-x 4 jenkins jenkins 4096 May 24 08:34 .. [2024-05-24T08:39:16.332Z] -rw-rw-r-- 1 jenkins jenkins 140 May 24 08:34 .dockerignore [2024-05-24T08:39:16.332Z] drwxrwxr-x 8 jenkins jenkins 4096 May 24 08:34 .git [2024-05-24T08:39:16.332Z] drwxrwxr-x 3 jenkins jenkins 4096 May 24 08:34 .github [2024-05-24T08:39:16.332Z] -rw-rw-r-- 1 jenkins jenkins 256 May 24 08:34 .gitignore [2024-05-24T08:39:16.332Z] -rw-rw-r-- 1 jenkins jenkins 41 May 24 08:34 .golangci.yml [2024-05-24T08:39:16.332Z] -rw-rw-r-- 1 jenkins jenkins 10405 May 24 08:34 Attribution.txt [2024-05-24T08:39:16.332Z] -rw-rw-r-- 1 jenkins jenkins 18574 May 24 08:34 CHANGELOG.md [2024-05-24T08:39:16.332Z] -rw-rw-r-- 1 jenkins jenkins 1798 May 24 08:34 Dockerfile [2024-05-24T08:39:16.332Z] -rw-rw-r-- 1 jenkins jenkins 677 May 24 08:34 GOVERNANCE.md [2024-05-24T08:39:16.332Z] -rw-rw-r-- 1 jenkins jenkins 657 May 24 08:34 Jenkinsfile [2024-05-24T08:39:16.332Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 24 08:34 LICENSE [2024-05-24T08:39:16.332Z] -rw-rw-r-- 1 jenkins jenkins 1963 May 24 08:34 Makefile [2024-05-24T08:39:16.332Z] -rw-rw-r-- 1 jenkins jenkins 620 May 24 08:34 OWNERS.md [2024-05-24T08:39:16.332Z] -rw-rw-r-- 1 jenkins jenkins 3599 May 24 08:34 README.md [2024-05-24T08:39:16.332Z] -rw-rw-r-- 1 jenkins jenkins 11 May 24 08:32 VERSION [2024-05-24T08:39:16.332Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 08:34 bin [2024-05-24T08:39:16.332Z] drwxrwxr-x 3 jenkins jenkins 4096 May 24 08:34 cmd [2024-05-24T08:39:16.332Z] -rw-r--r-- 1 jenkins jenkins 18506 May 24 08:38 coverage.out [2024-05-24T08:39:16.332Z] -rw-rw-r-- 1 jenkins jenkins 3745 May 24 08:34 go.mod [2024-05-24T08:39:16.332Z] -rw-rw-r-- 1 jenkins jenkins 34195 May 24 08:34 go.sum [2024-05-24T08:39:16.332Z] drwxrwxr-x 3 jenkins jenkins 4096 May 24 08:34 internal [2024-05-24T08:39:16.332Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 08:34 mock [2024-05-24T08:39:16.332Z] drwxrwxr-x 6 jenkins jenkins 4096 May 24 08:34 vendor [2024-05-24T08:39:16.332Z] -rw-rw-r-- 1 jenkins jenkins 227 May 24 08:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T08:39:16.673Z] + docker build -t device-mqtt-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=7a6fdf0b72787c14a6f52506e36c0d70e9ebdd72 --label arch=arm64 --label version=3.1.1-dev.1 . [2024-05-24T08:39:19.255Z] Sending build context to Docker daemon 38.32MB [2024-05-24T08:39:19.255Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2024-05-24T08:39:19.255Z] Step 2/25 : FROM ${BASE} AS builder [2024-05-24T08:39:19.255Z] ---> b56221c5d016 [2024-05-24T08:39:19.255Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2024-05-24T08:39:19.255Z] ---> Running in c92cbeaa0535 [2024-05-24T08:39:19.524Z] Removing intermediate container c92cbeaa0535 [2024-05-24T08:39:19.524Z] ---> 31ec3b81c996 [2024-05-24T08:39:19.524Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-24T08:39:19.524Z] ---> Running in 7305e7c2f16f [2024-05-24T08:39:19.796Z] Removing intermediate container 7305e7c2f16f [2024-05-24T08:39:19.796Z] ---> e9d5ee0b8541 [2024-05-24T08:39:19.796Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-05-24T08:39:20.073Z] ---> Running in a7e2ba4ac4d8 [2024-05-24T08:39:20.341Z] Removing intermediate container a7e2ba4ac4d8 [2024-05-24T08:39:20.341Z] ---> 97851077568b [2024-05-24T08:39:20.341Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2024-05-24T08:39:20.341Z] ---> Running in 6640983adff9 [2024-05-24T08:39:20.608Z] Removing intermediate container 6640983adff9 [2024-05-24T08:39:20.608Z] ---> 9387d1991c63 [2024-05-24T08:39:20.608Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-05-24T08:39:20.608Z] ---> Running in 68b7ad20e685 [2024-05-24T08:39:21.579Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-24T08:39:22.170Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-24T08:39:23.136Z] OK: 271 MiB in 56 packages [2024-05-24T08:39:24.099Z] Removing intermediate container 68b7ad20e685 [2024-05-24T08:39:24.099Z] ---> 1a87e4fa1bed [2024-05-24T08:39:24.099Z] Step 8/25 : WORKDIR /device-mqtt-go [2024-05-24T08:39:24.099Z] ---> Running in 4ca8dc0588ff [2024-05-24T08:39:24.365Z] Removing intermediate container 4ca8dc0588ff [2024-05-24T08:39:24.365Z] ---> 062ad9d66ff1 [2024-05-24T08:39:24.365Z] Step 9/25 : COPY go.mod vendor* ./ [2024-05-24T08:39:31.006Z] ---> d8eaac41bfed [2024-05-24T08:39:31.006Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-24T08:39:31.274Z] ---> Running in 3369f896f08c [2024-05-24T08:39:32.243Z] skipping... [2024-05-24T08:39:32.826Z] Removing intermediate container 3369f896f08c [2024-05-24T08:39:32.826Z] ---> 5863492898e6 [2024-05-24T08:39:32.826Z] Step 11/25 : COPY . . [2024-05-24T08:39:41.042Z] ---> 461a63eb0fb3 [2024-05-24T08:39:41.043Z] Step 12/25 : RUN $MAKE [2024-05-24T08:39:41.043Z] ---> Running in f8a6d344d3c5 [2024-05-24T08:39:41.043Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-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-mqtt ./cmd [2024-05-24T08:42:02.716Z] Removing intermediate container f8a6d344d3c5 [2024-05-24T08:42:02.716Z] ---> 84c975c190cd [2024-05-24T08:42:02.716Z] Step 13/25 : FROM alpine:3.18 [2024-05-24T08:42:02.716Z] 3.18: Pulling from library/alpine [2024-05-24T08:42:02.716Z] c6b39de5b339: Already exists [2024-05-24T08:42:02.716Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-05-24T08:42:02.716Z] Status: Downloaded newer image for alpine:3.18 [2024-05-24T08:42:02.716Z] ---> 33abbf032149 [2024-05-24T08:42:02.716Z] Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2024-05-24T08:42:02.716Z] ---> Running in 1312a5246755 [2024-05-24T08:42:02.716Z] Removing intermediate container 1312a5246755 [2024-05-24T08:42:02.716Z] ---> c11867be2b94 [2024-05-24T08:42:02.716Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2024-05-24T08:42:02.716Z] ---> Running in b27bf202fb35 [2024-05-24T08:42:02.716Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-24T08:42:02.716Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-24T08:42:02.716Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-05-24T08:42:02.716Z] Executing busybox-1.36.1-r5.trigger [2024-05-24T08:42:02.716Z] OK: 8 MiB in 16 packages [2024-05-24T08:42:02.716Z] Removing intermediate container b27bf202fb35 [2024-05-24T08:42:02.716Z] ---> 12a8dbe140c5 [2024-05-24T08:42:02.716Z] Step 16/25 : RUN apk --no-cache upgrade [2024-05-24T08:42:02.716Z] ---> Running in 38d27b74dd28 [2024-05-24T08:42:02.716Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-24T08:42:02.716Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-24T08:42:04.125Z] Upgrading critical system libraries and apk-tools: [2024-05-24T08:42:04.125Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-05-24T08:42:04.125Z] Executing busybox-1.36.1-r5.trigger [2024-05-24T08:42:04.125Z] Continuing the upgrade transaction with new apk-tools: [2024-05-24T08:42:04.391Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-24T08:42:04.656Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-24T08:42:05.618Z] (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) [2024-05-24T08:42:05.619Z] Executing busybox-1.36.1-r6.post-upgrade [2024-05-24T08:42:05.887Z] (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) [2024-05-24T08:42:05.887Z] (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-05-24T08:42:05.887Z] (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) [2024-05-24T08:42:05.887Z] (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) [2024-05-24T08:42:05.887Z] (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) [2024-05-24T08:42:06.157Z] Executing busybox-1.36.1-r6.trigger [2024-05-24T08:42:06.157Z] OK: 8 MiB in 16 packages [2024-05-24T08:42:07.565Z] Removing intermediate container 38d27b74dd28 [2024-05-24T08:42:07.565Z] ---> 400148e99385 [2024-05-24T08:42:07.565Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2024-05-24T08:42:09.506Z] ---> 0d9c65d5fedf [2024-05-24T08:42:09.506Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2024-05-24T08:42:09.772Z] ---> 84eb441fc33c [2024-05-24T08:42:09.772Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2024-05-24T08:42:10.353Z] ---> e724e9b76aa0 [2024-05-24T08:42:10.353Z] Step 20/25 : EXPOSE 59982 [2024-05-24T08:42:10.353Z] ---> Running in df7b9dfd3113 [2024-05-24T08:42:10.619Z] Removing intermediate container df7b9dfd3113 [2024-05-24T08:42:10.619Z] ---> 678e3b84df51 [2024-05-24T08:42:10.619Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2024-05-24T08:42:10.619Z] ---> Running in bcb30d100352 [2024-05-24T08:42:10.885Z] Removing intermediate container bcb30d100352 [2024-05-24T08:42:10.885Z] ---> 96de23ff5d42 [2024-05-24T08:42:10.885Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-05-24T08:42:11.151Z] ---> Running in 7c95691aac58 [2024-05-24T08:42:11.419Z] Removing intermediate container 7c95691aac58 [2024-05-24T08:42:11.419Z] ---> 778dd2bb454f [2024-05-24T08:42:11.419Z] Step 23/25 : LABEL arch=arm64 [2024-05-24T08:42:11.419Z] ---> Running in 4d3c85c1da94 [2024-05-24T08:42:11.691Z] Removing intermediate container 4d3c85c1da94 [2024-05-24T08:42:11.691Z] ---> 9cf1aa5b0c27 [2024-05-24T08:42:11.691Z] Step 24/25 : LABEL git_sha=7a6fdf0b72787c14a6f52506e36c0d70e9ebdd72 [2024-05-24T08:42:11.960Z] ---> Running in c50aa8800bd4 [2024-05-24T08:42:12.226Z] Removing intermediate container c50aa8800bd4 [2024-05-24T08:42:12.226Z] ---> 40c9435370b9 [2024-05-24T08:42:12.226Z] Step 25/25 : LABEL version=3.1.1-dev.1 [2024-05-24T08:42:12.226Z] ---> Running in ccfc3d0a2c0c [2024-05-24T08:42:12.491Z] Removing intermediate container ccfc3d0a2c0c [2024-05-24T08:42:12.491Z] ---> fac93b4f3134 [2024-05-24T08:42:12.491Z] [Warning] One or more build-args [ARCH] were not consumed [2024-05-24T08:42:12.759Z] Successfully built fac93b4f3134 [2024-05-24T08:42:12.759Z] Successfully tagged device-mqtt-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-24T08:42:13.221Z] provisioning config files... [2024-05-24T08:42:13.235Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/5@tmp/config13826639207180708771tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-24T08:42:13.603Z] ---> ****-login.sh [2024-05-24T08:42:13.603Z] nexus3.edgexfoundry.org:10001 [2024-05-24T08:42:13.603Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T08:42:13.872Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T08:42:13.872Z] Configure a credential helper to remove this warning. See [2024-05-24T08:42:13.872Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T08:42:13.872Z] [2024-05-24T08:42:13.872Z] Login Succeeded [2024-05-24T08:42:13.872Z] nexus3.edgexfoundry.org:10002 [2024-05-24T08:42:14.140Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T08:42:14.140Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T08:42:14.140Z] Configure a credential helper to remove this warning. See [2024-05-24T08:42:14.140Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T08:42:14.140Z] [2024-05-24T08:42:14.140Z] Login Succeeded [2024-05-24T08:42:14.140Z] nexus3.edgexfoundry.org:10003 [2024-05-24T08:42:14.408Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T08:42:14.677Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T08:42:14.677Z] Configure a credential helper to remove this warning. See [2024-05-24T08:42:14.677Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T08:42:14.677Z] [2024-05-24T08:42:14.677Z] Login Succeeded [2024-05-24T08:42:14.677Z] nexus3.edgexfoundry.org:10004 [2024-05-24T08:42:14.945Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T08:42:14.945Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T08:42:14.945Z] Configure a credential helper to remove this warning. See [2024-05-24T08:42:14.945Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T08:42:14.945Z] [2024-05-24T08:42:14.945Z] Login Succeeded [2024-05-24T08:42:14.945Z] ****.io [2024-05-24T08:42:15.213Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T08:42:15.482Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T08:42:15.482Z] Configure a credential helper to remove this warning. See [2024-05-24T08:42:15.482Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T08:42:15.482Z] [2024-05-24T08:42:15.482Z] Login Succeeded [2024-05-24T08:42:15.482Z] ---> ****-login.sh ends [Pipeline] } [2024-05-24T08:42:15.494Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-05-24T08:42:15.547Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-24T08:42:15.575Z] [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: [2024-05-24T08:42:15.575Z] 7a6fdf0b72787c14a6f52506e36c0d70e9ebdd72 [2024-05-24T08:42:15.575Z] 3.1.1-dev.1 [2024-05-24T08:42:15.575Z] 7a6fdf0b72787c14a6f52506e36c0d70e9ebdd72-3.1.1-dev.1 [2024-05-24T08:42:15.575Z] napa [2024-05-24T08:42:15.575Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T08:42:15.945Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:7a6fdf0b72787c14a6f52506e36c0d70e9ebdd72 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T08:42:16.303Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:7a6fdf0b72787c14a6f52506e36c0d70e9ebdd72 [2024-05-24T08:42:16.303Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2024-05-24T08:42:16.303Z] 6c7fa80be36c: Preparing [2024-05-24T08:42:16.303Z] ee065a541689: Preparing [2024-05-24T08:42:16.303Z] 769656c0bfdc: Preparing [2024-05-24T08:42:16.303Z] 74834cd0440c: Preparing [2024-05-24T08:42:16.303Z] f39045c86b27: Preparing [2024-05-24T08:42:16.303Z] 7c504f21be85: Preparing [2024-05-24T08:42:16.303Z] 7c504f21be85: Waiting [2024-05-24T08:42:16.568Z] f39045c86b27: Pushed [2024-05-24T08:42:16.568Z] 6c7fa80be36c: Pushed [2024-05-24T08:42:16.568Z] ee065a541689: Pushed [2024-05-24T08:42:16.568Z] 7c504f21be85: Layer already exists [2024-05-24T08:42:17.969Z] 74834cd0440c: Pushed [2024-05-24T08:42:22.207Z] 769656c0bfdc: Pushed [2024-05-24T08:42:22.207Z] 7a6fdf0b72787c14a6f52506e36c0d70e9ebdd72: digest: sha256:88b0f3417bf7b7a06b1deab33d372b1310208fcbfa36013662f48198b7ff3e9b size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T08:42:22.555Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T08:42:22.908Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.1-dev.1 [2024-05-24T08:42:22.909Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2024-05-24T08:42:22.909Z] 6c7fa80be36c: Preparing [2024-05-24T08:42:22.909Z] ee065a541689: Preparing [2024-05-24T08:42:22.909Z] 769656c0bfdc: Preparing [2024-05-24T08:42:22.909Z] 74834cd0440c: Preparing [2024-05-24T08:42:22.909Z] f39045c86b27: Preparing [2024-05-24T08:42:22.909Z] 7c504f21be85: Preparing [2024-05-24T08:42:22.909Z] 7c504f21be85: Waiting [2024-05-24T08:42:22.909Z] 6c7fa80be36c: Layer already exists [2024-05-24T08:42:22.909Z] ee065a541689: Layer already exists [2024-05-24T08:42:22.909Z] 74834cd0440c: Layer already exists [2024-05-24T08:42:22.909Z] f39045c86b27: Layer already exists [2024-05-24T08:42:22.909Z] 769656c0bfdc: Layer already exists [2024-05-24T08:42:22.909Z] 7c504f21be85: Layer already exists [2024-05-24T08:42:22.909Z] 3.1.1-dev.1: digest: sha256:88b0f3417bf7b7a06b1deab33d372b1310208fcbfa36013662f48198b7ff3e9b size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T08:42:23.540Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:7a6fdf0b72787c14a6f52506e36c0d70e9ebdd72-3.1.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T08:42:23.902Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:7a6fdf0b72787c14a6f52506e36c0d70e9ebdd72-3.1.1-dev.1 [2024-05-24T08:42:23.903Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2024-05-24T08:42:23.903Z] 6c7fa80be36c: Preparing [2024-05-24T08:42:23.903Z] ee065a541689: Preparing [2024-05-24T08:42:23.903Z] 769656c0bfdc: Preparing [2024-05-24T08:42:23.903Z] 74834cd0440c: Preparing [2024-05-24T08:42:23.903Z] f39045c86b27: Preparing [2024-05-24T08:42:23.903Z] 7c504f21be85: Preparing [2024-05-24T08:42:23.903Z] 7c504f21be85: Waiting [2024-05-24T08:42:23.903Z] ee065a541689: Layer already exists [2024-05-24T08:42:23.903Z] f39045c86b27: Layer already exists [2024-05-24T08:42:23.903Z] 74834cd0440c: Layer already exists [2024-05-24T08:42:23.903Z] 6c7fa80be36c: Layer already exists [2024-05-24T08:42:23.903Z] 769656c0bfdc: Layer already exists [2024-05-24T08:42:23.903Z] 7c504f21be85: Layer already exists [2024-05-24T08:42:23.903Z] 7a6fdf0b72787c14a6f52506e36c0d70e9ebdd72-3.1.1-dev.1: digest: sha256:88b0f3417bf7b7a06b1deab33d372b1310208fcbfa36013662f48198b7ff3e9b size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T08:42:24.253Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:napa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T08:42:24.614Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:napa [2024-05-24T08:42:24.614Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2024-05-24T08:42:24.614Z] 6c7fa80be36c: Preparing [2024-05-24T08:42:24.614Z] ee065a541689: Preparing [2024-05-24T08:42:24.614Z] 769656c0bfdc: Preparing [2024-05-24T08:42:24.614Z] 74834cd0440c: Preparing [2024-05-24T08:42:24.614Z] f39045c86b27: Preparing [2024-05-24T08:42:24.614Z] 7c504f21be85: Preparing [2024-05-24T08:42:24.614Z] 7c504f21be85: Waiting [2024-05-24T08:42:24.614Z] 769656c0bfdc: Layer already exists [2024-05-24T08:42:24.614Z] ee065a541689: Layer already exists [2024-05-24T08:42:24.614Z] 74834cd0440c: Layer already exists [2024-05-24T08:42:24.614Z] f39045c86b27: Layer already exists [2024-05-24T08:42:24.614Z] 6c7fa80be36c: Layer already exists [2024-05-24T08:42:24.614Z] 7c504f21be85: Layer already exists [2024-05-24T08:42:24.881Z] napa: digest: sha256:88b0f3417bf7b7a06b1deab33d372b1310208fcbfa36013662f48198b7ff3e9b size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-05-24T08:42:24.957Z] ===================================================== [Pipeline] echo [2024-05-24T08:42:24.973Z] taggedImages: [2024-05-24T08:42:24.973Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:7a6fdf0b72787c14a6f52506e36c0d70e9ebdd72 [2024-05-24T08:42:24.973Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.1-dev.1 [2024-05-24T08:42:24.973Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:7a6fdf0b72787c14a6f52506e36c0d70e9ebdd72-3.1.1-dev.1 [2024-05-24T08:42:24.973Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:napa [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T08:42:25.367Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-24T08:42:25.367Z] [2024-05-24T08:42:25.367Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T08:42:25.700Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-24T08:42:25.700Z] arm64: Pulling from edgex-lftools-log-publisher [2024-05-24T08:42:25.700Z] 8998bd30e6a1: Pulling fs layer [2024-05-24T08:42:25.700Z] 04944245beec: Pulling fs layer [2024-05-24T08:42:25.700Z] 699f458cf7ca: Pulling fs layer [2024-05-24T08:42:25.700Z] 765212b225bb: Pulling fs layer [2024-05-24T08:42:25.700Z] f23df028b6ca: Pulling fs layer [2024-05-24T08:42:25.700Z] d65c8cfc05b1: Pulling fs layer [2024-05-24T08:42:25.700Z] 2437ff75d9bd: Pulling fs layer [2024-05-24T08:42:25.700Z] d65c8cfc05b1: Waiting [2024-05-24T08:42:25.700Z] 765212b225bb: Waiting [2024-05-24T08:42:25.700Z] 2437ff75d9bd: Waiting [2024-05-24T08:42:25.700Z] f23df028b6ca: Waiting [2024-05-24T08:42:25.968Z] 04944245beec: Verifying Checksum [2024-05-24T08:42:25.968Z] 04944245beec: Download complete [2024-05-24T08:42:25.968Z] 765212b225bb: Verifying Checksum [2024-05-24T08:42:25.968Z] 765212b225bb: Download complete [2024-05-24T08:42:25.968Z] f23df028b6ca: Download complete [2024-05-24T08:42:25.968Z] d65c8cfc05b1: Download complete [2024-05-24T08:42:26.234Z] 699f458cf7ca: Verifying Checksum [2024-05-24T08:42:26.235Z] 699f458cf7ca: Download complete [2024-05-24T08:42:26.500Z] 8998bd30e6a1: Verifying Checksum [2024-05-24T08:42:26.500Z] 8998bd30e6a1: Download complete [2024-05-24T08:42:29.069Z] 2437ff75d9bd: Verifying Checksum [2024-05-24T08:42:29.069Z] 2437ff75d9bd: Download complete [2024-05-24T08:42:31.637Z] 8998bd30e6a1: Pull complete [2024-05-24T08:42:31.637Z] 04944245beec: Pull complete [2024-05-24T08:42:33.629Z] 699f458cf7ca: Pull complete [2024-05-24T08:42:33.629Z] 765212b225bb: Pull complete [2024-05-24T08:42:34.610Z] f23df028b6ca: Pull complete [2024-05-24T08:42:34.884Z] d65c8cfc05b1: Pull complete [2024-05-24T08:42:53.100Z] 2437ff75d9bd: Pull complete [2024-05-24T08:42:53.100Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-05-24T08:42:53.100Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-24T08:42:53.100Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-24T08:42:53.309Z] prd-ubuntu20.04-docker-arm64-4c-16g-688 does not seem to be running inside a container [2024-05-24T08:42:53.373Z] $ 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-mqtt-go/5 -v /w/workspace/device-mqtt-go/5:/w/workspace/device-mqtt-go/5:rw,z -v /w/workspace/device-mqtt-go/5@tmp:/w/workspace/device-mqtt-go/5@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-24T08:42:56.219Z] $ docker top 79f53ba8b2ec3e1189d4a80ec3d54585505d519753a1b490f4470df575fdbd04 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-24T08:42:57.066Z] ---> job-cost.sh [2024-05-24T08:42:57.066Z] lf-activate-venv: SKIPPING [2024-05-24T08:42:57.066Z] INFO: No Stack... [2024-05-24T08:42:57.648Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-05-24T08:42:58.607Z] INFO: Archiving Costs [Pipeline] sh [2024-05-24T08:42:59.230Z] + cat /w/workspace/device-mqtt-go/5/archives/cost.csv [2024-05-24T08:42:59.230Z] + cut -d, -f6 [Pipeline] lock [2024-05-24T08:42:59.249Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-napa-5-stack-cost] [2024-05-24T08:42:59.258Z] Resource [jenkins-edgexfoundry-device-mqtt-go-napa-5-stack-cost] did not exist. Created. [2024-05-24T08:42:59.265Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-napa-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-05-24T08:42:59.918Z] /w/workspace/device-mqtt-go/5@tmp/durable-68b6d9e0/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-05-24T08:43:00.548Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-05-24T08:43:00.563Z] Warning: overwriting stash ‘stack-cost’ [2024-05-24T08:43:00.960Z] Stashed 1 file(s) [Pipeline] } [2024-05-24T08:43:00.972Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-napa-5-stack-cost] [Pipeline] // lock [Pipeline] } [2024-05-24T08:43:01.004Z] $ docker stop --time=1 79f53ba8b2ec3e1189d4a80ec3d54585505d519753a1b490f4470df575fdbd04 [2024-05-24T08:43:02.521Z] $ docker rm -f --volumes 79f53ba8b2ec3e1189d4a80ec3d54585505d519753a1b490f4470df575fdbd04 [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-24T08:43:03.053Z] provisioning config files... [2024-05-24T08:43:03.076Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_napa@tmp/config7095279889830941250tmp [Pipeline] { [Pipeline] sh [2024-05-24T08:43:03.429Z] + set +x [2024-05-24T08:43:03.429Z] + bash -s -- [2024-05-24T08:43:03.429Z] + curl -s https://codecov.io/bash [2024-05-24T08:43:03.429Z] [2024-05-24T08:43:03.429Z] _____ _ [2024-05-24T08:43:03.429Z] / ____| | | [2024-05-24T08:43:03.429Z] | | ___ __| | ___ ___ _____ __ [2024-05-24T08:43:03.429Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-05-24T08:43:03.429Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-05-24T08:43:03.429Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-05-24T08:43:03.429Z] Bash-1.0.6 [2024-05-24T08:43:03.429Z] [2024-05-24T08:43:03.429Z] [2024-05-24T08:43:03.429Z] ==> git version 2.25.1 found [2024-05-24T08:43:03.429Z] ==> 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-24T08:43:03.429Z] Release-Date: 2020-01-08 [2024-05-24T08:43:03.429Z] 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-24T08:43:03.429Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-05-24T08:43:03.429Z] ==> Jenkins CI detected. [2024-05-24T08:43:03.429Z] current dir:  /w/workspace/edgexfoundry_device-mqtt-go_napa [2024-05-24T08:43:03.429Z] project root: . [2024-05-24T08:43:03.429Z] --> token set from env [2024-05-24T08:43:03.429Z] Yaml found at: vendor/github.com/labstack/echo/v4/codecov.yml [2024-05-24T08:43:03.429Z] ==> Running gcov in . (disable via -X gcov) [2024-05-24T08:43:03.702Z] ==> Python coveragepy not found [2024-05-24T08:43:03.702Z] ==> Searching for coverage reports in: [2024-05-24T08:43:03.702Z] + . [2024-05-24T08:43:03.702Z] -> Found 1 reports [2024-05-24T08:43:03.702Z] ==> Detecting git/mercurial file structure [2024-05-24T08:43:03.702Z] ==> Reading reports [2024-05-24T08:43:03.702Z] + ./coverage.out bytes=18506 [2024-05-24T08:43:03.702Z] ==> Appending adjustments [2024-05-24T08:43:03.702Z] https://docs.codecov.io/docs/fixing-reports [2024-05-24T08:43:03.702Z] + Found adjustments [2024-05-24T08:43:03.702Z] ==> Gzipping contents [2024-05-24T08:43:03.702Z] 16K /tmp/codecov.lEXBzM.gz [2024-05-24T08:43:03.702Z] ==> Uploading reports [2024-05-24T08:43:03.702Z] url: https://codecov.io [2024-05-24T08:43:03.702Z] query: branch=napa&commit=7a6fdf0b72787c14a6f52506e36c0d70e9ebdd72&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fnapa%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2024-05-24T08:43:03.702Z] -> Pinging Codecov [2024-05-24T08:43:03.702Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=napa&commit=7a6fdf0b72787c14a6f52506e36c0d70e9ebdd72&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fnapa%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2024-05-24T08:43:03.981Z] -> Uploading to [2024-05-24T08:43:03.981Z] https://storage.googleapis.com/codecov/v4/raw/2024-05-24/7D719EC7BBE17E464838252E33014C33/7a6fdf0b72787c14a6f52506e36c0d70e9ebdd72/62ef27da-af8f-405d-b51a-d6e93ac5b0f9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240524%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240524T084303Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=182a105c4fb1bf84f14a29e08d9686a45c944d2658a5e0b30b740b7e8345a9ac [2024-05-24T08:43:03.981Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-05-24T08:43:03.981Z] Dload Upload Total Spent Left Speed [2024-05-24T08:43:04.252Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14845 0 0 100 14845 0 64264 --:--:-- --:--:-- --:--:-- 64264 [2024-05-24T08:43:04.252Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/7a6fdf0b72787c14a6f52506e36c0d70e9ebdd72 [Pipeline] } [2024-05-24T08:43:04.283Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2024-05-24T08:43:04.527Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2024-05-24T08:43:04.546Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T08:43:04.850Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-05-24T08:43:04.850Z] [2024-05-24T08:43:04.850Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T08:43:05.152Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-05-24T08:43:05.152Z] latest: Pulling from edgex-devops/edgex-snyk-go [2024-05-24T08:43:05.152Z] 619be1103602: Already exists [2024-05-24T08:43:05.152Z] f8ea3408117e: Pulling fs layer [2024-05-24T08:43:05.152Z] 91320369b822: Pulling fs layer [2024-05-24T08:43:05.152Z] 0406650e8295: Pulling fs layer [2024-05-24T08:43:05.152Z] 4f4fb700ef54: Pulling fs layer [2024-05-24T08:43:05.152Z] 96d80e3f36e1: Pulling fs layer [2024-05-24T08:43:05.152Z] bcf3aedb951c: Pulling fs layer [2024-05-24T08:43:05.152Z] 96d80e3f36e1: Waiting [2024-05-24T08:43:05.152Z] bcf3aedb951c: Waiting [2024-05-24T08:43:05.152Z] 4f4fb700ef54: Waiting [2024-05-24T08:43:05.152Z] 0406650e8295: Download complete [2024-05-24T08:43:05.152Z] f8ea3408117e: Verifying Checksum [2024-05-24T08:43:05.152Z] f8ea3408117e: Download complete [2024-05-24T08:43:05.152Z] 4f4fb700ef54: Verifying Checksum [2024-05-24T08:43:05.152Z] 4f4fb700ef54: Download complete [2024-05-24T08:43:05.152Z] f8ea3408117e: Pull complete [2024-05-24T08:43:05.412Z] 96d80e3f36e1: Verifying Checksum [2024-05-24T08:43:05.412Z] 96d80e3f36e1: Download complete [2024-05-24T08:43:05.670Z] 91320369b822: Verifying Checksum [2024-05-24T08:43:05.670Z] 91320369b822: Download complete [2024-05-24T08:43:06.236Z] bcf3aedb951c: Verifying Checksum [2024-05-24T08:43:06.236Z] bcf3aedb951c: Download complete [2024-05-24T08:43:09.523Z] 91320369b822: Pull complete [2024-05-24T08:43:09.523Z] 0406650e8295: Pull complete [2024-05-24T08:43:09.523Z] 4f4fb700ef54: Pull complete [2024-05-24T08:43:09.523Z] 96d80e3f36e1: Pull complete [2024-05-24T08:43:12.810Z] bcf3aedb951c: Pull complete [2024-05-24T08:43:12.810Z] Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 [2024-05-24T08:43:12.810Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-05-24T08:43:12.810Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-24T08:43:12.904Z] prd-ubuntu20.04-docker-8c-8g-686 does not seem to be running inside a container [2024-05-24T08:43:12.926Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-mqtt-go_napa -v /w/workspace/edgexfoundry_device-mqtt-go_napa:/w/workspace/edgexfoundry_device-mqtt-go_napa:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_napa@tmp:/w/workspace/edgexfoundry_device-mqtt-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:latest cat [2024-05-24T08:43:16.466Z] $ docker top 27b49464ed8ab396d3b1ca541e24e2c085fbae5fa31225bad8bfc7f04429adc1 -eo pid,comm [Pipeline] { [Pipeline] echo [2024-05-24T08:43:16.541Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:napa' [Pipeline] sh [2024-05-24T08:43:16.820Z] + set -o pipefail [2024-05-24T08:43:16.820Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:napa' [2024-05-24T08:43:18.723Z] [2024-05-24T08:43:18.723Z] Monitoring /w/workspace/edgexfoundry_device-mqtt-go_napa... [2024-05-24T08:43:18.723Z] [2024-05-24T08:43:18.723Z] 'go list -json -deps ./...' command failed with error: error obtaining VCS status: exit status 128 [2024-05-24T08:43:18.723Z] Use -buildvcs=false to disable VCS stamping. [2024-05-24T08:43:18.723Z] error obtaining VCS status: exit status 128 [2024-05-24T08:43:18.723Z] Use -buildvcs=false to disable VCS stamping. [2024-05-24T08:43:18.723Z] [Pipeline] } [2024-05-24T08:43:18.986Z] $ docker stop --time=1 27b49464ed8ab396d3b1ca541e24e2c085fbae5fa31225bad8bfc7f04429adc1 [2024-05-24T08:43:21.267Z] $ docker rm -f --volumes 27b49464ed8ab396d3b1ca541e24e2c085fbae5fa31225bad8bfc7f04429adc1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-05-24T08:43:21.390Z] [edgeXSnyk] Exit Code: 2 [Pipeline] error [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [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-24T08:43:22.204Z] + [ -d /w/workspace/edgexfoundry_device-mqtt-go_napa/archives ] [2024-05-24T08:43:22.204Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_napa/archives [2024-05-24T08:43:22.204Z] total 16 [2024-05-24T08:43:22.204Z] drwxr-xr-x 3 root root 4096 May 24 08:34 . [2024-05-24T08:43:22.204Z] drwxrwxr-x 11 jenkins jenkins 4096 May 24 08:34 .. [2024-05-24T08:43:22.204Z] drwxr-xr-x 2 root root 4096 May 24 08:34 cost [2024-05-24T08:43:22.204Z] -rw-r--r-- 1 root root 84 May 24 08:34 cost.csv [2024-05-24T08:43:22.204Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_napa/archives [2024-05-24T08:43:22.204Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_napa/archives [2024-05-24T08:43:22.204Z] total 16 [2024-05-24T08:43:22.204Z] drwxr-xr-x 3 jenkins jenkins 4096 May 24 08:34 . [2024-05-24T08:43:22.204Z] drwxrwxr-x 11 jenkins jenkins 4096 May 24 08:34 .. [2024-05-24T08:43:22.204Z] drwxr-xr-x 2 jenkins jenkins 4096 May 24 08:34 cost [2024-05-24T08:43:22.204Z] -rw-r--r-- 1 jenkins jenkins 84 May 24 08:34 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-05-24T08:43:22.495Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-24T08:43:23.356Z] ---> package-listing.sh [2024-05-24T08:43:23.356Z] ++ facter osfamily [2024-05-24T08:43:23.356Z] ++ tr '[:upper:]' '[:lower:]' [2024-05-24T08:43:23.615Z] + OS_FAMILY=debian [2024-05-24T08:43:23.615Z] + workspace=/w/workspace/edgexfoundry_device-mqtt-go_napa [2024-05-24T08:43:23.615Z] + START_PACKAGES=/tmp/packages_start.txt [2024-05-24T08:43:23.615Z] + END_PACKAGES=/tmp/packages_end.txt [2024-05-24T08:43:23.615Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-05-24T08:43:23.615Z] + PACKAGES=/tmp/packages_start.txt [2024-05-24T08:43:23.615Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_napa ']' [2024-05-24T08:43:23.615Z] + PACKAGES=/tmp/packages_end.txt [2024-05-24T08:43:23.615Z] + case "${OS_FAMILY}" in [2024-05-24T08:43:23.615Z] + dpkg -l [2024-05-24T08:43:23.615Z] + grep '^ii' [2024-05-24T08:43:23.615Z] + '[' -f /tmp/packages_start.txt ']' [2024-05-24T08:43:23.615Z] + '[' -f /tmp/packages_end.txt ']' [2024-05-24T08:43:23.615Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-05-24T08:43:23.615Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_napa ']' [2024-05-24T08:43:23.615Z] + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_napa/archives/ [2024-05-24T08:43:23.615Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_napa/archives/ [Pipeline] echo [2024-05-24T08:43:23.625Z] 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/edgexfoundry_device-mqtt-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-24T08:43:23.901Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T08:43:24.512Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-24T08:43:24.513Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-24T08:43:24.594Z] prd-ubuntu20.04-docker-8c-8g-686 does not seem to be running inside a container [2024-05-24T08:43:24.620Z] $ 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/edgexfoundry_device-mqtt-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/edgexfoundry_device-mqtt-go_napa -v /w/workspace/edgexfoundry_device-mqtt-go_napa:/w/workspace/edgexfoundry_device-mqtt-go_napa:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_napa@tmp:/w/workspace/edgexfoundry_device-mqtt-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-24T08:43:24.837Z] $ docker top 22479f1d8e19a92d1afd27593f97c67ee598828b219b5dbf7fff85f78bd7de59 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-24T08:43:25.188Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-05-24T08:43:25.471Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-05-24T08:43:25.757Z] + ls /var/log/sa-host [2024-05-24T08:43:25.757Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-24T08:43:25.929Z] provisioning config files... [2024-05-24T08:43:25.937Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_napa@tmp/config10983350463857786126tmp [Pipeline] { [Pipeline] echo [2024-05-24T08:43:25.956Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-24T08:43:26.235Z] ---> create-netrc.sh [Pipeline] } [2024-05-24T08:43:26.241Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-05-24T08:43:26.575Z] ---> python-tools-install.sh [Pipeline] echo [2024-05-24T08:43:26.584Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-24T08:43:26.865Z] ---> sudo-logs.sh [2024-05-24T08:43:26.865Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-05-24T08:43:26.901Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-24T08:43:27.177Z] ---> job-cost.sh [2024-05-24T08:43:27.177Z] lf-activate-venv: SKIPPING [2024-05-24T08:43:27.177Z] DEBUG: total: 0.2199999988079071 [2024-05-24T08:43:27.177Z] INFO: Retrieving Stack Cost... [2024-05-24T08:43:27.744Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-05-24T08:43:28.003Z] INFO: Archiving Costs [Pipeline] echo [2024-05-24T08:43:28.015Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-24T08:43:28.298Z] ---> logs-deploy.sh [2024-05-24T08:43:28.298Z] lf-activate-venv: SKIPPING [2024-05-24T08:43:28.298Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/napa/5 [2024-05-24T08:43:28.298Z] INFO: archiving workspace using pattern(s): [2024-05-24T08:43:29.235Z] Archives upload complete. [2024-05-24T08:43:29.235Z] INFO: archiving logs to Nexus