Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from aecec81b0df1ccac07961d4c177179e1cb746efd 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-ssh17784078118876397137.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh15037132571745894515.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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/main/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/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14861973464387761745.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh18218293090526175678.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/main/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/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1264656085837960120.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9951 in /w/workspace/edgexfoundry_device-mqtt-go_main [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_main # 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 > 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 Avoid second fetch Checking out Revision aecec81b0df1ccac07961d4c177179e1cb746efd (main) Commit message: "feat!: Remove snap packaging (#635)" > git config core.sparsecheckout # timeout=10 > git checkout -f aecec81b0df1ccac07961d4c177179e1cb746efd # timeout=10 > git rev-list --no-walk 3d33c97016b772b808cfb4d9266f28d352587cb6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-10-24T16:04:21.702Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-10-24T16:04:21.782Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-10-24T16:04:21.805Z] ========================================================= [2023-10-24T16:04:21.805Z] EdgeX Global Pipelines Version Info [2023-10-24T16:04:21.805Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-10-24T16:04:22.517Z] ------------------- [2023-10-24T16:04:22.517Z] stable info: [2023-10-24T16:04:22.517Z] ------------------- [2023-10-24T16:04:22.517Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-10-24T16:04:22.517Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-24T16:04:22.517Z] Message: update stable to v1.0.254 [2023-10-24T16:04:23.091Z] ------------------- [2023-10-24T16:04:23.091Z] experimental info: [2023-10-24T16:04:23.091Z] ------------------- [2023-10-24T16:04:23.091Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-10-24T16:04:23.091Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-24T16:04:23.091Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-10-24T16:04:23.261Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-10-24T16:04:23.272Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-10-24T16:04:23.286Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-10-24T16:04:23.302Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-10-24T16:04:23.327Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-10-24T16:04:23.344Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-10-24T16:04:23.356Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-10-24T16:04:23.370Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-10-24T16:04:23.384Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-10-24T16:04:23.397Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-10-24T16:04:23.412Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-10-24T16:04:23.425Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-10-24T16:04:23.439Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-10-24T16:04:23.456Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-10-24T16:04:23.475Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-10-24T16:04:23.491Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-10-24T16:04:23.505Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-10-24T16:04:23.618Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-10-24T16:04:23.631Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-10-24T16:04:23.640Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-10-24T16:04:23.650Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-10-24T16:04:23.660Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-10-24T16:04:23.673Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-10-24T16:04:23.686Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-10-24T16:04:23.696Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-10-24T16:04:23.707Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-10-24T16:04:23.719Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-10-24T16:04:23.736Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-10-24T16:04:23.747Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-10-24T16:04:23.761Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-10-24T16:04:23.772Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = aecec81b0df1ccac07961d4c177179e1cb746efd [Pipeline] echo [2023-10-24T16:04:23.790Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = aecec81 [Pipeline] echo [2023-10-24T16:04:23.804Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-24T16:04:23.845Z] provisioning config files... [2023-10-24T16:04:23.857Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config17687929751689724186tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T16:04:24.157Z] ---> docker-login.sh [2023-10-24T16:04:24.157Z] nexus3.edgexfoundry.org:10001 [2023-10-24T16:04:24.157Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T16:04:24.417Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T16:04:24.417Z] Configure a credential helper to remove this warning. See [2023-10-24T16:04:24.417Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T16:04:24.417Z] [2023-10-24T16:04:24.417Z] Login Succeeded [2023-10-24T16:04:24.417Z] nexus3.edgexfoundry.org:10002 [2023-10-24T16:04:24.417Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T16:04:24.417Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T16:04:24.417Z] Configure a credential helper to remove this warning. See [2023-10-24T16:04:24.417Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T16:04:24.417Z] [2023-10-24T16:04:24.417Z] Login Succeeded [2023-10-24T16:04:24.417Z] nexus3.edgexfoundry.org:10003 [2023-10-24T16:04:24.676Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T16:04:24.676Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T16:04:24.676Z] Configure a credential helper to remove this warning. See [2023-10-24T16:04:24.676Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T16:04:24.676Z] [2023-10-24T16:04:24.676Z] Login Succeeded [2023-10-24T16:04:24.676Z] nexus3.edgexfoundry.org:10004 [2023-10-24T16:04:24.676Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T16:04:24.676Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T16:04:24.676Z] Configure a credential helper to remove this warning. See [2023-10-24T16:04:24.676Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T16:04:24.676Z] [2023-10-24T16:04:24.676Z] Login Succeeded [2023-10-24T16:04:24.676Z] docker.io [2023-10-24T16:04:24.676Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T16:04:25.254Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T16:04:25.254Z] Configure a credential helper to remove this warning. See [2023-10-24T16:04:25.254Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T16:04:25.254Z] [2023-10-24T16:04:25.254Z] Login Succeeded [2023-10-24T16:04:25.254Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T16:04:25.264Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-10-24T16:04:25.655Z] + git rev-list -1 --merges aecec81b0df1ccac07961d4c177179e1cb746efd~1..aecec81b0df1ccac07961d4c177179e1cb746efd [Pipeline] echo [2023-10-24T16:04:25.726Z] -----------> git rev-list -1 --merges aecec81b0df1ccac07961d4c177179e1cb746efd~1..aecec81b0df1ccac07961d4c177179e1cb746efd aecec81b0df1ccac07961d4c177179e1cb746efd [false] [Pipeline] sh [2023-10-24T16:04:26.012Z] + git log --format=format:%s -1 aecec81b0df1ccac07961d4c177179e1cb746efd [Pipeline] echo [2023-10-24T16:04:26.024Z] ========================================================= [2023-10-24T16:04:26.024Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-24T16:04:26.024Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-24T16:04:26.348Z] + git log --format=format:%s -1 aecec81b0df1ccac07961d4c177179e1cb746efd [Pipeline] echo [2023-10-24T16:04:26.358Z] [semverPrep] GIT_COMMIT: aecec81b0df1ccac07961d4c177179e1cb746efd, Commit Message: feat!: Remove snap packaging (#635) [Pipeline] echo [2023-10-24T16:04:26.366Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-10-24T16:04:27.419Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-24T16:04:27.419Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-10-24T16:04:27.419Z] + [ -e /tmp/ssh_known_hosts ] [2023-10-24T16:04:27.419Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-10-24T16:04:27.419Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-10-24T16:04:27.419Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-10-24T16:04:27.419Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:04:27.760Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T16:04:27.760Z] [2023-10-24T16:04:27.760Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:04:28.056Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T16:04:28.056Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-10-24T16:04:28.056Z] b85a868b505f: Pulling fs layer [2023-10-24T16:04:28.056Z] e2be974225ed: Pulling fs layer [2023-10-24T16:04:28.056Z] 339a4e72a1f5: Pulling fs layer [2023-10-24T16:04:28.056Z] 988bab9f4d93: Pulling fs layer [2023-10-24T16:04:28.056Z] 1469e6f7b9e6: Pulling fs layer [2023-10-24T16:04:28.056Z] eaf3925da568: Pulling fs layer [2023-10-24T16:04:28.056Z] bab4dde63d76: Pulling fs layer [2023-10-24T16:04:28.056Z] bde34c3a00c8: Pulling fs layer [2023-10-24T16:04:28.056Z] b352a97aabf1: Pulling fs layer [2023-10-24T16:04:28.056Z] 4872d77fe225: Pulling fs layer [2023-10-24T16:04:28.056Z] 5851b861e8e6: Pulling fs layer [2023-10-24T16:04:28.056Z] 988bab9f4d93: Waiting [2023-10-24T16:04:28.056Z] 1469e6f7b9e6: Waiting [2023-10-24T16:04:28.056Z] 4872d77fe225: Waiting [2023-10-24T16:04:28.056Z] b352a97aabf1: Waiting [2023-10-24T16:04:28.056Z] 5851b861e8e6: Waiting [2023-10-24T16:04:28.056Z] eaf3925da568: Waiting [2023-10-24T16:04:28.056Z] bde34c3a00c8: Waiting [2023-10-24T16:04:28.056Z] e2be974225ed: Verifying Checksum [2023-10-24T16:04:28.056Z] e2be974225ed: Download complete [2023-10-24T16:04:28.056Z] 988bab9f4d93: Verifying Checksum [2023-10-24T16:04:28.056Z] 988bab9f4d93: Download complete [2023-10-24T16:04:28.056Z] 1469e6f7b9e6: Verifying Checksum [2023-10-24T16:04:28.056Z] 1469e6f7b9e6: Download complete [2023-10-24T16:04:28.315Z] 339a4e72a1f5: Verifying Checksum [2023-10-24T16:04:28.315Z] 339a4e72a1f5: Download complete [2023-10-24T16:04:28.315Z] eaf3925da568: Verifying Checksum [2023-10-24T16:04:28.315Z] eaf3925da568: Download complete [2023-10-24T16:04:28.315Z] bde34c3a00c8: Verifying Checksum [2023-10-24T16:04:28.315Z] bde34c3a00c8: Download complete [2023-10-24T16:04:28.315Z] b352a97aabf1: Download complete [2023-10-24T16:04:28.315Z] 4872d77fe225: Download complete [2023-10-24T16:04:28.315Z] 5851b861e8e6: Verifying Checksum [2023-10-24T16:04:28.315Z] 5851b861e8e6: Download complete [2023-10-24T16:04:28.315Z] b85a868b505f: Verifying Checksum [2023-10-24T16:04:28.315Z] b85a868b505f: Download complete [2023-10-24T16:04:28.573Z] bab4dde63d76: Verifying Checksum [2023-10-24T16:04:28.573Z] bab4dde63d76: Download complete [2023-10-24T16:04:29.508Z] b85a868b505f: Pull complete [2023-10-24T16:04:29.508Z] e2be974225ed: Pull complete [2023-10-24T16:04:30.076Z] 339a4e72a1f5: Pull complete [2023-10-24T16:04:30.076Z] 988bab9f4d93: Pull complete [2023-10-24T16:04:30.335Z] 1469e6f7b9e6: Pull complete [2023-10-24T16:04:30.594Z] eaf3925da568: Pull complete [2023-10-24T16:04:31.966Z] bab4dde63d76: Pull complete [2023-10-24T16:04:31.966Z] bde34c3a00c8: Pull complete [2023-10-24T16:04:32.225Z] b352a97aabf1: Pull complete [2023-10-24T16:04:32.225Z] 4872d77fe225: Pull complete [2023-10-24T16:04:32.225Z] 5851b861e8e6: Pull complete [2023-10-24T16:04:32.484Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-10-24T16:04:32.484Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T16:04:32.484Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T16:04:32.586Z] prd-ubuntu20.04-docker-8c-8g-9951 does not seem to be running inside a container [2023-10-24T16:04:32.618Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-24T16:04:35.694Z] $ docker top 50eb85fcfe210c7bb8d7100df4fddb9e28b428a5db114c34e5d016c7ffbbd056 -eo pid,comm [2023-10-24T16:04:35.743Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-10-24T16:04:35.743Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-24T16:04:35.776Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-24T16:04:35.776Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-24T16:04:35.886Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-24T16:04:35.891Z] $ docker exec 50eb85fcfe210c7bb8d7100df4fddb9e28b428a5db114c34e5d016c7ffbbd056 ssh-agent [2023-10-24T16:04:35.987Z] SSH_AUTH_SOCK=/tmp/ssh-J8pOJ76WBnIO/agent.31 [2023-10-24T16:04:35.987Z] SSH_AGENT_PID=37 [2023-10-24T16:04:35.994Z] Running ssh-add (command line suppressed) [2023-10-24T16:04:36.095Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_12990971054122690300.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_12990971054122690300.key) [2023-10-24T16:04:36.107Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-24T16:04:36.394Z] + git tag --points-at HEAD [Pipeline] } [2023-10-24T16:04:36.409Z] $ docker exec --env ******** --env ******** 50eb85fcfe210c7bb8d7100df4fddb9e28b428a5db114c34e5d016c7ffbbd056 ssh-agent -k [2023-10-24T16:04:36.502Z] unset SSH_AUTH_SOCK; [2023-10-24T16:04:36.502Z] unset SSH_AGENT_PID; [2023-10-24T16:04:36.502Z] echo Agent pid 37 killed; [2023-10-24T16:04:36.509Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-10-24T16:04:36.532Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-24T16:04:36.532Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-24T16:04:36.632Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-24T16:04:36.637Z] $ docker exec 50eb85fcfe210c7bb8d7100df4fddb9e28b428a5db114c34e5d016c7ffbbd056 ssh-agent [2023-10-24T16:04:36.749Z] SSH_AUTH_SOCK=/tmp/ssh-v9ONPLQLyogb/agent.69 [2023-10-24T16:04:36.749Z] SSH_AGENT_PID=75 [2023-10-24T16:04:36.764Z] Running ssh-add (command line suppressed) [2023-10-24T16:04:36.869Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_11046404374075609162.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_11046404374075609162.key) [2023-10-24T16:04:36.882Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-24T16:04:37.171Z] + git semver init [2023-10-24T16:04:37.431Z] 2023-10-24 16:04:37,329 [run_init] DEBUG init version:0.0.0 force:False [2023-10-24T16:04:37.431Z] 2023-10-24 16:04:37,330 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2023-10-24T16:04:37.431Z] 2023-10-24 16:04:37,330 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2023-10-24T16:04:37.431Z] 2023-10-24 16:04:37,331 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/edgexfoundry_device-mqtt-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) [2023-10-24T16:04:38.370Z] 2023-10-24 16:04:38,219 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude [2023-10-24T16:04:38.370Z] 2023-10-24 16:04:38,220 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False [2023-10-24T16:04:38.370Z] 2023-10-24 16:04:38,220 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-10-24T16:04:38.370Z] 2023-10-24 16:04:38,220 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-10-24T16:04:38.370Z] 3.1.0-dev.19 [Pipeline] } [2023-10-24T16:04:38.381Z] $ docker exec --env ******** --env ******** 50eb85fcfe210c7bb8d7100df4fddb9e28b428a5db114c34e5d016c7ffbbd056 ssh-agent -k [2023-10-24T16:04:38.477Z] unset SSH_AUTH_SOCK; [2023-10-24T16:04:38.477Z] unset SSH_AGENT_PID; [2023-10-24T16:04:38.478Z] echo Agent pid 75 killed; [2023-10-24T16:04:38.485Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-24T16:04:38.796Z] + git semver [Pipeline] } [2023-10-24T16:04:39.073Z] $ docker stop --time=1 50eb85fcfe210c7bb8d7100df4fddb9e28b428a5db114c34e5d016c7ffbbd056 [2023-10-24T16:04:40.365Z] $ docker rm -f --volumes 50eb85fcfe210c7bb8d7100df4fddb9e28b428a5db114c34e5d016c7ffbbd056 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-24T16:04:40.703Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-10-24T16:04:40.897Z] Stashed 1 file(s) [Pipeline] echo [2023-10-24T16:04:40.899Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.19 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-24T16:04:41.035Z] provisioning config files... [2023-10-24T16:04:41.043Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config16395074752063056065tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T16:04:41.344Z] ---> docker-login.sh [2023-10-24T16:04:41.344Z] nexus3.edgexfoundry.org:10001 [2023-10-24T16:04:41.344Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T16:04:41.344Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T16:04:41.344Z] Configure a credential helper to remove this warning. See [2023-10-24T16:04:41.344Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T16:04:41.344Z] [2023-10-24T16:04:41.344Z] Login Succeeded [2023-10-24T16:04:41.344Z] nexus3.edgexfoundry.org:10002 [2023-10-24T16:04:41.344Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T16:04:41.344Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T16:04:41.344Z] Configure a credential helper to remove this warning. See [2023-10-24T16:04:41.344Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T16:04:41.344Z] [2023-10-24T16:04:41.344Z] Login Succeeded [2023-10-24T16:04:41.344Z] nexus3.edgexfoundry.org:10003 [2023-10-24T16:04:41.607Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T16:04:41.607Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T16:04:41.607Z] Configure a credential helper to remove this warning. See [2023-10-24T16:04:41.607Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T16:04:41.607Z] [2023-10-24T16:04:41.607Z] Login Succeeded [2023-10-24T16:04:41.607Z] nexus3.edgexfoundry.org:10004 [2023-10-24T16:04:41.607Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T16:04:41.607Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T16:04:41.607Z] Configure a credential helper to remove this warning. See [2023-10-24T16:04:41.607Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T16:04:41.607Z] [2023-10-24T16:04:41.607Z] Login Succeeded [2023-10-24T16:04:41.607Z] docker.io [2023-10-24T16:04:41.607Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T16:04:41.866Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T16:04:41.866Z] Configure a credential helper to remove this warning. See [2023-10-24T16:04:41.866Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T16:04:41.866Z] [2023-10-24T16:04:41.866Z] Login Succeeded [2023-10-24T16:04:41.866Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T16:04:41.873Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-24T16:04:41.923Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T16:04:41.933Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T16:04:41.940Z] ========================================================= [2023-10-24T16:04:41.940Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-10-24T16:04:41.940Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:04:42.240Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-10-24T16:04:42.241Z] Sending build context to Docker daemon 6.528MB [2023-10-24T16:04:42.241Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-10-24T16:04:42.241Z] Step 2/12 : FROM ${BASE} AS builder [2023-10-24T16:04:42.241Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-10-24T16:04:42.241Z] 7264a8db6415: Pulling fs layer [2023-10-24T16:04:42.241Z] c4d48a809fc2: Pulling fs layer [2023-10-24T16:04:42.241Z] 4f1c88b9dad5: Pulling fs layer [2023-10-24T16:04:42.241Z] ad3a456e5733: Pulling fs layer [2023-10-24T16:04:42.241Z] 33e27b845d1e: Pulling fs layer [2023-10-24T16:04:42.241Z] c68163c4e522: Pulling fs layer [2023-10-24T16:04:42.241Z] 50da416c3ac9: Pulling fs layer [2023-10-24T16:04:42.241Z] 23d2d4c4bb30: Pulling fs layer [2023-10-24T16:04:42.241Z] 33e27b845d1e: Waiting [2023-10-24T16:04:42.241Z] c68163c4e522: Waiting [2023-10-24T16:04:42.241Z] 50da416c3ac9: Waiting [2023-10-24T16:04:42.241Z] 23d2d4c4bb30: Waiting [2023-10-24T16:04:42.241Z] ad3a456e5733: Waiting [2023-10-24T16:04:42.241Z] c4d48a809fc2: Verifying Checksum [2023-10-24T16:04:42.241Z] c4d48a809fc2: Download complete [2023-10-24T16:04:42.241Z] ad3a456e5733: Verifying Checksum [2023-10-24T16:04:42.241Z] ad3a456e5733: Download complete [2023-10-24T16:04:42.241Z] 33e27b845d1e: Download complete [2023-10-24T16:04:42.503Z] 7264a8db6415: Verifying Checksum [2023-10-24T16:04:42.503Z] 7264a8db6415: Download complete [2023-10-24T16:04:42.503Z] c68163c4e522: Verifying Checksum [2023-10-24T16:04:42.503Z] c68163c4e522: Download complete [2023-10-24T16:04:42.503Z] 7264a8db6415: Pull complete [2023-10-24T16:04:42.762Z] 23d2d4c4bb30: Verifying Checksum [2023-10-24T16:04:42.762Z] 23d2d4c4bb30: Download complete [2023-10-24T16:04:42.762Z] c4d48a809fc2: Pull complete [2023-10-24T16:04:42.762Z] 4f1c88b9dad5: Verifying Checksum [2023-10-24T16:04:42.762Z] 4f1c88b9dad5: Download complete [2023-10-24T16:04:43.329Z] 50da416c3ac9: Verifying Checksum [2023-10-24T16:04:43.329Z] 50da416c3ac9: Download complete [2023-10-24T16:04:45.856Z] 4f1c88b9dad5: Pull complete [2023-10-24T16:04:45.856Z] ad3a456e5733: Pull complete [2023-10-24T16:04:45.856Z] 33e27b845d1e: Pull complete [2023-10-24T16:04:45.856Z] c68163c4e522: Pull complete [2023-10-24T16:04:48.400Z] 50da416c3ac9: Pull complete [2023-10-24T16:04:48.400Z] 23d2d4c4bb30: Pull complete [2023-10-24T16:04:48.400Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-10-24T16:04:48.400Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-10-24T16:04:48.400Z] ---> 0786185ac409 [2023-10-24T16:04:48.400Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-10-24T16:04:52.597Z] ---> Running in 80f645fbf395 [2023-10-24T16:04:52.597Z] Removing intermediate container 80f645fbf395 [2023-10-24T16:04:52.597Z] ---> 49cf7515e058 [2023-10-24T16:04:52.598Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-24T16:04:52.598Z] ---> Running in c7426b480ddb [2023-10-24T16:04:52.598Z] Removing intermediate container c7426b480ddb [2023-10-24T16:04:52.598Z] ---> 2a347bc16dbd [2023-10-24T16:04:52.598Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-24T16:04:52.855Z] ---> Running in d32baef243bd [2023-10-24T16:04:52.855Z] Removing intermediate container d32baef243bd [2023-10-24T16:04:52.855Z] ---> a7440050dd38 [2023-10-24T16:04:52.855Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-10-24T16:04:52.855Z] ---> Running in 46087b3a1d76 [2023-10-24T16:04:52.855Z] Removing intermediate container 46087b3a1d76 [2023-10-24T16:04:52.855Z] ---> b13b3dbd7a66 [2023-10-24T16:04:52.855Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-24T16:04:52.855Z] ---> Running in d795a9c9914b [2023-10-24T16:04:53.113Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-24T16:04:53.373Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-24T16:04:53.373Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-10-24T16:04:53.373Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-10-24T16:04:53.373Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-10-24T16:04:53.373Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-10-24T16:04:53.373Z] Executing busybox-1.36.1-r2.trigger [2023-10-24T16:04:53.373Z] OK: 268 MiB in 56 packages [2023-10-24T16:04:53.957Z] Removing intermediate container d795a9c9914b [2023-10-24T16:04:53.957Z] ---> 3b9da7d64d34 [2023-10-24T16:04:53.957Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-10-24T16:04:53.957Z] ---> Running in a6ff29801fc5 [2023-10-24T16:04:54.218Z] Removing intermediate container a6ff29801fc5 [2023-10-24T16:04:54.218Z] ---> 220c84d2b8f4 [2023-10-24T16:04:54.218Z] Step 9/12 : COPY go.mod vendor* ./ [2023-10-24T16:04:54.218Z] ---> a3c356eacca5 [2023-10-24T16:04:54.218Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-24T16:04:54.218Z] ---> Running in 6b9a85002c25 [2023-10-24T16:04:56.001Z] Still waiting to schedule task [2023-10-24T16:04:56.002Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-10-24T16:05:50.460Z] Removing intermediate container 6b9a85002c25 [2023-10-24T16:05:50.460Z] ---> ffa05b80468c [2023-10-24T16:05:50.460Z] Step 11/12 : COPY . . [2023-10-24T16:05:50.460Z] ---> 18e5f2add908 [2023-10-24T16:05:50.460Z] Step 12/12 : RUN $MAKE [2023-10-24T16:05:50.460Z] ---> Running in 1f2e72ae5904 [2023-10-24T16:05:50.460Z] noop [2023-10-24T16:05:50.460Z] Removing intermediate container 1f2e72ae5904 [2023-10-24T16:05:50.460Z] ---> 4fe12b2714c6 [2023-10-24T16:05:50.460Z] Successfully built 4fe12b2714c6 [2023-10-24T16:05:50.460Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:05:50.781Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-24T16:05:50.781Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T16:05:50.854Z] prd-ubuntu20.04-docker-8c-8g-9951 does not seem to be running inside a container [2023-10-24T16:05:50.884Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-10-24T16:05:51.228Z] $ docker top ba301e780e007eadb5e4d7ebaa24f715b9f7f6499dc94deb130adca6c22174ef -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T16:05:53.283Z] + go version [2023-10-24T16:05:53.283Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-10-24T16:05:53.296Z] $ docker stop --time=1 ba301e780e007eadb5e4d7ebaa24f715b9f7f6499dc94deb130adca6c22174ef [2023-10-24T16:05:54.546Z] $ docker rm -f --volumes ba301e780e007eadb5e4d7ebaa24f715b9f7f6499dc94deb130adca6c22174ef [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:05:54.972Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-24T16:05:54.972Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T16:05:55.041Z] prd-ubuntu20.04-docker-8c-8g-9951 does not seem to be running inside a container [2023-10-24T16:05:55.073Z] $ 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_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-10-24T16:05:55.377Z] $ docker top a3fa2d0fccaa6a07ca465fd7febb72e9380ee7bec2d71084d01029344802c630 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T16:05:55.716Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh [2023-10-24T16:05:56.007Z] + make test [2023-10-24T16:05:56.007Z] go test ./... -coverprofile=coverage.out ./... [2023-10-24T16:05:57.396Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-10-24T16:06:07.381Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-10-24T16:06:07.381Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-10-24T16:06:07.381Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 22.8% of statements [2023-10-24T16:06:13.931Z] go vet ./... [2023-10-24T16:06:16.457Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-24T16:06:16.457Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-24T16:06:16.457Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-24T16:06:16.471Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-24T16:06:16.486Z] $ docker stop --time=1 a3fa2d0fccaa6a07ca465fd7febb72e9380ee7bec2d71084d01029344802c630 [2023-10-24T16:06:19.255Z] $ docker rm -f --volumes a3fa2d0fccaa6a07ca465fd7febb72e9380ee7bec2d71084d01029344802c630 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-24T16:06:19.708Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-24T16:06:19.755Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-10-24T16:06:20.235Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-24T16:06:20.563Z] + ls -al . [2023-10-24T16:06:20.563Z] total 184 [2023-10-24T16:06:20.563Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 16:05 . [2023-10-24T16:06:20.563Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 16:04 .. [2023-10-24T16:06:20.563Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 24 16:04 .dockerignore [2023-10-24T16:06:20.563Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 16:06 .git [2023-10-24T16:06:20.563Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 16:04 .github [2023-10-24T16:06:20.563Z] -rw-rw-r-- 1 jenkins jenkins 264 Oct 24 16:04 .gitignore [2023-10-24T16:06:20.563Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 16:04 .golangci.yml [2023-10-24T16:06:20.563Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 16:04 .semver [2023-10-24T16:06:20.563Z] -rw-rw-r-- 1 jenkins jenkins 10386 Oct 24 16:04 Attribution.txt [2023-10-24T16:06:20.563Z] -rw-rw-r-- 1 jenkins jenkins 17522 Oct 24 16:04 CHANGELOG.md [2023-10-24T16:06:20.563Z] -rw-rw-r-- 1 jenkins jenkins 1689 Oct 24 16:04 Dockerfile [2023-10-24T16:06:20.563Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 16:04 GOVERNANCE.md [2023-10-24T16:06:20.563Z] -rw-rw-r-- 1 jenkins jenkins 657 Oct 24 16:04 Jenkinsfile [2023-10-24T16:06:20.563Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 16:04 LICENSE [2023-10-24T16:06:20.563Z] -rw-rw-r-- 1 jenkins jenkins 1963 Oct 24 16:04 Makefile [2023-10-24T16:06:20.563Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 24 16:04 OWNERS.md [2023-10-24T16:06:20.563Z] -rw-rw-r-- 1 jenkins jenkins 3613 Oct 24 16:04 README.md [2023-10-24T16:06:20.563Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 24 16:04 VERSION [2023-10-24T16:06:20.563Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 16:04 bin [2023-10-24T16:06:20.563Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 16:04 cmd [2023-10-24T16:06:20.563Z] -rw-r--r-- 1 jenkins jenkins 18506 Oct 24 16:06 coverage.out [2023-10-24T16:06:20.563Z] -rw-rw-r-- 1 jenkins jenkins 3822 Oct 24 16:04 go.mod [2023-10-24T16:06:20.563Z] -rw-rw-r-- 1 jenkins jenkins 35094 Oct 24 16:04 go.sum [2023-10-24T16:06:20.563Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 16:04 internal [2023-10-24T16:06:20.563Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 16:04 mock [2023-10-24T16:06:20.563Z] -rw-rw-r-- 1 jenkins jenkins 227 Oct 24 16:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:06:20.989Z] + 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=aecec81b0df1ccac07961d4c177179e1cb746efd --label arch=amd64 --label version=3.1.0-dev.19 . [2023-10-24T16:06:20.989Z] Sending build context to Docker daemon 6.547MB [2023-10-24T16:06:20.989Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2023-10-24T16:06:20.989Z] Step 2/24 : FROM ${BASE} AS builder [2023-10-24T16:06:20.989Z] ---> 4fe12b2714c6 [2023-10-24T16:06:20.989Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-10-24T16:06:20.989Z] ---> Running in b38f754cf048 [2023-10-24T16:06:21.247Z] Removing intermediate container b38f754cf048 [2023-10-24T16:06:21.247Z] ---> ebd82ea4ed01 [2023-10-24T16:06:21.247Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-24T16:06:21.247Z] ---> Running in 6ddbd5da1fcb [2023-10-24T16:06:21.247Z] Removing intermediate container 6ddbd5da1fcb [2023-10-24T16:06:21.247Z] ---> 18a10aadd505 [2023-10-24T16:06:21.247Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-24T16:06:21.247Z] ---> Running in 37b580dfa30b [2023-10-24T16:06:21.247Z] Removing intermediate container 37b580dfa30b [2023-10-24T16:06:21.247Z] ---> 2436dd2a5824 [2023-10-24T16:06:21.247Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-10-24T16:06:21.506Z] ---> Running in dcb3196a7366 [2023-10-24T16:06:21.506Z] Removing intermediate container dcb3196a7366 [2023-10-24T16:06:21.506Z] ---> 461bdb01d97f [2023-10-24T16:06:21.506Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-24T16:06:21.506Z] ---> Running in 9c82b2847ebf [2023-10-24T16:06:21.765Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-24T16:06:22.024Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-24T16:06:22.282Z] OK: 268 MiB in 56 packages [2023-10-24T16:06:22.540Z] Removing intermediate container 9c82b2847ebf [2023-10-24T16:06:22.541Z] ---> 2ef13b2532bb [2023-10-24T16:06:22.541Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-10-24T16:06:22.541Z] ---> Running in 199cad7f7a0f [2023-10-24T16:06:22.799Z] Removing intermediate container 199cad7f7a0f [2023-10-24T16:06:22.799Z] ---> 503613e02ac7 [2023-10-24T16:06:22.799Z] Step 9/24 : COPY go.mod vendor* ./ [2023-10-24T16:06:22.799Z] ---> b2c957bf5bab [2023-10-24T16:06:22.799Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-24T16:06:22.799Z] ---> Running in 43ca61ca0fe5 [2023-10-24T16:06:23.367Z] Removing intermediate container 43ca61ca0fe5 [2023-10-24T16:06:23.367Z] ---> 8ac4825033f0 [2023-10-24T16:06:23.367Z] Step 11/24 : COPY . . [2023-10-24T16:06:23.932Z] ---> 9545e3ad9d06 [2023-10-24T16:06:23.932Z] Step 12/24 : RUN $MAKE [2023-10-24T16:06:23.932Z] ---> Running in fa89bcea6338 [2023-10-24T16:06:24.191Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.1.0-dev.19 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.35" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-10-24T16:06:46.112Z] Removing intermediate container fa89bcea6338 [2023-10-24T16:06:46.112Z] ---> 7d5be086e989 [2023-10-24T16:06:46.112Z] Step 13/24 : FROM alpine:3.18 [2023-10-24T16:06:46.112Z] 3.18: Pulling from library/alpine [2023-10-24T16:06:46.112Z] 96526aa774ef: Pulling fs layer [2023-10-24T16:06:46.112Z] 96526aa774ef: Verifying Checksum [2023-10-24T16:06:46.112Z] 96526aa774ef: Download complete [2023-10-24T16:06:46.112Z] 96526aa774ef: Pull complete [2023-10-24T16:06:46.112Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-24T16:06:46.112Z] Status: Downloaded newer image for alpine:3.18 [2023-10-24T16:06:46.112Z] ---> 8ca4688f4f35 [2023-10-24T16:06:46.112Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-10-24T16:06:46.112Z] ---> Running in 22b05d0b2764 [2023-10-24T16:06:46.112Z] Removing intermediate container 22b05d0b2764 [2023-10-24T16:06:46.112Z] ---> 512122f03453 [2023-10-24T16:06:46.112Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-10-24T16:06:46.112Z] ---> Running in e54f99abee1d [2023-10-24T16:06:46.112Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-24T16:06:46.112Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-24T16:06:46.112Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-24T16:06:46.112Z] Executing busybox-1.36.1-r2.trigger [2023-10-24T16:06:46.112Z] OK: 7 MiB in 16 packages [2023-10-24T16:06:46.112Z] Removing intermediate container e54f99abee1d [2023-10-24T16:06:46.112Z] ---> 2fc0efcbeabe [2023-10-24T16:06:46.112Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-10-24T16:06:46.112Z] ---> d4327a346e85 [2023-10-24T16:06:46.112Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-10-24T16:06:46.112Z] ---> bab79fbf6ef2 [2023-10-24T16:06:46.112Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-10-24T16:06:46.112Z] ---> 997f3594054a [2023-10-24T16:06:46.112Z] Step 19/24 : EXPOSE 59982 [2023-10-24T16:06:46.112Z] ---> Running in 45dbeebd42e8 [2023-10-24T16:06:46.112Z] Removing intermediate container 45dbeebd42e8 [2023-10-24T16:06:46.112Z] ---> 67a30f3546b4 [2023-10-24T16:06:46.112Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-10-24T16:06:46.112Z] ---> Running in 16dcd13b6b47 [2023-10-24T16:06:46.112Z] Removing intermediate container 16dcd13b6b47 [2023-10-24T16:06:46.112Z] ---> a71237045f30 [2023-10-24T16:06:46.112Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-10-24T16:06:46.112Z] ---> Running in 6bdb9285150a [2023-10-24T16:06:46.112Z] Removing intermediate container 6bdb9285150a [2023-10-24T16:06:46.112Z] ---> 532723309184 [2023-10-24T16:06:46.112Z] Step 22/24 : LABEL arch=amd64 [2023-10-24T16:06:46.112Z] ---> Running in cfb27a06a8de [2023-10-24T16:06:46.112Z] Removing intermediate container cfb27a06a8de [2023-10-24T16:06:46.112Z] ---> 49e79f6a42d5 [2023-10-24T16:06:46.112Z] Step 23/24 : LABEL git_sha=aecec81b0df1ccac07961d4c177179e1cb746efd [2023-10-24T16:06:46.112Z] ---> Running in d07411b8bab1 [2023-10-24T16:06:46.112Z] Removing intermediate container d07411b8bab1 [2023-10-24T16:06:46.112Z] ---> 9087cc40de27 [2023-10-24T16:06:46.112Z] Step 24/24 : LABEL version=3.1.0-dev.19 [2023-10-24T16:06:46.112Z] ---> Running in 6ba1c872ec2a [2023-10-24T16:06:46.112Z] Removing intermediate container 6ba1c872ec2a [2023-10-24T16:06:46.112Z] ---> f575ce53ce15 [2023-10-24T16:06:46.112Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-24T16:06:46.112Z] Successfully built f575ce53ce15 [2023-10-24T16:06:46.112Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-24T16:06:46.232Z] provisioning config files... [2023-10-24T16:06:46.242Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config11982713103296069703tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T16:06:46.537Z] ---> docker-login.sh [2023-10-24T16:06:46.537Z] nexus3.edgexfoundry.org:10001 [2023-10-24T16:06:46.537Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T16:06:46.537Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T16:06:46.537Z] Configure a credential helper to remove this warning. See [2023-10-24T16:06:46.537Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T16:06:46.537Z] [2023-10-24T16:06:46.537Z] Login Succeeded [2023-10-24T16:06:46.537Z] nexus3.edgexfoundry.org:10002 [2023-10-24T16:06:46.537Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T16:06:46.537Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T16:06:46.537Z] Configure a credential helper to remove this warning. See [2023-10-24T16:06:46.537Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T16:06:46.537Z] [2023-10-24T16:06:46.537Z] Login Succeeded [2023-10-24T16:06:46.537Z] nexus3.edgexfoundry.org:10003 [2023-10-24T16:06:46.798Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T16:06:46.798Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T16:06:46.798Z] Configure a credential helper to remove this warning. See [2023-10-24T16:06:46.798Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T16:06:46.798Z] [2023-10-24T16:06:46.798Z] Login Succeeded [2023-10-24T16:06:46.798Z] nexus3.edgexfoundry.org:10004 [2023-10-24T16:06:46.798Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T16:06:46.798Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T16:06:46.798Z] Configure a credential helper to remove this warning. See [2023-10-24T16:06:46.798Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T16:06:46.798Z] [2023-10-24T16:06:46.798Z] Login Succeeded [2023-10-24T16:06:46.799Z] docker.io [2023-10-24T16:06:46.799Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T16:06:47.057Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T16:06:47.057Z] Configure a credential helper to remove this warning. See [2023-10-24T16:06:47.057Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T16:06:47.057Z] [2023-10-24T16:06:47.057Z] Login Succeeded [2023-10-24T16:06:47.057Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T16:06:47.064Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-24T16:06:47.099Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T16:06:47.122Z] [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: [2023-10-24T16:06:47.122Z] aecec81b0df1ccac07961d4c177179e1cb746efd [2023-10-24T16:06:47.122Z] latest [2023-10-24T16:06:47.122Z] 3.1.0-dev.19 [2023-10-24T16:06:47.122Z] aecec81b0df1ccac07961d4c177179e1cb746efd-3.1.0-dev.19 [2023-10-24T16:06:47.122Z] main [2023-10-24T16:06:47.122Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:06:47.449Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:aecec81b0df1ccac07961d4c177179e1cb746efd [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:06:47.762Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:aecec81b0df1ccac07961d4c177179e1cb746efd [2023-10-24T16:06:47.762Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-10-24T16:06:47.762Z] 836e9cf965aa: Preparing [2023-10-24T16:06:47.762Z] a578ffc089a4: Preparing [2023-10-24T16:06:47.762Z] ff55a19fd4f0: Preparing [2023-10-24T16:06:47.762Z] 282fe70c8967: Preparing [2023-10-24T16:06:47.762Z] cc2447e1835a: Preparing [2023-10-24T16:06:47.762Z] cc2447e1835a: Layer already exists [2023-10-24T16:06:47.762Z] a578ffc089a4: Pushed [2023-10-24T16:06:47.762Z] 282fe70c8967: Pushed [2023-10-24T16:06:47.762Z] 836e9cf965aa: Pushed [2023-10-24T16:06:50.495Z] ff55a19fd4f0: Pushed [2023-10-24T16:06:50.495Z] aecec81b0df1ccac07961d4c177179e1cb746efd: digest: sha256:b6f07c8b713246b0e8ab099fc4d3184bc4728f80bba6d1e844d1242c0ceb2ee7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:06:50.813Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:06:51.123Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest [2023-10-24T16:06:51.123Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-10-24T16:06:51.123Z] 836e9cf965aa: Preparing [2023-10-24T16:06:51.123Z] a578ffc089a4: Preparing [2023-10-24T16:06:51.123Z] ff55a19fd4f0: Preparing [2023-10-24T16:06:51.123Z] 282fe70c8967: Preparing [2023-10-24T16:06:51.123Z] cc2447e1835a: Preparing [2023-10-24T16:06:51.123Z] a578ffc089a4: Layer already exists [2023-10-24T16:06:51.123Z] 836e9cf965aa: Layer already exists [2023-10-24T16:06:51.123Z] ff55a19fd4f0: Layer already exists [2023-10-24T16:06:51.123Z] cc2447e1835a: Layer already exists [2023-10-24T16:06:51.123Z] 282fe70c8967: Layer already exists [2023-10-24T16:06:51.123Z] latest: digest: sha256:b6f07c8b713246b0e8ab099fc4d3184bc4728f80bba6d1e844d1242c0ceb2ee7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:06:51.425Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:06:51.729Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0-dev.19 [2023-10-24T16:06:51.729Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-10-24T16:06:51.729Z] 836e9cf965aa: Preparing [2023-10-24T16:06:51.729Z] a578ffc089a4: Preparing [2023-10-24T16:06:51.729Z] ff55a19fd4f0: Preparing [2023-10-24T16:06:51.729Z] 282fe70c8967: Preparing [2023-10-24T16:06:51.729Z] cc2447e1835a: Preparing [2023-10-24T16:06:51.729Z] 836e9cf965aa: Layer already exists [2023-10-24T16:06:51.729Z] a578ffc089a4: Layer already exists [2023-10-24T16:06:51.729Z] cc2447e1835a: Layer already exists [2023-10-24T16:06:51.729Z] ff55a19fd4f0: Layer already exists [2023-10-24T16:06:51.729Z] 282fe70c8967: Layer already exists [2023-10-24T16:06:51.729Z] 3.1.0-dev.19: digest: sha256:b6f07c8b713246b0e8ab099fc4d3184bc4728f80bba6d1e844d1242c0ceb2ee7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:06:52.046Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:aecec81b0df1ccac07961d4c177179e1cb746efd-3.1.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:06:52.358Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:aecec81b0df1ccac07961d4c177179e1cb746efd-3.1.0-dev.19 [2023-10-24T16:06:52.358Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-10-24T16:06:52.358Z] 836e9cf965aa: Preparing [2023-10-24T16:06:52.358Z] a578ffc089a4: Preparing [2023-10-24T16:06:52.358Z] ff55a19fd4f0: Preparing [2023-10-24T16:06:52.358Z] 282fe70c8967: Preparing [2023-10-24T16:06:52.358Z] cc2447e1835a: Preparing [2023-10-24T16:06:52.358Z] 282fe70c8967: Layer already exists [2023-10-24T16:06:52.358Z] ff55a19fd4f0: Layer already exists [2023-10-24T16:06:52.358Z] 836e9cf965aa: Layer already exists [2023-10-24T16:06:52.358Z] a578ffc089a4: Layer already exists [2023-10-24T16:06:52.358Z] cc2447e1835a: Layer already exists [2023-10-24T16:06:52.358Z] aecec81b0df1ccac07961d4c177179e1cb746efd-3.1.0-dev.19: digest: sha256:b6f07c8b713246b0e8ab099fc4d3184bc4728f80bba6d1e844d1242c0ceb2ee7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:06:52.668Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:06:52.981Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main [2023-10-24T16:06:52.981Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-10-24T16:06:52.981Z] 836e9cf965aa: Preparing [2023-10-24T16:06:52.981Z] a578ffc089a4: Preparing [2023-10-24T16:06:52.981Z] ff55a19fd4f0: Preparing [2023-10-24T16:06:52.981Z] 282fe70c8967: Preparing [2023-10-24T16:06:52.981Z] cc2447e1835a: Preparing [2023-10-24T16:06:52.981Z] 282fe70c8967: Layer already exists [2023-10-24T16:06:52.981Z] 836e9cf965aa: Layer already exists [2023-10-24T16:06:52.981Z] ff55a19fd4f0: Layer already exists [2023-10-24T16:06:52.981Z] cc2447e1835a: Layer already exists [2023-10-24T16:06:52.981Z] a578ffc089a4: Layer already exists [2023-10-24T16:06:52.981Z] main: digest: sha256:b6f07c8b713246b0e8ab099fc4d3184bc4728f80bba6d1e844d1242c0ceb2ee7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-24T16:06:53.030Z] ===================================================== [Pipeline] echo [2023-10-24T16:06:53.037Z] taggedImages: [2023-10-24T16:06:53.037Z] - nexus3.edgexfoundry.org:10004/device-mqtt:aecec81b0df1ccac07961d4c177179e1cb746efd [2023-10-24T16:06:53.037Z] - nexus3.edgexfoundry.org:10004/device-mqtt:latest [2023-10-24T16:06:53.037Z] - nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0-dev.19 [2023-10-24T16:06:53.037Z] - nexus3.edgexfoundry.org:10004/device-mqtt:aecec81b0df1ccac07961d4c177179e1cb746efd-3.1.0-dev.19 [2023-10-24T16:06:53.037Z] - nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:06:53.410Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-24T16:06:53.410Z] [2023-10-24T16:06:53.410Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:06:53.705Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-24T16:06:53.705Z] latest: Pulling from edgex-lftools-log-publisher [2023-10-24T16:06:53.705Z] 5eb5b503b376: Pulling fs layer [2023-10-24T16:06:53.705Z] 5c69ac0246d0: Pulling fs layer [2023-10-24T16:06:53.705Z] ec43610c2a17: Pulling fs layer [2023-10-24T16:06:53.705Z] 3a2ae6a8a46f: Pulling fs layer [2023-10-24T16:06:53.705Z] 33b1e0a273af: Pulling fs layer [2023-10-24T16:06:53.705Z] 5d3b04190fa2: Pulling fs layer [2023-10-24T16:06:53.705Z] 2f39f015ded8: Pulling fs layer [2023-10-24T16:06:53.705Z] 5d3b04190fa2: Waiting [2023-10-24T16:06:53.705Z] 2f39f015ded8: Waiting [2023-10-24T16:06:53.705Z] 33b1e0a273af: Waiting [2023-10-24T16:06:53.705Z] 3a2ae6a8a46f: Waiting [2023-10-24T16:06:53.705Z] 5c69ac0246d0: Download complete [2023-10-24T16:06:53.705Z] 3a2ae6a8a46f: Download complete [2023-10-24T16:06:53.705Z] 33b1e0a273af: Verifying Checksum [2023-10-24T16:06:53.705Z] 33b1e0a273af: Download complete [2023-10-24T16:06:53.705Z] ec43610c2a17: Download complete [2023-10-24T16:06:53.962Z] 5eb5b503b376: Verifying Checksum [2023-10-24T16:06:53.962Z] 5eb5b503b376: Download complete [2023-10-24T16:06:54.525Z] 2f39f015ded8: Download complete [2023-10-24T16:06:55.090Z] 5eb5b503b376: Pull complete [2023-10-24T16:06:55.090Z] 5c69ac0246d0: Pull complete [2023-10-24T16:06:55.350Z] ec43610c2a17: Pull complete [2023-10-24T16:06:55.350Z] 3a2ae6a8a46f: Pull complete [2023-10-24T16:06:55.608Z] 33b1e0a273af: Pull complete [2023-10-24T16:06:55.608Z] 5d3b04190fa2: Pull complete [2023-10-24T16:06:57.258Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9954 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws [2023-10-24T16:06:57.269Z] Running in /w/workspace/device-mqtt-go/147 [Pipeline] { [Pipeline] checkout [2023-10-24T16:06:57.313Z] The recommended git tool is: git [2023-10-24T16:06:59.788Z] 2f39f015ded8: Pull complete [2023-10-24T16:06:59.788Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-10-24T16:06:59.788Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-24T16:06:59.788Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T16:06:59.875Z] prd-ubuntu20.04-docker-8c-8g-9951 does not seem to be running inside a container [2023-10-24T16:06:59.906Z] $ 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_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-24T16:07:03.295Z] $ docker top df20877f776087932517783600232f5d1d99af4322694a945b2393535465cf03 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T16:07:03.704Z] ---> job-cost.sh [2023-10-24T16:07:03.704Z] lf-activate-venv: SKIPPING [2023-10-24T16:07:03.704Z] INFO: No Stack... [2023-10-24T16:07:03.962Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-24T16:07:04.528Z] INFO: Archiving Costs [Pipeline] sh [2023-10-24T16:07:04.812Z] + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv [2023-10-24T16:07:04.812Z] + cut -d, -f6 [Pipeline] lock [2023-10-24T16:07:04.825Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-147-stack-cost] [2023-10-24T16:07:04.830Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-147-stack-cost] did not exist. Created. [2023-10-24T16:07:04.830Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-147-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-24T16:07:05.132Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-10-24T16:07:05.162Z] Stashed 1 file(s) [Pipeline] } [2023-10-24T16:07:05.168Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-147-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-24T16:07:05.188Z] $ docker stop --time=1 df20877f776087932517783600232f5d1d99af4322694a945b2393535465cf03 [2023-10-24T16:07:05.958Z] using credential edgex-jenkins-ssh [2023-10-24T16:07:05.974Z] Cloning the remote Git repository [2023-10-24T16:07:06.353Z] $ docker rm -f --volumes df20877f776087932517783600232f5d1d99af4322694a945b2393535465cf03 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-10-24T16:07:06.029Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-10-24T16:07:06.150Z] > git init /w/workspace/device-mqtt-go/147 # timeout=10 [2023-10-24T16:07:06.325Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-10-24T16:07:06.327Z] > git --version # timeout=10 [2023-10-24T16:07:06.350Z] > git --version # 'git version 2.25.1' [2023-10-24T16:07:06.353Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-24T16:07:06.525Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-24T16:07:07.853Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-10-24T16:07:07.891Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-24T16:07:09.021Z] Avoid second fetch [2023-10-24T16:07:09.021Z] Checking out Revision aecec81b0df1ccac07961d4c177179e1cb746efd (main) [2023-10-24T16:07:09.044Z] > git config core.sparsecheckout # timeout=10 [2023-10-24T16:07:09.156Z] > git checkout -f aecec81b0df1ccac07961d4c177179e1cb746efd # timeout=10 [2023-10-24T16:07:09.741Z] Commit message: "feat!: Remove snap packaging (#635)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-24T16:07:10.757Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-10-24T16:07:10.757Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-24T16:07:10.757Z] Dload Upload Total Spent Left Speed [2023-10-24T16:07:10.757Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 80702 0 --:--:-- --:--:-- --:--:-- 80702 [Pipeline] sh [2023-10-24T16:07:11.640Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-10-24T16:07:11.992Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-10-24T16:07:11.992Z] + sudo tee /etc/docker/daemon.new [2023-10-24T16:07:11.992Z] { [2023-10-24T16:07:11.992Z] "registry-mirrors": [ [2023-10-24T16:07:11.992Z] "https://nexus3.edgexfoundry.org:10001" [2023-10-24T16:07:11.992Z] ], [2023-10-24T16:07:11.992Z] "bip": "10.250.0.254/24", [2023-10-24T16:07:11.992Z] "hosts": [ [2023-10-24T16:07:11.992Z] "tcp://0.0.0.0:5555", [2023-10-24T16:07:11.992Z] "unix:///var/run/docker.sock" [2023-10-24T16:07:11.992Z] ], [2023-10-24T16:07:11.992Z] "mtu": 1458, [2023-10-24T16:07:11.992Z] "selinux-enabled": true, [2023-10-24T16:07:11.992Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-10-24T16:07:11.992Z] } [Pipeline] sh [2023-10-24T16:07:12.346Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-10-24T16:07:12.705Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-24T16:07:34.895Z] provisioning config files... [2023-10-24T16:07:34.921Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/147@tmp/config14601562328766925350tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T16:07:35.280Z] ---> docker-login.sh [2023-10-24T16:07:35.281Z] nexus3.edgexfoundry.org:10001 [2023-10-24T16:07:35.875Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T16:07:35.875Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T16:07:35.875Z] Configure a credential helper to remove this warning. See [2023-10-24T16:07:35.875Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T16:07:35.875Z] [2023-10-24T16:07:35.875Z] Login Succeeded [2023-10-24T16:07:35.875Z] nexus3.edgexfoundry.org:10002 [2023-10-24T16:07:36.161Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T16:07:36.161Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T16:07:36.161Z] Configure a credential helper to remove this warning. See [2023-10-24T16:07:36.161Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T16:07:36.161Z] [2023-10-24T16:07:36.161Z] Login Succeeded [2023-10-24T16:07:36.161Z] nexus3.edgexfoundry.org:10003 [2023-10-24T16:07:36.759Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T16:07:36.759Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T16:07:36.759Z] Configure a credential helper to remove this warning. See [2023-10-24T16:07:36.759Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T16:07:36.759Z] [2023-10-24T16:07:36.759Z] Login Succeeded [2023-10-24T16:07:36.759Z] nexus3.edgexfoundry.org:10004 [2023-10-24T16:07:37.030Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T16:07:37.030Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T16:07:37.030Z] Configure a credential helper to remove this warning. See [2023-10-24T16:07:37.030Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T16:07:37.030Z] [2023-10-24T16:07:37.030Z] Login Succeeded [2023-10-24T16:07:37.030Z] docker.io [2023-10-24T16:07:37.300Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T16:07:37.567Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T16:07:37.567Z] Configure a credential helper to remove this warning. See [2023-10-24T16:07:37.567Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T16:07:37.567Z] [2023-10-24T16:07:37.567Z] Login Succeeded [2023-10-24T16:07:37.835Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T16:07:37.848Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-24T16:07:38.137Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T16:07:38.151Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T16:07:38.162Z] ========================================================= [2023-10-24T16:07:38.162Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-10-24T16:07:38.162Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:07:38.530Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-10-24T16:07:38.802Z] Sending build context to Docker daemon 3.359MB [2023-10-24T16:07:38.802Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-10-24T16:07:38.802Z] Step 2/12 : FROM ${BASE} AS builder [2023-10-24T16:07:39.076Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-10-24T16:07:39.076Z] 9fda8d8052c6: Pulling fs layer [2023-10-24T16:07:39.076Z] 5d54e960e981: Pulling fs layer [2023-10-24T16:07:39.076Z] c4a7e357bf2a: Pulling fs layer [2023-10-24T16:07:39.076Z] f0e02332f6b5: Pulling fs layer [2023-10-24T16:07:39.076Z] cefa15bbcfad: Pulling fs layer [2023-10-24T16:07:39.076Z] 17808c966233: Pulling fs layer [2023-10-24T16:07:39.076Z] f4c1fc716caa: Pulling fs layer [2023-10-24T16:07:39.076Z] cefa15bbcfad: Waiting [2023-10-24T16:07:39.076Z] 17808c966233: Waiting [2023-10-24T16:07:39.076Z] f4c1fc716caa: Waiting [2023-10-24T16:07:39.076Z] f0e02332f6b5: Waiting [2023-10-24T16:07:39.076Z] 5d54e960e981: Verifying Checksum [2023-10-24T16:07:39.076Z] 5d54e960e981: Download complete [2023-10-24T16:07:39.076Z] f0e02332f6b5: Verifying Checksum [2023-10-24T16:07:39.076Z] f0e02332f6b5: Download complete [2023-10-24T16:07:39.076Z] cefa15bbcfad: Verifying Checksum [2023-10-24T16:07:39.076Z] cefa15bbcfad: Download complete [2023-10-24T16:07:39.076Z] 9fda8d8052c6: Verifying Checksum [2023-10-24T16:07:39.076Z] 9fda8d8052c6: Download complete [2023-10-24T16:07:39.672Z] f4c1fc716caa: Verifying Checksum [2023-10-24T16:07:39.672Z] f4c1fc716caa: Download complete [2023-10-24T16:07:40.270Z] 9fda8d8052c6: Pull complete [2023-10-24T16:07:40.868Z] 5d54e960e981: Pull complete [2023-10-24T16:07:41.461Z] c4a7e357bf2a: Verifying Checksum [2023-10-24T16:07:41.461Z] c4a7e357bf2a: Download complete [2023-10-24T16:07:42.426Z] 17808c966233: Verifying Checksum [2023-10-24T16:07:42.426Z] 17808c966233: Download complete [2023-10-24T16:07:57.459Z] c4a7e357bf2a: Pull complete [2023-10-24T16:07:57.459Z] f0e02332f6b5: Pull complete [2023-10-24T16:07:57.459Z] cefa15bbcfad: Pull complete [2023-10-24T16:08:05.703Z] 17808c966233: Pull complete [2023-10-24T16:08:06.294Z] f4c1fc716caa: Pull complete [2023-10-24T16:08:06.294Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-10-24T16:08:06.294Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-10-24T16:08:06.294Z] ---> ea914061e18c [2023-10-24T16:08:06.294Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-10-24T16:08:08.258Z] ---> Running in 864ad74cd84e [2023-10-24T16:08:08.867Z] Removing intermediate container 864ad74cd84e [2023-10-24T16:08:08.867Z] ---> ddc8b6c0ddd1 [2023-10-24T16:08:08.867Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-24T16:08:08.867Z] ---> Running in 5f379d9545b2 [2023-10-24T16:08:09.146Z] Removing intermediate container 5f379d9545b2 [2023-10-24T16:08:09.146Z] ---> ebe8d0113e35 [2023-10-24T16:08:09.146Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-24T16:08:09.415Z] ---> Running in 088e08a813a4 [2023-10-24T16:08:09.682Z] Removing intermediate container 088e08a813a4 [2023-10-24T16:08:09.682Z] ---> 98c2135542b3 [2023-10-24T16:08:09.682Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-10-24T16:08:09.950Z] ---> Running in 2cef51399fc7 [2023-10-24T16:08:10.323Z] Removing intermediate container 2cef51399fc7 [2023-10-24T16:08:10.323Z] ---> d09e71992342 [2023-10-24T16:08:10.323Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-24T16:08:10.323Z] ---> Running in f089b8c8dca4 [2023-10-24T16:08:11.811Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-24T16:08:12.414Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-24T16:08:13.841Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-10-24T16:08:13.841Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-10-24T16:08:13.841Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-10-24T16:08:13.841Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-10-24T16:08:13.841Z] Executing busybox-1.36.1-r2.trigger [2023-10-24T16:08:13.841Z] OK: 270 MiB in 56 packages [2023-10-24T16:08:15.266Z] Removing intermediate container f089b8c8dca4 [2023-10-24T16:08:15.266Z] ---> 370a2c6f595d [2023-10-24T16:08:15.266Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-10-24T16:08:15.266Z] ---> Running in 4099359195d3 [2023-10-24T16:08:15.537Z] Removing intermediate container 4099359195d3 [2023-10-24T16:08:15.537Z] ---> a7ce2ecdf457 [2023-10-24T16:08:15.537Z] Step 9/12 : COPY go.mod vendor* ./ [2023-10-24T16:08:16.133Z] ---> 8f6918a825f1 [2023-10-24T16:08:16.133Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-24T16:08:16.404Z] ---> Running in ad605ab0bd5e [2023-10-24T16:09:53.093Z] Removing intermediate container ad605ab0bd5e [2023-10-24T16:09:53.093Z] ---> 5995c6745b87 [2023-10-24T16:09:53.093Z] Step 11/12 : COPY . . [2023-10-24T16:09:53.093Z] ---> a0aedf1a2247 [2023-10-24T16:09:53.093Z] Step 12/12 : RUN $MAKE [2023-10-24T16:09:53.093Z] ---> Running in 3d07375bf8ce [2023-10-24T16:09:54.531Z] noop [2023-10-24T16:09:55.124Z] Removing intermediate container 3d07375bf8ce [2023-10-24T16:09:55.124Z] ---> 7ee69539163a [2023-10-24T16:09:55.124Z] Successfully built 7ee69539163a [2023-10-24T16:09:55.124Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:09:55.484Z] + docker inspect -f . ci-base-image-arm64 [2023-10-24T16:09:55.484Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T16:09:55.727Z] prd-ubuntu20.04-docker-arm64-4c-16g-9954 does not seem to be running inside a container [2023-10-24T16:09:55.827Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/147 -v /w/workspace/device-mqtt-go/147:/w/workspace/device-mqtt-go/147:rw,z -v /w/workspace/device-mqtt-go/147@tmp:/w/workspace/device-mqtt-go/147@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-10-24T16:09:57.427Z] $ docker top da9a5a319f1bed558adfd4c8fdda5bbda0601d2ed6063133044a823d71f77ac8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T16:09:58.410Z] + go version [2023-10-24T16:09:58.410Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-10-24T16:09:58.436Z] $ docker stop --time=1 da9a5a319f1bed558adfd4c8fdda5bbda0601d2ed6063133044a823d71f77ac8 [2023-10-24T16:10:00.358Z] $ docker rm -f --volumes da9a5a319f1bed558adfd4c8fdda5bbda0601d2ed6063133044a823d71f77ac8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:10:01.305Z] + docker inspect -f . ci-base-image-arm64 [2023-10-24T16:10:01.305Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T16:10:01.547Z] prd-ubuntu20.04-docker-arm64-4c-16g-9954 does not seem to be running inside a container [2023-10-24T16:10:01.649Z] $ 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/147 -v /w/workspace/device-mqtt-go/147:/w/workspace/device-mqtt-go/147:rw,z -v /w/workspace/device-mqtt-go/147@tmp:/w/workspace/device-mqtt-go/147@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-10-24T16:10:03.172Z] $ docker top 4372a64fbcaa34709afed43c00d7a3c4094dafdba8d97b35b2a3ac6a934911bc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T16:10:04.151Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/147 [Pipeline] fileExists [Pipeline] sh [2023-10-24T16:10:04.830Z] + make test [2023-10-24T16:10:04.830Z] go test ./... -coverprofile=coverage.out ./... [2023-10-24T16:10:10.213Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-10-24T16:12:32.126Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-10-24T16:12:34.084Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-10-24T16:12:34.084Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.074s coverage: 22.8% of statements [2023-10-24T16:12:35.061Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-10-24T16:12:35.061Z] go vet ./... [2023-10-24T16:13:01.769Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-24T16:13:01.769Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-24T16:13:01.769Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-24T16:13:01.791Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-24T16:13:01.803Z] $ docker stop --time=1 4372a64fbcaa34709afed43c00d7a3c4094dafdba8d97b35b2a3ac6a934911bc [2023-10-24T16:13:03.736Z] $ docker rm -f --volumes 4372a64fbcaa34709afed43c00d7a3c4094dafdba8d97b35b2a3ac6a934911bc [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-24T16:13:05.109Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-24T16:13:05.133Z] Warning: overwriting stash ‘coverage-report’ [2023-10-24T16:13:05.696Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-24T16:13:06.170Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-24T16:13:06.497Z] + ls -al . [2023-10-24T16:13:06.497Z] total 180 [2023-10-24T16:13:06.497Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 16:10 . [2023-10-24T16:13:06.497Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 16:07 .. [2023-10-24T16:13:06.497Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 24 16:07 .dockerignore [2023-10-24T16:13:06.497Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 16:07 .git [2023-10-24T16:13:06.497Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 16:07 .github [2023-10-24T16:13:06.497Z] -rw-rw-r-- 1 jenkins jenkins 264 Oct 24 16:07 .gitignore [2023-10-24T16:13:06.497Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 16:07 .golangci.yml [2023-10-24T16:13:06.497Z] -rw-rw-r-- 1 jenkins jenkins 10386 Oct 24 16:07 Attribution.txt [2023-10-24T16:13:06.497Z] -rw-rw-r-- 1 jenkins jenkins 17522 Oct 24 16:07 CHANGELOG.md [2023-10-24T16:13:06.497Z] -rw-rw-r-- 1 jenkins jenkins 1689 Oct 24 16:07 Dockerfile [2023-10-24T16:13:06.497Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 16:07 GOVERNANCE.md [2023-10-24T16:13:06.497Z] -rw-rw-r-- 1 jenkins jenkins 657 Oct 24 16:07 Jenkinsfile [2023-10-24T16:13:06.497Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 16:07 LICENSE [2023-10-24T16:13:06.497Z] -rw-rw-r-- 1 jenkins jenkins 1963 Oct 24 16:07 Makefile [2023-10-24T16:13:06.497Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 24 16:07 OWNERS.md [2023-10-24T16:13:06.497Z] -rw-rw-r-- 1 jenkins jenkins 3613 Oct 24 16:07 README.md [2023-10-24T16:13:06.497Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 24 16:04 VERSION [2023-10-24T16:13:06.497Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 16:07 bin [2023-10-24T16:13:06.497Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 16:07 cmd [2023-10-24T16:13:06.497Z] -rw-r--r-- 1 jenkins jenkins 18506 Oct 24 16:12 coverage.out [2023-10-24T16:13:06.497Z] -rw-rw-r-- 1 jenkins jenkins 3822 Oct 24 16:07 go.mod [2023-10-24T16:13:06.497Z] -rw-rw-r-- 1 jenkins jenkins 35094 Oct 24 16:07 go.sum [2023-10-24T16:13:06.497Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 16:07 internal [2023-10-24T16:13:06.497Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 16:07 mock [2023-10-24T16:13:06.497Z] -rw-rw-r-- 1 jenkins jenkins 227 Oct 24 16:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:13:06.842Z] + 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=aecec81b0df1ccac07961d4c177179e1cb746efd --label arch=arm64 --label version=3.1.0-dev.19 . [2023-10-24T16:13:07.110Z] Sending build context to Docker daemon 3.379MB [2023-10-24T16:13:07.110Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2023-10-24T16:13:07.110Z] Step 2/24 : FROM ${BASE} AS builder [2023-10-24T16:13:07.110Z] ---> 7ee69539163a [2023-10-24T16:13:07.110Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-10-24T16:13:07.379Z] ---> Running in 6ad82b51147e [2023-10-24T16:13:07.650Z] Removing intermediate container 6ad82b51147e [2023-10-24T16:13:07.650Z] ---> ce2ad9162114 [2023-10-24T16:13:07.650Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-24T16:13:07.920Z] ---> Running in b587435f9cea [2023-10-24T16:13:08.190Z] Removing intermediate container b587435f9cea [2023-10-24T16:13:08.190Z] ---> 854fbe3abdd5 [2023-10-24T16:13:08.190Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-24T16:13:08.190Z] ---> Running in 452b389cc16e [2023-10-24T16:13:08.462Z] Removing intermediate container 452b389cc16e [2023-10-24T16:13:08.462Z] ---> 54d2c15b6adf [2023-10-24T16:13:08.462Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-10-24T16:13:08.731Z] ---> Running in fc8ad450356d [2023-10-24T16:13:09.001Z] Removing intermediate container fc8ad450356d [2023-10-24T16:13:09.001Z] ---> 4e626c776060 [2023-10-24T16:13:09.001Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-24T16:13:09.001Z] ---> Running in 953e52680a3d [2023-10-24T16:13:10.423Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-24T16:13:10.693Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-24T16:13:12.118Z] OK: 270 MiB in 56 packages [2023-10-24T16:13:13.550Z] Removing intermediate container 953e52680a3d [2023-10-24T16:13:13.550Z] ---> 15806e7fab39 [2023-10-24T16:13:13.550Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-10-24T16:13:13.550Z] ---> Running in 79be2c52eaf6 [2023-10-24T16:13:14.136Z] Removing intermediate container 79be2c52eaf6 [2023-10-24T16:13:14.136Z] ---> c163580d3aa2 [2023-10-24T16:13:14.136Z] Step 9/24 : COPY go.mod vendor* ./ [2023-10-24T16:13:14.726Z] ---> 30836d7899da [2023-10-24T16:13:14.726Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-24T16:13:14.726Z] ---> Running in 03a9452020d3 [2023-10-24T16:13:17.347Z] Removing intermediate container 03a9452020d3 [2023-10-24T16:13:17.347Z] ---> 29bdba793988 [2023-10-24T16:13:17.347Z] Step 11/24 : COPY . . [2023-10-24T16:13:19.969Z] ---> 2345fd64c108 [2023-10-24T16:13:19.969Z] Step 12/24 : RUN $MAKE [2023-10-24T16:13:19.969Z] ---> Running in 54bc662b387c [2023-10-24T16:13:20.955Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.1.0-dev.19 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.35" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-10-24T16:15:58.163Z] Removing intermediate container 54bc662b387c [2023-10-24T16:15:58.163Z] ---> d76a78921530 [2023-10-24T16:15:58.163Z] Step 13/24 : FROM alpine:3.18 [2023-10-24T16:15:58.163Z] 3.18: Pulling from library/alpine [2023-10-24T16:15:58.163Z] 579b34f0a95b: Pulling fs layer [2023-10-24T16:15:58.163Z] 579b34f0a95b: Verifying Checksum [2023-10-24T16:15:58.163Z] 579b34f0a95b: Download complete [2023-10-24T16:15:58.163Z] 579b34f0a95b: Pull complete [2023-10-24T16:15:58.163Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-24T16:15:58.163Z] Status: Downloaded newer image for alpine:3.18 [2023-10-24T16:15:58.163Z] ---> 3cc203321400 [2023-10-24T16:15:58.163Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-10-24T16:15:58.163Z] ---> Running in f8f188c58ea4 [2023-10-24T16:15:58.163Z] Removing intermediate container f8f188c58ea4 [2023-10-24T16:15:58.163Z] ---> 27973a254633 [2023-10-24T16:15:58.163Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-10-24T16:15:58.163Z] ---> Running in 21a5eabbead2 [2023-10-24T16:15:58.163Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-24T16:15:58.163Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-24T16:15:58.163Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-24T16:15:58.163Z] Executing busybox-1.36.1-r2.trigger [2023-10-24T16:15:58.163Z] OK: 8 MiB in 16 packages [2023-10-24T16:15:58.163Z] Removing intermediate container 21a5eabbead2 [2023-10-24T16:15:58.163Z] ---> 5790850f3496 [2023-10-24T16:15:58.163Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-10-24T16:15:58.163Z] ---> cc5b1645325e [2023-10-24T16:15:58.163Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-10-24T16:15:58.163Z] ---> 883f9e2d5f56 [2023-10-24T16:15:58.163Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-10-24T16:15:58.163Z] ---> a4ae75da899a [2023-10-24T16:15:58.163Z] Step 19/24 : EXPOSE 59982 [2023-10-24T16:15:58.163Z] ---> Running in e01ca999de0b [2023-10-24T16:15:58.163Z] Removing intermediate container e01ca999de0b [2023-10-24T16:15:58.163Z] ---> 4f67d8edb020 [2023-10-24T16:15:58.163Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-10-24T16:15:58.163Z] ---> Running in 332b0323e8a0 [2023-10-24T16:15:58.163Z] Removing intermediate container 332b0323e8a0 [2023-10-24T16:15:58.163Z] ---> 16a8d288b059 [2023-10-24T16:15:58.163Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-10-24T16:15:58.163Z] ---> Running in bf5e37fa7109 [2023-10-24T16:15:58.163Z] Removing intermediate container bf5e37fa7109 [2023-10-24T16:15:58.163Z] ---> 7ded5a448829 [2023-10-24T16:15:58.163Z] Step 22/24 : LABEL arch=arm64 [2023-10-24T16:15:58.163Z] ---> Running in 17ec8a508809 [2023-10-24T16:15:58.163Z] Removing intermediate container 17ec8a508809 [2023-10-24T16:15:58.163Z] ---> 6fa012a08992 [2023-10-24T16:15:58.163Z] Step 23/24 : LABEL git_sha=aecec81b0df1ccac07961d4c177179e1cb746efd [2023-10-24T16:15:58.163Z] ---> Running in 7b825e03f544 [2023-10-24T16:15:58.163Z] Removing intermediate container 7b825e03f544 [2023-10-24T16:15:58.163Z] ---> ddc941fc81b3 [2023-10-24T16:15:58.163Z] Step 24/24 : LABEL version=3.1.0-dev.19 [2023-10-24T16:15:58.163Z] ---> Running in fcdeb45dd026 [2023-10-24T16:15:58.755Z] Removing intermediate container fcdeb45dd026 [2023-10-24T16:15:58.755Z] ---> 7d42e121813d [2023-10-24T16:15:58.755Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-24T16:15:58.755Z] Successfully built 7d42e121813d [2023-10-24T16:15:58.755Z] 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 [2023-10-24T16:15:58.882Z] provisioning config files... [2023-10-24T16:15:58.903Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/147@tmp/config8238813876378659849tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T16:15:59.269Z] ---> docker-login.sh [2023-10-24T16:15:59.269Z] nexus3.edgexfoundry.org:10001 [2023-10-24T16:15:59.542Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T16:15:59.542Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T16:15:59.542Z] Configure a credential helper to remove this warning. See [2023-10-24T16:15:59.542Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T16:15:59.542Z] [2023-10-24T16:15:59.542Z] Login Succeeded [2023-10-24T16:15:59.542Z] nexus3.edgexfoundry.org:10002 [2023-10-24T16:16:00.159Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T16:16:00.159Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T16:16:00.159Z] Configure a credential helper to remove this warning. See [2023-10-24T16:16:00.159Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T16:16:00.159Z] [2023-10-24T16:16:00.159Z] Login Succeeded [2023-10-24T16:16:00.159Z] nexus3.edgexfoundry.org:10003 [2023-10-24T16:16:00.433Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T16:16:00.704Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T16:16:00.704Z] Configure a credential helper to remove this warning. See [2023-10-24T16:16:00.704Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T16:16:00.704Z] [2023-10-24T16:16:00.704Z] Login Succeeded [2023-10-24T16:16:00.704Z] nexus3.edgexfoundry.org:10004 [2023-10-24T16:16:00.975Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T16:16:00.975Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T16:16:00.975Z] Configure a credential helper to remove this warning. See [2023-10-24T16:16:00.975Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T16:16:00.975Z] [2023-10-24T16:16:01.247Z] Login Succeeded [2023-10-24T16:16:01.247Z] docker.io [2023-10-24T16:16:01.529Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T16:16:02.123Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T16:16:02.123Z] Configure a credential helper to remove this warning. See [2023-10-24T16:16:02.123Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T16:16:02.123Z] [2023-10-24T16:16:02.123Z] Login Succeeded [2023-10-24T16:16:02.123Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T16:16:02.138Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-24T16:16:02.169Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T16:16:02.199Z] [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: [2023-10-24T16:16:02.199Z] aecec81b0df1ccac07961d4c177179e1cb746efd [2023-10-24T16:16:02.199Z] latest [2023-10-24T16:16:02.199Z] 3.1.0-dev.19 [2023-10-24T16:16:02.199Z] aecec81b0df1ccac07961d4c177179e1cb746efd-3.1.0-dev.19 [2023-10-24T16:16:02.199Z] main [2023-10-24T16:16:02.199Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:16:02.585Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:aecec81b0df1ccac07961d4c177179e1cb746efd [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:16:03.093Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:aecec81b0df1ccac07961d4c177179e1cb746efd [2023-10-24T16:16:03.093Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-10-24T16:16:03.093Z] 5f7f39a52829: Preparing [2023-10-24T16:16:03.093Z] a4a33622a9f7: Preparing [2023-10-24T16:16:03.093Z] 3784144414e6: Preparing [2023-10-24T16:16:03.093Z] 9a833542e4f1: Preparing [2023-10-24T16:16:03.093Z] 5f4d9fc4d98d: Preparing [2023-10-24T16:16:03.093Z] 5f4d9fc4d98d: Layer already exists [2023-10-24T16:16:03.393Z] 5f7f39a52829: Pushed [2023-10-24T16:16:03.393Z] a4a33622a9f7: Pushed [2023-10-24T16:16:03.393Z] 9a833542e4f1: Pushed [2023-10-24T16:16:10.148Z] 3784144414e6: Pushed [2023-10-24T16:16:10.418Z] aecec81b0df1ccac07961d4c177179e1cb746efd: digest: sha256:90584ab7d46bd9f81a6bec3fd27dacaead9250ba2a6015f0404eaa05f0c50871 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:16:10.797Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:16:11.172Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2023-10-24T16:16:11.172Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-10-24T16:16:11.172Z] 5f7f39a52829: Preparing [2023-10-24T16:16:11.172Z] a4a33622a9f7: Preparing [2023-10-24T16:16:11.172Z] 3784144414e6: Preparing [2023-10-24T16:16:11.172Z] 9a833542e4f1: Preparing [2023-10-24T16:16:11.172Z] 5f4d9fc4d98d: Preparing [2023-10-24T16:16:11.446Z] 3784144414e6: Layer already exists [2023-10-24T16:16:11.447Z] 9a833542e4f1: Layer already exists [2023-10-24T16:16:11.447Z] 5f4d9fc4d98d: Layer already exists [2023-10-24T16:16:11.447Z] 5f7f39a52829: Layer already exists [2023-10-24T16:16:11.447Z] a4a33622a9f7: Layer already exists [2023-10-24T16:16:11.447Z] latest: digest: sha256:90584ab7d46bd9f81a6bec3fd27dacaead9250ba2a6015f0404eaa05f0c50871 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:16:11.844Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:16:12.266Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0-dev.19 [2023-10-24T16:16:12.266Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-10-24T16:16:12.266Z] 5f7f39a52829: Preparing [2023-10-24T16:16:12.266Z] a4a33622a9f7: Preparing [2023-10-24T16:16:12.266Z] 3784144414e6: Preparing [2023-10-24T16:16:12.266Z] 9a833542e4f1: Preparing [2023-10-24T16:16:12.266Z] 5f4d9fc4d98d: Preparing [2023-10-24T16:16:12.543Z] 5f7f39a52829: Layer already exists [2023-10-24T16:16:12.543Z] a4a33622a9f7: Layer already exists [2023-10-24T16:16:12.543Z] 5f4d9fc4d98d: Layer already exists [2023-10-24T16:16:12.543Z] 3784144414e6: Layer already exists [2023-10-24T16:16:12.543Z] 9a833542e4f1: Layer already exists [2023-10-24T16:16:12.543Z] 3.1.0-dev.19: digest: sha256:90584ab7d46bd9f81a6bec3fd27dacaead9250ba2a6015f0404eaa05f0c50871 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:16:12.938Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:aecec81b0df1ccac07961d4c177179e1cb746efd-3.1.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:16:13.302Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:aecec81b0df1ccac07961d4c177179e1cb746efd-3.1.0-dev.19 [2023-10-24T16:16:13.302Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-10-24T16:16:13.302Z] 5f7f39a52829: Preparing [2023-10-24T16:16:13.302Z] a4a33622a9f7: Preparing [2023-10-24T16:16:13.302Z] 3784144414e6: Preparing [2023-10-24T16:16:13.302Z] 9a833542e4f1: Preparing [2023-10-24T16:16:13.302Z] 5f4d9fc4d98d: Preparing [2023-10-24T16:16:13.302Z] 5f7f39a52829: Layer already exists [2023-10-24T16:16:13.302Z] 3784144414e6: Layer already exists [2023-10-24T16:16:13.302Z] 5f4d9fc4d98d: Layer already exists [2023-10-24T16:16:13.302Z] 9a833542e4f1: Layer already exists [2023-10-24T16:16:13.302Z] a4a33622a9f7: Layer already exists [2023-10-24T16:16:13.574Z] aecec81b0df1ccac07961d4c177179e1cb746efd-3.1.0-dev.19: digest: sha256:90584ab7d46bd9f81a6bec3fd27dacaead9250ba2a6015f0404eaa05f0c50871 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:16:13.956Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:16:14.325Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [2023-10-24T16:16:14.325Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-10-24T16:16:14.325Z] 5f7f39a52829: Preparing [2023-10-24T16:16:14.325Z] a4a33622a9f7: Preparing [2023-10-24T16:16:14.325Z] 3784144414e6: Preparing [2023-10-24T16:16:14.325Z] 9a833542e4f1: Preparing [2023-10-24T16:16:14.325Z] 5f4d9fc4d98d: Preparing [2023-10-24T16:16:14.325Z] 5f4d9fc4d98d: Layer already exists [2023-10-24T16:16:14.325Z] 9a833542e4f1: Layer already exists [2023-10-24T16:16:14.325Z] 5f7f39a52829: Layer already exists [2023-10-24T16:16:14.325Z] 3784144414e6: Layer already exists [2023-10-24T16:16:14.599Z] a4a33622a9f7: Layer already exists [2023-10-24T16:16:14.599Z] main: digest: sha256:90584ab7d46bd9f81a6bec3fd27dacaead9250ba2a6015f0404eaa05f0c50871 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-24T16:16:14.653Z] ===================================================== [Pipeline] echo [2023-10-24T16:16:14.662Z] taggedImages: [2023-10-24T16:16:14.663Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:aecec81b0df1ccac07961d4c177179e1cb746efd [2023-10-24T16:16:14.663Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2023-10-24T16:16:14.663Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0-dev.19 [2023-10-24T16:16:14.663Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:aecec81b0df1ccac07961d4c177179e1cb746efd-3.1.0-dev.19 [2023-10-24T16:16:14.663Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:16:15.050Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-24T16:16:15.050Z] [2023-10-24T16:16:15.050Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:16:15.399Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-24T16:16:15.675Z] arm64: Pulling from edgex-lftools-log-publisher [2023-10-24T16:16:15.675Z] 8998bd30e6a1: Pulling fs layer [2023-10-24T16:16:15.675Z] 04944245beec: Pulling fs layer [2023-10-24T16:16:15.675Z] 699f458cf7ca: Pulling fs layer [2023-10-24T16:16:15.675Z] 765212b225bb: Pulling fs layer [2023-10-24T16:16:15.675Z] f23df028b6ca: Pulling fs layer [2023-10-24T16:16:15.675Z] d65c8cfc05b1: Pulling fs layer [2023-10-24T16:16:15.675Z] 2437ff75d9bd: Pulling fs layer [2023-10-24T16:16:15.675Z] f23df028b6ca: Waiting [2023-10-24T16:16:15.675Z] d65c8cfc05b1: Waiting [2023-10-24T16:16:15.675Z] 2437ff75d9bd: Waiting [2023-10-24T16:16:15.675Z] 765212b225bb: Waiting [2023-10-24T16:16:15.675Z] 04944245beec: Download complete [2023-10-24T16:16:15.675Z] 765212b225bb: Verifying Checksum [2023-10-24T16:16:15.675Z] 765212b225bb: Download complete [2023-10-24T16:16:15.675Z] f23df028b6ca: Verifying Checksum [2023-10-24T16:16:15.944Z] f23df028b6ca: Download complete [2023-10-24T16:16:15.944Z] d65c8cfc05b1: Verifying Checksum [2023-10-24T16:16:15.944Z] d65c8cfc05b1: Download complete [2023-10-24T16:16:15.944Z] 699f458cf7ca: Verifying Checksum [2023-10-24T16:16:15.944Z] 699f458cf7ca: Download complete [2023-10-24T16:16:16.535Z] 8998bd30e6a1: Download complete [2023-10-24T16:16:19.131Z] 2437ff75d9bd: Verifying Checksum [2023-10-24T16:16:19.131Z] 2437ff75d9bd: Download complete [2023-10-24T16:16:21.763Z] 8998bd30e6a1: Pull complete [2023-10-24T16:16:23.725Z] 04944245beec: Pull complete [2023-10-24T16:16:25.716Z] 699f458cf7ca: Pull complete [2023-10-24T16:16:25.716Z] 765212b225bb: Pull complete [2023-10-24T16:16:26.682Z] f23df028b6ca: Pull complete [2023-10-24T16:16:26.951Z] d65c8cfc05b1: Pull complete [2023-10-24T16:16:45.211Z] 2437ff75d9bd: Pull complete [2023-10-24T16:16:45.211Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-10-24T16:16:45.211Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-24T16:16:45.211Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T16:16:45.467Z] prd-ubuntu20.04-docker-arm64-4c-16g-9954 does not seem to be running inside a container [2023-10-24T16:16:45.572Z] $ 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/147 -v /w/workspace/device-mqtt-go/147:/w/workspace/device-mqtt-go/147:rw,z -v /w/workspace/device-mqtt-go/147@tmp:/w/workspace/device-mqtt-go/147@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-10-24T16:16:48.911Z] $ docker top 6d9a3ca2c0152cd4eefd0ea438953cae11128d5c40a76f8d58fb86f428e35da9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T16:16:49.831Z] ---> job-cost.sh [2023-10-24T16:16:49.831Z] lf-activate-venv: SKIPPING [2023-10-24T16:16:49.831Z] INFO: No Stack... [2023-10-24T16:16:50.419Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-10-24T16:16:51.386Z] INFO: Archiving Costs [Pipeline] sh [2023-10-24T16:16:52.069Z] + + cat /w/workspace/device-mqtt-go/147/archives/cost.csv [2023-10-24T16:16:52.069Z] cut -d, -f6 [Pipeline] lock [2023-10-24T16:16:52.149Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-147-stack-cost] [2023-10-24T16:16:52.155Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-147-stack-cost] did not exist. Created. [2023-10-24T16:16:52.155Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-147-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-24T16:16:52.825Z] /w/workspace/device-mqtt-go/147@tmp/durable-818b53d4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-10-24T16:16:53.504Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-10-24T16:16:53.529Z] Warning: overwriting stash ‘stack-cost’ [2023-10-24T16:16:53.585Z] Stashed 1 file(s) [Pipeline] } [2023-10-24T16:16:53.594Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-147-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-24T16:16:53.613Z] $ docker stop --time=1 6d9a3ca2c0152cd4eefd0ea438953cae11128d5c40a76f8d58fb86f428e35da9 [2023-10-24T16:16:55.136Z] $ docker rm -f --volumes 6d9a3ca2c0152cd4eefd0ea438953cae11128d5c40a76f8d58fb86f428e35da9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-10-24T16:16:55.603Z] provisioning config files... [2023-10-24T16:16:55.610Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4418492151871810629tmp [Pipeline] { [Pipeline] sh [2023-10-24T16:16:55.909Z] + set +x [2023-10-24T16:16:55.909Z] + curl -s https://codecov.io/bash [2023-10-24T16:16:55.909Z] + bash -s -- [2023-10-24T16:16:55.909Z] [2023-10-24T16:16:55.909Z] _____ _ [2023-10-24T16:16:55.909Z] / ____| | | [2023-10-24T16:16:55.909Z] | | ___ __| | ___ ___ _____ __ [2023-10-24T16:16:55.909Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-10-24T16:16:55.909Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-10-24T16:16:55.909Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-10-24T16:16:55.909Z] Bash-1.0.6 [2023-10-24T16:16:55.909Z] [2023-10-24T16:16:55.909Z] [2023-10-24T16:16:55.909Z] ==> git version 2.25.1 found [2023-10-24T16:16:55.909Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-10-24T16:16:55.909Z] Release-Date: 2020-01-08 [2023-10-24T16:16:55.909Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-10-24T16:16:55.909Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-10-24T16:16:55.909Z] ==> Jenkins CI detected. [2023-10-24T16:16:55.909Z] current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main [2023-10-24T16:16:55.909Z] project root: . [2023-10-24T16:16:55.909Z] --> token set from env [2023-10-24T16:16:55.909Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-10-24T16:16:55.909Z] ==> Running gcov in . (disable via -X gcov) [2023-10-24T16:16:55.909Z] ==> Python coveragepy not found [2023-10-24T16:16:55.909Z] ==> Searching for coverage reports in: [2023-10-24T16:16:55.909Z] + . [2023-10-24T16:16:55.909Z] -> Found 1 reports [2023-10-24T16:16:55.909Z] ==> Detecting git/mercurial file structure [2023-10-24T16:16:56.168Z] ==> Reading reports [2023-10-24T16:16:56.168Z] + ./coverage.out bytes=18506 [2023-10-24T16:16:56.168Z] ==> Appending adjustments [2023-10-24T16:16:56.168Z] https://docs.codecov.io/docs/fixing-reports [2023-10-24T16:16:56.168Z] + Found adjustments [2023-10-24T16:16:56.168Z] ==> Gzipping contents [2023-10-24T16:16:56.168Z] 4.0K /tmp/codecov.Gbdm9Z.gz [2023-10-24T16:16:56.168Z] ==> Uploading reports [2023-10-24T16:16:56.168Z] url: https://codecov.io [2023-10-24T16:16:56.168Z] query: branch=main&commit=aecec81b0df1ccac07961d4c177179e1cb746efd&build=147&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F147%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-10-24T16:16:56.168Z] -> Pinging Codecov [2023-10-24T16:16:56.168Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=main&commit=aecec81b0df1ccac07961d4c177179e1cb746efd&build=147&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F147%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-10-24T16:16:56.426Z] -> Uploading to [2023-10-24T16:16:56.426Z] https://storage.googleapis.com/codecov/v4/raw/2023-10-24/7D719EC7BBE17E464838252E33014C33/aecec81b0df1ccac07961d4c177179e1cb746efd/eb4198e9-c9c9-49a3-8473-ae4c1d1924bb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231024%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231024T161656Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=314dce624f7a8b061aefb47f281d9698d330b0ab37c815d780f05e95f9c2c3b0 [2023-10-24T16:16:56.426Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-24T16:16:56.426Z] Dload Upload Total Spent Left Speed [2023-10-24T16:16:56.684Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3049 0 0 100 3049 0 9381 --:--:-- --:--:-- --:--:-- 9381 [2023-10-24T16:16:56.684Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/aecec81b0df1ccac07961d4c177179e1cb746efd [Pipeline] } [2023-10-24T16:16:56.690Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-10-24T16:16:56.923Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-10-24T16:16:56.936Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:16:57.232Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-24T16:16:57.232Z] [2023-10-24T16:16:57.232Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:16:57.528Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-24T16:16:57.529Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-10-24T16:16:57.529Z] df9b9388f04a: Pulling fs layer [2023-10-24T16:16:57.529Z] 52dc419b0ee2: Pulling fs layer [2023-10-24T16:16:57.529Z] 25bc292e5bac: Pulling fs layer [2023-10-24T16:16:57.529Z] 114826534d7a: Pulling fs layer [2023-10-24T16:16:57.529Z] 4657fd5d0bcf: Pulling fs layer [2023-10-24T16:16:57.529Z] 6ad1cebc031e: Pulling fs layer [2023-10-24T16:16:57.529Z] 8a3aa393b2d8: Pulling fs layer [2023-10-24T16:16:57.529Z] 4657fd5d0bcf: Waiting [2023-10-24T16:16:57.529Z] 6ad1cebc031e: Waiting [2023-10-24T16:16:57.529Z] 8a3aa393b2d8: Waiting [2023-10-24T16:16:57.529Z] 114826534d7a: Waiting [2023-10-24T16:16:57.529Z] 25bc292e5bac: Verifying Checksum [2023-10-24T16:16:57.529Z] 25bc292e5bac: Download complete [2023-10-24T16:16:57.529Z] 52dc419b0ee2: Verifying Checksum [2023-10-24T16:16:57.529Z] 52dc419b0ee2: Download complete [2023-10-24T16:16:57.529Z] 4657fd5d0bcf: Download complete [2023-10-24T16:16:57.529Z] df9b9388f04a: Download complete [2023-10-24T16:16:57.788Z] df9b9388f04a: Pull complete [2023-10-24T16:16:57.788Z] 6ad1cebc031e: Verifying Checksum [2023-10-24T16:16:57.788Z] 6ad1cebc031e: Download complete [2023-10-24T16:16:57.788Z] 52dc419b0ee2: Pull complete [2023-10-24T16:16:57.788Z] 25bc292e5bac: Pull complete [2023-10-24T16:16:58.364Z] 114826534d7a: Verifying Checksum [2023-10-24T16:16:58.364Z] 114826534d7a: Download complete [2023-10-24T16:16:58.621Z] 8a3aa393b2d8: Verifying Checksum [2023-10-24T16:16:58.621Z] 8a3aa393b2d8: Download complete [2023-10-24T16:17:01.897Z] 114826534d7a: Pull complete [2023-10-24T16:17:01.897Z] 4657fd5d0bcf: Pull complete [2023-10-24T16:17:01.897Z] 6ad1cebc031e: Pull complete [2023-10-24T16:17:04.421Z] 8a3aa393b2d8: Pull complete [2023-10-24T16:17:04.421Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-10-24T16:17:04.421Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-24T16:17:04.421Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T16:17:04.499Z] prd-ubuntu20.04-docker-8c-8g-9951 does not seem to be running inside a container [2023-10-24T16:17:04.531Z] $ 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_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-10-24T16:17:08.108Z] $ docker top 12ffc764eebe512fd803aa6f9ef39d78f4fed4a2fa9516877d483efd9e0af348 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-10-24T16:17:08.166Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh [2023-10-24T16:17:08.479Z] + set -o pipefail [2023-10-24T16:17:08.479Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' [2023-10-24T16:17:13.742Z] [2023-10-24T16:17:13.743Z] Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... [2023-10-24T16:17:13.743Z] [2023-10-24T16:17:13.743Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/c5bf137c-a21c-4d08-9482-6191411d5a30 [2023-10-24T16:17:13.743Z] [2023-10-24T16:17:13.743Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-10-24T16:17:13.743Z] [2023-10-24T16:17:13.743Z] [2023-10-24T16:17:13.743Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-10-24T16:17:13.743Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-10-24T16:17:13.743Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-10-24T16:17:13.757Z] $ docker stop --time=1 12ffc764eebe512fd803aa6f9ef39d78f4fed4a2fa9516877d483efd9e0af348 [2023-10-24T16:17:17.182Z] $ docker rm -f --volumes 12ffc764eebe512fd803aa6f9ef39d78f4fed4a2fa9516877d483efd9e0af348 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-24T16:17:17.900Z] + git log --format=format:%s -1 aecec81b0df1ccac07961d4c177179e1cb746efd [Pipeline] sh [2023-10-24T16:17:18.190Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-24T16:17:18.190Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:17:18.485Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T16:17:18.485Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T16:17:18.553Z] prd-ubuntu20.04-docker-8c-8g-9951 does not seem to be running inside a container [2023-10-24T16:17:18.588Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@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/py-git-semver:0.1.4 cat [2023-10-24T16:17:19.017Z] $ docker top d7866273e796603bd16738feb2d0c195838be179e88258b3be0f6a4ac1739a37 -eo pid,comm [2023-10-24T16:17:19.064Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-10-24T16:17:19.064Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-24T16:17:19.109Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-24T16:17:19.109Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-24T16:17:19.216Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-24T16:17:19.220Z] $ docker exec d7866273e796603bd16738feb2d0c195838be179e88258b3be0f6a4ac1739a37 ssh-agent [2023-10-24T16:17:19.336Z] SSH_AUTH_SOCK=/tmp/ssh-4THvxWh2V6R7/agent.32 [2023-10-24T16:17:19.336Z] SSH_AGENT_PID=38 [2023-10-24T16:17:19.341Z] Running ssh-add (command line suppressed) [2023-10-24T16:17:19.446Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_9908625691693786712.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_9908625691693786712.key) [2023-10-24T16:17:19.462Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-24T16:17:19.748Z] + git semver tag [2023-10-24T16:17:20.008Z] 2023-10-24 16:17:19,935 [run_tag] DEBUG tag force:False [2023-10-24T16:17:20.008Z] 2023-10-24 16:17:19,936 [check_head_tag] DEBUG check head tag [2023-10-24T16:17:20.008Z] 2023-10-24 16:17:19,936 [execute] INFO git cat-file --batch-check [2023-10-24T16:17:20.008Z] 2023-10-24 16:17:19,936 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) [2023-10-24T16:17:20.008Z] 2023-10-24 16:17:19,940 [execute] INFO git cat-file --batch [2023-10-24T16:17:20.008Z] 2023-10-24 16:17:19,940 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) [2023-10-24T16:17:20.008Z] 2023-10-24 16:17:19,952 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-10-24T16:17:20.008Z] 2023-10-24 16:17:19,952 [execute] INFO git tag -a v3.1.0-dev.19 -m v3.1.0-dev.19 [2023-10-24T16:17:20.008Z] 2023-10-24 16:17:19,952 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.19', '-m', 'v3.1.0-dev.19'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) [2023-10-24T16:17:20.008Z] 2023-10-24 16:17:19,958 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-10-24T16:17:20.008Z] 3.1.0-dev.19 [Pipeline] } [2023-10-24T16:17:20.019Z] $ docker exec --env ******** --env ******** d7866273e796603bd16738feb2d0c195838be179e88258b3be0f6a4ac1739a37 ssh-agent -k [2023-10-24T16:17:20.114Z] unset SSH_AUTH_SOCK; [2023-10-24T16:17:20.115Z] unset SSH_AGENT_PID; [2023-10-24T16:17:20.115Z] echo Agent pid 38 killed; [2023-10-24T16:17:20.122Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-24T16:17:20.424Z] + git semver [Pipeline] } [2023-10-24T16:17:20.699Z] $ docker stop --time=1 d7866273e796603bd16738feb2d0c195838be179e88258b3be0f6a4ac1739a37 [2023-10-24T16:17:21.989Z] $ docker rm -f --volumes d7866273e796603bd16738feb2d0c195838be179e88258b3be0f6a4ac1739a37 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:17:22.383Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-24T16:17:22.383Z] [2023-10-24T16:17:22.383Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:17:22.678Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-24T16:17:22.678Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-10-24T16:17:22.678Z] ab5ef0e58194: Pulling fs layer [2023-10-24T16:17:22.678Z] 9712f1f96733: Pulling fs layer [2023-10-24T16:17:22.678Z] 63f879dbbcfc: Pulling fs layer [2023-10-24T16:17:22.678Z] 0d9ebad4ef96: Pulling fs layer [2023-10-24T16:17:22.678Z] e9a5061849ea: Pulling fs layer [2023-10-24T16:17:22.678Z] d747dcd14b5f: Pulling fs layer [2023-10-24T16:17:22.678Z] 2de7ff778b66: Pulling fs layer [2023-10-24T16:17:22.678Z] 0d9ebad4ef96: Waiting [2023-10-24T16:17:22.678Z] 2de7ff778b66: Waiting [2023-10-24T16:17:22.678Z] e9a5061849ea: Waiting [2023-10-24T16:17:22.678Z] d747dcd14b5f: Waiting [2023-10-24T16:17:22.678Z] 9712f1f96733: Verifying Checksum [2023-10-24T16:17:22.678Z] 9712f1f96733: Download complete [2023-10-24T16:17:22.940Z] 63f879dbbcfc: Verifying Checksum [2023-10-24T16:17:22.940Z] 63f879dbbcfc: Download complete [2023-10-24T16:17:23.200Z] 0d9ebad4ef96: Verifying Checksum [2023-10-24T16:17:23.200Z] 0d9ebad4ef96: Download complete [2023-10-24T16:17:23.200Z] d747dcd14b5f: Download complete [2023-10-24T16:17:23.200Z] e9a5061849ea: Verifying Checksum [2023-10-24T16:17:23.200Z] e9a5061849ea: Download complete [2023-10-24T16:17:23.200Z] ab5ef0e58194: Verifying Checksum [2023-10-24T16:17:23.200Z] ab5ef0e58194: Download complete [2023-10-24T16:17:23.458Z] 2de7ff778b66: Verifying Checksum [2023-10-24T16:17:23.458Z] 2de7ff778b66: Download complete [2023-10-24T16:17:25.984Z] ab5ef0e58194: Pull complete [2023-10-24T16:17:25.984Z] 9712f1f96733: Pull complete [2023-10-24T16:17:26.919Z] 63f879dbbcfc: Pull complete [2023-10-24T16:17:30.613Z] 0d9ebad4ef96: Pull complete [2023-10-24T16:17:30.613Z] e9a5061849ea: Pull complete [2023-10-24T16:17:30.613Z] d747dcd14b5f: Pull complete [2023-10-24T16:17:31.549Z] 2de7ff778b66: Pull complete [2023-10-24T16:17:31.549Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-10-24T16:17:31.549Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-24T16:17:31.549Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T16:17:31.630Z] prd-ubuntu20.04-docker-8c-8g-9951 does not seem to be running inside a container [2023-10-24T16:17:31.667Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@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:0.23.1-centos7 cat [2023-10-24T16:17:36.407Z] $ docker top 7ad69bfcd85e0cba0c0ba3c0e5f80a55bcf3d3460dd178561b072739cb4155c4 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-10-24T16:17:36.472Z] provisioning config files... [2023-10-24T16:17:36.477Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8590552397420126559tmp [2023-10-24T16:17:36.485Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config16903665620089407177tmp [2023-10-24T16:17:36.495Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config13452619048692747313tmp [Pipeline] { [Pipeline] echo [2023-10-24T16:17:36.511Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T16:17:36.795Z] ---> sigul-configuration.sh [2023-10-24T16:17:36.795Z] gpg: directory `/root/.gnupg' created [2023-10-24T16:17:36.795Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-10-24T16:17:36.795Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-10-24T16:17:36.795Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-10-24T16:17:36.795Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-10-24T16:17:36.795Z] gpg: CAST5 encrypted data [2023-10-24T16:17:36.795Z] gpg: encrypted with 1 passphrase [2023-10-24T16:17:36.795Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-10-24T16:17:37.076Z] + mkdir /home/jenkins [2023-10-24T16:17:37.076Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-10-24T16:17:37.359Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2023-10-24T16:17:37.367Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T16:17:37.649Z] ---> sigul-install.sh [2023-10-24T16:17:37.649Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-10-24T16:17:37.940Z] + git tag --list [2023-10-24T16:17:37.941Z] 0.7.1 [2023-10-24T16:17:37.941Z] v1.0.0 [2023-10-24T16:17:37.941Z] v1.1.0 [2023-10-24T16:17:37.941Z] v1.1.1 [2023-10-24T16:17:37.941Z] v1.2.2 [2023-10-24T16:17:37.941Z] v1.3.0 [2023-10-24T16:17:37.941Z] v1.3.1 [2023-10-24T16:17:37.941Z] v2.0.0 [2023-10-24T16:17:37.941Z] v2.1.0 [2023-10-24T16:17:37.941Z] v2.1.1 [2023-10-24T16:17:37.941Z] v2.2.0 [2023-10-24T16:17:37.941Z] v2.3.0 [2023-10-24T16:17:37.941Z] v3.0 [2023-10-24T16:17:37.941Z] v3.0.0 [2023-10-24T16:17:37.941Z] v3.1.0-dev.1 [2023-10-24T16:17:37.941Z] v3.1.0-dev.10 [2023-10-24T16:17:37.941Z] v3.1.0-dev.11 [2023-10-24T16:17:37.941Z] v3.1.0-dev.12 [2023-10-24T16:17:37.941Z] v3.1.0-dev.13 [2023-10-24T16:17:37.941Z] v3.1.0-dev.14 [2023-10-24T16:17:37.941Z] v3.1.0-dev.15 [2023-10-24T16:17:37.941Z] v3.1.0-dev.16 [2023-10-24T16:17:37.941Z] v3.1.0-dev.17 [2023-10-24T16:17:37.941Z] v3.1.0-dev.18 [2023-10-24T16:17:37.941Z] v3.1.0-dev.19 [2023-10-24T16:17:37.941Z] v3.1.0-dev.2 [2023-10-24T16:17:37.941Z] v3.1.0-dev.3 [2023-10-24T16:17:37.941Z] v3.1.0-dev.4 [2023-10-24T16:17:37.941Z] v3.1.0-dev.5 [2023-10-24T16:17:37.941Z] v3.1.0-dev.6 [2023-10-24T16:17:37.941Z] v3.1.0-dev.7 [2023-10-24T16:17:37.941Z] v3.1.0-dev.8 [2023-10-24T16:17:37.941Z] v3.1.0-dev.9 [Pipeline] sh [2023-10-24T16:17:38.227Z] + lftools sign git-tag v3.1.0-dev.19 [2023-10-24T16:17:38.793Z] Signing Git tag with Sigul... [2023-10-24T16:17:38.793Z] Signing v3.1.0-dev.19 [Pipeline] echo [2023-10-24T16:17:39.059Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T16:17:39.343Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-10-24T16:17:39.351Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-10-24T16:17:39.373Z] $ docker stop --time=1 7ad69bfcd85e0cba0c0ba3c0e5f80a55bcf3d3460dd178561b072739cb4155c4 [2023-10-24T16:17:40.705Z] $ docker rm -f --volumes 7ad69bfcd85e0cba0c0ba3c0e5f80a55bcf3d3460dd178561b072739cb4155c4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-10-24T16:17:41.102Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-24T16:17:41.102Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:17:41.396Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T16:17:41.396Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T16:17:41.466Z] prd-ubuntu20.04-docker-8c-8g-9951 does not seem to be running inside a container [2023-10-24T16:17:41.497Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@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/py-git-semver:0.1.4 cat [2023-10-24T16:17:41.827Z] $ docker top 8bc05f98c1d00b8593c31ade64f62040272b9a68106332ffb3b6171fae9fd4bb -eo pid,comm [2023-10-24T16:17:41.872Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-10-24T16:17:41.872Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-24T16:17:41.905Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-24T16:17:41.905Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-24T16:17:42.012Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-24T16:17:42.017Z] $ docker exec 8bc05f98c1d00b8593c31ade64f62040272b9a68106332ffb3b6171fae9fd4bb ssh-agent [2023-10-24T16:17:42.115Z] SSH_AUTH_SOCK=/tmp/ssh-qFv8dhuY1rix/agent.32 [2023-10-24T16:17:42.115Z] SSH_AGENT_PID=38 [2023-10-24T16:17:42.119Z] Running ssh-add (command line suppressed) [2023-10-24T16:17:42.206Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5716638814616745321.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5716638814616745321.key) [2023-10-24T16:17:42.220Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-24T16:17:42.510Z] + git semver bump pre [2023-10-24T16:17:42.770Z] 2023-10-24 16:17:42,681 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-10-24T16:17:42.770Z] 2023-10-24 16:17:42,681 [bump_version] DEBUG bumping version:3.1.0-dev.19 on axis:pre with prefix:dev [2023-10-24T16:17:42.770Z] 2023-10-24 16:17:42,681 [bump_version] DEBUG bumped version:3.1.0-dev.20 [2023-10-24T16:17:42.770Z] 2023-10-24 16:17:42,681 [write_version] DEBUG write version:3.1.0-dev.20 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True [2023-10-24T16:17:42.770Z] 2023-10-24 16:17:42,681 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-10-24T16:17:42.770Z] 2023-10-24 16:17:42,681 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-10-24T16:17:42.770Z] 2023-10-24 16:17:42,683 [execute] INFO git cat-file --batch-check [2023-10-24T16:17:42.770Z] 2023-10-24 16:17:42,683 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-24T16:17:42.770Z] 2023-10-24 16:17:42,688 [execute] INFO git cat-file --batch [2023-10-24T16:17:42.770Z] 2023-10-24 16:17:42,689 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-24T16:17:42.770Z] 2023-10-24 16:17:42,694 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-10-24T16:17:42.770Z] 3.1.0-dev.20 [Pipeline] } [2023-10-24T16:17:42.781Z] $ docker exec --env ******** --env ******** 8bc05f98c1d00b8593c31ade64f62040272b9a68106332ffb3b6171fae9fd4bb ssh-agent -k [2023-10-24T16:17:42.883Z] unset SSH_AUTH_SOCK; [2023-10-24T16:17:42.883Z] unset SSH_AGENT_PID; [2023-10-24T16:17:42.883Z] echo Agent pid 38 killed; [2023-10-24T16:17:42.890Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-24T16:17:43.196Z] + git semver [Pipeline] } [2023-10-24T16:17:43.469Z] $ docker stop --time=1 8bc05f98c1d00b8593c31ade64f62040272b9a68106332ffb3b6171fae9fd4bb [2023-10-24T16:17:44.716Z] $ docker rm -f --volumes 8bc05f98c1d00b8593c31ade64f62040272b9a68106332ffb3b6171fae9fd4bb [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-24T16:17:45.044Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-24T16:17:45.044Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:17:45.341Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T16:17:45.341Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T16:17:45.414Z] prd-ubuntu20.04-docker-8c-8g-9951 does not seem to be running inside a container [2023-10-24T16:17:45.448Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@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/py-git-semver:0.1.4 cat [2023-10-24T16:17:45.790Z] $ docker top 787ed274f07aad6f99fdab1e000b5a955fc2b36f11fe34cb218ecd93afa51a4c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-24T16:17:45.874Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-24T16:17:45.875Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-24T16:17:45.973Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-24T16:17:45.977Z] $ docker exec 787ed274f07aad6f99fdab1e000b5a955fc2b36f11fe34cb218ecd93afa51a4c ssh-agent [2023-10-24T16:17:46.089Z] SSH_AUTH_SOCK=/tmp/ssh-FVUXCO9KIzEc/agent.32 [2023-10-24T16:17:46.089Z] SSH_AGENT_PID=38 [2023-10-24T16:17:46.095Z] Running ssh-add (command line suppressed) [2023-10-24T16:17:46.197Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_420885169308401376.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_420885169308401376.key) [2023-10-24T16:17:46.216Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-24T16:17:46.501Z] + git semver push [2023-10-24T16:17:46.760Z] 2023-10-24 16:17:46,681 [run_push] DEBUG push [2023-10-24T16:17:46.760Z] 2023-10-24 16:17:46,681 [execute] INFO git cat-file --batch-check [2023-10-24T16:17:46.760Z] 2023-10-24 16:17:46,681 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-24T16:17:46.760Z] 2023-10-24 16:17:46,685 [execute] INFO git rev-list 421a7de699c836c77ec7709e6e33beb113eb94e4 -- [2023-10-24T16:17:46.760Z] 2023-10-24 16:17:46,685 [execute] DEBUG Popen(['git', 'rev-list', '421a7de699c836c77ec7709e6e33beb113eb94e4', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-10-24T16:17:46.760Z] 2023-10-24 16:17:46,694 [execute] INFO git fetch -v origin [2023-10-24T16:17:46.760Z] 2023-10-24 16:17:46,695 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-10-24T16:17:47.327Z] 2023-10-24 16:17:47,230 [run_push] DEBUG no remote changes detected [2023-10-24T16:17:47.327Z] 2023-10-24 16:17:47,230 [execute] INFO git push origin semver [2023-10-24T16:17:47.327Z] 2023-10-24 16:17:47,231 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-10-24T16:17:48.263Z] 2023-10-24 16:17:48,063 [run_push] DEBUG push all version tags [2023-10-24T16:17:48.263Z] 2023-10-24 16:17:48,064 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-10-24T16:17:48.263Z] 2023-10-24 16:17:48,064 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) [2023-10-24T16:17:49.199Z] 2023-10-24 16:17:48,859 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-10-24T16:17:49.199Z] 3.1.0-dev.20 [Pipeline] } [2023-10-24T16:17:49.211Z] $ docker exec --env ******** --env ******** 787ed274f07aad6f99fdab1e000b5a955fc2b36f11fe34cb218ecd93afa51a4c ssh-agent -k [2023-10-24T16:17:49.313Z] unset SSH_AUTH_SOCK; [2023-10-24T16:17:49.314Z] unset SSH_AGENT_PID; [2023-10-24T16:17:49.314Z] echo Agent pid 38 killed; [2023-10-24T16:17:49.319Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-24T16:17:49.618Z] + git semver [Pipeline] } [2023-10-24T16:17:49.892Z] $ docker stop --time=1 787ed274f07aad6f99fdab1e000b5a955fc2b36f11fe34cb218ecd93afa51a4c [2023-10-24T16:17:51.157Z] $ docker rm -f --volumes 787ed274f07aad6f99fdab1e000b5a955fc2b36f11fe34cb218ecd93afa51a4c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-10-24T16:17:51.729Z] + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] [2023-10-24T16:17:51.729Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2023-10-24T16:17:51.729Z] total 16 [2023-10-24T16:17:51.729Z] drwxr-xr-x 3 root root 4096 Oct 24 16:07 . [2023-10-24T16:17:51.729Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 16:17 .. [2023-10-24T16:17:51.729Z] drwxr-xr-x 2 root root 4096 Oct 24 16:07 cost [2023-10-24T16:17:51.729Z] -rw-r--r-- 1 root root 86 Oct 24 16:07 cost.csv [2023-10-24T16:17:51.729Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2023-10-24T16:17:51.729Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2023-10-24T16:17:51.729Z] total 16 [2023-10-24T16:17:51.729Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 16:07 . [2023-10-24T16:17:51.729Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 16:17 .. [2023-10-24T16:17:51.730Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 24 16:07 cost [2023-10-24T16:17:51.730Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 24 16:07 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-10-24T16:17:52.022Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T16:17:52.879Z] ---> package-listing.sh [2023-10-24T16:17:52.879Z] ++ facter osfamily [2023-10-24T16:17:52.879Z] ++ tr '[:upper:]' '[:lower:]' [2023-10-24T16:17:53.137Z] + OS_FAMILY=debian [2023-10-24T16:17:53.137Z] + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main [2023-10-24T16:17:53.137Z] + START_PACKAGES=/tmp/packages_start.txt [2023-10-24T16:17:53.137Z] + END_PACKAGES=/tmp/packages_end.txt [2023-10-24T16:17:53.137Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-10-24T16:17:53.137Z] + PACKAGES=/tmp/packages_start.txt [2023-10-24T16:17:53.137Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2023-10-24T16:17:53.137Z] + PACKAGES=/tmp/packages_end.txt [2023-10-24T16:17:53.137Z] + case "${OS_FAMILY}" in [2023-10-24T16:17:53.137Z] + dpkg -l [2023-10-24T16:17:53.137Z] + grep '^ii' [2023-10-24T16:17:53.137Z] + '[' -f /tmp/packages_start.txt ']' [2023-10-24T16:17:53.137Z] + '[' -f /tmp/packages_end.txt ']' [2023-10-24T16:17:53.137Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-10-24T16:17:53.137Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2023-10-24T16:17:53.137Z] + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [2023-10-24T16:17:53.137Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo [2023-10-24T16:17:53.148Z] 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_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-10-24T16:17:53.427Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:17:53.978Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-24T16:17:53.978Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T16:17:54.051Z] prd-ubuntu20.04-docker-8c-8g-9951 does not seem to be running inside a container [2023-10-24T16:17:54.083Z] $ 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_main/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_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@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 [2023-10-24T16:17:54.333Z] $ docker top 4721466a7ae3513c218f7cf2c46300e5b84c33b88722fbae8894d6b6995e2d83 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T16:17:54.735Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-10-24T16:17:55.059Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-10-24T16:17:55.339Z] + ls /var/log/sa-host [2023-10-24T16:17:55.339Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-24T16:17:55.408Z] provisioning config files... [2023-10-24T16:17:55.414Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config556621982249647153tmp [Pipeline] { [Pipeline] echo [2023-10-24T16:17:55.426Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T16:17:55.707Z] ---> create-netrc.sh [Pipeline] } [2023-10-24T16:17:55.714Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-10-24T16:17:56.077Z] ---> python-tools-install.sh [Pipeline] echo [2023-10-24T16:17:56.083Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T16:17:56.363Z] ---> sudo-logs.sh [2023-10-24T16:17:56.363Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-10-24T16:17:56.386Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T16:17:56.667Z] ---> job-cost.sh [2023-10-24T16:17:56.667Z] lf-activate-venv: SKIPPING [2023-10-24T16:17:56.667Z] DEBUG: total: 0.2199999988079071 [2023-10-24T16:17:56.667Z] INFO: Retrieving Stack Cost... [2023-10-24T16:17:56.926Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-24T16:17:57.251Z] INFO: Archiving Costs [Pipeline] echo [2023-10-24T16:17:57.259Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T16:17:57.539Z] ---> logs-deploy.sh [2023-10-24T16:17:57.539Z] lf-activate-venv: SKIPPING [2023-10-24T16:17:57.539Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/147 [2023-10-24T16:17:57.539Z] INFO: archiving workspace using pattern(s): [2023-10-24T16:17:58.477Z] Archives upload complete. [2023-10-24T16:17:58.477Z] INFO: archiving logs to Nexus