Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 705a22a4a64b64b4c53c11d1dbba5b9274b17c5f+05dffbfea524d4e44629aea546393e9ff3734411 (b465674a77d755fd1f118cb56a2c5ecbc67756ac) 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-ssh10862552049395679230.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-ssh4402352456003916611.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-707/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/PR-707/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5201707856379181047.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 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-ssh13564844927219669378.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/PR-707/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/PR-707/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5121949514060783224.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.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-25972’ Running on prd-ubuntu20.04-docker-8c-8g-25974 in /w/workspace/gexfoundry_device-mqtt-go_PR-707 [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-707 # 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 05dffbfea524d4e44629aea546393e9ff3734411 into PR head commit 705a22a4a64b64b4c53c11d1dbba5b9274b17c5f Merge succeeded, producing 894cd62d8f598e09f5b4c533e383d50b056d92fc Checking out Revision 894cd62d8f598e09f5b4c533e383d50b056d92fc (PR-707) > 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/707/head:refs/remotes/origin/PR-707 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 705a22a4a64b64b4c53c11d1dbba5b9274b17c5f # 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 05dffbfea524d4e44629aea546393e9ff3734411 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 894cd62d8f598e09f5b4c533e383d50b056d92fc # timeout=10 Commit message: "Merge commit '05dffbfea524d4e44629aea546393e9ff3734411' into HEAD" > git rev-list --no-walk 705a22a4a64b64b4c53c11d1dbba5b9274b17c5f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-11-08T23:19:28.044Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-11-08T23:19:28.117Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-11-08T23:19:28.143Z] ========================================================= [2024-11-08T23:19:28.143Z] EdgeX Global Pipelines Version Info [2024-11-08T23:19:28.143Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-11-08T23:19:29.242Z] ------------------- [2024-11-08T23:19:29.242Z] stable info: [2024-11-08T23:19:29.242Z] ------------------- [2024-11-08T23:19:29.242Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-11-08T23:19:29.242Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-11-08T23:19:29.242Z] Message: update stable to v1.0.265 [2024-11-08T23:19:29.502Z] ------------------- [2024-11-08T23:19:29.502Z] experimental info: [2024-11-08T23:19:29.502Z] ------------------- [2024-11-08T23:19:29.502Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-11-08T23:19:29.502Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-11-08T23:19:29.502Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-11-08T23:19:29.579Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2024-11-08T23:19:29.597Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2024-11-08T23:19:29.615Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-11-08T23:19:29.631Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-11-08T23:19:29.654Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-11-08T23:19:29.679Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-11-08T23:19:29.696Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-11-08T23:19:29.719Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-11-08T23:19:29.735Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-11-08T23:19:29.755Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-11-08T23:19:29.772Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-11-08T23:19:29.792Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2024-11-08T23:19:29.816Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-11-08T23:19:29.837Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-11-08T23:19:29.858Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-11-08T23:19:29.880Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-11-08T23:19:29.904Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-11-08T23:19:29.931Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-11-08T23:19:29.952Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-11-08T23:19:29.974Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-11-08T23:19:29.995Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-11-08T23:19:30.021Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-11-08T23:19:30.040Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-11-08T23:19:30.061Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-11-08T23:19:30.085Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-11-08T23:19:30.109Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-11-08T23:19:30.127Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-11-08T23:19:30.152Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-707 [Pipeline] echo [2024-11-08T23:19:30.174Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-707 [Pipeline] echo [2024-11-08T23:19:30.196Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-707 [Pipeline] echo [2024-11-08T23:19:30.222Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 894cd62d8f598e09f5b4c533e383d50b056d92fc [Pipeline] echo [2024-11-08T23:19:30.247Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 894cd62 [Pipeline] echo [2024-11-08T23:19:30.270Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-08T23:19:30.336Z] provisioning config files... [2024-11-08T23:19:30.351Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-707@tmp/config283489809927918211tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-08T23:19:30.683Z] ---> ****-login.sh [2024-11-08T23:19:30.683Z] nexus3.edgexfoundry.org:10001 [2024-11-08T23:19:30.945Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T23:19:30.945Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T23:19:30.945Z] Configure a credential helper to remove this warning. See [2024-11-08T23:19:30.945Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T23:19:30.945Z] [2024-11-08T23:19:30.945Z] Login Succeeded [2024-11-08T23:19:30.945Z] nexus3.edgexfoundry.org:10002 [2024-11-08T23:19:31.206Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T23:19:31.206Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T23:19:31.206Z] Configure a credential helper to remove this warning. See [2024-11-08T23:19:31.206Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T23:19:31.206Z] [2024-11-08T23:19:31.206Z] Login Succeeded [2024-11-08T23:19:31.206Z] nexus3.edgexfoundry.org:10003 [2024-11-08T23:19:31.206Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T23:19:31.206Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T23:19:31.206Z] Configure a credential helper to remove this warning. See [2024-11-08T23:19:31.206Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T23:19:31.206Z] [2024-11-08T23:19:31.206Z] Login Succeeded [2024-11-08T23:19:31.206Z] nexus3.edgexfoundry.org:10004 [2024-11-08T23:19:31.206Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T23:19:31.467Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T23:19:31.467Z] Configure a credential helper to remove this warning. See [2024-11-08T23:19:31.467Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T23:19:31.467Z] [2024-11-08T23:19:31.467Z] Login Succeeded [2024-11-08T23:19:31.467Z] ****.io [2024-11-08T23:19:31.468Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T23:19:31.729Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T23:19:31.729Z] Configure a credential helper to remove this warning. See [2024-11-08T23:19:31.729Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T23:19:31.729Z] [2024-11-08T23:19:31.729Z] Login Succeeded [2024-11-08T23:19:31.729Z] ---> ****-login.sh ends [Pipeline] } [2024-11-08T23:19:31.739Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-11-08T23:19:32.154Z] + git rev-list -1 --merges 894cd62d8f598e09f5b4c533e383d50b056d92fc~1..894cd62d8f598e09f5b4c533e383d50b056d92fc [Pipeline] echo [2024-11-08T23:19:32.185Z] -----------> git rev-list -1 --merges 894cd62d8f598e09f5b4c533e383d50b056d92fc~1..894cd62d8f598e09f5b4c533e383d50b056d92fc 894cd62d8f598e09f5b4c533e383d50b056d92fc [2024-11-08T23:19:32.185Z] 894cd62d8f598e09f5b4c533e383d50b056d92fc [false] [Pipeline] sh [2024-11-08T23:19:32.480Z] + git log --format=format:%s -1 894cd62d8f598e09f5b4c533e383d50b056d92fc [Pipeline] echo [2024-11-08T23:19:32.497Z] ========================================================= [2024-11-08T23:19:32.497Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-11-08T23:19:32.497Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-08T23:19:32.834Z] + git log --format=format:%s -1 894cd62d8f598e09f5b4c533e383d50b056d92fc [Pipeline] echo [2024-11-08T23:19:32.845Z] [semverPrep] GIT_COMMIT: 894cd62d8f598e09f5b4c533e383d50b056d92fc, Commit Message: Merge commit '05dffbfea524d4e44629aea546393e9ff3734411' into HEAD [Pipeline] echo [2024-11-08T23:19:32.859Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-11-08T23:19:33.237Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-11-08T23:19:33.237Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-11-08T23:19:33.237Z] + [ -e /tmp/ssh_known_hosts ] [2024-11-08T23:19:33.237Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-11-08T23:19:33.237Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-11-08T23:19:33.237Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-11-08T23:19:33.237Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T23:19:33.656Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-08T23:19:33.656Z] [2024-11-08T23:19:33.656Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T23:19:33.966Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-08T23:19:33.966Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-11-08T23:19:33.966Z] b85a868b505f: Pulling fs layer [2024-11-08T23:19:33.966Z] e2be974225ed: Pulling fs layer [2024-11-08T23:19:33.966Z] 339a4e72a1f5: Pulling fs layer [2024-11-08T23:19:33.966Z] 988bab9f4d93: Pulling fs layer [2024-11-08T23:19:33.966Z] 1469e6f7b9e6: Pulling fs layer [2024-11-08T23:19:33.966Z] eaf3925da568: Pulling fs layer [2024-11-08T23:19:33.966Z] bab4dde63d76: Pulling fs layer [2024-11-08T23:19:33.966Z] bde34c3a00c8: Pulling fs layer [2024-11-08T23:19:33.966Z] 988bab9f4d93: Waiting [2024-11-08T23:19:33.966Z] 1469e6f7b9e6: Waiting [2024-11-08T23:19:33.966Z] eaf3925da568: Waiting [2024-11-08T23:19:33.966Z] bab4dde63d76: Waiting [2024-11-08T23:19:33.966Z] b352a97aabf1: Pulling fs layer [2024-11-08T23:19:33.966Z] 4872d77fe225: Pulling fs layer [2024-11-08T23:19:33.966Z] 5851b861e8e6: Pulling fs layer [2024-11-08T23:19:33.966Z] 4872d77fe225: Waiting [2024-11-08T23:19:33.966Z] bde34c3a00c8: Waiting [2024-11-08T23:19:33.966Z] b352a97aabf1: Waiting [2024-11-08T23:19:33.966Z] e2be974225ed: Download complete [2024-11-08T23:19:33.966Z] 988bab9f4d93: Verifying Checksum [2024-11-08T23:19:33.966Z] 988bab9f4d93: Download complete [2024-11-08T23:19:34.226Z] 1469e6f7b9e6: Verifying Checksum [2024-11-08T23:19:34.226Z] 1469e6f7b9e6: Download complete [2024-11-08T23:19:34.226Z] 339a4e72a1f5: Verifying Checksum [2024-11-08T23:19:34.226Z] 339a4e72a1f5: Download complete [2024-11-08T23:19:34.226Z] eaf3925da568: Download complete [2024-11-08T23:19:34.226Z] bde34c3a00c8: Verifying Checksum [2024-11-08T23:19:34.226Z] bde34c3a00c8: Download complete [2024-11-08T23:19:34.226Z] b352a97aabf1: Download complete [2024-11-08T23:19:34.226Z] 4872d77fe225: Download complete [2024-11-08T23:19:34.226Z] 5851b861e8e6: Verifying Checksum [2024-11-08T23:19:34.226Z] 5851b861e8e6: Download complete [2024-11-08T23:19:34.226Z] b85a868b505f: Verifying Checksum [2024-11-08T23:19:34.226Z] b85a868b505f: Download complete [2024-11-08T23:19:34.486Z] bab4dde63d76: Verifying Checksum [2024-11-08T23:19:34.486Z] bab4dde63d76: Download complete [2024-11-08T23:19:35.440Z] b85a868b505f: Pull complete [2024-11-08T23:19:35.440Z] e2be974225ed: Pull complete [2024-11-08T23:19:36.015Z] 339a4e72a1f5: Pull complete [2024-11-08T23:19:36.015Z] 988bab9f4d93: Pull complete [2024-11-08T23:19:36.275Z] 1469e6f7b9e6: Pull complete [2024-11-08T23:19:36.534Z] eaf3925da568: Pull complete [2024-11-08T23:19:38.437Z] bab4dde63d76: Pull complete [2024-11-08T23:19:38.437Z] bde34c3a00c8: Pull complete [2024-11-08T23:19:38.437Z] b352a97aabf1: Pull complete [2024-11-08T23:19:38.437Z] 4872d77fe225: Pull complete [2024-11-08T23:19:38.437Z] 5851b861e8e6: Pull complete [2024-11-08T23:19:38.437Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-11-08T23:19:38.437Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-08T23:19:38.437Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T23:19:38.583Z] prd-ubuntu20.04-docker-8c-8g-25974 does not seem to be running inside a container [2024-11-08T23:19:38.604Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-707 -v /w/workspace/gexfoundry_device-mqtt-go_PR-707:/w/workspace/gexfoundry_device-mqtt-go_PR-707:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-707@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-707@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-devops/py-git-semver:0.1.4 cat [2024-11-08T23:19:41.445Z] $ docker top b93623f1bed04586ce6b6319b675d6c4068e67919fbd46f8133403fc48053b0f -eo pid,comm [2024-11-08T23:19:41.502Z] 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-11-08T23:19:41.502Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-11-08T23:19:41.559Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-08T23:19:41.559Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-08T23:19:41.676Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-08T23:19:41.671Z] $ docker exec b93623f1bed04586ce6b6319b675d6c4068e67919fbd46f8133403fc48053b0f ssh-agent [2024-11-08T23:19:41.787Z] SSH_AUTH_SOCK=/tmp/ssh-gvC5RvZmoVbx/agent.33 [2024-11-08T23:19:41.787Z] SSH_AGENT_PID=40 [2024-11-08T23:19:41.794Z] Running ssh-add (command line suppressed) [2024-11-08T23:19:41.888Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-707@tmp/private_key_1605650712703123952.key (/w/workspace/gexfoundry_device-mqtt-go_PR-707@tmp/private_key_1605650712703123952.key) [2024-11-08T23:19:41.909Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-08T23:19:42.207Z] + git tag --points-at HEAD [Pipeline] } [2024-11-08T23:19:42.213Z] $ docker exec --env ******** --env ******** b93623f1bed04586ce6b6319b675d6c4068e67919fbd46f8133403fc48053b0f ssh-agent -k [2024-11-08T23:19:42.298Z] unset SSH_AUTH_SOCK; [2024-11-08T23:19:42.299Z] unset SSH_AGENT_PID; [2024-11-08T23:19:42.299Z] echo Agent pid 40 killed; [2024-11-08T23:19:42.318Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-11-08T23:19:42.364Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-08T23:19:42.364Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-08T23:19:42.463Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-08T23:19:42.459Z] $ docker exec b93623f1bed04586ce6b6319b675d6c4068e67919fbd46f8133403fc48053b0f ssh-agent [2024-11-08T23:19:42.562Z] SSH_AUTH_SOCK=/tmp/ssh-ELmE1G0uFBww/agent.73 [2024-11-08T23:19:42.562Z] SSH_AGENT_PID=79 [2024-11-08T23:19:42.566Z] Running ssh-add (command line suppressed) [2024-11-08T23:19:42.666Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-707@tmp/private_key_7342982755160582037.key (/w/workspace/gexfoundry_device-mqtt-go_PR-707@tmp/private_key_7342982755160582037.key) [2024-11-08T23:19:42.688Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-08T23:19:42.983Z] + git semver init [2024-11-08T23:19:43.242Z] 2024-11-08 23:19:43,153 [run_init] DEBUG init version:0.0.0 force:False [2024-11-08T23:19:43.242Z] 2024-11-08 23:19:43,154 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-707/.semver [2024-11-08T23:19:43.242Z] 2024-11-08 23:19:43,155 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-707/.semver [2024-11-08T23:19:43.242Z] 2024-11-08 23:19:43,155 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-707/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-707, universal_newlines=False, shell=None, istream=None) [2024-11-08T23:19:45.150Z] 2024-11-08 23:19:44,876 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-707/.git/info/exclude [2024-11-08T23:19:45.150Z] 2024-11-08 23:19:44,877 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-707/.semver/PR-707 with force:False [2024-11-08T23:19:45.150Z] 2024-11-08 23:19:44,877 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-707/.semver/PR-707 [2024-11-08T23:19:45.150Z] 2024-11-08 23:19:44,882 [execute] INFO git cat-file --batch-check [2024-11-08T23:19:45.150Z] 2024-11-08 23:19:44,882 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-707/.semver, universal_newlines=False, shell=None, istream=) [2024-11-08T23:19:45.150Z] 2024-11-08 23:19:44,887 [execute] INFO git cat-file --batch [2024-11-08T23:19:45.150Z] 2024-11-08 23:19:44,887 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-707/.semver, universal_newlines=False, shell=None, istream=) [2024-11-08T23:19:45.150Z] 2024-11-08 23:19:44,892 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-707/.semver/PR-707 [2024-11-08T23:19:45.150Z] 0.0.0 [Pipeline] } [2024-11-08T23:19:45.155Z] $ docker exec --env ******** --env ******** b93623f1bed04586ce6b6319b675d6c4068e67919fbd46f8133403fc48053b0f ssh-agent -k [2024-11-08T23:19:45.254Z] unset SSH_AUTH_SOCK; [2024-11-08T23:19:45.254Z] unset SSH_AGENT_PID; [2024-11-08T23:19:45.255Z] echo Agent pid 79 killed; [2024-11-08T23:19:45.270Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-11-08T23:19:45.591Z] + git semver [Pipeline] } [2024-11-08T23:19:45.861Z] $ docker stop --time=1 b93623f1bed04586ce6b6319b675d6c4068e67919fbd46f8133403fc48053b0f [2024-11-08T23:19:47.177Z] $ docker rm -f --volumes b93623f1bed04586ce6b6319b675d6c4068e67919fbd46f8133403fc48053b0f [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-08T23:19:47.541Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-11-08T23:19:47.786Z] Stashed 1 file(s) [Pipeline] echo [2024-11-08T23:19:47.791Z] [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-11-08T23:19:47.968Z] provisioning config files... [2024-11-08T23:19:47.977Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-707@tmp/config3162824620135673722tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-08T23:19:48.279Z] ---> ****-login.sh [2024-11-08T23:19:48.279Z] nexus3.edgexfoundry.org:10001 [2024-11-08T23:19:48.279Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T23:19:48.280Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T23:19:48.280Z] Configure a credential helper to remove this warning. See [2024-11-08T23:19:48.280Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T23:19:48.280Z] [2024-11-08T23:19:48.280Z] Login Succeeded [2024-11-08T23:19:48.280Z] nexus3.edgexfoundry.org:10002 [2024-11-08T23:19:48.280Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T23:19:48.280Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T23:19:48.280Z] Configure a credential helper to remove this warning. See [2024-11-08T23:19:48.280Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T23:19:48.280Z] [2024-11-08T23:19:48.280Z] Login Succeeded [2024-11-08T23:19:48.280Z] nexus3.edgexfoundry.org:10003 [2024-11-08T23:19:48.539Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T23:19:48.539Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T23:19:48.539Z] Configure a credential helper to remove this warning. See [2024-11-08T23:19:48.539Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T23:19:48.539Z] [2024-11-08T23:19:48.539Z] Login Succeeded [2024-11-08T23:19:48.539Z] nexus3.edgexfoundry.org:10004 [2024-11-08T23:19:48.539Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T23:19:48.540Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T23:19:48.540Z] Configure a credential helper to remove this warning. See [2024-11-08T23:19:48.540Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T23:19:48.540Z] [2024-11-08T23:19:48.540Z] Login Succeeded [2024-11-08T23:19:48.540Z] ****.io [2024-11-08T23:19:48.540Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T23:19:48.800Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T23:19:48.800Z] Configure a credential helper to remove this warning. See [2024-11-08T23:19:48.800Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T23:19:48.800Z] [2024-11-08T23:19:48.800Z] Login Succeeded [2024-11-08T23:19:48.800Z] ---> ****-login.sh ends [Pipeline] } [2024-11-08T23:19:48.808Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-08T23:19:48.909Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-08T23:19:48.927Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-08T23:19:48.943Z] ========================================================= [2024-11-08T23:19:48.943Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-11-08T23:19:48.943Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T23:19:49.281Z] + 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-11-08T23:19:49.281Z] Sending build context to Docker daemon 20.98MB [2024-11-08T23:19:49.281Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-11-08T23:19:49.281Z] Step 2/12 : FROM ${BASE} AS builder [2024-11-08T23:19:49.539Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-11-08T23:19:49.539Z] 43c4264eed91: Pulling fs layer [2024-11-08T23:19:49.539Z] 4cc291be95ef: Pulling fs layer [2024-11-08T23:19:49.539Z] 2ac1f1163629: Pulling fs layer [2024-11-08T23:19:49.539Z] 5c3c966382ef: Pulling fs layer [2024-11-08T23:19:49.539Z] 4f4fb700ef54: Pulling fs layer [2024-11-08T23:19:49.539Z] 5d5c8e513c77: Pulling fs layer [2024-11-08T23:19:49.539Z] 9f66e0745190: Pulling fs layer [2024-11-08T23:19:49.539Z] f49a43e4bbc0: Pulling fs layer [2024-11-08T23:19:49.539Z] 561ebcabdf7f: Pulling fs layer [2024-11-08T23:19:49.539Z] 4f4fb700ef54: Waiting [2024-11-08T23:19:49.539Z] 5d5c8e513c77: Waiting [2024-11-08T23:19:49.539Z] f49a43e4bbc0: Waiting [2024-11-08T23:19:49.539Z] 561ebcabdf7f: Waiting [2024-11-08T23:19:49.539Z] 5c3c966382ef: Waiting [2024-11-08T23:19:49.539Z] 9f66e0745190: Waiting [2024-11-08T23:19:49.539Z] 4cc291be95ef: Verifying Checksum [2024-11-08T23:19:49.539Z] 4cc291be95ef: Download complete [2024-11-08T23:19:49.539Z] 5c3c966382ef: Download complete [2024-11-08T23:19:49.539Z] 4f4fb700ef54: Verifying Checksum [2024-11-08T23:19:49.539Z] 4f4fb700ef54: Download complete [2024-11-08T23:19:49.539Z] 43c4264eed91: Download complete [2024-11-08T23:19:49.539Z] 5d5c8e513c77: Verifying Checksum [2024-11-08T23:19:49.539Z] 5d5c8e513c77: Download complete [2024-11-08T23:19:49.539Z] 9f66e0745190: Verifying Checksum [2024-11-08T23:19:49.539Z] 9f66e0745190: Download complete [2024-11-08T23:19:49.798Z] 43c4264eed91: Pull complete [2024-11-08T23:19:49.798Z] 561ebcabdf7f: Verifying Checksum [2024-11-08T23:19:49.798Z] 561ebcabdf7f: Download complete [2024-11-08T23:19:49.798Z] 4cc291be95ef: Pull complete [2024-11-08T23:19:50.058Z] 2ac1f1163629: Verifying Checksum [2024-11-08T23:19:50.058Z] 2ac1f1163629: Download complete [2024-11-08T23:19:50.315Z] f49a43e4bbc0: Verifying Checksum [2024-11-08T23:19:50.315Z] f49a43e4bbc0: Download complete [2024-11-08T23:19:53.602Z] 2ac1f1163629: Pull complete [2024-11-08T23:19:53.602Z] 5c3c966382ef: Pull complete [2024-11-08T23:19:53.602Z] 4f4fb700ef54: Pull complete [2024-11-08T23:19:53.602Z] 5d5c8e513c77: Pull complete [2024-11-08T23:19:53.602Z] 9f66e0745190: Pull complete [2024-11-08T23:19:55.505Z] f49a43e4bbc0: Pull complete [2024-11-08T23:19:56.072Z] 561ebcabdf7f: Pull complete [2024-11-08T23:19:56.072Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-11-08T23:19:56.072Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-11-08T23:19:56.072Z] ---> 3a752c3f9dda [2024-11-08T23:19:56.072Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-11-08T23:20:00.283Z] ---> Running in a5b3220c6674 [2024-11-08T23:20:00.543Z] Removing intermediate container a5b3220c6674 [2024-11-08T23:20:00.543Z] ---> 3f68462f9c60 [2024-11-08T23:20:00.543Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-08T23:20:00.543Z] ---> Running in 5634267a8b39 [2024-11-08T23:20:00.543Z] Removing intermediate container 5634267a8b39 [2024-11-08T23:20:00.543Z] ---> d1d1c4c603a5 [2024-11-08T23:20:00.543Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-11-08T23:20:00.543Z] ---> Running in 30ac91442157 [2024-11-08T23:20:00.543Z] Removing intermediate container 30ac91442157 [2024-11-08T23:20:00.543Z] ---> ce26e7fa3d1e [2024-11-08T23:20:00.543Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-11-08T23:20:00.543Z] ---> Running in 782d948cef73 [2024-11-08T23:20:00.803Z] Removing intermediate container 782d948cef73 [2024-11-08T23:20:00.803Z] ---> 73a1e255d9d2 [2024-11-08T23:20:00.803Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-08T23:20:00.803Z] ---> Running in 17942f27ccd6 [2024-11-08T23:20:01.061Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-08T23:20:01.061Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-08T23:20:01.322Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-11-08T23:20:01.322Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-11-08T23:20:01.322Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-11-08T23:20:01.579Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-11-08T23:20:01.579Z] Executing busybox-1.36.1-r29.trigger [2024-11-08T23:20:01.579Z] OK: 250 MiB in 58 packages [2024-11-08T23:20:02.167Z] Removing intermediate container 17942f27ccd6 [2024-11-08T23:20:02.167Z] ---> 9f759ebadf17 [2024-11-08T23:20:02.167Z] Step 8/12 : WORKDIR /device-mqtt-go [2024-11-08T23:20:02.167Z] ---> Running in e4bb9dbe1726 [2024-11-08T23:20:02.167Z] Removing intermediate container e4bb9dbe1726 [2024-11-08T23:20:02.167Z] ---> 1439c83c869d [2024-11-08T23:20:02.167Z] Step 9/12 : COPY go.mod vendor* ./ [2024-11-08T23:20:02.167Z] ---> 6de3ca55a0b3 [2024-11-08T23:20:02.167Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-08T23:20:02.167Z] ---> Running in 861deea3a556 [2024-11-08T23:20:02.909Z] Still waiting to schedule task [2024-11-08T23:20:02.909Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-25973’ [2024-11-08T23:20:48.849Z] Removing intermediate container 861deea3a556 [2024-11-08T23:20:48.849Z] ---> 3b0970515255 [2024-11-08T23:20:48.849Z] Step 11/12 : COPY . . [2024-11-08T23:20:49.787Z] ---> 2b237253c322 [2024-11-08T23:20:49.787Z] Step 12/12 : RUN $MAKE [2024-11-08T23:20:49.787Z] ---> Running in 6aaf87a038f0 [2024-11-08T23:20:50.050Z] noop [2024-11-08T23:20:50.309Z] Removing intermediate container 6aaf87a038f0 [2024-11-08T23:20:50.309Z] ---> 3b224c8fd82a [2024-11-08T23:20:50.309Z] Successfully built 3b224c8fd82a [2024-11-08T23:20:50.309Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T23:20:50.640Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-08T23:20:50.640Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T23:20:50.722Z] prd-ubuntu20.04-docker-8c-8g-25974 does not seem to be running inside a container [2024-11-08T23:20:50.755Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-707 -v /w/workspace/gexfoundry_device-mqtt-go_PR-707:/w/workspace/gexfoundry_device-mqtt-go_PR-707:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-707@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-707@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-11-08T23:20:51.076Z] $ docker top a2531d3e1a5b92d628a4c9999755d8ab564f262ce0c2afad5191c4b85f7caa99 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-08T23:20:51.418Z] + go version [2024-11-08T23:20:51.418Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-11-08T23:20:51.431Z] $ docker stop --time=1 a2531d3e1a5b92d628a4c9999755d8ab564f262ce0c2afad5191c4b85f7caa99 [2024-11-08T23:20:52.700Z] $ docker rm -f --volumes a2531d3e1a5b92d628a4c9999755d8ab564f262ce0c2afad5191c4b85f7caa99 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T23:20:53.138Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-08T23:20:53.138Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T23:20:53.228Z] prd-ubuntu20.04-docker-8c-8g-25974 does not seem to be running inside a container [2024-11-08T23:20:53.261Z] $ 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-707 -v /w/workspace/gexfoundry_device-mqtt-go_PR-707:/w/workspace/gexfoundry_device-mqtt-go_PR-707:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-707@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-707@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-11-08T23:20:53.579Z] $ docker top 3dc22341a83e512276ed67640f7194b7988a65c0b03fc7d99265c47af7db03e6 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-08T23:20:53.929Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-707 [Pipeline] fileExists [Pipeline] sh [2024-11-08T23:20:54.233Z] + make test [2024-11-08T23:20:54.234Z] go test ./... -coverprofile=coverage.out ./... [2024-11-08T23:20:55.609Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2024-11-08T23:21:17.526Z] github.com/edgexfoundry/device-mqtt-go/cmd coverage: 0.0% of statements [2024-11-08T23:21:17.526Z] github.com/edgexfoundry/device-mqtt-go/mock coverage: 0.0% of statements [2024-11-08T23:21:17.526Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.010s coverage: 22.8% of statements [2024-11-08T23:21:25.631Z] go vet ./... [2024-11-08T23:21:30.894Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-11-08T23:21:30.894Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-11-08T23:21:30.894Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-11-08T23:21:30.910Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-11-08T23:21:30.929Z] $ docker stop --time=1 3dc22341a83e512276ed67640f7194b7988a65c0b03fc7d99265c47af7db03e6 [2024-11-08T23:21:33.912Z] $ docker rm -f --volumes 3dc22341a83e512276ed67640f7194b7988a65c0b03fc7d99265c47af7db03e6 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-08T23:21:34.455Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-11-08T23:21:34.506Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-11-08T23:21:34.958Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-08T23:21:35.242Z] + ls -al . [2024-11-08T23:21:35.243Z] total 252 [2024-11-08T23:21:35.243Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 8 23:20 . [2024-11-08T23:21:35.243Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 23:19 .. [2024-11-08T23:21:35.243Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 8 23:19 .dockerignore [2024-11-08T23:21:35.243Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 23:21 .git [2024-11-08T23:21:35.243Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 23:19 .github [2024-11-08T23:21:35.243Z] -rw-rw-r-- 1 jenkins jenkins 264 Nov 8 23:19 .gitignore [2024-11-08T23:21:35.243Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 8 23:19 .golangci.yml [2024-11-08T23:21:35.243Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 23:19 .semver [2024-11-08T23:21:35.243Z] -rw-rw-r-- 1 jenkins jenkins 19106 Nov 8 23:19 Attribution.txt [2024-11-08T23:21:35.243Z] -rw-rw-r-- 1 jenkins jenkins 18574 Nov 8 23:19 CHANGELOG.md [2024-11-08T23:21:35.243Z] -rw-rw-r-- 1 jenkins jenkins 1803 Nov 8 23:19 Dockerfile [2024-11-08T23:21:35.243Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 23:19 GOVERNANCE.md [2024-11-08T23:21:35.243Z] -rw-rw-r-- 1 jenkins jenkins 657 Nov 8 23:19 Jenkinsfile [2024-11-08T23:21:35.243Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 23:19 LICENSE [2024-11-08T23:21:35.243Z] -rw-rw-r-- 1 jenkins jenkins 2545 Nov 8 23:19 Makefile [2024-11-08T23:21:35.243Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 8 23:19 OWNERS.md [2024-11-08T23:21:35.243Z] -rw-rw-r-- 1 jenkins jenkins 3599 Nov 8 23:19 README.md [2024-11-08T23:21:35.243Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 23:19 VERSION [2024-11-08T23:21:35.243Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 23:19 bin [2024-11-08T23:21:35.243Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 23:19 cmd [2024-11-08T23:21:35.243Z] -rw-r--r-- 1 jenkins jenkins 21039 Nov 8 23:21 coverage.out [2024-11-08T23:21:35.243Z] -rw-rw-r-- 1 jenkins jenkins 6370 Nov 8 23:19 go.mod [2024-11-08T23:21:35.243Z] -rw-rw-r-- 1 jenkins jenkins 88084 Nov 8 23:19 go.sum [2024-11-08T23:21:35.243Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 23:19 internal [2024-11-08T23:21:35.243Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 23:19 mock [2024-11-08T23:21:35.243Z] -rw-rw-r-- 1 jenkins jenkins 227 Nov 8 23:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T23:21:35.562Z] + 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=894cd62d8f598e09f5b4c533e383d50b056d92fc --label arch=amd64 --label version=0.0.0 . [2024-11-08T23:21:35.562Z] Sending build context to Docker daemon 21MB [2024-11-08T23:21:35.562Z] Step 1/25 : ARG BASE=golang:1.23-alpine3.20 [2024-11-08T23:21:35.562Z] Step 2/25 : FROM ${BASE} AS builder [2024-11-08T23:21:35.562Z] ---> 3b224c8fd82a [2024-11-08T23:21:35.562Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2024-11-08T23:21:35.820Z] ---> Running in c190a8d808de [2024-11-08T23:21:35.820Z] Removing intermediate container c190a8d808de [2024-11-08T23:21:35.820Z] ---> 09581d310f92 [2024-11-08T23:21:35.820Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-08T23:21:35.820Z] ---> Running in 76239aa9d8a6 [2024-11-08T23:21:36.081Z] Removing intermediate container 76239aa9d8a6 [2024-11-08T23:21:36.081Z] ---> 69306155d46e [2024-11-08T23:21:36.081Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-11-08T23:21:36.081Z] ---> Running in 5fc3e7500ea2 [2024-11-08T23:21:36.081Z] Removing intermediate container 5fc3e7500ea2 [2024-11-08T23:21:36.081Z] ---> e14695cef27c [2024-11-08T23:21:36.081Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2024-11-08T23:21:36.081Z] ---> Running in f98dd8ee8369 [2024-11-08T23:21:36.341Z] Removing intermediate container f98dd8ee8369 [2024-11-08T23:21:36.341Z] ---> b154b58db282 [2024-11-08T23:21:36.341Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-08T23:21:36.341Z] ---> Running in 449426e01763 [2024-11-08T23:21:36.602Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-08T23:21:36.862Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-08T23:21:37.121Z] OK: 250 MiB in 58 packages [2024-11-08T23:21:37.688Z] Removing intermediate container 449426e01763 [2024-11-08T23:21:37.688Z] ---> 015dc776b59d [2024-11-08T23:21:37.688Z] Step 8/25 : WORKDIR /device-mqtt-go [2024-11-08T23:21:37.688Z] ---> Running in fd8a8c1cf45e [2024-11-08T23:21:37.688Z] Removing intermediate container fd8a8c1cf45e [2024-11-08T23:21:37.688Z] ---> 8046690d2d31 [2024-11-08T23:21:37.688Z] Step 9/25 : COPY go.mod vendor* ./ [2024-11-08T23:21:37.948Z] ---> 2b19e3837d80 [2024-11-08T23:21:37.948Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-08T23:21:37.948Z] ---> Running in 3e664d6845ca [2024-11-08T23:21:38.517Z] Removing intermediate container 3e664d6845ca [2024-11-08T23:21:38.517Z] ---> 71a81d744c4e [2024-11-08T23:21:38.517Z] Step 11/25 : COPY . . [2024-11-08T23:21:39.088Z] ---> c5822d184a27 [2024-11-08T23:21:39.088Z] Step 12/25 : RUN $MAKE [2024-11-08T23:21:39.088Z] ---> Running in fb2568c5231d [2024-11-08T23:21:39.349Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.3 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd [2024-11-08T23:22:11.463Z] Removing intermediate container fb2568c5231d [2024-11-08T23:22:11.463Z] ---> 8c141ab92a73 [2024-11-08T23:22:11.463Z] Step 13/25 : FROM alpine:3.20 [2024-11-08T23:22:11.463Z] 3.20: Pulling from library/alpine [2024-11-08T23:22:11.463Z] 43c4264eed91: Already exists [2024-11-08T23:22:11.463Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-11-08T23:22:11.463Z] Status: Downloaded newer image for alpine:3.20 [2024-11-08T23:22:11.463Z] ---> 91ef0af61f39 [2024-11-08T23:22:11.463Z] Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2024: IoTech Ltd' [2024-11-08T23:22:11.463Z] ---> Running in e9369cfaf9bc [2024-11-08T23:22:11.463Z] Removing intermediate container e9369cfaf9bc [2024-11-08T23:22:11.463Z] ---> b745a17b8c8a [2024-11-08T23:22:11.463Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2024-11-08T23:22:11.463Z] ---> Running in 7f194d2c3f17 [2024-11-08T23:22:11.724Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-08T23:22:11.982Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-08T23:22:12.240Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-11-08T23:22:12.240Z] Executing busybox-1.36.1-r29.trigger [2024-11-08T23:22:12.240Z] OK: 8 MiB in 15 packages [2024-11-08T23:22:12.810Z] Removing intermediate container 7f194d2c3f17 [2024-11-08T23:22:12.810Z] ---> 1ff7e6c92315 [2024-11-08T23:22:12.810Z] Step 16/25 : RUN apk --no-cache upgrade [2024-11-08T23:22:12.810Z] ---> Running in c3fe8f2a2c95 [2024-11-08T23:22:13.068Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-08T23:22:13.068Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-08T23:22:13.327Z] Upgrading critical system libraries and apk-tools: [2024-11-08T23:22:13.327Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-11-08T23:22:13.327Z] Executing busybox-1.36.1-r29.trigger [2024-11-08T23:22:13.327Z] Continuing the upgrade transaction with new apk-tools: [2024-11-08T23:22:13.327Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-08T23:22:13.586Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-08T23:22:13.844Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-08T23:22:13.844Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-08T23:22:13.844Z] OK: 8 MiB in 15 packages [2024-11-08T23:22:14.411Z] Removing intermediate container c3fe8f2a2c95 [2024-11-08T23:22:14.411Z] ---> bcd1a6d8395d [2024-11-08T23:22:14.411Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2024-11-08T23:22:15.347Z] ---> 85b7058a5c0b [2024-11-08T23:22:15.347Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2024-11-08T23:22:15.347Z] ---> f555f3a0b3d6 [2024-11-08T23:22:15.347Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2024-11-08T23:22:15.607Z] ---> 1ad554dd76df [2024-11-08T23:22:15.608Z] Step 20/25 : EXPOSE 59982 [2024-11-08T23:22:15.608Z] ---> Running in 5627e906c766 [2024-11-08T23:22:15.608Z] Removing intermediate container 5627e906c766 [2024-11-08T23:22:15.608Z] ---> 49f75f046dc4 [2024-11-08T23:22:15.608Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2024-11-08T23:22:15.608Z] ---> Running in 50fda39973ce [2024-11-08T23:22:15.866Z] Removing intermediate container 50fda39973ce [2024-11-08T23:22:15.866Z] ---> a81133f9e782 [2024-11-08T23:22:15.866Z] Step 22/25 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] [2024-11-08T23:22:15.866Z] ---> Running in 35f89aafeb8c [2024-11-08T23:22:15.866Z] Removing intermediate container 35f89aafeb8c [2024-11-08T23:22:15.866Z] ---> f4fa831d561c [2024-11-08T23:22:15.866Z] Step 23/25 : LABEL arch=amd64 [2024-11-08T23:22:15.866Z] ---> Running in b2ce7e34bc0d [2024-11-08T23:22:15.866Z] Removing intermediate container b2ce7e34bc0d [2024-11-08T23:22:15.866Z] ---> 137c024d5959 [2024-11-08T23:22:15.866Z] Step 24/25 : LABEL git_sha=894cd62d8f598e09f5b4c533e383d50b056d92fc [2024-11-08T23:22:16.129Z] ---> Running in e2e4679476be [2024-11-08T23:22:16.129Z] Removing intermediate container e2e4679476be [2024-11-08T23:22:16.129Z] ---> 5acf2348f7c0 [2024-11-08T23:22:16.129Z] Step 25/25 : LABEL version=0.0.0 [2024-11-08T23:22:16.129Z] ---> Running in d810d82a1b13 [2024-11-08T23:22:16.129Z] Removing intermediate container d810d82a1b13 [2024-11-08T23:22:16.129Z] ---> b1a2516cb758 [2024-11-08T23:22:16.129Z] [Warning] One or more build-args [ARCH] were not consumed [2024-11-08T23:22:16.129Z] Successfully built b1a2516cb758 [2024-11-08T23:22:16.129Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T23:22:16.599Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-08T23:22:16.599Z] [2024-11-08T23:22:16.599Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T23:22:16.900Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-08T23:22:16.900Z] latest: Pulling from edgex-lftools-log-publisher [2024-11-08T23:22:16.900Z] 5eb5b503b376: Pulling fs layer [2024-11-08T23:22:16.900Z] 5c69ac0246d0: Pulling fs layer [2024-11-08T23:22:16.900Z] ec43610c2a17: Pulling fs layer [2024-11-08T23:22:16.900Z] 3a2ae6a8a46f: Pulling fs layer [2024-11-08T23:22:16.900Z] 33b1e0a273af: Pulling fs layer [2024-11-08T23:22:16.900Z] 5d3b04190fa2: Pulling fs layer [2024-11-08T23:22:16.900Z] 2f39f015ded8: Pulling fs layer [2024-11-08T23:22:16.900Z] 3a2ae6a8a46f: Waiting [2024-11-08T23:22:16.900Z] 33b1e0a273af: Waiting [2024-11-08T23:22:16.900Z] 5d3b04190fa2: Waiting [2024-11-08T23:22:16.900Z] 2f39f015ded8: Waiting [2024-11-08T23:22:16.900Z] 5c69ac0246d0: Verifying Checksum [2024-11-08T23:22:16.900Z] 5c69ac0246d0: Download complete [2024-11-08T23:22:16.900Z] 3a2ae6a8a46f: Download complete [2024-11-08T23:22:16.900Z] 33b1e0a273af: Verifying Checksum [2024-11-08T23:22:16.900Z] 33b1e0a273af: Download complete [2024-11-08T23:22:16.900Z] 5d3b04190fa2: Verifying Checksum [2024-11-08T23:22:16.900Z] 5d3b04190fa2: Download complete [2024-11-08T23:22:16.900Z] ec43610c2a17: Verifying Checksum [2024-11-08T23:22:16.900Z] ec43610c2a17: Download complete [2024-11-08T23:22:17.159Z] 5eb5b503b376: Verifying Checksum [2024-11-08T23:22:17.159Z] 5eb5b503b376: Download complete [2024-11-08T23:22:17.725Z] 2f39f015ded8: Verifying Checksum [2024-11-08T23:22:17.725Z] 2f39f015ded8: Download complete [2024-11-08T23:22:18.290Z] 5eb5b503b376: Pull complete [2024-11-08T23:22:18.548Z] 5c69ac0246d0: Pull complete [2024-11-08T23:22:19.114Z] ec43610c2a17: Pull complete [2024-11-08T23:22:19.114Z] 3a2ae6a8a46f: Pull complete [2024-11-08T23:22:19.114Z] 33b1e0a273af: Pull complete [2024-11-08T23:22:19.373Z] 5d3b04190fa2: Pull complete [2024-11-08T23:22:23.573Z] 2f39f015ded8: Pull complete [2024-11-08T23:22:23.573Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-11-08T23:22:23.573Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-08T23:22:23.573Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T23:22:23.674Z] prd-ubuntu20.04-docker-8c-8g-25974 does not seem to be running inside a container [2024-11-08T23:22:23.713Z] $ 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-707 -v /w/workspace/gexfoundry_device-mqtt-go_PR-707:/w/workspace/gexfoundry_device-mqtt-go_PR-707:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-707@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-707@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-11-08T23:22:26.383Z] $ docker top f92720cc2e70db569d6e5df8b5ba7df9a697e197d51ebcc6bb605d902c431d1b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-08T23:22:26.787Z] ---> job-cost.sh [2024-11-08T23:22:26.787Z] lf-activate-venv: SKIPPING [2024-11-08T23:22:26.787Z] INFO: No Stack... [2024-11-08T23:22:27.046Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-08T23:22:27.305Z] INFO: Archiving Costs [Pipeline] sh [2024-11-08T23:22:27.598Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-707/archives/cost.csv+ [2024-11-08T23:22:27.598Z] cut -d, -f6 [Pipeline] lock [2024-11-08T23:22:27.614Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-707-2-stack-cost] [2024-11-08T23:22:27.625Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-707-2-stack-cost] did not exist. Created. [2024-11-08T23:22:27.633Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-707-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-08T23:22:27.949Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-11-08T23:22:27.973Z] Stashed 1 file(s) [Pipeline] } [2024-11-08T23:22:27.982Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-707-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-08T23:22:28.015Z] $ docker stop --time=1 f92720cc2e70db569d6e5df8b5ba7df9a697e197d51ebcc6bb605d902c431d1b [2024-11-08T23:22:29.169Z] $ docker rm -f --volumes f92720cc2e70db569d6e5df8b5ba7df9a697e197d51ebcc6bb605d902c431d1b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-11-08T23:23:51.925Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-25975 in /w/workspace/gexfoundry_device-mqtt-go_PR-707 [Pipeline] { [Pipeline] ws [2024-11-08T23:23:51.946Z] Running in /w/workspace/device-mqtt-go/2 [Pipeline] { [Pipeline] checkout [2024-11-08T23:23:55.013Z] The recommended git tool is: git [2024-11-08T23:24:00.208Z] using credential edgex-jenkins-ssh [2024-11-08T23:24:00.231Z] Cloning the remote Git repository [2024-11-08T23:24:00.273Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2024-11-08T23:24:00.369Z] > git init /w/workspace/device-mqtt-go/2 # timeout=10 [2024-11-08T23:24:00.514Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2024-11-08T23:24:00.515Z] > git --version # timeout=10 [2024-11-08T23:24:00.543Z] > git --version # 'git version 2.25.1' [2024-11-08T23:24:00.546Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-08T23:24:00.699Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-08T23:24:03.824Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2024-11-08T23:24:03.852Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-08T23:24:04.850Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2024-11-08T23:24:04.897Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2024-11-08T23:24:04.898Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-08T23:24:04.925Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/707/head:refs/remotes/origin/PR-707 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-11-08T23:24:05.433Z] Merging remotes/origin/main commit 05dffbfea524d4e44629aea546393e9ff3734411 into PR head commit 705a22a4a64b64b4c53c11d1dbba5b9274b17c5f [2024-11-08T23:24:05.734Z] Merge succeeded, producing 917a4539413584517f1d2d718c3d167f12a52f95 [2024-11-08T23:24:05.735Z] Checking out Revision 917a4539413584517f1d2d718c3d167f12a52f95 (PR-707) [2024-11-08T23:24:05.448Z] > git config core.sparsecheckout # timeout=10 [2024-11-08T23:24:05.523Z] > git checkout -f 705a22a4a64b64b4c53c11d1dbba5b9274b17c5f # timeout=10 [2024-11-08T23:24:05.609Z] > git remote # timeout=10 [2024-11-08T23:24:05.625Z] > git config --get remote.origin.url # timeout=10 [2024-11-08T23:24:05.642Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-08T23:24:05.661Z] > git merge 05dffbfea524d4e44629aea546393e9ff3734411 # timeout=10 [2024-11-08T23:24:05.715Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-11-08T23:24:05.737Z] > git config core.sparsecheckout # timeout=10 [2024-11-08T23:24:05.759Z] > git checkout -f 917a4539413584517f1d2d718c3d167f12a52f95 # timeout=10 [2024-11-08T23:24:09.455Z] Commit message: "Merge commit '05dffbfea524d4e44629aea546393e9ff3734411' into HEAD" [2024-11-08T23:24:09.460Z] > git rev-list --no-walk 705a22a4a64b64b4c53c11d1dbba5b9274b17c5f # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-08T23:24:11.334Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-11-08T23:24:11.334Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-08T23:24:11.334Z] Dload Upload Total Spent Left Speed [2024-11-08T23:24:11.334Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 101k 0 --:--:-- --:--:-- --:--:-- 101k [Pipeline] sh [2024-11-08T23:24:11.668Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-11-08T23:24:12.000Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-11-08T23:24:12.000Z] + sudo tee /etc/docker/daemon.new [2024-11-08T23:24:12.000Z] { [2024-11-08T23:24:12.000Z] "registry-mirrors": [ [2024-11-08T23:24:12.000Z] "https://nexus3.edgexfoundry.org:10001" [2024-11-08T23:24:12.000Z] ], [2024-11-08T23:24:12.000Z] "bip": "10.250.0.254/24", [2024-11-08T23:24:12.000Z] "hosts": [ [2024-11-08T23:24:12.000Z] "tcp://0.0.0.0:5555", [2024-11-08T23:24:12.000Z] "unix:///var/run/docker.sock" [2024-11-08T23:24:12.000Z] ], [2024-11-08T23:24:12.000Z] "mtu": 1458, [2024-11-08T23:24:12.000Z] "selinux-enabled": true, [2024-11-08T23:24:12.000Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-11-08T23:24:12.000Z] } [Pipeline] sh [2024-11-08T23:24:12.327Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-11-08T23:24:12.655Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-08T23:24:30.971Z] provisioning config files... [2024-11-08T23:24:31.005Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/2@tmp/config6680878564501383127tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-08T23:24:31.496Z] ---> ****-login.sh [2024-11-08T23:24:31.496Z] nexus3.edgexfoundry.org:10001 [2024-11-08T23:24:32.088Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T23:24:32.362Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T23:24:32.362Z] Configure a credential helper to remove this warning. See [2024-11-08T23:24:32.362Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T23:24:32.362Z] [2024-11-08T23:24:32.362Z] Login Succeeded [2024-11-08T23:24:32.362Z] nexus3.edgexfoundry.org:10002 [2024-11-08T23:24:32.362Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T23:24:32.636Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T23:24:32.636Z] Configure a credential helper to remove this warning. See [2024-11-08T23:24:32.636Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T23:24:32.636Z] [2024-11-08T23:24:32.636Z] Login Succeeded [2024-11-08T23:24:32.636Z] nexus3.edgexfoundry.org:10003 [2024-11-08T23:24:32.907Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T23:24:32.907Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T23:24:32.907Z] Configure a credential helper to remove this warning. See [2024-11-08T23:24:32.907Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T23:24:32.907Z] [2024-11-08T23:24:32.907Z] Login Succeeded [2024-11-08T23:24:32.907Z] nexus3.edgexfoundry.org:10004 [2024-11-08T23:24:33.180Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T23:24:33.180Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T23:24:33.180Z] Configure a credential helper to remove this warning. See [2024-11-08T23:24:33.180Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T23:24:33.180Z] [2024-11-08T23:24:33.180Z] Login Succeeded [2024-11-08T23:24:33.180Z] ****.io [2024-11-08T23:24:33.452Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T23:24:33.722Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T23:24:33.722Z] Configure a credential helper to remove this warning. See [2024-11-08T23:24:33.722Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T23:24:33.722Z] [2024-11-08T23:24:33.722Z] Login Succeeded [2024-11-08T23:24:33.722Z] ---> ****-login.sh ends [Pipeline] } [2024-11-08T23:24:33.737Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-08T23:24:34.108Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-08T23:24:34.127Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-08T23:24:34.147Z] ========================================================= [2024-11-08T23:24:34.147Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-11-08T23:24:34.147Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T23:24:34.505Z] + 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-11-08T23:24:34.785Z] Sending build context to Docker daemon 10.61MB [2024-11-08T23:24:35.055Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-11-08T23:24:35.055Z] Step 2/12 : FROM ${BASE} AS builder [2024-11-08T23:24:35.055Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-11-08T23:24:35.055Z] cf04c63912e1: Pulling fs layer [2024-11-08T23:24:35.055Z] 55b35a11ae5e: Pulling fs layer [2024-11-08T23:24:35.055Z] a37a00ec5f00: Pulling fs layer [2024-11-08T23:24:35.055Z] 50b3750afda1: Pulling fs layer [2024-11-08T23:24:35.055Z] 4f4fb700ef54: Pulling fs layer [2024-11-08T23:24:35.055Z] 80978eb59214: Pulling fs layer [2024-11-08T23:24:35.055Z] c9f46d7d2bd2: Pulling fs layer [2024-11-08T23:24:35.055Z] c5a475d317c9: Pulling fs layer [2024-11-08T23:24:35.055Z] 80978eb59214: Waiting [2024-11-08T23:24:35.055Z] c9f46d7d2bd2: Waiting [2024-11-08T23:24:35.055Z] c5a475d317c9: Waiting [2024-11-08T23:24:35.055Z] 50b3750afda1: Waiting [2024-11-08T23:24:35.055Z] 4f4fb700ef54: Waiting [2024-11-08T23:24:35.055Z] 55b35a11ae5e: Verifying Checksum [2024-11-08T23:24:35.055Z] 55b35a11ae5e: Download complete [2024-11-08T23:24:35.055Z] 50b3750afda1: Verifying Checksum [2024-11-08T23:24:35.055Z] 50b3750afda1: Download complete [2024-11-08T23:24:35.334Z] 4f4fb700ef54: Verifying Checksum [2024-11-08T23:24:35.334Z] 4f4fb700ef54: Download complete [2024-11-08T23:24:35.334Z] 80978eb59214: Verifying Checksum [2024-11-08T23:24:35.334Z] 80978eb59214: Download complete [2024-11-08T23:24:35.334Z] cf04c63912e1: Verifying Checksum [2024-11-08T23:24:35.334Z] cf04c63912e1: Download complete [2024-11-08T23:24:35.939Z] c5a475d317c9: Verifying Checksum [2024-11-08T23:24:35.939Z] c5a475d317c9: Download complete [2024-11-08T23:24:36.210Z] cf04c63912e1: Pull complete [2024-11-08T23:24:36.797Z] 55b35a11ae5e: Pull complete [2024-11-08T23:24:37.070Z] a37a00ec5f00: Verifying Checksum [2024-11-08T23:24:37.070Z] a37a00ec5f00: Download complete [2024-11-08T23:24:38.034Z] c9f46d7d2bd2: Verifying Checksum [2024-11-08T23:24:38.034Z] c9f46d7d2bd2: Download complete [2024-11-08T23:24:50.360Z] a37a00ec5f00: Pull complete [2024-11-08T23:24:50.360Z] 50b3750afda1: Pull complete [2024-11-08T23:24:50.360Z] 4f4fb700ef54: Pull complete [2024-11-08T23:24:50.360Z] 80978eb59214: Pull complete [2024-11-08T23:24:58.588Z] c9f46d7d2bd2: Pull complete [2024-11-08T23:25:00.546Z] c5a475d317c9: Pull complete [2024-11-08T23:25:00.546Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-11-08T23:25:00.546Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-11-08T23:25:00.546Z] ---> be29e6b0f0d4 [2024-11-08T23:25:00.546Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-11-08T23:25:02.499Z] ---> Running in 1e4fa7f66687 [2024-11-08T23:25:02.766Z] Removing intermediate container 1e4fa7f66687 [2024-11-08T23:25:02.766Z] ---> 104ffec4e894 [2024-11-08T23:25:02.766Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-08T23:25:02.766Z] ---> Running in 6148076fc2cd [2024-11-08T23:25:03.035Z] Removing intermediate container 6148076fc2cd [2024-11-08T23:25:03.035Z] ---> 08a4bd9182ba [2024-11-08T23:25:03.035Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-11-08T23:25:03.035Z] ---> Running in 1d8b9e26b675 [2024-11-08T23:25:03.302Z] Removing intermediate container 1d8b9e26b675 [2024-11-08T23:25:03.302Z] ---> 9b9b91b41ead [2024-11-08T23:25:03.302Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-11-08T23:25:03.569Z] ---> Running in 90f9fb214bba [2024-11-08T23:25:03.569Z] Removing intermediate container 90f9fb214bba [2024-11-08T23:25:03.569Z] ---> c88c0c777be2 [2024-11-08T23:25:03.569Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-08T23:25:03.836Z] ---> Running in a9452ab1fb91 [2024-11-08T23:25:04.793Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-08T23:25:05.058Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-08T23:25:06.463Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-11-08T23:25:06.463Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-11-08T23:25:06.463Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-11-08T23:25:06.463Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-11-08T23:25:06.463Z] Executing busybox-1.36.1-r29.trigger [2024-11-08T23:25:06.729Z] OK: 242 MiB in 58 packages [2024-11-08T23:25:07.692Z] Removing intermediate container a9452ab1fb91 [2024-11-08T23:25:07.692Z] ---> d5085d537245 [2024-11-08T23:25:07.692Z] Step 8/12 : WORKDIR /device-mqtt-go [2024-11-08T23:25:07.692Z] ---> Running in 7e5e2977603e [2024-11-08T23:25:07.959Z] Removing intermediate container 7e5e2977603e [2024-11-08T23:25:07.959Z] ---> 310c139e3796 [2024-11-08T23:25:07.959Z] Step 9/12 : COPY go.mod vendor* ./ [2024-11-08T23:25:08.550Z] ---> f7903d9ae6cb [2024-11-08T23:25:08.550Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-08T23:25:08.550Z] ---> Running in 81f4617cc706 [2024-11-08T23:27:00.251Z] Removing intermediate container 81f4617cc706 [2024-11-08T23:27:00.251Z] ---> 706ba51080af [2024-11-08T23:27:00.251Z] Step 11/12 : COPY . . [2024-11-08T23:27:00.251Z] ---> 6bd858937155 [2024-11-08T23:27:00.251Z] Step 12/12 : RUN $MAKE [2024-11-08T23:27:00.251Z] ---> Running in c4c29b21be53 [2024-11-08T23:27:00.251Z] noop [2024-11-08T23:27:00.251Z] Removing intermediate container c4c29b21be53 [2024-11-08T23:27:00.251Z] ---> 6368000b118d [2024-11-08T23:27:00.251Z] Successfully built 6368000b118d [2024-11-08T23:27:00.251Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T23:27:00.621Z] + docker inspect -f . ci-base-image-arm64 [2024-11-08T23:27:00.621Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T23:27:00.844Z] prd-ubuntu20.04-docker-arm64-4c-16g-25975 does not seem to be running inside a container [2024-11-08T23:27:00.898Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-11-08T23:27:02.142Z] $ docker top 2179cd8ce427cd39547109a6c1618401567e0fe499f16222e803768c78f8d26d -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-08T23:27:02.992Z] + go version [2024-11-08T23:27:02.992Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-11-08T23:27:03.004Z] $ docker stop --time=1 2179cd8ce427cd39547109a6c1618401567e0fe499f16222e803768c78f8d26d [2024-11-08T23:27:04.591Z] $ docker rm -f --volumes 2179cd8ce427cd39547109a6c1618401567e0fe499f16222e803768c78f8d26d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T23:27:05.184Z] + docker inspect -f . ci-base-image-arm64 [2024-11-08T23:27:05.184Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T23:27:05.364Z] prd-ubuntu20.04-docker-arm64-4c-16g-25975 does not seem to be running inside a container [2024-11-08T23:27:05.419Z] $ 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/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-11-08T23:27:06.616Z] $ docker top 15cb48988f5f82ad64e7590458ef8e9534d5b3bdd822766227140bd0570bfef8 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-08T23:27:07.168Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/2 [Pipeline] fileExists [Pipeline] sh [2024-11-08T23:27:07.528Z] + make test [2024-11-08T23:27:07.528Z] go test ./... -coverprofile=coverage.out ./... [2024-11-08T23:27:14.184Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2024-11-08T23:30:35.967Z] github.com/edgexfoundry/device-mqtt-go/cmd coverage: 0.0% of statements [2024-11-08T23:30:35.967Z] github.com/edgexfoundry/device-mqtt-go/mock coverage: 0.0% of statements [2024-11-08T23:30:35.967Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.051s coverage: 22.8% of statements [2024-11-08T23:30:35.967Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-11-08T23:30:35.967Z] go vet ./... [2024-11-08T23:31:22.805Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-11-08T23:31:22.805Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-11-08T23:31:22.805Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-11-08T23:31:22.825Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-11-08T23:31:22.834Z] $ docker stop --time=1 15cb48988f5f82ad64e7590458ef8e9534d5b3bdd822766227140bd0570bfef8 [2024-11-08T23:31:24.700Z] $ docker rm -f --volumes 15cb48988f5f82ad64e7590458ef8e9534d5b3bdd822766227140bd0570bfef8 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-08T23:31:26.163Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-11-08T23:31:26.179Z] Warning: overwriting stash ‘coverage-report’ [2024-11-08T23:31:26.603Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-08T23:31:27.004Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-08T23:31:27.315Z] + ls -al . [2024-11-08T23:31:27.315Z] total 248 [2024-11-08T23:31:27.315Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 23:27 . [2024-11-08T23:31:27.315Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 23:24 .. [2024-11-08T23:31:27.315Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 8 23:24 .dockerignore [2024-11-08T23:31:27.315Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 23:24 .git [2024-11-08T23:31:27.315Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 23:24 .github [2024-11-08T23:31:27.315Z] -rw-rw-r-- 1 jenkins jenkins 264 Nov 8 23:24 .gitignore [2024-11-08T23:31:27.315Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 8 23:24 .golangci.yml [2024-11-08T23:31:27.315Z] -rw-rw-r-- 1 jenkins jenkins 19106 Nov 8 23:24 Attribution.txt [2024-11-08T23:31:27.315Z] -rw-rw-r-- 1 jenkins jenkins 18574 Nov 8 23:24 CHANGELOG.md [2024-11-08T23:31:27.315Z] -rw-rw-r-- 1 jenkins jenkins 1803 Nov 8 23:24 Dockerfile [2024-11-08T23:31:27.315Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 23:24 GOVERNANCE.md [2024-11-08T23:31:27.315Z] -rw-rw-r-- 1 jenkins jenkins 657 Nov 8 23:24 Jenkinsfile [2024-11-08T23:31:27.315Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 23:24 LICENSE [2024-11-08T23:31:27.315Z] -rw-rw-r-- 1 jenkins jenkins 2545 Nov 8 23:24 Makefile [2024-11-08T23:31:27.315Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 8 23:24 OWNERS.md [2024-11-08T23:31:27.315Z] -rw-rw-r-- 1 jenkins jenkins 3599 Nov 8 23:24 README.md [2024-11-08T23:31:27.315Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 23:19 VERSION [2024-11-08T23:31:27.315Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 23:24 bin [2024-11-08T23:31:27.315Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 23:24 cmd [2024-11-08T23:31:27.315Z] -rw-r--r-- 1 jenkins jenkins 21039 Nov 8 23:30 coverage.out [2024-11-08T23:31:27.315Z] -rw-rw-r-- 1 jenkins jenkins 6370 Nov 8 23:24 go.mod [2024-11-08T23:31:27.315Z] -rw-rw-r-- 1 jenkins jenkins 88084 Nov 8 23:24 go.sum [2024-11-08T23:31:27.315Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 23:24 internal [2024-11-08T23:31:27.315Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 23:24 mock [2024-11-08T23:31:27.315Z] -rw-rw-r-- 1 jenkins jenkins 227 Nov 8 23:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T23:31:27.659Z] + 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=917a4539413584517f1d2d718c3d167f12a52f95 --label arch=arm64 --label version=0.0.0 . [2024-11-08T23:31:27.931Z] Sending build context to Docker daemon 10.63MB [2024-11-08T23:31:27.931Z] Step 1/25 : ARG BASE=golang:1.23-alpine3.20 [2024-11-08T23:31:27.931Z] Step 2/25 : FROM ${BASE} AS builder [2024-11-08T23:31:27.931Z] ---> 6368000b118d [2024-11-08T23:31:27.931Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2024-11-08T23:31:28.196Z] ---> Running in c70581aed398 [2024-11-08T23:31:28.462Z] Removing intermediate container c70581aed398 [2024-11-08T23:31:28.462Z] ---> abba5445a38b [2024-11-08T23:31:28.462Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-08T23:31:28.462Z] ---> Running in 7c36b5ba0f34 [2024-11-08T23:31:28.729Z] Removing intermediate container 7c36b5ba0f34 [2024-11-08T23:31:28.729Z] ---> 6968fc78199a [2024-11-08T23:31:28.729Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-11-08T23:31:28.729Z] ---> Running in 816a4c33b3c6 [2024-11-08T23:31:28.995Z] Removing intermediate container 816a4c33b3c6 [2024-11-08T23:31:28.995Z] ---> fc45fe1e848c [2024-11-08T23:31:28.995Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2024-11-08T23:31:29.268Z] ---> Running in 96f06a92b4bb [2024-11-08T23:31:29.533Z] Removing intermediate container 96f06a92b4bb [2024-11-08T23:31:29.533Z] ---> 96c0db4066ba [2024-11-08T23:31:29.533Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-08T23:31:29.533Z] ---> Running in e687abbce7be [2024-11-08T23:31:30.490Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-08T23:31:30.756Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-08T23:31:32.163Z] OK: 242 MiB in 58 packages [2024-11-08T23:31:33.122Z] Removing intermediate container e687abbce7be [2024-11-08T23:31:33.122Z] ---> 7748dc65d975 [2024-11-08T23:31:33.122Z] Step 8/25 : WORKDIR /device-mqtt-go [2024-11-08T23:31:33.389Z] ---> Running in 8f1e400e4e21 [2024-11-08T23:31:33.655Z] Removing intermediate container 8f1e400e4e21 [2024-11-08T23:31:33.655Z] ---> 5f86292bf428 [2024-11-08T23:31:33.655Z] Step 9/25 : COPY go.mod vendor* ./ [2024-11-08T23:31:34.243Z] ---> 67ef03dfcaf6 [2024-11-08T23:31:34.243Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-08T23:31:34.243Z] ---> Running in 7dabdc147d13 [2024-11-08T23:31:36.825Z] Removing intermediate container 7dabdc147d13 [2024-11-08T23:31:36.826Z] ---> 0c1973a6fb44 [2024-11-08T23:31:36.826Z] Step 11/25 : COPY . . [2024-11-08T23:31:37.417Z] ---> 806609cf8af1 [2024-11-08T23:31:37.417Z] Step 12/25 : RUN $MAKE [2024-11-08T23:31:37.686Z] ---> Running in e3f8e3ebb3b3 [2024-11-08T23:31:38.649Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.3 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd [2024-11-08T23:35:01.279Z] Removing intermediate container e3f8e3ebb3b3 [2024-11-08T23:35:01.279Z] ---> c21734a3e049 [2024-11-08T23:35:01.279Z] Step 13/25 : FROM alpine:3.20 [2024-11-08T23:35:01.279Z] 3.20: Pulling from library/alpine [2024-11-08T23:35:01.279Z] cf04c63912e1: Already exists [2024-11-08T23:35:01.279Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-11-08T23:35:01.279Z] Status: Downloaded newer image for alpine:3.20 [2024-11-08T23:35:01.279Z] ---> c157a85ed455 [2024-11-08T23:35:01.279Z] Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2024: IoTech Ltd' [2024-11-08T23:35:01.279Z] ---> Running in 6d644bf86be4 [2024-11-08T23:35:01.279Z] Removing intermediate container 6d644bf86be4 [2024-11-08T23:35:01.279Z] ---> ba0a1f443314 [2024-11-08T23:35:01.279Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2024-11-08T23:35:01.279Z] ---> Running in d65dcace6b1b [2024-11-08T23:35:01.279Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-08T23:35:01.279Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-08T23:35:01.279Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-11-08T23:35:01.279Z] Executing busybox-1.36.1-r29.trigger [2024-11-08T23:35:01.279Z] OK: 9 MiB in 15 packages [2024-11-08T23:35:01.279Z] Removing intermediate container d65dcace6b1b [2024-11-08T23:35:01.279Z] ---> 8c56b4ca4a35 [2024-11-08T23:35:01.279Z] Step 16/25 : RUN apk --no-cache upgrade [2024-11-08T23:35:01.279Z] ---> Running in 8f44b39179ba [2024-11-08T23:35:01.279Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-08T23:35:01.279Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-08T23:35:02.246Z] Upgrading critical system libraries and apk-tools: [2024-11-08T23:35:02.246Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-11-08T23:35:02.246Z] Executing busybox-1.36.1-r29.trigger [2024-11-08T23:35:02.513Z] Continuing the upgrade transaction with new apk-tools: [2024-11-08T23:35:02.513Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-08T23:35:02.781Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-08T23:35:04.728Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-08T23:35:04.728Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-08T23:35:04.728Z] OK: 9 MiB in 15 packages [2024-11-08T23:35:05.700Z] Removing intermediate container 8f44b39179ba [2024-11-08T23:35:05.700Z] ---> 9b49cc660ebe [2024-11-08T23:35:05.700Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2024-11-08T23:35:08.310Z] ---> cae2a651a67e [2024-11-08T23:35:08.310Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2024-11-08T23:35:08.310Z] ---> ed64bd5ad702 [2024-11-08T23:35:08.310Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2024-11-08T23:35:08.919Z] ---> e59e6c1951fc [2024-11-08T23:35:08.919Z] Step 20/25 : EXPOSE 59982 [2024-11-08T23:35:08.919Z] ---> Running in 8695d7653bc5 [2024-11-08T23:35:09.193Z] Removing intermediate container 8695d7653bc5 [2024-11-08T23:35:09.193Z] ---> f02540363dc2 [2024-11-08T23:35:09.193Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2024-11-08T23:35:09.462Z] ---> Running in aca2edb46de1 [2024-11-08T23:35:09.730Z] Removing intermediate container aca2edb46de1 [2024-11-08T23:35:09.730Z] ---> e0db86bafe14 [2024-11-08T23:35:09.730Z] Step 22/25 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] [2024-11-08T23:35:09.730Z] ---> Running in ed77fffab7bd [2024-11-08T23:35:10.322Z] Removing intermediate container ed77fffab7bd [2024-11-08T23:35:10.322Z] ---> b7777fd8f6f8 [2024-11-08T23:35:10.322Z] Step 23/25 : LABEL arch=arm64 [2024-11-08T23:35:10.322Z] ---> Running in e9d1e6cb1285 [2024-11-08T23:35:10.592Z] Removing intermediate container e9d1e6cb1285 [2024-11-08T23:35:10.592Z] ---> 2f81b1dd0ba0 [2024-11-08T23:35:10.592Z] Step 24/25 : LABEL git_sha=917a4539413584517f1d2d718c3d167f12a52f95 [2024-11-08T23:35:10.592Z] ---> Running in 3c428787b194 [2024-11-08T23:35:11.681Z] Removing intermediate container 3c428787b194 [2024-11-08T23:35:11.681Z] ---> 1c12b17b1efb [2024-11-08T23:35:11.681Z] Step 25/25 : LABEL version=0.0.0 [2024-11-08T23:35:11.681Z] ---> Running in a5a299af248c [2024-11-08T23:35:12.422Z] Removing intermediate container a5a299af248c [2024-11-08T23:35:12.422Z] ---> 916ec0e9345f [2024-11-08T23:35:12.422Z] [Warning] One or more build-args [ARCH] were not consumed [2024-11-08T23:35:12.422Z] Successfully built 916ec0e9345f [2024-11-08T23:35:12.422Z] Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T23:35:12.975Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-08T23:35:12.975Z] [2024-11-08T23:35:12.975Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T23:35:13.476Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-08T23:35:13.476Z] arm64: Pulling from edgex-lftools-log-publisher [2024-11-08T23:35:13.476Z] 8998bd30e6a1: Pulling fs layer [2024-11-08T23:35:13.476Z] 04944245beec: Pulling fs layer [2024-11-08T23:35:13.476Z] 699f458cf7ca: Pulling fs layer [2024-11-08T23:35:13.476Z] 765212b225bb: Pulling fs layer [2024-11-08T23:35:13.476Z] f23df028b6ca: Pulling fs layer [2024-11-08T23:35:13.476Z] d65c8cfc05b1: Pulling fs layer [2024-11-08T23:35:13.476Z] 2437ff75d9bd: Pulling fs layer [2024-11-08T23:35:13.476Z] f23df028b6ca: Waiting [2024-11-08T23:35:13.476Z] d65c8cfc05b1: Waiting [2024-11-08T23:35:13.476Z] 2437ff75d9bd: Waiting [2024-11-08T23:35:13.476Z] 04944245beec: Verifying Checksum [2024-11-08T23:35:13.476Z] 04944245beec: Download complete [2024-11-08T23:35:13.476Z] 765212b225bb: Verifying Checksum [2024-11-08T23:35:13.476Z] 765212b225bb: Download complete [2024-11-08T23:35:13.749Z] f23df028b6ca: Verifying Checksum [2024-11-08T23:35:13.749Z] f23df028b6ca: Download complete [2024-11-08T23:35:13.749Z] d65c8cfc05b1: Verifying Checksum [2024-11-08T23:35:13.749Z] d65c8cfc05b1: Download complete [2024-11-08T23:35:13.749Z] 699f458cf7ca: Verifying Checksum [2024-11-08T23:35:13.749Z] 699f458cf7ca: Download complete [2024-11-08T23:35:14.336Z] 8998bd30e6a1: Verifying Checksum [2024-11-08T23:35:14.336Z] 8998bd30e6a1: Download complete [2024-11-08T23:35:16.920Z] 2437ff75d9bd: Verifying Checksum [2024-11-08T23:35:16.920Z] 2437ff75d9bd: Download complete [2024-11-08T23:35:18.869Z] 8998bd30e6a1: Pull complete [2024-11-08T23:35:19.136Z] 04944245beec: Pull complete [2024-11-08T23:35:21.073Z] 699f458cf7ca: Pull complete [2024-11-08T23:35:21.073Z] 765212b225bb: Pull complete [2024-11-08T23:35:21.656Z] f23df028b6ca: Pull complete [2024-11-08T23:35:21.922Z] d65c8cfc05b1: Pull complete [2024-11-08T23:35:40.118Z] 2437ff75d9bd: Pull complete [2024-11-08T23:35:40.118Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-11-08T23:35:40.118Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-08T23:35:40.118Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T23:35:40.321Z] prd-ubuntu20.04-docker-arm64-4c-16g-25975 does not seem to be running inside a container [2024-11-08T23:35:40.371Z] $ 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/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-11-08T23:35:43.176Z] $ docker top 8fea4cb845ee493e3c3ffba8c388e52cd57429a1f7ce6aaa9ce14bee25a51727 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-08T23:35:44.019Z] ---> job-cost.sh [2024-11-08T23:35:44.019Z] lf-activate-venv: SKIPPING [2024-11-08T23:35:44.019Z] INFO: No Stack... [2024-11-08T23:35:44.600Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-11-08T23:35:45.557Z] INFO: Archiving Costs [Pipeline] sh [2024-11-08T23:35:46.200Z] + cut -d, -f6 [2024-11-08T23:35:46.200Z] + cat /w/workspace/device-mqtt-go/2/archives/cost.csv [Pipeline] lock [2024-11-08T23:35:46.238Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-707-2-stack-cost] [2024-11-08T23:35:46.246Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-707-2-stack-cost] did not exist. Created. [2024-11-08T23:35:46.253Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-707-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-08T23:35:46.936Z] /w/workspace/device-mqtt-go/2@tmp/durable-0b00167f/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-11-08T23:35:47.583Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-11-08T23:35:47.613Z] Warning: overwriting stash ‘stack-cost’ [2024-11-08T23:35:47.663Z] Stashed 1 file(s) [Pipeline] } [2024-11-08T23:35:47.674Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-707-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-08T23:35:47.694Z] $ docker stop --time=1 8fea4cb845ee493e3c3ffba8c388e52cd57429a1f7ce6aaa9ce14bee25a51727 [2024-11-08T23:35:49.271Z] $ docker rm -f --volumes 8fea4cb845ee493e3c3ffba8c388e52cd57429a1f7ce6aaa9ce14bee25a51727 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2024-11-08T23:35:49.804Z] provisioning config files... [2024-11-08T23:35:49.811Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-707@tmp/config14311711337665924494tmp [Pipeline] { [Pipeline] sh [2024-11-08T23:35:50.186Z] + set +x [2024-11-08T23:35:50.186Z] + bash -s -- [2024-11-08T23:35:50.186Z] + curl -s https://codecov.io/bash [2024-11-08T23:35:50.186Z] [2024-11-08T23:35:50.186Z] _____ _ [2024-11-08T23:35:50.186Z] / ____| | | [2024-11-08T23:35:50.186Z] | | ___ __| | ___ ___ _____ __ [2024-11-08T23:35:50.186Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-11-08T23:35:50.186Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-11-08T23:35:50.186Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-11-08T23:35:50.186Z] Bash-1.0.6 [2024-11-08T23:35:50.186Z] [2024-11-08T23:35:50.186Z] [2024-11-08T23:35:50.186Z] ==> git version 2.25.1 found [2024-11-08T23:35:50.186Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2024-11-08T23:35:50.186Z] Release-Date: 2020-01-08 [2024-11-08T23:35:50.186Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-11-08T23:35:50.186Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-11-08T23:35:50.186Z] ==> Jenkins CI detected. [2024-11-08T23:35:50.186Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-707 [2024-11-08T23:35:50.186Z] project root: . [2024-11-08T23:35:50.186Z] --> token set from env [2024-11-08T23:35:50.186Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-11-08T23:35:50.186Z] ==> Running gcov in . (disable via -X gcov) [2024-11-08T23:35:50.186Z] ==> Python coveragepy not found [2024-11-08T23:35:50.186Z] ==> Searching for coverage reports in: [2024-11-08T23:35:50.186Z] + . [2024-11-08T23:35:50.449Z] -> Found 1 reports [2024-11-08T23:35:50.449Z] ==> Detecting git/mercurial file structure [2024-11-08T23:35:50.449Z] ==> Reading reports [2024-11-08T23:35:50.449Z] + ./coverage.out bytes=21039 [2024-11-08T23:35:50.449Z] ==> Appending adjustments [2024-11-08T23:35:50.449Z] https://docs.codecov.io/docs/fixing-reports [2024-11-08T23:35:50.449Z] + Found adjustments [2024-11-08T23:35:50.449Z] ==> Gzipping contents [2024-11-08T23:35:50.449Z] 4.0K /tmp/codecov.gCLdiJ.gz [2024-11-08T23:35:50.449Z] ==> Uploading reports [2024-11-08T23:35:50.449Z] url: https://codecov.io [2024-11-08T23:35:50.449Z] query: branch=PR-707&commit=894cd62d8f598e09f5b4c533e383d50b056d92fc&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-707%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=707&job=&cmd_args= [2024-11-08T23:35:50.449Z] -> Pinging Codecov [2024-11-08T23:35:50.450Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-707&commit=894cd62d8f598e09f5b4c533e383d50b056d92fc&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-707%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=707&job=&cmd_args= [2024-11-08T23:35:50.717Z] -> Uploading to [2024-11-08T23:35:50.717Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-mqtt-go/894cd62d8f598e09f5b4c533e383d50b056d92fc/099faa1a-f58a-4125-bf0c-341e4c98aea4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241108%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241108T233550Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=f519ea69d442d7bdd9d304cef0c3e8281efce286b454009694c5932419dac1e1 [2024-11-08T23:35:50.717Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-08T23:35:50.717Z] Dload Upload Total Spent Left Speed [2024-11-08T23:35:50.991Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3346 0 0 100 3346 0 14871 --:--:-- --:--:-- --:--:-- 14871 [2024-11-08T23:35:50.991Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/894cd62d8f598e09f5b4c533e383d50b056d92fc [Pipeline] } [2024-11-08T23:35:51.011Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-11-08T23:35:51.928Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-707/archives ] [2024-11-08T23:35:51.928Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-707/archives [2024-11-08T23:35:51.928Z] total 16 [2024-11-08T23:35:51.928Z] drwxr-xr-x 3 root root 4096 Nov 8 23:22 . [2024-11-08T23:35:51.928Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 23:22 .. [2024-11-08T23:35:51.928Z] drwxr-xr-x 2 root root 4096 Nov 8 23:22 cost [2024-11-08T23:35:51.928Z] -rw-r--r-- 1 root root 86 Nov 8 23:22 cost.csv [2024-11-08T23:35:51.928Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-707/archives [2024-11-08T23:35:51.928Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-707/archives [2024-11-08T23:35:51.928Z] total 16 [2024-11-08T23:35:51.928Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 23:22 . [2024-11-08T23:35:51.928Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 23:22 .. [2024-11-08T23:35:51.928Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 8 23:22 cost [2024-11-08T23:35:51.928Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 8 23:22 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-11-08T23:35:52.240Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-08T23:35:53.104Z] ---> package-listing.sh [2024-11-08T23:35:53.104Z] ++ facter osfamily [2024-11-08T23:35:53.104Z] ++ tr '[:upper:]' '[:lower:]' [2024-11-08T23:35:53.365Z] + OS_FAMILY=debian [2024-11-08T23:35:53.365Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-707 [2024-11-08T23:35:53.365Z] + START_PACKAGES=/tmp/packages_start.txt [2024-11-08T23:35:53.365Z] + END_PACKAGES=/tmp/packages_end.txt [2024-11-08T23:35:53.365Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-11-08T23:35:53.365Z] + PACKAGES=/tmp/packages_start.txt [2024-11-08T23:35:53.365Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-707 ']' [2024-11-08T23:35:53.365Z] + PACKAGES=/tmp/packages_end.txt [2024-11-08T23:35:53.365Z] + case "${OS_FAMILY}" in [2024-11-08T23:35:53.365Z] + dpkg -l [2024-11-08T23:35:53.365Z] + grep '^ii' [2024-11-08T23:35:53.365Z] + '[' -f /tmp/packages_start.txt ']' [2024-11-08T23:35:53.365Z] + '[' -f /tmp/packages_end.txt ']' [2024-11-08T23:35:53.365Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-11-08T23:35:53.365Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-707 ']' [2024-11-08T23:35:53.365Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-707/archives/ [2024-11-08T23:35:53.365Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-707/archives/ [Pipeline] echo [2024-11-08T23:35:53.378Z] 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-707/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-11-08T23:35:53.658Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T23:35:54.221Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-08T23:35:54.221Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T23:35:54.308Z] prd-ubuntu20.04-docker-8c-8g-25974 does not seem to be running inside a container [2024-11-08T23:35:54.350Z] $ 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-707/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-707 -v /w/workspace/gexfoundry_device-mqtt-go_PR-707:/w/workspace/gexfoundry_device-mqtt-go_PR-707:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-707@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-707@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-11-08T23:35:54.543Z] $ docker top b93d42641e09006f6b4854055b91c2eb929bd2873e8c7eba66fd57c530ca63e9 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-08T23:35:54.883Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-11-08T23:35:55.176Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-11-08T23:35:55.464Z] + ls /var/log/sa-host [2024-11-08T23:35:55.464Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-08T23:35:55.557Z] provisioning config files... [2024-11-08T23:35:55.565Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-707@tmp/config4516443720373404323tmp [Pipeline] { [Pipeline] echo [2024-11-08T23:35:55.584Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-08T23:35:55.872Z] ---> create-netrc.sh [Pipeline] } [2024-11-08T23:35:55.879Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-11-08T23:35:56.208Z] ---> python-tools-install.sh [Pipeline] echo [2024-11-08T23:35:56.218Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-08T23:35:56.502Z] ---> sudo-logs.sh [2024-11-08T23:35:56.502Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-11-08T23:35:56.533Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-08T23:35:56.820Z] ---> job-cost.sh [2024-11-08T23:35:56.820Z] lf-activate-venv: SKIPPING [2024-11-08T23:35:56.820Z] DEBUG: total: 0.2199999988079071 [2024-11-08T23:35:56.820Z] INFO: Retrieving Stack Cost... [2024-11-08T23:35:57.080Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-08T23:35:57.655Z] INFO: Archiving Costs [Pipeline] echo [2024-11-08T23:35:57.669Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-08T23:35:57.955Z] ---> logs-deploy.sh [2024-11-08T23:35:57.955Z] lf-activate-venv: SKIPPING [2024-11-08T23:35:57.955Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-707/2 [2024-11-08T23:35:57.955Z] INFO: archiving workspace using pattern(s): [2024-11-08T23:35:58.894Z] Archives upload complete. [2024-11-08T23:35:58.894Z] INFO: archiving logs to Nexus