Pull request #696 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6233e5b8e31cd05fef6663a97a9452ee99d6ab14+a7ea162f49cc88b1fd5543c209327df7c238676c (ab5293ace9438eb80aa39193fc006b46ac5d3a9a) 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-ssh14473098160349894463.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-ssh17601973699129707948.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 0b81fa10a7dd14683a964f04f411324fe83f93ac The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-696/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-696/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4690228703295387051.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-696/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3514942368447569790.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh10415633139229084152.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-696/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-696/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12533137630581320669.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac 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.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-15484’ Running on prd-ubuntu20.04-docker-8c-8g-15491 in /w/workspace/gexfoundry_device-mqtt-go_PR-696 [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/gexfoundry_device-mqtt-go_PR-696 # 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 Merging remotes/origin/main commit a7ea162f49cc88b1fd5543c209327df7c238676c into PR head commit 6233e5b8e31cd05fef6663a97a9452ee99d6ab14 Merge succeeded, producing 6233e5b8e31cd05fef6663a97a9452ee99d6ab14 Checking out Revision 6233e5b8e31cd05fef6663a97a9452ee99d6ab14 (PR-696) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/696/head:refs/remotes/origin/PR-696 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6233e5b8e31cd05fef6663a97a9452ee99d6ab14 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge a7ea162f49cc88b1fd5543c209327df7c238676c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6233e5b8e31cd05fef6663a97a9452ee99d6ab14 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-10-04T01:13:18.048Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-04T01:13:18.288Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-04T01:13:18.416Z] ========================================================= [2024-10-04T01:13:18.416Z] EdgeX Global Pipelines Version Info [2024-10-04T01:13:18.416Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-10-04T01:13:19.557Z] ------------------- [2024-10-04T01:13:19.557Z] stable info: [2024-10-04T01:13:19.557Z] ------------------- [2024-10-04T01:13:19.557Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-10-04T01:13:19.557Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-04T01:13:19.557Z] Message: update stable to v1.0.265 [2024-10-04T01:13:19.818Z] ------------------- [2024-10-04T01:13:19.818Z] experimental info: [2024-10-04T01:13:19.818Z] ------------------- [2024-10-04T01:13:19.818Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-04T01:13:19.818Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-04T01:13:19.818Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-10-04T01:13:20.079Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2024-10-04T01:13:20.146Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2024-10-04T01:13:20.213Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-10-04T01:13:20.277Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-10-04T01:13:20.347Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-10-04T01:13:20.414Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-10-04T01:13:20.481Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-10-04T01:13:20.546Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-10-04T01:13:20.622Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-10-04T01:13:20.694Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-04T01:13:20.766Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-10-04T01:13:20.849Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2024-10-04T01:13:20.996Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-10-04T01:13:21.053Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-10-04T01:13:21.106Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-10-04T01:13:21.177Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-10-04T01:13:21.243Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-10-04T01:13:21.304Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-10-04T01:13:21.353Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-04T01:13:21.418Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-10-04T01:13:21.480Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-10-04T01:13:21.545Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-10-04T01:13:21.615Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-10-04T01:13:21.685Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-10-04T01:13:21.761Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-10-04T01:13:21.839Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-04T01:13:21.905Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-10-04T01:13:21.977Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-696 [Pipeline] echo [2024-10-04T01:13:22.036Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-696 [Pipeline] echo [2024-10-04T01:13:22.105Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-696 [Pipeline] echo [2024-10-04T01:13:22.167Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6233e5b8e31cd05fef6663a97a9452ee99d6ab14 [Pipeline] echo [2024-10-04T01:13:22.237Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6233e5b [Pipeline] echo [2024-10-04T01:13:22.305Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-04T01:13:22.482Z] provisioning config files... [2024-10-04T01:13:22.495Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-696@tmp/config1488579777657566999tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-04T01:13:22.910Z] ---> ****-login.sh [2024-10-04T01:13:22.910Z] nexus3.edgexfoundry.org:10001 [2024-10-04T01:13:23.175Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T01:13:23.175Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T01:13:23.175Z] Configure a credential helper to remove this warning. See [2024-10-04T01:13:23.175Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T01:13:23.175Z] [2024-10-04T01:13:23.175Z] Login Succeeded [2024-10-04T01:13:23.175Z] nexus3.edgexfoundry.org:10002 [2024-10-04T01:13:23.436Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T01:13:23.436Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T01:13:23.436Z] Configure a credential helper to remove this warning. See [2024-10-04T01:13:23.436Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T01:13:23.436Z] [2024-10-04T01:13:23.436Z] Login Succeeded [2024-10-04T01:13:23.436Z] nexus3.edgexfoundry.org:10003 [2024-10-04T01:13:23.436Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T01:13:23.436Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T01:13:23.436Z] Configure a credential helper to remove this warning. See [2024-10-04T01:13:23.436Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T01:13:23.436Z] [2024-10-04T01:13:23.436Z] Login Succeeded [2024-10-04T01:13:23.436Z] nexus3.edgexfoundry.org:10004 [2024-10-04T01:13:23.697Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T01:13:23.697Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T01:13:23.697Z] Configure a credential helper to remove this warning. See [2024-10-04T01:13:23.697Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T01:13:23.697Z] [2024-10-04T01:13:23.697Z] Login Succeeded [2024-10-04T01:13:23.697Z] ****.io [2024-10-04T01:13:23.698Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T01:13:23.958Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T01:13:23.958Z] Configure a credential helper to remove this warning. See [2024-10-04T01:13:23.959Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T01:13:23.959Z] [2024-10-04T01:13:23.959Z] Login Succeeded [2024-10-04T01:13:23.959Z] ---> ****-login.sh ends [Pipeline] } [2024-10-04T01:13:24.002Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-10-04T01:13:24.758Z] + git rev-list -1 --merges 6233e5b8e31cd05fef6663a97a9452ee99d6ab14~1..6233e5b8e31cd05fef6663a97a9452ee99d6ab14 [Pipeline] echo [2024-10-04T01:13:24.811Z] -----------> git rev-list -1 --merges 6233e5b8e31cd05fef6663a97a9452ee99d6ab14~1..6233e5b8e31cd05fef6663a97a9452ee99d6ab14 6233e5b8e31cd05fef6663a97a9452ee99d6ab14 [false] [Pipeline] sh [2024-10-04T01:13:25.144Z] + git log --format=format:%s -1 6233e5b8e31cd05fef6663a97a9452ee99d6ab14 [Pipeline] echo [2024-10-04T01:13:25.198Z] ========================================================= [2024-10-04T01:13:25.198Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-04T01:13:25.198Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-04T01:13:25.686Z] + git log --format=format:%s -1 6233e5b8e31cd05fef6663a97a9452ee99d6ab14 [Pipeline] echo [2024-10-04T01:13:25.722Z] [semverPrep] GIT_COMMIT: 6233e5b8e31cd05fef6663a97a9452ee99d6ab14, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-10-04T01:13:25.777Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-10-04T01:13:26.221Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-04T01:13:26.221Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-10-04T01:13:26.221Z] + [ -e /tmp/ssh_known_hosts ] [2024-10-04T01:13:26.221Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-10-04T01:13:26.221Z] + + sudoecho tee github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= -a [2024-10-04T01:13:26.221Z] /etc/ssh/ssh_known_hosts [2024-10-04T01:13:26.221Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T01:13:26.787Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-04T01:13:26.787Z] [2024-10-04T01:13:26.787Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T01:13:27.218Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-04T01:13:27.218Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-10-04T01:13:27.218Z] b85a868b505f: Pulling fs layer [2024-10-04T01:13:27.218Z] e2be974225ed: Pulling fs layer [2024-10-04T01:13:27.218Z] 339a4e72a1f5: Pulling fs layer [2024-10-04T01:13:27.218Z] 988bab9f4d93: Pulling fs layer [2024-10-04T01:13:27.218Z] 1469e6f7b9e6: Pulling fs layer [2024-10-04T01:13:27.218Z] eaf3925da568: Pulling fs layer [2024-10-04T01:13:27.218Z] bab4dde63d76: Pulling fs layer [2024-10-04T01:13:27.218Z] bde34c3a00c8: Pulling fs layer [2024-10-04T01:13:27.218Z] b352a97aabf1: Pulling fs layer [2024-10-04T01:13:27.218Z] 4872d77fe225: Pulling fs layer [2024-10-04T01:13:27.218Z] 5851b861e8e6: Pulling fs layer [2024-10-04T01:13:27.218Z] 988bab9f4d93: Waiting [2024-10-04T01:13:27.218Z] 1469e6f7b9e6: Waiting [2024-10-04T01:13:27.218Z] eaf3925da568: Waiting [2024-10-04T01:13:27.218Z] bab4dde63d76: Waiting [2024-10-04T01:13:27.218Z] bde34c3a00c8: Waiting [2024-10-04T01:13:27.218Z] 5851b861e8e6: Waiting [2024-10-04T01:13:27.218Z] b352a97aabf1: Waiting [2024-10-04T01:13:27.218Z] 4872d77fe225: Waiting [2024-10-04T01:13:27.218Z] e2be974225ed: Verifying Checksum [2024-10-04T01:13:27.218Z] e2be974225ed: Download complete [2024-10-04T01:13:27.218Z] 988bab9f4d93: Verifying Checksum [2024-10-04T01:13:27.218Z] 988bab9f4d93: Download complete [2024-10-04T01:13:27.478Z] 1469e6f7b9e6: Verifying Checksum [2024-10-04T01:13:27.478Z] 1469e6f7b9e6: Download complete [2024-10-04T01:13:27.478Z] 339a4e72a1f5: Verifying Checksum [2024-10-04T01:13:27.478Z] 339a4e72a1f5: Download complete [2024-10-04T01:13:27.478Z] eaf3925da568: Verifying Checksum [2024-10-04T01:13:27.478Z] eaf3925da568: Download complete [2024-10-04T01:13:27.478Z] bde34c3a00c8: Verifying Checksum [2024-10-04T01:13:27.479Z] bde34c3a00c8: Download complete [2024-10-04T01:13:27.479Z] b352a97aabf1: Verifying Checksum [2024-10-04T01:13:27.479Z] b352a97aabf1: Download complete [2024-10-04T01:13:27.479Z] 4872d77fe225: Verifying Checksum [2024-10-04T01:13:27.479Z] 4872d77fe225: Download complete [2024-10-04T01:13:27.479Z] 5851b861e8e6: Download complete [2024-10-04T01:13:27.479Z] b85a868b505f: Verifying Checksum [2024-10-04T01:13:27.479Z] b85a868b505f: Download complete [2024-10-04T01:13:27.740Z] bab4dde63d76: Verifying Checksum [2024-10-04T01:13:27.740Z] bab4dde63d76: Download complete [2024-10-04T01:13:28.676Z] b85a868b505f: Pull complete [2024-10-04T01:13:28.676Z] e2be974225ed: Pull complete [2024-10-04T01:13:29.243Z] 339a4e72a1f5: Pull complete [2024-10-04T01:13:29.243Z] 988bab9f4d93: Pull complete [2024-10-04T01:13:29.502Z] 1469e6f7b9e6: Pull complete [2024-10-04T01:13:29.502Z] eaf3925da568: Pull complete [2024-10-04T01:13:30.880Z] bab4dde63d76: Pull complete [2024-10-04T01:13:30.881Z] bde34c3a00c8: Pull complete [2024-10-04T01:13:31.140Z] b352a97aabf1: Pull complete [2024-10-04T01:13:31.140Z] 4872d77fe225: Pull complete [2024-10-04T01:13:31.140Z] 5851b861e8e6: Pull complete [2024-10-04T01:13:31.140Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-10-04T01:13:31.140Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-04T01:13:31.140Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T01:13:31.470Z] prd-ubuntu20.04-docker-8c-8g-15491 does not seem to be running inside a container [2024-10-04T01:13:31.505Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-696 -v /w/workspace/gexfoundry_device-mqtt-go_PR-696:/w/workspace/gexfoundry_device-mqtt-go_PR-696:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-696@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-696@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 [2024-10-04T01:13:34.136Z] $ docker top 7c73f6bd6feb057c24e6c6cb956f40dc6529319fa3dc47861be3cc9fda26ae46 -eo pid,comm [2024-10-04T01:13:34.190Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-10-04T01:13:34.190Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-04T01:13:34.417Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-04T01:13:34.417Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-04T01:13:34.524Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-04T01:13:34.526Z] $ docker exec 7c73f6bd6feb057c24e6c6cb956f40dc6529319fa3dc47861be3cc9fda26ae46 ssh-agent [2024-10-04T01:13:34.623Z] SSH_AUTH_SOCK=/tmp/ssh-TeZ3SZ2LO4xR/agent.32 [2024-10-04T01:13:34.623Z] SSH_AGENT_PID=38 [2024-10-04T01:13:34.629Z] Running ssh-add (command line suppressed) [2024-10-04T01:13:34.739Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-696@tmp/private_key_251455943434112085.key (/w/workspace/gexfoundry_device-mqtt-go_PR-696@tmp/private_key_251455943434112085.key) [2024-10-04T01:13:34.754Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-04T01:13:35.106Z] + git tag --points-at HEAD [Pipeline] } [2024-10-04T01:13:35.139Z] $ docker exec --env ******** --env ******** 7c73f6bd6feb057c24e6c6cb956f40dc6529319fa3dc47861be3cc9fda26ae46 ssh-agent -k [2024-10-04T01:13:35.233Z] unset SSH_AUTH_SOCK; [2024-10-04T01:13:35.233Z] unset SSH_AGENT_PID; [2024-10-04T01:13:35.233Z] echo Agent pid 38 killed; [2024-10-04T01:13:35.244Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-10-04T01:13:35.368Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-04T01:13:35.368Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-04T01:13:35.473Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-04T01:13:35.475Z] $ docker exec 7c73f6bd6feb057c24e6c6cb956f40dc6529319fa3dc47861be3cc9fda26ae46 ssh-agent [2024-10-04T01:13:35.575Z] SSH_AUTH_SOCK=/tmp/ssh-WCjAvgpK32rW/agent.71 [2024-10-04T01:13:35.575Z] SSH_AGENT_PID=77 [2024-10-04T01:13:35.581Z] Running ssh-add (command line suppressed) [2024-10-04T01:13:35.683Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-696@tmp/private_key_10424358066218683251.key (/w/workspace/gexfoundry_device-mqtt-go_PR-696@tmp/private_key_10424358066218683251.key) [2024-10-04T01:13:35.703Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-04T01:13:36.067Z] + git semver init [2024-10-04T01:13:36.326Z] 2024-10-04 01:13:36,237 [run_init] DEBUG init version:0.0.0 force:False [2024-10-04T01:13:36.326Z] 2024-10-04 01:13:36,238 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-696/.semver [2024-10-04T01:13:36.326Z] 2024-10-04 01:13:36,238 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-696/.semver [2024-10-04T01:13:36.326Z] 2024-10-04 01:13:36,239 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-696/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-696, universal_newlines=False, shell=None, istream=None) [2024-10-04T01:13:38.245Z] 2024-10-04 01:13:37,870 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-696/.git/info/exclude [2024-10-04T01:13:38.245Z] 2024-10-04 01:13:37,870 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-696/.semver/PR-696 with force:False [2024-10-04T01:13:38.245Z] 2024-10-04 01:13:37,870 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-696/.semver/PR-696 [2024-10-04T01:13:38.245Z] 2024-10-04 01:13:37,875 [execute] INFO git cat-file --batch-check [2024-10-04T01:13:38.245Z] 2024-10-04 01:13:37,876 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-696/.semver, universal_newlines=False, shell=None, istream=) [2024-10-04T01:13:38.245Z] 2024-10-04 01:13:37,881 [execute] INFO git cat-file --batch [2024-10-04T01:13:38.245Z] 2024-10-04 01:13:37,882 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-696/.semver, universal_newlines=False, shell=None, istream=) [2024-10-04T01:13:38.245Z] 2024-10-04 01:13:37,886 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-696/.semver/PR-696 [2024-10-04T01:13:38.245Z] 0.0.0 [Pipeline] } [2024-10-04T01:13:38.274Z] $ docker exec --env ******** --env ******** 7c73f6bd6feb057c24e6c6cb956f40dc6529319fa3dc47861be3cc9fda26ae46 ssh-agent -k [2024-10-04T01:13:38.362Z] unset SSH_AUTH_SOCK; [2024-10-04T01:13:38.363Z] unset SSH_AGENT_PID; [2024-10-04T01:13:38.363Z] echo Agent pid 77 killed; [2024-10-04T01:13:38.375Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-04T01:13:39.063Z] + git semver [Pipeline] } [2024-10-04T01:13:39.478Z] $ docker stop --time=1 7c73f6bd6feb057c24e6c6cb956f40dc6529319fa3dc47861be3cc9fda26ae46 [2024-10-04T01:13:40.765Z] $ docker rm -f --volumes 7c73f6bd6feb057c24e6c6cb956f40dc6529319fa3dc47861be3cc9fda26ae46 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-04T01:13:41.367Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-10-04T01:13:41.878Z] Stashed 1 file(s) [Pipeline] echo [2024-10-04T01:13:41.990Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-04T01:13:44.203Z] provisioning config files... [2024-10-04T01:13:44.213Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-696@tmp/config573435319329200668tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-04T01:13:44.856Z] ---> ****-login.sh [2024-10-04T01:13:44.856Z] nexus3.edgexfoundry.org:10001 [2024-10-04T01:13:44.856Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T01:13:44.856Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T01:13:44.856Z] Configure a credential helper to remove this warning. See [2024-10-04T01:13:44.857Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T01:13:44.857Z] [2024-10-04T01:13:44.857Z] Login Succeeded [2024-10-04T01:13:44.857Z] nexus3.edgexfoundry.org:10002 [2024-10-04T01:13:44.857Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T01:13:44.857Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T01:13:44.857Z] Configure a credential helper to remove this warning. See [2024-10-04T01:13:44.857Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T01:13:44.857Z] [2024-10-04T01:13:44.857Z] Login Succeeded [2024-10-04T01:13:44.857Z] nexus3.edgexfoundry.org:10003 [2024-10-04T01:13:45.117Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T01:13:45.117Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T01:13:45.117Z] Configure a credential helper to remove this warning. See [2024-10-04T01:13:45.117Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T01:13:45.117Z] [2024-10-04T01:13:45.117Z] Login Succeeded [2024-10-04T01:13:45.117Z] nexus3.edgexfoundry.org:10004 [2024-10-04T01:13:45.117Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T01:13:45.117Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T01:13:45.117Z] Configure a credential helper to remove this warning. See [2024-10-04T01:13:45.117Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T01:13:45.117Z] [2024-10-04T01:13:45.117Z] Login Succeeded [2024-10-04T01:13:45.117Z] ****.io [2024-10-04T01:13:45.117Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T01:13:45.378Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T01:13:45.378Z] Configure a credential helper to remove this warning. See [2024-10-04T01:13:45.378Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T01:13:45.378Z] [2024-10-04T01:13:45.378Z] Login Succeeded [2024-10-04T01:13:45.378Z] ---> ****-login.sh ends [Pipeline] } [2024-10-04T01:13:45.523Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-04T01:13:46.209Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-04T01:13:46.388Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-04T01:13:46.538Z] ========================================================= [2024-10-04T01:13:46.538Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-10-04T01:13:46.538Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T01:13:47.624Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-10-04T01:13:47.624Z] Sending build context to Docker daemon 20.86MB [2024-10-04T01:13:47.624Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-10-04T01:13:47.624Z] Step 2/12 : FROM ${BASE} AS builder [2024-10-04T01:13:47.624Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-10-04T01:13:47.624Z] 43c4264eed91: Pulling fs layer [2024-10-04T01:13:47.624Z] 4cc291be95ef: Pulling fs layer [2024-10-04T01:13:47.624Z] 2ac1f1163629: Pulling fs layer [2024-10-04T01:13:47.624Z] 5c3c966382ef: Pulling fs layer [2024-10-04T01:13:47.624Z] 4f4fb700ef54: Pulling fs layer [2024-10-04T01:13:47.624Z] 5d5c8e513c77: Pulling fs layer [2024-10-04T01:13:47.624Z] 9f66e0745190: Pulling fs layer [2024-10-04T01:13:47.624Z] f49a43e4bbc0: Pulling fs layer [2024-10-04T01:13:47.624Z] 561ebcabdf7f: Pulling fs layer [2024-10-04T01:13:47.624Z] 4f4fb700ef54: Waiting [2024-10-04T01:13:47.624Z] 9f66e0745190: Waiting [2024-10-04T01:13:47.624Z] f49a43e4bbc0: Waiting [2024-10-04T01:13:47.624Z] 5c3c966382ef: Waiting [2024-10-04T01:13:47.624Z] 561ebcabdf7f: Waiting [2024-10-04T01:13:47.624Z] 5d5c8e513c77: Waiting [2024-10-04T01:13:47.624Z] 4cc291be95ef: Download complete [2024-10-04T01:13:47.883Z] 5c3c966382ef: Verifying Checksum [2024-10-04T01:13:47.883Z] 5c3c966382ef: Download complete [2024-10-04T01:13:47.883Z] 4f4fb700ef54: Verifying Checksum [2024-10-04T01:13:47.883Z] 4f4fb700ef54: Download complete [2024-10-04T01:13:47.883Z] 5d5c8e513c77: Verifying Checksum [2024-10-04T01:13:47.883Z] 5d5c8e513c77: Download complete [2024-10-04T01:13:47.883Z] 43c4264eed91: Download complete [2024-10-04T01:13:47.883Z] 9f66e0745190: Verifying Checksum [2024-10-04T01:13:47.883Z] 9f66e0745190: Download complete [2024-10-04T01:13:47.883Z] 43c4264eed91: Pull complete [2024-10-04T01:13:48.142Z] 561ebcabdf7f: Verifying Checksum [2024-10-04T01:13:48.142Z] 561ebcabdf7f: Download complete [2024-10-04T01:13:48.142Z] 4cc291be95ef: Pull complete [2024-10-04T01:13:48.403Z] 2ac1f1163629: Download complete [2024-10-04T01:13:48.662Z] f49a43e4bbc0: Verifying Checksum [2024-10-04T01:13:48.662Z] f49a43e4bbc0: Download complete [2024-10-04T01:13:51.200Z] 2ac1f1163629: Pull complete [2024-10-04T01:13:51.460Z] 5c3c966382ef: Pull complete [2024-10-04T01:13:51.460Z] 4f4fb700ef54: Pull complete [2024-10-04T01:13:51.460Z] 5d5c8e513c77: Pull complete [2024-10-04T01:13:51.722Z] 9f66e0745190: Pull complete [2024-10-04T01:13:54.257Z] f49a43e4bbc0: Pull complete [2024-10-04T01:13:54.257Z] 561ebcabdf7f: Pull complete [2024-10-04T01:13:54.257Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-10-04T01:13:54.257Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-10-04T01:13:54.257Z] ---> 3a752c3f9dda [2024-10-04T01:13:54.257Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-10-04T01:13:57.549Z] ---> Running in 6463cdaca313 [2024-10-04T01:13:57.549Z] Removing intermediate container 6463cdaca313 [2024-10-04T01:13:57.549Z] ---> 1dd55c2000d7 [2024-10-04T01:13:57.549Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-04T01:13:57.549Z] ---> Running in 443075e595fd [2024-10-04T01:13:57.549Z] Removing intermediate container 443075e595fd [2024-10-04T01:13:57.549Z] ---> 5a5251a3dea7 [2024-10-04T01:13:57.549Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-04T01:13:57.549Z] ---> Running in a5e63dfa7ff5 [2024-10-04T01:13:57.549Z] Removing intermediate container a5e63dfa7ff5 [2024-10-04T01:13:57.549Z] ---> 73029997c1ad [2024-10-04T01:13:57.549Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-10-04T01:13:57.549Z] ---> Running in 67ced707908d [2024-10-04T01:13:57.549Z] Removing intermediate container 67ced707908d [2024-10-04T01:13:57.549Z] ---> fd0d3efd70ec [2024-10-04T01:13:57.549Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-04T01:13:57.549Z] ---> Running in 53a2b147e5aa [2024-10-04T01:13:57.809Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-04T01:13:57.809Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-04T01:13:58.069Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-10-04T01:13:58.069Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-10-04T01:13:58.069Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-10-04T01:13:58.069Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-10-04T01:13:58.330Z] Executing busybox-1.36.1-r29.trigger [2024-10-04T01:13:58.330Z] OK: 250 MiB in 58 packages [2024-10-04T01:13:58.485Z] Still waiting to schedule task [2024-10-04T01:13:58.485Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-15489’ [2024-10-04T01:13:58.591Z] Removing intermediate container 53a2b147e5aa [2024-10-04T01:13:58.591Z] ---> 313a083ffac9 [2024-10-04T01:13:58.591Z] Step 8/12 : WORKDIR /device-mqtt-go [2024-10-04T01:13:58.591Z] ---> Running in 2ceed46e7a1d [2024-10-04T01:13:58.851Z] Removing intermediate container 2ceed46e7a1d [2024-10-04T01:13:58.852Z] ---> 5693c24a0553 [2024-10-04T01:13:58.852Z] Step 9/12 : COPY go.mod vendor* ./ [2024-10-04T01:13:58.852Z] ---> aacf5ea7643c [2024-10-04T01:13:58.852Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-04T01:13:58.852Z] ---> Running in a52142611db1 [2024-10-04T01:14:45.561Z] Removing intermediate container a52142611db1 [2024-10-04T01:14:45.561Z] ---> 866ef1ad78e0 [2024-10-04T01:14:45.561Z] Step 11/12 : COPY . . [2024-10-04T01:14:45.561Z] ---> 9ec22ba02100 [2024-10-04T01:14:45.561Z] Step 12/12 : RUN $MAKE [2024-10-04T01:14:45.561Z] ---> Running in 53d3a3b81c6b [2024-10-04T01:14:45.561Z] noop [2024-10-04T01:14:45.825Z] Removing intermediate container 53d3a3b81c6b [2024-10-04T01:14:45.825Z] ---> 9ca2ac8e03b0 [2024-10-04T01:14:45.825Z] Successfully built 9ca2ac8e03b0 [2024-10-04T01:14:45.825Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T01:14:46.831Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-04T01:14:46.831Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T01:14:47.261Z] prd-ubuntu20.04-docker-8c-8g-15491 does not seem to be running inside a container [2024-10-04T01:14:47.289Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-696 -v /w/workspace/gexfoundry_device-mqtt-go_PR-696:/w/workspace/gexfoundry_device-mqtt-go_PR-696:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-696@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-696@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-04T01:14:47.622Z] $ docker top d9077c48db1ff9e03b9c8e055b8f559e5410bfb04ffde67c7d453276dfb384eb -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-04T01:14:48.243Z] + go version [2024-10-04T01:14:48.243Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-10-04T01:14:48.350Z] $ docker stop --time=1 d9077c48db1ff9e03b9c8e055b8f559e5410bfb04ffde67c7d453276dfb384eb [2024-10-04T01:14:49.604Z] $ docker rm -f --volumes d9077c48db1ff9e03b9c8e055b8f559e5410bfb04ffde67c7d453276dfb384eb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T01:14:50.770Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-04T01:14:50.771Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T01:14:50.963Z] prd-ubuntu20.04-docker-8c-8g-15491 does not seem to be running inside a container [2024-10-04T01:14:50.994Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-mqtt-go_PR-696 -v /w/workspace/gexfoundry_device-mqtt-go_PR-696:/w/workspace/gexfoundry_device-mqtt-go_PR-696:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-696@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-696@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-04T01:14:51.334Z] $ docker top 38a8dce6e2c18a43dab24b38a30ad4088fa79de544ca2973960d22990889b85a -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-04T01:14:51.761Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-696 [Pipeline] fileExists [Pipeline] sh [2024-10-04T01:14:52.148Z] + make test [2024-10-04T01:14:52.148Z] go test ./... -coverprofile=coverage.out ./... [2024-10-04T01:14:52.718Z] go: updates to go.mod needed; to update it: [2024-10-04T01:14:52.718Z] go mod tidy [2024-10-04T01:14:52.718Z] make: *** [Makefile:33: unittest] Error 1 [Pipeline] } [2024-10-04T01:14:52.773Z] $ docker stop --time=1 38a8dce6e2c18a43dab24b38a30ad4088fa79de544ca2973960d22990889b85a [2024-10-04T01:14:54.078Z] $ docker rm -f --volumes 38a8dce6e2c18a43dab24b38a30ad4088fa79de544ca2973960d22990889b85a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T01:14:55.623Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-04T01:14:55.623Z] [2024-10-04T01:14:55.623Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T01:14:56.034Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-04T01:14:56.034Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-04T01:14:56.034Z] 5eb5b503b376: Pulling fs layer [2024-10-04T01:14:56.034Z] 5c69ac0246d0: Pulling fs layer [2024-10-04T01:14:56.034Z] ec43610c2a17: Pulling fs layer [2024-10-04T01:14:56.034Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-04T01:14:56.034Z] 33b1e0a273af: Pulling fs layer [2024-10-04T01:14:56.034Z] 5d3b04190fa2: Pulling fs layer [2024-10-04T01:14:56.034Z] 2f39f015ded8: Pulling fs layer [2024-10-04T01:14:56.034Z] 3a2ae6a8a46f: Waiting [2024-10-04T01:14:56.034Z] 33b1e0a273af: Waiting [2024-10-04T01:14:56.034Z] 5d3b04190fa2: Waiting [2024-10-04T01:14:56.034Z] 2f39f015ded8: Waiting [2024-10-04T01:14:56.034Z] 5c69ac0246d0: Verifying Checksum [2024-10-04T01:14:56.034Z] 5c69ac0246d0: Download complete [2024-10-04T01:14:56.034Z] 3a2ae6a8a46f: Verifying Checksum [2024-10-04T01:14:56.034Z] 3a2ae6a8a46f: Download complete [2024-10-04T01:14:56.034Z] 33b1e0a273af: Verifying Checksum [2024-10-04T01:14:56.034Z] 33b1e0a273af: Download complete [2024-10-04T01:14:56.034Z] 5d3b04190fa2: Verifying Checksum [2024-10-04T01:14:56.034Z] 5d3b04190fa2: Download complete [2024-10-04T01:14:56.034Z] ec43610c2a17: Verifying Checksum [2024-10-04T01:14:56.034Z] ec43610c2a17: Download complete [2024-10-04T01:14:56.292Z] 5eb5b503b376: Verifying Checksum [2024-10-04T01:14:56.292Z] 5eb5b503b376: Download complete [2024-10-04T01:14:56.859Z] 2f39f015ded8: Verifying Checksum [2024-10-04T01:14:56.859Z] 2f39f015ded8: Download complete [2024-10-04T01:14:57.426Z] 5eb5b503b376: Pull complete [2024-10-04T01:14:57.426Z] 5c69ac0246d0: Pull complete [2024-10-04T01:14:57.992Z] ec43610c2a17: Pull complete [2024-10-04T01:14:57.992Z] 3a2ae6a8a46f: Pull complete [2024-10-04T01:14:57.992Z] 33b1e0a273af: Pull complete [2024-10-04T01:14:58.251Z] 5d3b04190fa2: Pull complete [2024-10-04T01:15:02.436Z] 2f39f015ded8: Pull complete [2024-10-04T01:15:02.436Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-04T01:15:02.436Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-04T01:15:02.436Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T01:15:02.715Z] prd-ubuntu20.04-docker-8c-8g-15491 does not seem to be running inside a container [2024-10-04T01:15:02.746Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-mqtt-go_PR-696 -v /w/workspace/gexfoundry_device-mqtt-go_PR-696:/w/workspace/gexfoundry_device-mqtt-go_PR-696:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-696@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-696@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-04T01:15:03.991Z] $ docker top 8dd81cf1e084ad9c014599e637c93199dc2f5f8e9b68f69c6cab706dd7593e88 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-04T01:15:04.492Z] ---> job-cost.sh [2024-10-04T01:15:04.492Z] lf-activate-venv: SKIPPING [2024-10-04T01:15:04.492Z] INFO: No Stack... [2024-10-04T01:15:04.753Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-04T01:15:05.015Z] INFO: Archiving Costs [Pipeline] sh [2024-10-04T01:15:05.347Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-696/archives/cost.csv [2024-10-04T01:15:05.347Z] + cut -d, -f6 [Pipeline] lock [2024-10-04T01:15:05.406Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-696-1-stack-cost] [2024-10-04T01:15:05.417Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-696-1-stack-cost] did not exist. Created. [2024-10-04T01:15:05.426Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-696-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-04T01:15:05.902Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-04T01:15:05.979Z] Stashed 1 file(s) [Pipeline] } [2024-10-04T01:15:06.030Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-696-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-04T01:15:06.148Z] $ docker stop --time=1 8dd81cf1e084ad9c014599e637c93199dc2f5f8e9b68f69c6cab706dd7593e88 [2024-10-04T01:15:07.300Z] $ docker rm -f --volumes 8dd81cf1e084ad9c014599e637c93199dc2f5f8e9b68f69c6cab706dd7593e88 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-04T01:15:07.844Z] Failed in branch amd64 [2024-10-04T01:17:33.151Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-15492 in /w/workspace/gexfoundry_device-mqtt-go_PR-696 [Pipeline] { [Pipeline] ws [2024-10-04T01:17:33.512Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2024-10-04T01:17:36.665Z] The recommended git tool is: git [2024-10-04T01:17:44.426Z] using credential edgex-jenkins-ssh [2024-10-04T01:17:44.476Z] Cloning the remote Git repository [2024-10-04T01:17:44.542Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2024-10-04T01:17:44.663Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2024-10-04T01:17:44.848Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2024-10-04T01:17:44.849Z] > git --version # timeout=10 [2024-10-04T01:17:44.881Z] > git --version # 'git version 2.25.1' [2024-10-04T01:17:44.884Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-04T01:17:45.103Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-04T01:17:48.171Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2024-10-04T01:17:48.214Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-04T01:17:49.429Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2024-10-04T01:17:49.505Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2024-10-04T01:17:49.506Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-04T01:17:49.528Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/696/head:refs/remotes/origin/PR-696 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-10-04T01:17:50.068Z] Merging remotes/origin/main commit a7ea162f49cc88b1fd5543c209327df7c238676c into PR head commit 6233e5b8e31cd05fef6663a97a9452ee99d6ab14 [2024-10-04T01:17:50.440Z] Merge succeeded, producing 6233e5b8e31cd05fef6663a97a9452ee99d6ab14 [2024-10-04T01:17:50.440Z] Checking out Revision 6233e5b8e31cd05fef6663a97a9452ee99d6ab14 (PR-696) [2024-10-04T01:17:51.072Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" [2024-10-04T01:17:51.120Z] > git --version # timeout=10 [2024-10-04T01:17:51.134Z] > git --version # 'git version 2.25.1' [2024-10-04T01:17:51.161Z] fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-04T01:17:50.093Z] > git config core.sparsecheckout # timeout=10 [2024-10-04T01:17:50.180Z] > git checkout -f 6233e5b8e31cd05fef6663a97a9452ee99d6ab14 # timeout=10 [2024-10-04T01:17:50.277Z] > git remote # timeout=10 [2024-10-04T01:17:50.316Z] > git config --get remote.origin.url # timeout=10 [2024-10-04T01:17:50.343Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-04T01:17:50.380Z] > git merge a7ea162f49cc88b1fd5543c209327df7c238676c # timeout=10 [2024-10-04T01:17:50.414Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-10-04T01:17:50.447Z] > git config core.sparsecheckout # timeout=10 [2024-10-04T01:17:50.465Z] > git checkout -f 6233e5b8e31cd05fef6663a97a9452ee99d6ab14 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-04T01:17:56.281Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-10-04T01:17:56.281Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-04T01:17:56.281Z] Dload Upload Total Spent Left Speed [2024-10-04T01:17:56.281Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 86675 0 --:--:-- --:--:-- --:--:-- 86675 [Pipeline] sh [2024-10-04T01:17:56.661Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-10-04T01:17:57.041Z] + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} [2024-10-04T01:17:57.041Z] /etc/docker/daemon.json [2024-10-04T01:17:57.041Z] { [2024-10-04T01:17:57.041Z] "registry-mirrors": [ [2024-10-04T01:17:57.041Z] "https://nexus3.edgexfoundry.org:10001" [2024-10-04T01:17:57.042Z] ], [2024-10-04T01:17:57.042Z] "bip": "10.250.0.254/24", [2024-10-04T01:17:57.042Z] "hosts": [ [2024-10-04T01:17:57.042Z] "tcp://0.0.0.0:5555", [2024-10-04T01:17:57.042Z] "unix:///var/run/docker.sock" [2024-10-04T01:17:57.042Z] ], [2024-10-04T01:17:57.042Z] "mtu": 1458, [2024-10-04T01:17:57.042Z] "selinux-enabled": true, [2024-10-04T01:17:57.042Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-10-04T01:17:57.042Z] } [Pipeline] sh [2024-10-04T01:17:57.415Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-10-04T01:17:57.803Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-04T01:18:16.224Z] provisioning config files... [2024-10-04T01:18:16.251Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config5727086821271221909tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-04T01:18:16.769Z] ---> ****-login.sh [2024-10-04T01:18:16.769Z] nexus3.edgexfoundry.org:10001 [2024-10-04T01:18:17.038Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T01:18:17.306Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T01:18:17.306Z] Configure a credential helper to remove this warning. See [2024-10-04T01:18:17.306Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T01:18:17.306Z] [2024-10-04T01:18:17.306Z] Login Succeeded [2024-10-04T01:18:17.307Z] nexus3.edgexfoundry.org:10002 [2024-10-04T01:18:17.573Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T01:18:17.573Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T01:18:17.573Z] Configure a credential helper to remove this warning. See [2024-10-04T01:18:17.573Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T01:18:17.573Z] [2024-10-04T01:18:17.573Z] Login Succeeded [2024-10-04T01:18:17.841Z] nexus3.edgexfoundry.org:10003 [2024-10-04T01:18:17.841Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T01:18:18.111Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T01:18:18.111Z] Configure a credential helper to remove this warning. See [2024-10-04T01:18:18.111Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T01:18:18.111Z] [2024-10-04T01:18:18.111Z] Login Succeeded [2024-10-04T01:18:18.111Z] nexus3.edgexfoundry.org:10004 [2024-10-04T01:18:18.379Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T01:18:18.379Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T01:18:18.379Z] Configure a credential helper to remove this warning. See [2024-10-04T01:18:18.379Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T01:18:18.379Z] [2024-10-04T01:18:18.379Z] Login Succeeded [2024-10-04T01:18:18.379Z] ****.io [2024-10-04T01:18:18.646Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T01:18:18.913Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T01:18:18.913Z] Configure a credential helper to remove this warning. See [2024-10-04T01:18:18.913Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T01:18:18.913Z] [2024-10-04T01:18:18.913Z] Login Succeeded [2024-10-04T01:18:18.913Z] ---> ****-login.sh ends [Pipeline] } [2024-10-04T01:18:18.962Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-04T01:18:19.533Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-04T01:18:19.611Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-04T01:18:19.688Z] ========================================================= [2024-10-04T01:18:19.688Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-10-04T01:18:19.688Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T01:18:20.379Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-10-04T01:18:20.649Z] Sending build context to Docker daemon 10.54MB [2024-10-04T01:18:20.649Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-10-04T01:18:20.649Z] Step 2/12 : FROM ${BASE} AS builder [2024-10-04T01:18:20.993Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-10-04T01:18:20.993Z] cf04c63912e1: Pulling fs layer [2024-10-04T01:18:20.993Z] 55b35a11ae5e: Pulling fs layer [2024-10-04T01:18:20.993Z] a37a00ec5f00: Pulling fs layer [2024-10-04T01:18:20.993Z] 50b3750afda1: Pulling fs layer [2024-10-04T01:18:20.993Z] 4f4fb700ef54: Pulling fs layer [2024-10-04T01:18:20.993Z] 80978eb59214: Pulling fs layer [2024-10-04T01:18:20.993Z] c9f46d7d2bd2: Pulling fs layer [2024-10-04T01:18:20.993Z] 50b3750afda1: Waiting [2024-10-04T01:18:20.993Z] c5a475d317c9: Pulling fs layer [2024-10-04T01:18:20.993Z] 4f4fb700ef54: Waiting [2024-10-04T01:18:20.993Z] 80978eb59214: Waiting [2024-10-04T01:18:20.993Z] c9f46d7d2bd2: Waiting [2024-10-04T01:18:20.993Z] c5a475d317c9: Waiting [2024-10-04T01:18:20.993Z] 55b35a11ae5e: Verifying Checksum [2024-10-04T01:18:20.993Z] 55b35a11ae5e: Download complete [2024-10-04T01:18:20.993Z] 50b3750afda1: Download complete [2024-10-04T01:18:20.993Z] 4f4fb700ef54: Verifying Checksum [2024-10-04T01:18:20.993Z] 4f4fb700ef54: Download complete [2024-10-04T01:18:20.993Z] 80978eb59214: Verifying Checksum [2024-10-04T01:18:20.993Z] 80978eb59214: Download complete [2024-10-04T01:18:20.993Z] cf04c63912e1: Verifying Checksum [2024-10-04T01:18:20.993Z] cf04c63912e1: Download complete [2024-10-04T01:18:21.593Z] c5a475d317c9: Verifying Checksum [2024-10-04T01:18:21.593Z] c5a475d317c9: Download complete [2024-10-04T01:18:22.188Z] cf04c63912e1: Pull complete [2024-10-04T01:18:22.779Z] 55b35a11ae5e: Pull complete [2024-10-04T01:18:23.048Z] a37a00ec5f00: Verifying Checksum [2024-10-04T01:18:23.048Z] a37a00ec5f00: Download complete [2024-10-04T01:18:24.015Z] c9f46d7d2bd2: Verifying Checksum [2024-10-04T01:18:24.015Z] c9f46d7d2bd2: Download complete [2024-10-04T01:18:36.346Z] a37a00ec5f00: Pull complete [2024-10-04T01:18:36.622Z] 50b3750afda1: Pull complete [2024-10-04T01:18:36.889Z] 4f4fb700ef54: Pull complete [2024-10-04T01:18:37.155Z] 80978eb59214: Pull complete [2024-10-04T01:18:45.390Z] c9f46d7d2bd2: Pull complete [2024-10-04T01:18:47.327Z] c5a475d317c9: Pull complete [2024-10-04T01:18:47.327Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-10-04T01:18:47.327Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-10-04T01:18:47.327Z] ---> be29e6b0f0d4 [2024-10-04T01:18:47.327Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-10-04T01:18:47.909Z] ---> Running in e0c4c467316c [2024-10-04T01:18:47.909Z] Removing intermediate container e0c4c467316c [2024-10-04T01:18:47.909Z] ---> ab3cab0902d4 [2024-10-04T01:18:47.909Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-04T01:18:48.178Z] ---> Running in 9c25b2ed5563 [2024-10-04T01:18:48.444Z] Removing intermediate container 9c25b2ed5563 [2024-10-04T01:18:48.444Z] ---> 323871252cde [2024-10-04T01:18:48.444Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-04T01:18:48.444Z] ---> Running in 3113d8d52f53 [2024-10-04T01:18:48.712Z] Removing intermediate container 3113d8d52f53 [2024-10-04T01:18:48.712Z] ---> e1802448d4e2 [2024-10-04T01:18:48.712Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-10-04T01:18:48.712Z] ---> Running in 7d0880fa1991 [2024-10-04T01:18:48.986Z] Removing intermediate container 7d0880fa1991 [2024-10-04T01:18:48.986Z] ---> 53f0846a5676 [2024-10-04T01:18:48.986Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-04T01:18:49.253Z] ---> Running in 42c5a62ecc43 [2024-10-04T01:18:50.218Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-04T01:18:50.804Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-04T01:18:52.218Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-10-04T01:18:52.218Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-10-04T01:18:52.218Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-10-04T01:18:52.218Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-10-04T01:18:52.218Z] Executing busybox-1.36.1-r29.trigger [2024-10-04T01:18:52.218Z] OK: 242 MiB in 58 packages [2024-10-04T01:18:53.630Z] Removing intermediate container 42c5a62ecc43 [2024-10-04T01:18:53.630Z] ---> f2d1684a60eb [2024-10-04T01:18:53.630Z] Step 8/12 : WORKDIR /device-mqtt-go [2024-10-04T01:18:53.630Z] ---> Running in 8b7585788d4b [2024-10-04T01:18:53.899Z] Removing intermediate container 8b7585788d4b [2024-10-04T01:18:53.899Z] ---> a7cd1e71defe [2024-10-04T01:18:53.899Z] Step 9/12 : COPY go.mod vendor* ./ [2024-10-04T01:18:54.169Z] ---> 6aa47d5e9abc [2024-10-04T01:18:54.169Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-04T01:18:54.448Z] ---> Running in 301e0b09dd39 [2024-10-04T01:20:46.143Z] Removing intermediate container 301e0b09dd39 [2024-10-04T01:20:46.143Z] ---> 4d387ff8570b [2024-10-04T01:20:46.143Z] Step 11/12 : COPY . . [2024-10-04T01:20:46.143Z] ---> 353f768a0bba [2024-10-04T01:20:46.143Z] Step 12/12 : RUN $MAKE [2024-10-04T01:20:46.143Z] ---> Running in 00dca16455c3 [2024-10-04T01:20:46.143Z] noop [2024-10-04T01:20:46.143Z] Removing intermediate container 00dca16455c3 [2024-10-04T01:20:46.143Z] ---> f5222f17f328 [2024-10-04T01:20:46.143Z] Successfully built f5222f17f328 [2024-10-04T01:20:46.143Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T01:20:46.752Z] + docker inspect -f . ci-base-image-arm64 [2024-10-04T01:20:46.753Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T01:20:47.102Z] prd-ubuntu20.04-docker-arm64-4c-16g-15492 does not seem to be running inside a container [2024-10-04T01:20:47.169Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-04T01:20:48.389Z] $ docker top 7c62c6835cbed99beb6077d28b08a68efdd53a053543663479f2cac92ca0b01b -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-04T01:20:49.097Z] + go version [2024-10-04T01:20:49.097Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-10-04T01:20:49.211Z] $ docker stop --time=1 7c62c6835cbed99beb6077d28b08a68efdd53a053543663479f2cac92ca0b01b [2024-10-04T01:20:50.818Z] $ docker rm -f --volumes 7c62c6835cbed99beb6077d28b08a68efdd53a053543663479f2cac92ca0b01b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T01:20:51.973Z] + docker inspect -f . ci-base-image-arm64 [2024-10-04T01:20:51.973Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T01:20:52.287Z] prd-ubuntu20.04-docker-arm64-4c-16g-15492 does not seem to be running inside a container [2024-10-04T01:20:52.347Z] $ 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/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-04T01:20:53.583Z] $ docker top ef2c96a6d200227732b458d5824efdb32e0b6958dba0e3bdde365c192090c8b7 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-04T01:20:54.190Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2024-10-04T01:20:54.651Z] + make test [2024-10-04T01:20:54.651Z] go test ./... -coverprofile=coverage.out ./... [2024-10-04T01:20:58.897Z] go: updates to go.mod needed; to update it: [2024-10-04T01:20:58.897Z] go mod tidy [2024-10-04T01:20:58.897Z] make: *** [Makefile:33: unittest] Error 1 [Pipeline] } [2024-10-04T01:20:58.974Z] $ docker stop --time=1 ef2c96a6d200227732b458d5824efdb32e0b6958dba0e3bdde365c192090c8b7 [2024-10-04T01:21:00.751Z] $ docker rm -f --volumes ef2c96a6d200227732b458d5824efdb32e0b6958dba0e3bdde365c192090c8b7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T01:21:02.510Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-04T01:21:02.510Z] [2024-10-04T01:21:02.510Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T01:21:02.971Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-04T01:21:03.237Z] arm64: Pulling from edgex-lftools-log-publisher [2024-10-04T01:21:03.237Z] 8998bd30e6a1: Pulling fs layer [2024-10-04T01:21:03.237Z] 04944245beec: Pulling fs layer [2024-10-04T01:21:03.237Z] 699f458cf7ca: Pulling fs layer [2024-10-04T01:21:03.237Z] 765212b225bb: Pulling fs layer [2024-10-04T01:21:03.237Z] f23df028b6ca: Pulling fs layer [2024-10-04T01:21:03.237Z] 765212b225bb: Waiting [2024-10-04T01:21:03.237Z] d65c8cfc05b1: Pulling fs layer [2024-10-04T01:21:03.237Z] 2437ff75d9bd: Pulling fs layer [2024-10-04T01:21:03.237Z] f23df028b6ca: Waiting [2024-10-04T01:21:03.237Z] d65c8cfc05b1: Waiting [2024-10-04T01:21:03.237Z] 2437ff75d9bd: Waiting [2024-10-04T01:21:03.237Z] 04944245beec: Verifying Checksum [2024-10-04T01:21:03.237Z] 04944245beec: Download complete [2024-10-04T01:21:03.237Z] 765212b225bb: Verifying Checksum [2024-10-04T01:21:03.237Z] 765212b225bb: Download complete [2024-10-04T01:21:03.237Z] f23df028b6ca: Verifying Checksum [2024-10-04T01:21:03.237Z] f23df028b6ca: Download complete [2024-10-04T01:21:03.503Z] d65c8cfc05b1: Verifying Checksum [2024-10-04T01:21:03.503Z] d65c8cfc05b1: Download complete [2024-10-04T01:21:03.503Z] 699f458cf7ca: Verifying Checksum [2024-10-04T01:21:03.503Z] 699f458cf7ca: Download complete [2024-10-04T01:21:03.768Z] 8998bd30e6a1: Verifying Checksum [2024-10-04T01:21:03.768Z] 8998bd30e6a1: Download complete [2024-10-04T01:21:06.350Z] 2437ff75d9bd: Verifying Checksum [2024-10-04T01:21:06.350Z] 2437ff75d9bd: Download complete [2024-10-04T01:21:08.396Z] 8998bd30e6a1: Pull complete [2024-10-04T01:21:08.991Z] 04944245beec: Pull complete [2024-10-04T01:21:10.968Z] 699f458cf7ca: Pull complete [2024-10-04T01:21:10.968Z] 765212b225bb: Pull complete [2024-10-04T01:21:11.931Z] f23df028b6ca: Pull complete [2024-10-04T01:21:11.931Z] d65c8cfc05b1: Pull complete [2024-10-04T01:21:30.158Z] 2437ff75d9bd: Pull complete [2024-10-04T01:21:30.158Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-10-04T01:21:30.158Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-04T01:21:30.158Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T01:21:30.561Z] prd-ubuntu20.04-docker-arm64-4c-16g-15492 does not seem to be running inside a container [2024-10-04T01:21:30.617Z] $ 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/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-10-04T01:21:33.277Z] $ docker top 2405b305ea9d2210fbf7478342057e2ce5419bb02f66f8091d011c23840188c3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-04T01:21:34.264Z] ---> job-cost.sh [2024-10-04T01:21:34.264Z] lf-activate-venv: SKIPPING [2024-10-04T01:21:34.264Z] INFO: No Stack... [2024-10-04T01:21:34.528Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-10-04T01:21:35.484Z] INFO: Archiving Costs [Pipeline] sh [2024-10-04T01:21:36.153Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [2024-10-04T01:21:36.153Z] + cut -d, -f6 [Pipeline] lock [2024-10-04T01:21:36.242Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-696-1-stack-cost] [2024-10-04T01:21:36.252Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-696-1-stack-cost] did not exist. Created. [2024-10-04T01:21:36.265Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-696-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-04T01:21:37.038Z] /w/workspace/device-mqtt-go/1@tmp/durable-e9e7c89a/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-10-04T01:21:37.721Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-10-04T01:21:37.774Z] Warning: overwriting stash ‘stack-cost’ [2024-10-04T01:21:38.208Z] Stashed 1 file(s) [Pipeline] } [2024-10-04T01:21:38.236Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-696-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-04T01:21:38.341Z] $ docker stop --time=1 2405b305ea9d2210fbf7478342057e2ce5419bb02f66f8091d011c23840188c3 [2024-10-04T01:21:39.871Z] $ docker rm -f --volumes 2405b305ea9d2210fbf7478342057e2ce5419bb02f66f8091d011c23840188c3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-04T01:21:40.834Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-10-04T01:21:43.950Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-696/archives ] [2024-10-04T01:21:43.950Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-696/archives [2024-10-04T01:21:43.950Z] total 16 [2024-10-04T01:21:43.950Z] drwxr-xr-x 3 root root 4096 Oct 4 01:15 . [2024-10-04T01:21:43.950Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 4 01:15 .. [2024-10-04T01:21:43.950Z] drwxr-xr-x 2 root root 4096 Oct 4 01:15 cost [2024-10-04T01:21:43.950Z] -rw-r--r-- 1 root root 86 Oct 4 01:15 cost.csv [2024-10-04T01:21:43.950Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-696/archives [2024-10-04T01:21:43.950Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-696/archives [2024-10-04T01:21:43.950Z] total 16 [2024-10-04T01:21:43.950Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 01:15 . [2024-10-04T01:21:43.950Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 4 01:15 .. [2024-10-04T01:21:43.950Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 4 01:15 cost [2024-10-04T01:21:43.950Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 4 01:15 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-04T01:21:44.309Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-04T01:21:45.218Z] ---> package-listing.sh [2024-10-04T01:21:45.218Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-04T01:21:45.218Z] ++ facter osfamily [2024-10-04T01:21:45.480Z] + OS_FAMILY=debian [2024-10-04T01:21:45.480Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-696 [2024-10-04T01:21:45.480Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-04T01:21:45.480Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-04T01:21:45.480Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-04T01:21:45.480Z] + PACKAGES=/tmp/packages_start.txt [2024-10-04T01:21:45.480Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-696 ']' [2024-10-04T01:21:45.480Z] + PACKAGES=/tmp/packages_end.txt [2024-10-04T01:21:45.480Z] + case "${OS_FAMILY}" in [2024-10-04T01:21:45.480Z] + dpkg -l [2024-10-04T01:21:45.480Z] + grep '^ii' [2024-10-04T01:21:45.480Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-04T01:21:45.480Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-04T01:21:45.480Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-04T01:21:45.480Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-696 ']' [2024-10-04T01:21:45.480Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-696/archives/ [2024-10-04T01:21:45.480Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-696/archives/ [Pipeline] echo [2024-10-04T01:21:45.529Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-mqtt-go_PR-696/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-10-04T01:21:45.834Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T01:21:46.511Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-04T01:21:46.511Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T01:21:46.694Z] prd-ubuntu20.04-docker-8c-8g-15491 does not seem to be running inside a container [2024-10-04T01:21:46.725Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-mqtt-go_PR-696/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-mqtt-go_PR-696 -v /w/workspace/gexfoundry_device-mqtt-go_PR-696:/w/workspace/gexfoundry_device-mqtt-go_PR-696:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-696@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-696@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-04T01:21:46.917Z] $ docker top 4d898e379708bdd0232260d7ad6f20d2a89d94449fe44559a96e67bb3dc37721 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-04T01:21:47.343Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-04T01:21:47.670Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-04T01:21:47.999Z] + ls /var/log/sa-host [2024-10-04T01:21:48.000Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-04T01:21:48.284Z] provisioning config files... [2024-10-04T01:21:48.293Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-696@tmp/config2783382833658633887tmp [Pipeline] { [Pipeline] echo [2024-10-04T01:21:48.384Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-04T01:21:48.721Z] ---> create-netrc.sh [Pipeline] } [2024-10-04T01:21:48.760Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-04T01:21:49.223Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-04T01:21:49.281Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-04T01:21:49.628Z] ---> sudo-logs.sh [2024-10-04T01:21:49.628Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-04T01:21:49.765Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-04T01:21:50.116Z] ---> job-cost.sh [2024-10-04T01:21:50.116Z] lf-activate-venv: SKIPPING [2024-10-04T01:21:50.116Z] DEBUG: total: 0.2199999988079071 [2024-10-04T01:21:50.116Z] INFO: Retrieving Stack Cost... [2024-10-04T01:21:50.376Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-04T01:21:50.944Z] INFO: Archiving Costs [Pipeline] echo [2024-10-04T01:21:50.999Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-04T01:21:51.356Z] ---> logs-deploy.sh [2024-10-04T01:21:51.356Z] lf-activate-venv: SKIPPING [2024-10-04T01:21:51.356Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-696/1 [2024-10-04T01:21:51.356Z] INFO: archiving workspace using pattern(s): [2024-10-04T01:21:52.295Z] Archives upload complete. [2024-10-04T01:21:52.295Z] INFO: archiving logs to Nexus